--- /srv/rebuilderd/tmp/rebuilderddgkUed/inputs/ssg-debderived_0.1.78-1_all.deb
+++ /srv/rebuilderd/tmp/rebuilderddgkUed/out/ssg-debderived_0.1.78-1_all.deb
├── file list
│ @@ -1,3 +1,3 @@
│ -rw-r--r-- 0 0 0 4 2025-09-12 08:13:30.000000 debian-binary
│ --rw-r--r-- 0 0 0 1852 2025-09-12 08:13:30.000000 control.tar.xz
│ --rw-r--r-- 0 0 0 2378404 2025-09-12 08:13:30.000000 data.tar.xz
│ +-rw-r--r-- 0 0 0 1856 2025-09-12 08:13:30.000000 control.tar.xz
│ +-rw-r--r-- 0 0 0 2378224 2025-09-12 08:13:30.000000 data.tar.xz
├── control.tar.xz
│ ├── control.tar
│ │ ├── ./md5sums
│ │ │ ├── ./md5sums
│ │ │ │┄ Files differ
├── data.tar.xz
│ ├── data.tar
│ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2204-guide-cis_level1_server.html
│ │ │ @@ -15127,137 +15127,137 @@
│ │ │ 0003b160: 2220 6461 7461 2d74 6172 6765 743d 2223 " data-target="#
│ │ │ 0003b170: 6964 3822 2074 6162 696e 6465 783d 2230 id8" tabindex="0
│ │ │ 0003b180: 2220 726f 6c65 3d22 6275 7474 6f6e 2220 " role="button"
│ │ │ 0003b190: 6172 6961 2d65 7870 616e 6465 643d 2266 aria-expanded="f
│ │ │ 0003b1a0: 616c 7365 2220 7469 746c 653d 2241 6374 alse" title="Act
│ │ │ 0003b1b0: 6976 6174 6520 746f 2072 6576 6561 6c22 ivate to reveal"
│ │ │ 0003b1c0: 2068 7265 663d 2223 2122 3e52 656d 6564 href="#!">Remed
│ │ │ -0003b1d0: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ -0003b1e0: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ -0003b1f0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
< │ │ │ -0003b230: 636f 6465 3e0a 5b5b 7061 636b 6167 6573 code>.[[packages │ │ │ -0003b240: 5d5d 0a6e 616d 6520 3d20 2261 6964 6522 ]].name = "aide" │ │ │ -0003b250: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c .version = "*".< │ │ │ -0003b260: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Rem │ │ │ -0003b310: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet │ │ │ -0003b320: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...< │ │ │ -0003b330: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>
| Compl │ │ │ -0003b3b0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: | l │ │ │ -0003b3c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow |
|---|---|
| Disruption:< │ │ │ -0003b3e0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> | low | │ │ │ -0003b3f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562
| Reb │ │ │ -0003b400: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: | fal │ │ │ -0003b410: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se |
| Strategy: | enable |
include
│ │ │ -0003b460: 2069 6e73 7461 6c6c 5f61 6964 650a 0a63 install_aide..c
│ │ │ -0003b470: 6c61 7373 2069 6e73 7461 6c6c 5f61 6964 lass install_aid
│ │ │ -0003b480: 6520 7b0a 2020 7061 636b 6167 6520 7b20 e {. package {
│ │ │ -0003b490: 2761 6964 6527 3a0a 2020 2020 656e 7375 'aide':. ensu
│ │ │ -0003b4a0: 7265 203d 2667 743b 2027 696e 7374 616c re => 'instal
│ │ │ -0003b4b0: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f led',. }.}.
| Compl │ │ │ -0003b610: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: | l │ │ │ -0003b620: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow |
|---|---|
| Disruption:< │ │ │ -0003b640: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> | low | │ │ │ -0003b650: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562
| Reb │ │ │ -0003b660: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: | fal │ │ │ -0003b670: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se |
| Strategy: | enable |
- name:
│ │ │ -0003b6c0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ -0003b6d0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ -0003b6e0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ -0003b6f0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ -0003b700: 6167 733a 0a20 202d 2043 4a49 532d 352e ags:. - CJIS-5.
│ │ │ -0003b710: 3130 2e31 2e33 0a20 202d 2044 4953 412d 10.1.3. - DISA-
│ │ │ -0003b720: 5354 4947 2d55 4254 552d 3232 2d36 3531 STIG-UBTU-22-651
│ │ │ -0003b730: 3031 300a 2020 2d20 4e49 5354 2d38 3030 010. - NIST-800
│ │ │ -0003b740: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -0003b750: 5043 492d 4453 532d 5265 712d 3131 2e35 PCI-DSS-Req-11.5
│ │ │ -0003b760: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ -0003b770: 312e 352e 320a 2020 2d20 656e 6162 6c65 1.5.2. - enable
│ │ │ -0003b780: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ -0003b790: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -0003b7a0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -0003b7b0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ -0003b7c0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -0003b7d0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ -0003b7e0: 6b61 6765 5f61 6964 655f 696e 7374 616c kage_aide_instal
│ │ │ -0003b7f0: 6c65 640a 0a2d 206e 616d 653a 2045 6e73 led..- name: Ens
│ │ │ -0003b800: 7572 6520 6169 6465 2069 7320 696e 7374 ure aide is inst
│ │ │ -0003b810: 616c 6c65 640a 2020 616e 7369 626c 652e alled. ansible.
│ │ │ -0003b820: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -0003b830: 0a20 2020 206e 616d 653a 2061 6964 650a . name: aide.
│ │ │ -0003b840: 2020 2020 7374 6174 653a 2070 7265 7365 state: prese
│ │ │ -0003b850: 6e74 0a20 2077 6865 6e3a 2027 226c 696e nt. when: '"lin
│ │ │ -0003b860: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ -0003b870: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -0003b880: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. -
│ │ │ -0003b890: 434a 4953 2d35 2e31 302e 312e 330a 2020 CJIS-5.10.1.3.
│ │ │ -0003b8a0: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU
│ │ │ -0003b8b0: 2d32 322d 3635 3130 3130 0a20 202d 204e -22-651010. - N
│ │ │ -0003b8c0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ -0003b8d0: 6129 0a20 202d 2050 4349 2d44 5353 2d52 a). - PCI-DSS-R
│ │ │ -0003b8e0: 6571 2d31 312e 350a 2020 2d20 5043 492d eq-11.5. - PCI-
│ │ │ -0003b8f0: 4453 5376 342d 3131 2e35 2e32 0a20 202d DSSv4-11.5.2. -
│ │ │ -0003b900: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -0003b910: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -0003b920: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -0003b930: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -0003b940: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -0003b950: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -0003b960: 2020 2d20 7061 636b 6167 655f 6169 6465 - package_aide
│ │ │ -0003b970: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64 _installed.
│ │ │ +0003b840: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Comple
│ │ │ +0003b270: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +0003b280: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +0003b290: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +0003b2a0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th> low <
│ │ │ +0003b2b0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>Rebo
│ │ │ +0003b2c0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +0003b2d0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +0003b2e0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy: enable
│ │ │ +0003b300: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name:
│ │ │ +0003b320: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ +0003b330: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ +0003b340: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ +0003b350: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ +0003b360: 6773 3a0a 2020 2d20 434a 4953 2d35 2e31 gs:. - CJIS-5.1
│ │ │ +0003b370: 302e 312e 330a 2020 2d20 4449 5341 2d53 0.1.3. - DISA-S
│ │ │ +0003b380: 5449 472d 5542 5455 2d32 322d 3635 3130 TIG-UBTU-22-6510
│ │ │ +0003b390: 3130 0a20 202d 204e 4953 542d 3830 302d 10. - NIST-800-
│ │ │ +0003b3a0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ +0003b3b0: 4349 2d44 5353 2d52 6571 2d31 312e 350a CI-DSS-Req-11.5.
│ │ │ +0003b3c0: 2020 2d20 5043 492d 4453 5376 342d 3131 - PCI-DSSv4-11
│ │ │ +0003b3d0: 2e35 2e32 0a20 202d 2065 6e61 626c 655f .5.2. - enable_
│ │ │ +0003b3e0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +0003b3f0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +0003b400: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +0003b410: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +0003b420: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +0003b430: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ +0003b440: 6167 655f 6169 6465 5f69 6e73 7461 6c6c age_aide_install
│ │ │ +0003b450: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu
│ │ │ +0003b460: 7265 2061 6964 6520 6973 2069 6e73 7461 re aide is insta
│ │ │ +0003b470: 6c6c 6564 0a20 2061 6e73 6962 6c65 2e62 lled. ansible.b
│ │ │ +0003b480: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ +0003b490: 2020 2020 6e61 6d65 3a20 6169 6465 0a20 name: aide.
│ │ │ +0003b4a0: 2020 2073 7461 7465 3a20 7072 6573 656e state: presen
│ │ │ +0003b4b0: 740a 2020 7768 656e 3a20 2722 6c69 6e75 t. when: '"linu
│ │ │ +0003b4c0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ +0003b4d0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ +0003b4e0: 7327 0a20 2074 6167 733a 0a20 202d 2043 s'. tags:. - C
│ │ │ +0003b4f0: 4a49 532d 352e 3130 2e31 2e33 0a20 202d JIS-5.10.1.3. -
│ │ │ +0003b500: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU-
│ │ │ +0003b510: 3232 2d36 3531 3031 300a 2020 2d20 4e49 22-651010. - NI
│ │ │ +0003b520: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ +0003b530: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ +0003b540: 712d 3131 2e35 0a20 202d 2050 4349 2d44 q-11.5. - PCI-D
│ │ │ +0003b550: 5353 7634 2d31 312e 352e 320a 2020 2d20 SSv4-11.5.2. -
│ │ │ +0003b560: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ +0003b570: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +0003b580: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +0003b590: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +0003b5a0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +0003b5b0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +0003b5c0: 202d 2070 6163 6b61 6765 5f61 6964 655f - package_aide_
│ │ │ +0003b5d0: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.Complexity
│ │ │ +0003b730: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low
│ │ │ +0003b770: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c D
│ │ │ +0003b750: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +0003b760: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>lowReboot:<
│ │ │ +0003b780: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +0003b7a0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
.[[packages]].n
│ │ │ +0003b960: 616d 6520 3d20 2261 6964 6522 0a76 6572 ame = "aide".ver
│ │ │ +0003b970: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64 sion = "*".| C │ │ │ -00043610: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: | < │ │ │ -00043620: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low|
|---|---|
| Disrupti │ │ │ -00043640: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: | low< │ │ │ -00043650: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> |
| Reboot: | false |
| Strategy │ │ │ -00043690: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : | disabl │ │ │ -000436a0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e |
| Complexity: │ │ │ -00043880: 3c2f 7468 3e3c 7464 3e6d 6564 6975 6d3c | medium< │ │ │ -00043890: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> |
| Disruption: | low |
| Reboot │ │ │ -000438d0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : | false< │ │ │ -000438e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> |
| Strategy: | < │ │ │ -00043900: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable< │ │ │ -00043910: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: C
│ │ │ -00043930: 6865 636b 2049 6620 5072 656c 696e 6b65 heck If Prelinke
│ │ │ -00043940: 6420 4973 2049 6e73 7461 6c6c 6564 0a20 d Is Installed.
│ │ │ -00043950: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -00043960: 2e73 7461 743a 0a20 2020 2070 6174 683a .stat:. path:
│ │ │ -00043970: 202f 7573 722f 7362 696e 2f70 7265 6c69 /usr/sbin/preli
│ │ │ -00043980: 6e6b 0a20 2020 2067 6574 5f63 6865 636b nk. get_check
│ │ │ -00043990: 7375 6d3a 2066 616c 7365 0a20 2072 6567 sum: false. reg
│ │ │ -000439a0: 6973 7465 723a 2070 7265 6c69 6e6b 0a20 ister: prelink.
│ │ │ -000439b0: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab
│ │ │ -000439c0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -000439d0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -000439e0: 202d 206d 6564 6975 6d5f 636f 6d70 6c65 - medium_comple
│ │ │ -000439f0: 7869 7479 0a20 202d 206d 6564 6975 6d5f xity. - medium_
│ │ │ -00043a00: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -00043a10: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -00043a20: 2d20 7061 636b 6167 655f 7072 656c 696e - package_prelin
│ │ │ -00043a30: 6b5f 7265 6d6f 7665 640a 0a2d 206e 616d k_removed..- nam
│ │ │ -00043a40: 653a 2052 6573 746f 7265 2050 7265 6c69 e: Restore Preli
│ │ │ -00043a50: 6e6b 6564 2042 696e 6172 6965 730a 2020 nked Binaries.
│ │ │ -00043a60: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -00043a70: 636f 6d6d 616e 643a 0a20 2020 2063 6d64 command:. cmd
│ │ │ -00043a80: 3a20 7072 656c 696e 6b20 2d75 610a 2020 : prelink -ua.
│ │ │ -00043a90: 7768 656e 3a20 7072 656c 696e 6b2e 7374 when: prelink.st
│ │ │ -00043aa0: 6174 2e65 7869 7374 730a 2020 7461 6773 at.exists. tags
│ │ │ -00043ab0: 3a0a 2020 2d20 6469 7361 626c 655f 7374 :. - disable_st
│ │ │ -00043ac0: 7261 7465 6779 0a20 202d 206c 6f77 5f64 rategy. - low_d
│ │ │ -00043ad0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ -00043ae0: 6469 756d 5f63 6f6d 706c 6578 6974 790a dium_complexity.
│ │ │ -00043af0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ -00043b00: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -00043b10: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ -00043b20: 6b61 6765 5f70 7265 6c69 6e6b 5f72 656d kage_prelink_rem
│ │ │ -00043b30: 6f76 6564 0a0a 2d20 6e61 6d65 3a20 456e oved..- name: En
│ │ │ -00043b40: 7375 7265 2070 7265 6c69 6e6b 2069 7320 sure prelink is
│ │ │ -00043b50: 5265 6d6f 7665 640a 2020 616e 7369 626c Removed. ansibl
│ │ │ -00043b60: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ -00043b70: 653a 0a20 2020 206e 616d 653a 2070 7265 e:. name: pre
│ │ │ -00043b80: 6c69 6e6b 0a20 2020 2073 7461 7465 3a20 link. state:
│ │ │ -00043b90: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ -00043ba0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ -00043bb0: 6567 790a 2020 2d20 6c6f 775f 6469 7372 egy. - low_disr
│ │ │ -00043bc0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -00043bd0: 6d5f 636f 6d70 6c65 7869 7479 0a20 202d m_complexity. -
│ │ │ -00043be0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ -00043bf0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -00043c00: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ -00043c10: 655f 7072 656c 696e 6b5f 7265 6d6f 7665 e_prelink_remove
│ │ │ -00043c20: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.<
│ │ │ +00043570: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ +00043580: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ +00043590: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>| │ │ │ +00043610: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity: | │ │ │ +00043620: 3c74 643e 6d65 6469 756d 3c2f 7464 3e3cmedium | < │ │ │ +00043630: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>
|---|---|
| Disr │ │ │ +00043640: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption: | │ │ │ +00043650: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low |
| Reboot: | false | < │ │ │ +00043680: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>
| Stra │ │ │ +00043690: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: | di │ │ │ +000436a0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable |
| Compl │ │ │ +00043b10: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: | l │ │ │ +00043b20: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow |
|---|---|
| Disruption:< │ │ │ +00043b40: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> | low | │ │ │ +00043b50: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562
| Reb │ │ │ +00043b60: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: | fal │ │ │ +00043b70: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se |
| Strategy: | disable |
.inclu
│ │ │ +00043bc0: 6465 2072 656d 6f76 655f 7072 656c 696e de remove_prelin
│ │ │ +00043bd0: 6b0a 0a63 6c61 7373 2072 656d 6f76 655f k..class remove_
│ │ │ +00043be0: 7072 656c 696e 6b20 7b0a 2020 7061 636b prelink {. pack
│ │ │ +00043bf0: 6167 6520 7b20 2770 7265 6c69 6e6b 273a age { 'prelink':
│ │ │ +00043c00: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +00043c10: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ +00043c20: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.<
│ │ │ 00043c30: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediat
│ │ │ -00055890: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue
│ │ │ -000558a0: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet ..
│ │ │ -000558b0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c ..[[packages]] │ │ │ -00055900: 0a6e 616d 6520 3d20 2273 7564 6f22 0a76 .name = "sudo".v │ │ │ -00055910: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63 ersion = "*".
| Compl │ │ │ -00055a70: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: | l │ │ │ -00055a80: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow |
|---|---|
| Disruption:< │ │ │ -00055aa0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> | low | │ │ │ -00055ab0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562
| Reb │ │ │ -00055ac0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: | fal │ │ │ -00055ad0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se |
| Strategy: | enable |
include
│ │ │ -00055b20: 2069 6e73 7461 6c6c 5f73 7564 6f0a 0a63 install_sudo..c
│ │ │ -00055b30: 6c61 7373 2069 6e73 7461 6c6c 5f73 7564 lass install_sud
│ │ │ -00055b40: 6f20 7b0a 2020 7061 636b 6167 6520 7b20 o {. package {
│ │ │ -00055b50: 2773 7564 6f27 3a0a 2020 2020 656e 7375 'sudo':. ensu
│ │ │ -00055b60: 7265 203d 2667 743b 2027 696e 7374 616c re => 'instal
│ │ │ -00055b70: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f led',. }.}.
| Compl │ │ │ -00055cd0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: | l │ │ │ -00055ce0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow |
|---|---|
| Disruption:< │ │ │ -00055d00: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> | low | │ │ │ -00055d10: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562
| Reb │ │ │ -00055d20: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: | fal │ │ │ -00055d30: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se |
| Strategy: | enable |
- name:
│ │ │ -00055d80: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ -00055d90: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ -00055da0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ -00055db0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ -00055dc0: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ -00055dd0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -00055de0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2.
│ │ │ -00055df0: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ -00055e00: 2e36 0a20 202d 2065 6e61 626c 655f 7374 .6. - enable_st
│ │ │ -00055e10: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -00055e20: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -00055e30: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -00055e40: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ -00055e50: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -00055e60: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ -00055e70: 655f 7375 646f 5f69 6e73 7461 6c6c 6564 e_sudo_installed
│ │ │ -00055e80: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265 ..- name: Ensure
│ │ │ -00055e90: 2073 7564 6f20 6973 2069 6e73 7461 6c6c sudo is install
│ │ │ -00055ea0: 6564 0a20 2061 6e73 6962 6c65 2e62 7569 ed. ansible.bui
│ │ │ -00055eb0: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -00055ec0: 2020 6e61 6d65 3a20 7375 646f 0a20 2020 name: sudo.
│ │ │ -00055ed0: 2073 7461 7465 3a20 7072 6573 656e 740a state: present.
│ │ │ -00055ee0: 2020 7768 656e 3a20 2722 6c69 6e75 782d when: '"linux-
│ │ │ -00055ef0: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ -00055f00: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ -00055f10: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ -00055f20: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ -00055f30: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ -00055f40: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ -00055f50: 2d32 2e32 2e36 0a20 202d 2065 6e61 626c -2.2.6. - enabl
│ │ │ -00055f60: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -00055f70: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -00055f80: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -00055f90: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -00055fa0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -00055fb0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ -00055fc0: 636b 6167 655f 7375 646f 5f69 6e73 7461 ckage_sudo_insta
│ │ │ -00055fd0: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled.
<
│ │ │ +000558b0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +000558c0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +000558d0: 7365 2220 6964 3d22 6964 3433 223e 3c74 se" id="id43">Complexi
│ │ │ +00055930: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +00055940: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +00055980: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +00055990: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +000559b0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +000559c0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +000559d0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761 - name: Ga
│ │ │ +000559e0: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ +000559f0: 2066 6163 7473 0a20 2070 6163 6b61 6765 facts. package
│ │ │ +00055a00: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61 _facts:. mana
│ │ │ +00055a10: 6765 723a 2061 7574 6f0a 2020 7461 6773 ger: auto. tags
│ │ │ +00055a20: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5
│ │ │ +00055a30: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC
│ │ │ +00055a40: 492d 4453 5376 342d 322e 320a 2020 2d20 I-DSSv4-2.2. -
│ │ │ +00055a50: 5043 492d 4453 5376 342d 322e 322e 360a PCI-DSSv4-2.2.6.
│ │ │ +00055a60: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat
│ │ │ +00055a70: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +00055a80: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +00055a90: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ +00055aa0: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +00055ab0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +00055ac0: 6564 0a20 202d 2070 6163 6b61 6765 5f73 ed. - package_s
│ │ │ +00055ad0: 7564 6f5f 696e 7374 616c 6c65 640a 0a2d udo_installed..-
│ │ │ +00055ae0: 206e 616d 653a 2045 6e73 7572 6520 7375 name: Ensure su
│ │ │ +00055af0: 646f 2069 7320 696e 7374 616c 6c65 640a do is installed.
│ │ │ +00055b00: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +00055b10: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ +00055b20: 616d 653a 2073 7564 6f0a 2020 2020 7374 ame: sudo. st
│ │ │ +00055b30: 6174 653a 2070 7265 7365 6e74 0a20 2077 ate: present. w
│ │ │ +00055b40: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas
│ │ │ +00055b50: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ +00055b60: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ +00055b70: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ +00055b80: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ +00055b90: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2.
│ │ │ +00055ba0: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ +00055bb0: 322e 360a 2020 2d20 656e 6162 6c65 5f73 2.6. - enable_s
│ │ │ +00055bc0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +00055bd0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +00055be0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +00055bf0: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +00055c00: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +00055c10: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +00055c20: 6765 5f73 7564 6f5f 696e 7374 616c 6c65 ge_sudo_installe
│ │ │ +00055c30: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.<
│ │ │ +00055c40: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pup
│ │ │ +00055cf0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +00055d00: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>< │ │ │ +001d2ba0: 636f 6465 3e2d 206e 616d 653a 2027 556e code>- name: 'Un │ │ │ +001d2bb0: 696e 7374 616c 6c20 4448 4350 2053 6572 install DHCP Ser │ │ │ +001d2bc0: 7665 7220 5061 636b 6167 653a 2045 6e73 ver Package: Ens │ │ │ +001d2bd0: 7572 6520 6973 632d 6468 6370 2d73 6572 ure isc-dhcp-ser │ │ │ +001d2be0: 7665 7220 6973 2072 656d 6f76 6564 270a ver is removed'. │ │ │ +001d2bf0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti │ │ │ +001d2c00: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n │ │ │ +001d2c10: 616d 653a 2069 7363 2d64 6863 702d 7365 ame: isc-dhcp-se │ │ │ +001d2c20: 7276 6572 0a20 2020 2073 7461 7465 3a20 rver. state: │ │ │ +001d2c30: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:. │ │ │ +001d2c40: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ +001d2c50: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST- │ │ │ +001d2c60: 3830 302d 3533 2d43 4d2d 3728 6129 0a20 800-53-CM-7(a). │ │ │ +001d2c70: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C │ │ │ +001d2c80: 4d2d 3728 6229 0a20 202d 2050 4349 2d44 M-7(b). - PCI-D │ │ │ +001d2c90: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI │ │ │ +001d2ca0: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d -DSSv4-2.2.4. - │ │ │ +001d2cb0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg │ │ │ +001d2cc0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple │ │ │ +001d2cd0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis │ │ │ +001d2ce0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi │ │ │ +001d2cf0: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. - │ │ │ +001d2d00: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed │ │ │ +001d2d10: 0a20 202d 2070 6163 6b61 6765 5f64 6863 . - package_dhc │ │ │ +001d2d20: 705f 7265 6d6f 7665 640a 3c2f 636f 6465 p_removed.
| Comple │ │ │ +001d2e80: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: | lo │ │ │ +001d2e90: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w |
|---|---|
| low | < │ │ │ +001d2ec0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>|
| Rebo │ │ │ +001d2ed0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: | fals │ │ │ +001d2ee0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e |
| disable |
.includ
│ │ │ +001d2f30: 6520 7265 6d6f 7665 5f69 7363 2d64 6863 e remove_isc-dhc
│ │ │ +001d2f40: 702d 7365 7276 6572 0a0a 636c 6173 7320 p-server..class
│ │ │ +001d2f50: 7265 6d6f 7665 5f69 7363 2d64 6863 702d remove_isc-dhcp-
│ │ │ +001d2f60: 7365 7276 6572 207b 0a20 2070 6163 6b61 server {. packa
│ │ │ +001d2f70: 6765 207b 2027 6973 632d 6468 6370 2d73 ge { 'isc-dhcp-s
│ │ │ +001d2f80: 6572 7665 7227 3a0a 2020 2020 656e 7375 erver':. ensu
│ │ │ +001d2f90: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged
│ │ │ +001d2fa0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ 001d2fb0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
.include
│ │ │ -001d49c0: 2072 656d 6f76 655f 6269 6e64 390a 0a63 remove_bind9..c
│ │ │ -001d49d0: 6c61 7373 2072 656d 6f76 655f 6269 6e64 lass remove_bind
│ │ │ -001d49e0: 3920 7b0a 2020 7061 636b 6167 6520 7b20 9 {. package {
│ │ │ -001d49f0: 2762 696e 6439 273a 0a20 2020 2065 6e73 'bind9':. ens
│ │ │ -001d4a00: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge
│ │ │ -001d4a10: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.| Compl │ │ │ -001d4b70: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: | l │ │ │ -001d4b80: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow |
|---|---|
| Disruption:< │ │ │ -001d4ba0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> | low | │ │ │ -001d4bb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562
| Reb │ │ │ -001d4bc0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: | fal │ │ │ -001d4bd0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se |
| Strategy: | disable |
- name
│ │ │ -001d4c20: 3a20 2755 6e69 6e73 7461 6c6c 2062 696e : 'Uninstall bin
│ │ │ -001d4c30: 6420 5061 636b 6167 653a 2045 6e73 7572 d Package: Ensur
│ │ │ -001d4c40: 6520 6269 6e64 3920 6973 2072 656d 6f76 e bind9 is remov
│ │ │ -001d4c50: 6564 270a 2020 616e 7369 626c 652e 6275 ed'. ansible.bu
│ │ │ -001d4c60: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ -001d4c70: 2020 206e 616d 653a 2062 696e 6439 0a20 name: bind9.
│ │ │ -001d4c80: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ -001d4c90: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ -001d4ca0: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ -001d4cb0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -001d4cc0: 2d43 4d2d 3728 6129 0a20 202d 204e 4953 -CM-7(a). - NIS
│ │ │ -001d4cd0: 542d 3830 302d 3533 2d43 4d2d 3728 6229 T-800-53-CM-7(b)
│ │ │ -001d4ce0: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ -001d4cf0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -001d4d00: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -001d4d10: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -001d4d20: 6c6f 775f 7365 7665 7269 7479 0a20 202d low_severity. -
│ │ │ -001d4d30: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -001d4d40: 640a 2020 2d20 7061 636b 6167 655f 6269 d. - package_bi
│ │ │ -001d4d50: 6e64 5f72 656d 6f76 6564 0a3c 2f63 6f64 nd_removed.
│ │ │ +001d4890: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001d48c0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001d4910: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001d4920: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001d4930: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001d4940: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001d4950: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001d4960: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001d4970: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001d4980: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ +001d49c0: 2027 556e 696e 7374 616c 6c20 6269 6e64 'Uninstall bind
│ │ │ +001d49d0: 2050 6163 6b61 6765 3a20 456e 7375 7265 Package: Ensure
│ │ │ +001d49e0: 2062 696e 6439 2069 7320 7265 6d6f 7665 bind9 is remove
│ │ │ +001d49f0: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ +001d4a00: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ +001d4a10: 2020 6e61 6d65 3a20 6269 6e64 390a 2020 name: bind9.
│ │ │ +001d4a20: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ +001d4a30: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ +001d4a40: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ +001d4a50: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +001d4a60: 434d 2d37 2861 290a 2020 2d20 4e49 5354 CM-7(a). - NIST
│ │ │ +001d4a70: 2d38 3030 2d35 332d 434d 2d37 2862 290a -800-53-CM-7(b).
│ │ │ +001d4a80: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ +001d4a90: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +001d4aa0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +001d4ab0: 6469 7372 7570 7469 6f6e 0a20 202d 206c disruption. - l
│ │ │ +001d4ac0: 6f77 5f73 6576 6572 6974 790a 2020 2d20 ow_severity. -
│ │ │ +001d4ad0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +001d4ae0: 0a20 202d 2070 6163 6b61 6765 5f62 696e . - package_bin
│ │ │ +001d4af0: 645f 7265 6d6f 7665 640a 3c2f 636f 6465 d_removed.
Remedi
│ │ │ +001d4bb0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +001d4bc0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001d4bd0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001d4c00: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001d4c50: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001d4c60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001d4c70: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001d4c80: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001d4c90: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001d4ca0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001d4cb0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001d4cc0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ +001d4d00: 6520 7265 6d6f 7665 5f62 696e 6439 0a0a e remove_bind9..
│ │ │ +001d4d10: 636c 6173 7320 7265 6d6f 7665 5f62 696e class remove_bin
│ │ │ +001d4d20: 6439 207b 0a20 2070 6163 6b61 6765 207b d9 {. package {
│ │ │ +001d4d30: 2027 6269 6e64 3927 3a0a 2020 2020 656e 'bind9':. en
│ │ │ +001d4d40: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ +001d4d50: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remediation Pu
│ │ │ -001d6710: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ -001d6720: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -001d67c0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -001d67d0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -001d67e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001d67f0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -001d6800: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -001d6810: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -001d6820: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ -001d6830: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -001d6840: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>.include remove
│ │ │ -001d6860: 5f76 7366 7470 640a 0a63 6c61 7373 2072 _vsftpd..class r
│ │ │ -001d6870: 656d 6f76 655f 7673 6674 7064 207b 0a20 emove_vsftpd {.
│ │ │ -001d6880: 2070 6163 6b61 6765 207b 2027 7673 6674 package { 'vsft
│ │ │ -001d6890: 7064 273a 0a20 2020 2065 6e73 7572 6520 pd':. ensure
│ │ │ -001d68a0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ -001d68b0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Remediatio
│ │ │ -001d6970: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ -001d6980: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001d6a00: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001d6a10: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001d6a20: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001d6a30: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001d6a40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001d6a60: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001d6a70: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001d6a80: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -001d6aa0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -001d6ab0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2755 - name: 'U
│ │ │ -001d6ac0: 6e69 6e73 7461 6c6c 2076 7366 7470 6420 ninstall vsftpd
│ │ │ -001d6ad0: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ -001d6ae0: 7673 6674 7064 2069 7320 7265 6d6f 7665 vsftpd is remove
│ │ │ -001d6af0: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -001d6b00: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -001d6b10: 2020 6e61 6d65 3a20 7673 6674 7064 0a20 name: vsftpd.
│ │ │ -001d6b20: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ -001d6b30: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ -001d6b40: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ -001d6b50: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -001d6b60: 2d43 4d2d 370a 2020 2d20 4e49 5354 2d38 -CM-7. - NIST-8
│ │ │ -001d6b70: 3030 2d35 332d 434d 2d37 2861 290a 2020 00-53-CM-7(a).
│ │ │ -001d6b80: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -001d6b90: 2d37 2862 290a 2020 2d20 4e49 5354 2d38 -7(b). - NIST-8
│ │ │ -001d6ba0: 3030 2d35 332d 434d 2d37 2e31 2869 6929 00-53-CM-7.1(ii)
│ │ │ -001d6bb0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -001d6bc0: 2d49 412d 3528 3129 2863 290a 2020 2d20 -IA-5(1)(c). -
│ │ │ -001d6bd0: 4e49 5354 2d38 3030 2d35 332d 4941 2d35 NIST-800-53-IA-5
│ │ │ -001d6be0: 2831 292e 3128 7629 0a20 202d 2064 6973 (1).1(v). - dis
│ │ │ -001d6bf0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -001d6c00: 2d20 6869 6768 5f73 6576 6572 6974 790a - high_severity.
│ │ │ -001d6c10: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -001d6c20: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -001d6c30: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ -001d6c40: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -001d6c50: 6163 6b61 6765 5f76 7366 7470 645f 7265 ackage_vsftpd_re
│ │ │ -001d6c60: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.Remediation An
│ │ │ +001d6710: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ +001d6720: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +001d67a0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +001d67b0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001d67c0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +001d67d0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +001d67e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +001d6810: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +001d6820: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ +001d6830: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ +001d6840: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: 'Unins
│ │ │ +001d6860: 7461 6c6c 2076 7366 7470 6420 5061 636b tall vsftpd Pack
│ │ │ +001d6870: 6167 653a 2045 6e73 7572 6520 7673 6674 age: Ensure vsft
│ │ │ +001d6880: 7064 2069 7320 7265 6d6f 7665 6427 0a20 pd is removed'.
│ │ │ +001d6890: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +001d68a0: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ +001d68b0: 6d65 3a20 7673 6674 7064 0a20 2020 2073 me: vsftpd. s
│ │ │ +001d68c0: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ +001d68d0: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ +001d68e0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ +001d68f0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +001d6900: 370a 2020 2d20 4e49 5354 2d38 3030 2d35 7. - NIST-800-5
│ │ │ +001d6910: 332d 434d 2d37 2861 290a 2020 2d20 4e49 3-CM-7(a). - NI
│ │ │ +001d6920: 5354 2d38 3030 2d35 332d 434d 2d37 2862 ST-800-53-CM-7(b
│ │ │ +001d6930: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ +001d6940: 332d 434d 2d37 2e31 2869 6929 0a20 202d 3-CM-7.1(ii). -
│ │ │ +001d6950: 204e 4953 542d 3830 302d 3533 2d49 412d NIST-800-53-IA-
│ │ │ +001d6960: 3528 3129 2863 290a 2020 2d20 4e49 5354 5(1)(c). - NIST
│ │ │ +001d6970: 2d38 3030 2d35 332d 4941 2d35 2831 292e -800-53-IA-5(1).
│ │ │ +001d6980: 3128 7629 0a20 202d 2064 6973 6162 6c65 1(v). - disable
│ │ │ +001d6990: 5f73 7472 6174 6567 790a 2020 2d20 6869 _strategy. - hi
│ │ │ +001d69a0: 6768 5f73 6576 6572 6974 790a 2020 2d20 gh_severity. -
│ │ │ +001d69b0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +001d69c0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +001d69d0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ +001d69e0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +001d69f0: 6765 5f76 7366 7470 645f 7265 6d6f 7665 ge_vsftpd_remove
│ │ │ +001d6a00: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.
<
│ │ │ +001d6a10: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu
│ │ │ +001d6ac0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ +001d6ad0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +001d6b70: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +001d6b80: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +001d6b90: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001d6ba0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +001d6bb0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +001d6bc0: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +001d6bd0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ +001d6be0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +001d6bf0: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>.include remove
│ │ │ +001d6c10: 5f76 7366 7470 640a 0a63 6c61 7373 2072 _vsftpd..class r
│ │ │ +001d6c20: 656d 6f76 655f 7673 6674 7064 207b 0a20 emove_vsftpd {.
│ │ │ +001d6c30: 2070 6163 6b61 6765 207b 2027 7673 6674 package { 'vsft
│ │ │ +001d6c40: 7064 273a 0a20 2020 2065 6e73 7572 6520 pd':. ensure
│ │ │ +001d6c50: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ +001d6c60: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.R
│ │ │ -001d8580: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -001d8590: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ -001d8620: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -001d8630: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001d8640: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -001d8650: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -001d8660: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -001d8690: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -001d86a0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -001d86b0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ -001d86d0: 6e63 6c75 6465 2072 656d 6f76 655f 6170 nclude remove_ap
│ │ │ -001d86e0: 6163 6865 320a 0a63 6c61 7373 2072 656d ache2..class rem
│ │ │ -001d86f0: 6f76 655f 6170 6163 6865 3220 7b0a 2020 ove_apache2 {.
│ │ │ -001d8700: 7061 636b 6167 6520 7b20 2761 7061 6368 package { 'apach
│ │ │ -001d8710: 6532 273a 0a20 2020 2065 6e73 7572 6520 e2':. ensure
│ │ │ -001d8720: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ -001d8730: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Remediatio
│ │ │ -001d87f0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ -001d8800: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001d8880: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001d8890: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001d88a0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001d88b0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001d88c0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001d88e0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001d88f0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001d8900: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -001d8920: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -001d8930: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2755 - name: 'U
│ │ │ -001d8940: 6e69 6e73 7461 6c6c 2061 7061 6368 6532 ninstall apache2
│ │ │ -001d8950: 2050 6163 6b61 6765 3a20 456e 7375 7265 Package: Ensure
│ │ │ -001d8960: 2061 7061 6368 6532 2069 7320 7265 6d6f apache2 is remo
│ │ │ -001d8970: 7665 6427 0a20 2061 6e73 6962 6c65 2e62 ved'. ansible.b
│ │ │ -001d8980: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ -001d8990: 2020 2020 6e61 6d65 3a20 6170 6163 6865 name: apache
│ │ │ -001d89a0: 320a 2020 2020 7374 6174 653a 2061 6273 2. state: abs
│ │ │ -001d89b0: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. -
│ │ │ -001d89c0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ -001d89d0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -001d89e0: 2d35 332d 434d 2d37 2861 290a 2020 2d20 -53-CM-7(a). -
│ │ │ -001d89f0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ -001d8a00: 2862 290a 2020 2d20 6469 7361 626c 655f (b). - disable_
│ │ │ -001d8a10: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -001d8a20: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -001d8a30: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -001d8a40: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -001d8a50: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ -001d8a60: 6874 7470 645f 7265 6d6f 7665 640a 2020 httpd_removed.
│ │ │ -001d8a70: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269 - unknown_severi
│ │ │ -001d8a80: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e ty.
│ │ │ +001d8580: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ +001d8590: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ +001d85a0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +001d8620: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +001d8630: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +001d8650: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +001d8660: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +001d86a0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +001d86b0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +001d86d0: 206e 616d 653a 2027 556e 696e 7374 616c name: 'Uninstal
│ │ │ +001d86e0: 6c20 6170 6163 6865 3220 5061 636b 6167 l apache2 Packag
│ │ │ +001d86f0: 653a 2045 6e73 7572 6520 6170 6163 6865 e: Ensure apache
│ │ │ +001d8700: 3220 6973 2072 656d 6f76 6564 270a 2020 2 is removed'.
│ │ │ +001d8710: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +001d8720: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +001d8730: 653a 2061 7061 6368 6532 0a20 2020 2073 e: apache2. s
│ │ │ +001d8740: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ +001d8750: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ +001d8760: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ +001d8770: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +001d8780: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80
│ │ │ +001d8790: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). -
│ │ │ +001d87a0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ +001d87b0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +001d87c0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +001d87d0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r
│ │ │ +001d87e0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001d87f0: 2070 6163 6b61 6765 5f68 7474 7064 5f72 package_httpd_r
│ │ │ +001d8800: 656d 6f76 6564 0a20 202d 2075 6e6b 6e6f emoved. - unkno
│ │ │ +001d8810: 776e 5f73 6576 6572 6974 790a 3c2f 636f wn_severity.
<
│ │ │ +001d8830: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +001d8840: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +001d8850: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +001d8860: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +001d8870: 6436 3635 2220 7461 6269 6e64 6578 3d22 d665" tabindex="
│ │ │ +001d8880: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ +001d8890: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ +001d88a0: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ +001d88b0: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ +001d88c0: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ +001d88d0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ +001d88e0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +001d8970: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +001d8980: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +001d89a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +001d89c0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001d89d0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001d89f0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +001d8a00: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001d8a10: 3c70 7265 3e3c 636f 6465 3e0a 696e 636c .incl
│ │ │ +001d8a20: 7564 6520 7265 6d6f 7665 5f61 7061 6368 ude remove_apach
│ │ │ +001d8a30: 6532 0a0a 636c 6173 7320 7265 6d6f 7665 e2..class remove
│ │ │ +001d8a40: 5f61 7061 6368 6532 207b 0a20 2070 6163 _apache2 {. pac
│ │ │ +001d8a50: 6b61 6765 207b 2027 6170 6163 6865 3227 kage { 'apache2'
│ │ │ +001d8a60: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ +001d8a70: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ +001d8a80: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ 001d8a90: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediati
│ │ │ -001d9e20: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -001d9e30: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001d9eb0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001d9ec0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001d9ed0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001d9ee0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001d9ef0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001d9f10: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001d9f20: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001d9f30: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -001d9f50: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -001d9f60: 3c63 6f64 653e 0a69 6e63 6c75 6465 2072 .include r
│ │ │ -001d9f70: 656d 6f76 655f 6e67 696e 780a 0a63 6c61 emove_nginx..cla
│ │ │ -001d9f80: 7373 2072 656d 6f76 655f 6e67 696e 7820 ss remove_nginx
│ │ │ -001d9f90: 7b0a 2020 7061 636b 6167 6520 7b20 276e {. package { 'n
│ │ │ -001d9fa0: 6769 6e78 273a 0a20 2020 2065 6e73 7572 ginx':. ensur
│ │ │ -001d9fb0: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ -001d9fc0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ -001d9fd0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ -001da080: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ -001da090: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -001da0a0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -001da0b0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -001da0c0: 7365 2220 6964 3d22 6964 3636 3922 3e3c se" id="id669"><
│ │ │ -001da0d0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -001da0e0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -001da0f0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -001da100: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -001da110: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -001da120: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -001da130: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -001da160: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -001da170: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -001da180: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -001da1a0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -001da1b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -001da1d0: 2755 6e69 6e73 7461 6c6c 206e 6769 6e78 'Uninstall nginx
│ │ │ -001da1e0: 2050 6163 6b61 6765 3a20 456e 7375 7265 Package: Ensure
│ │ │ -001da1f0: 206e 6769 6e78 2069 7320 7265 6d6f 7665 nginx is remove
│ │ │ -001da200: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -001da210: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -001da220: 2020 6e61 6d65 3a20 6e67 696e 780a 2020 name: nginx.
│ │ │ -001da230: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ -001da240: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ -001da250: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -001da260: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -001da270: 434d 2d37 2861 290a 2020 2d20 4e49 5354 CM-7(a). - NIST
│ │ │ -001da280: 2d38 3030 2d35 332d 434d 2d37 2862 290a -800-53-CM-7(b).
│ │ │ -001da290: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ -001da2a0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -001da2b0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -001da2c0: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ -001da2d0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -001da2e0: 2020 2d20 7061 636b 6167 655f 6e67 696e - package_ngin
│ │ │ -001da2f0: 785f 7265 6d6f 7665 640a 2020 2d20 756e x_removed. - un
│ │ │ -001da300: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c known_severity.<
│ │ │ +001d9e20: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ +001d9e30: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001d9eb0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +001d9ec0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +001d9ed0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +001d9f10: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +001d9f20: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +001d9f40: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ +001d9f50: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: '
│ │ │ +001d9f70: 556e 696e 7374 616c 6c20 6e67 696e 7820 Uninstall nginx
│ │ │ +001d9f80: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ +001d9f90: 6e67 696e 7820 6973 2072 656d 6f76 6564 nginx is removed
│ │ │ +001d9fa0: 270a 2020 616e 7369 626c 652e 6275 696c '. ansible.buil
│ │ │ +001d9fb0: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ +001d9fc0: 206e 616d 653a 206e 6769 6e78 0a20 2020 name: nginx.
│ │ │ +001d9fd0: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ +001d9fe0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ +001d9ff0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ +001da000: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +001da010: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST-
│ │ │ +001da020: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b).
│ │ │ +001da030: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ +001da040: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +001da050: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +001da060: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no
│ │ │ +001da070: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +001da080: 202d 2070 6163 6b61 6765 5f6e 6769 6e78 - package_nginx
│ │ │ +001da090: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk
│ │ │ +001da0a0: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.
│ │ │ +001da0b0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +001da160: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ +001da170: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +001da180: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +001da200: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +001da220: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +001da230: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +001da240: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001da250: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +001da260: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +001da270: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +001da280: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +001da290: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ +001da2b0: 636c 7564 6520 7265 6d6f 7665 5f6e 6769 clude remove_ngi
│ │ │ +001da2c0: 6e78 0a0a 636c 6173 7320 7265 6d6f 7665 nx..class remove
│ │ │ +001da2d0: 5f6e 6769 6e78 207b 0a20 2070 6163 6b61 _nginx {. packa
│ │ │ +001da2e0: 6765 207b 2027 6e67 696e 7827 3a0a 2020 ge { 'nginx':.
│ │ │ +001da2f0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +001da300: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.<
│ │ │ 001da310: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediation P
│ │ │ -001db5b0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -001db5c0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001db640: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001db650: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001db660: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001db670: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001db680: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001db6b0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001db6c0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001db6d0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001db6e0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ -001db700: 655f 6379 7275 732d 696d 6170 640a 0a63 e_cyrus-imapd..c
│ │ │ -001db710: 6c61 7373 2072 656d 6f76 655f 6379 7275 lass remove_cyru
│ │ │ -001db720: 732d 696d 6170 6420 7b0a 2020 7061 636b s-imapd {. pack
│ │ │ -001db730: 6167 6520 7b20 2763 7972 7573 2d69 6d61 age { 'cyrus-ima
│ │ │ -001db740: 7064 273a 0a20 2020 2065 6e73 7572 6520 pd':. ensure
│ │ │ -001db750: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ -001db760: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Remediatio
│ │ │ -001db820: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ -001db830: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001db8b0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001db8c0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001db8d0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001db8e0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001db8f0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001db910: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001db920: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001db930: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -001db950: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -001db960: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2755 - name: 'U
│ │ │ -001db970: 6e69 6e73 7461 6c6c 2063 7972 7573 2d69 ninstall cyrus-i
│ │ │ -001db980: 6d61 7064 2050 6163 6b61 6765 3a20 456e mapd Package: En
│ │ │ -001db990: 7375 7265 2063 7972 7573 2d69 6d61 7064 sure cyrus-imapd
│ │ │ -001db9a0: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ -001db9b0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -001db9c0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ -001db9d0: 3a20 6379 7275 732d 696d 6170 640a 2020 : cyrus-imapd.
│ │ │ -001db9e0: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ -001db9f0: 2020 7461 6773 3a0a 2020 2d20 6469 7361 tags:. - disa
│ │ │ -001dba00: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -001dba10: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -001dba20: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -001dba30: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74 on. - no_reboot
│ │ │ -001dba40: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -001dba50: 6167 655f 6379 7275 732d 696d 6170 645f age_cyrus-imapd_
│ │ │ -001dba60: 7265 6d6f 7665 640a 2020 2d20 756e 6b6e removed. - unkn
│ │ │ -001dba70: 6f77 6e5f 7365 7665 7269 7479 0a3c 2f63 own_severity.Remediation A
│ │ │ +001db5b0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +001db5c0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001db640: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001db650: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001db660: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001db670: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001db6b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001db6c0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +001db6d0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +001db6e0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: 'Unin
│ │ │ +001db700: 7374 616c 6c20 6379 7275 732d 696d 6170 stall cyrus-imap
│ │ │ +001db710: 6420 5061 636b 6167 653a 2045 6e73 7572 d Package: Ensur
│ │ │ +001db720: 6520 6379 7275 732d 696d 6170 6420 6973 e cyrus-imapd is
│ │ │ +001db730: 2072 656d 6f76 6564 270a 2020 616e 7369 removed'. ansi
│ │ │ +001db740: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ +001db750: 6167 653a 0a20 2020 206e 616d 653a 2063 age:. name: c
│ │ │ +001db760: 7972 7573 2d69 6d61 7064 0a20 2020 2073 yrus-imapd. s
│ │ │ +001db770: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ +001db780: 6167 733a 0a20 202d 2064 6973 6162 6c65 ags:. - disable
│ │ │ +001db790: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +001db7a0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +001db7b0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +001db7c0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +001db7d0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +001db7e0: 5f63 7972 7573 2d69 6d61 7064 5f72 656d _cyrus-imapd_rem
│ │ │ +001db7f0: 6f76 6564 0a20 202d 2075 6e6b 6e6f 776e oved. - unknown
│ │ │ +001db800: 5f73 6576 6572 6974 790a 3c2f 636f 6465 _severity.
Remedi
│ │ │ +001db8c0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +001db8d0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001db8e0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001db910: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001db960: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001db970: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001db980: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001db990: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001db9a0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001db9b0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001db9c0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001db9d0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ +001dba10: 6520 7265 6d6f 7665 5f63 7972 7573 2d69 e remove_cyrus-i
│ │ │ +001dba20: 6d61 7064 0a0a 636c 6173 7320 7265 6d6f mapd..class remo
│ │ │ +001dba30: 7665 5f63 7972 7573 2d69 6d61 7064 207b ve_cyrus-imapd {
│ │ │ +001dba40: 0a20 2070 6163 6b61 6765 207b 2027 6379 . package { 'cy
│ │ │ +001dba50: 7275 732d 696d 6170 6427 3a0a 2020 2020 rus-imapd':.
│ │ │ +001dba60: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ +001dba70: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ 001dba90: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remedia
│ │ │ -001dc920: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ -001dc930: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -001dc940: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -001dc950: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -001dc960: 7365 2220 6964 3d22 6964 3637 3622 3e3c se" id="id676"><
│ │ │ -001dc970: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -001dc980: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -001dc990: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -001dc9a0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -001dc9b0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -001dc9c0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -001dc9d0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -001dca00: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -001dca10: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -001dca20: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -001dca40: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -001dca50: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
.include
│ │ │ -001dca70: 2072 656d 6f76 655f 646f 7665 636f 742d remove_dovecot-
│ │ │ -001dca80: 636f 7265 0a0a 636c 6173 7320 7265 6d6f core..class remo
│ │ │ -001dca90: 7665 5f64 6f76 6563 6f74 2d63 6f72 6520 ve_dovecot-core
│ │ │ -001dcaa0: 7b0a 2020 7061 636b 6167 6520 7b20 2764 {. package { 'd
│ │ │ -001dcab0: 6f76 6563 6f74 2d63 6f72 6527 3a0a 2020 ovecot-core':.
│ │ │ -001dcac0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ -001dcad0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.<
│ │ │ -001dcae0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>R
│ │ │ -001dcb90: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -001dcba0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -001dcbb0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -001dcc30: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -001dcc40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -001dcc60: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -001dcc70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -001dccb0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ -001dccc0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ -001dcce0: 206e 616d 653a 2027 556e 696e 7374 616c name: 'Uninstal
│ │ │ -001dccf0: 6c20 646f 7665 636f 7420 5061 636b 6167 l dovecot Packag
│ │ │ -001dcd00: 653a 2045 6e73 7572 6520 646f 7665 636f e: Ensure doveco
│ │ │ -001dcd10: 742d 636f 7265 2069 7320 7265 6d6f 7665 t-core is remove
│ │ │ -001dcd20: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -001dcd30: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -001dcd40: 2020 6e61 6d65 3a20 646f 7665 636f 742d name: dovecot-
│ │ │ -001dcd50: 636f 7265 0a20 2020 2073 7461 7465 3a20 core. state:
│ │ │ -001dcd60: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ -001dcd70: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ -001dcd80: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ -001dcd90: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -001dcda0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no
│ │ │ -001dcdb0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -001dcdc0: 202d 2070 6163 6b61 6765 5f64 6f76 6563 - package_dovec
│ │ │ -001dcdd0: 6f74 5f72 656d 6f76 6564 0a20 202d 2075 ot_removed. - u
│ │ │ -001dcde0: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a nknown_severity.
│ │ │ +001dc920: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ +001dc930: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001dc940: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001dc970: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001dc9c0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001dc9d0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001dc9e0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001dc9f0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001dca00: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001dca10: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001dca20: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001dca30: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ +001dca70: 2027 556e 696e 7374 616c 6c20 646f 7665 'Uninstall dove
│ │ │ +001dca80: 636f 7420 5061 636b 6167 653a 2045 6e73 cot Package: Ens
│ │ │ +001dca90: 7572 6520 646f 7665 636f 742d 636f 7265 ure dovecot-core
│ │ │ +001dcaa0: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ +001dcab0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ +001dcac0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ +001dcad0: 3a20 646f 7665 636f 742d 636f 7265 0a20 : dovecot-core.
│ │ │ +001dcae0: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ +001dcaf0: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ +001dcb00: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +001dcb10: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +001dcb20: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +001dcb30: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo
│ │ │ +001dcb40: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +001dcb50: 6b61 6765 5f64 6f76 6563 6f74 5f72 656d kage_dovecot_rem
│ │ │ +001dcb60: 6f76 6564 0a20 202d 2075 6e6b 6e6f 776e oved. - unknown
│ │ │ +001dcb70: 5f73 6576 6572 6974 790a 3c2f 636f 6465 _severity.
Remedi
│ │ │ +001dcc30: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +001dcc40: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001dcc50: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001dcc80: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001dccd0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001dcce0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001dccf0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001dcd00: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001dcd10: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001dcd20: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001dcd30: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001dcd40: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ +001dcd80: 6520 7265 6d6f 7665 5f64 6f76 6563 6f74 e remove_dovecot
│ │ │ +001dcd90: 2d63 6f72 650a 0a63 6c61 7373 2072 656d -core..class rem
│ │ │ +001dcda0: 6f76 655f 646f 7665 636f 742d 636f 7265 ove_dovecot-core
│ │ │ +001dcdb0: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ +001dcdc0: 646f 7665 636f 742d 636f 7265 273a 0a20 dovecot-core':.
│ │ │ +001dcdd0: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ +001dcde0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}.
│ │ │ 001dcdf0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64 Remediati
│ │ │ -001de460: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -001de470: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001de4f0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001de500: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001de510: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001de520: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001de530: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001de550: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001de560: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001de570: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -001de590: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -001de5a0: 3c63 6f64 653e 0a69 6e63 6c75 6465 2072 .include r
│ │ │ -001de5b0: 656d 6f76 655f 6c64 6170 2d75 7469 6c73 emove_ldap-utils
│ │ │ -001de5c0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f6c ..class remove_l
│ │ │ -001de5d0: 6461 702d 7574 696c 7320 7b0a 2020 7061 dap-utils {. pa
│ │ │ -001de5e0: 636b 6167 6520 7b20 276c 6461 702d 7574 ckage { 'ldap-ut
│ │ │ -001de5f0: 696c 7327 3a0a 2020 2020 656e 7375 7265 ils':. ensure
│ │ │ -001de600: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ -001de610: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -001de620: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ -001de6d0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ -001de6e0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001de760: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -001de770: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -001de780: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -001de7c0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -001de7d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -001de7f0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -001de800: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>- name: '
│ │ │ -001de820: 456e 7375 7265 204c 4441 5020 636c 6965 Ensure LDAP clie
│ │ │ -001de830: 6e74 2069 7320 6e6f 7420 696e 7374 616c nt is not instal
│ │ │ -001de840: 6c65 643a 2045 6e73 7572 6520 6c64 6170 led: Ensure ldap
│ │ │ -001de850: 2d75 7469 6c73 2069 7320 7265 6d6f 7665 -utils is remove
│ │ │ -001de860: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -001de870: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -001de880: 2020 6e61 6d65 3a20 6c64 6170 2d75 7469 name: ldap-uti
│ │ │ -001de890: 6c73 0a20 2020 2073 7461 7465 3a20 6162 ls. state: ab
│ │ │ -001de8a0: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. -
│ │ │ -001de8b0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ -001de8c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -001de8d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -001de8e0: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f ruption. - low_
│ │ │ -001de8f0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -001de900: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001de910: 2d20 7061 636b 6167 655f 6f70 656e 6c64 - package_openld
│ │ │ -001de920: 6170 2d63 6c69 656e 7473 5f72 656d 6f76 ap-clients_remov
│ │ │ -001de930: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +001de460: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ +001de470: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001de4f0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +001de500: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +001de510: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +001de550: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +001de560: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +001de580: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ +001de590: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>- name: '
│ │ │ +001de5b0: 456e 7375 7265 204c 4441 5020 636c 6965 Ensure LDAP clie
│ │ │ +001de5c0: 6e74 2069 7320 6e6f 7420 696e 7374 616c nt is not instal
│ │ │ +001de5d0: 6c65 643a 2045 6e73 7572 6520 6c64 6170 led: Ensure ldap
│ │ │ +001de5e0: 2d75 7469 6c73 2069 7320 7265 6d6f 7665 -utils is remove
│ │ │ +001de5f0: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ +001de600: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ +001de610: 2020 6e61 6d65 3a20 6c64 6170 2d75 7469 name: ldap-uti
│ │ │ +001de620: 6c73 0a20 2020 2073 7461 7465 3a20 6162 ls. state: ab
│ │ │ +001de630: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. -
│ │ │ +001de640: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ +001de650: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +001de660: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +001de670: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f ruption. - low_
│ │ │ +001de680: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +001de690: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +001de6a0: 2d20 7061 636b 6167 655f 6f70 656e 6c64 - package_openld
│ │ │ +001de6b0: 6170 2d63 6c69 656e 7473 5f72 656d 6f76 ap-clients_remov
│ │ │ +001de6c0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +001de6d0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ +001de780: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ +001de790: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +001de810: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +001de820: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001de830: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +001de840: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +001de850: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +001de880: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +001de890: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ +001de8a0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ +001de8b0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ +001de8d0: 655f 6c64 6170 2d75 7469 6c73 0a0a 636c e_ldap-utils..cl
│ │ │ +001de8e0: 6173 7320 7265 6d6f 7665 5f6c 6461 702d ass remove_ldap-
│ │ │ +001de8f0: 7574 696c 7320 7b0a 2020 7061 636b 6167 utils {. packag
│ │ │ +001de900: 6520 7b20 276c 6461 702d 7574 696c 7327 e { 'ldap-utils'
│ │ │ +001de910: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ +001de920: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ +001de930: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ 001de940: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediatio
│ │ │ -001dfe20: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -001dfe30: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -001dfec0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -001dfee0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -001dfef0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001dff00: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -001dff10: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -001dff30: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ -001dff60: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ -001dff70: 6d6f 7665 5f73 6c61 7064 0a0a 636c 6173 move_slapd..clas
│ │ │ -001dff80: 7320 7265 6d6f 7665 5f73 6c61 7064 207b s remove_slapd {
│ │ │ -001dff90: 0a20 2070 6163 6b61 6765 207b 2027 736c . package { 'sl
│ │ │ -001dffa0: 6170 6427 3a0a 2020 2020 656e 7375 7265 apd':. ensure
│ │ │ -001dffb0: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ -001dffc0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -001dffd0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ -001e0080: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ -001e0090: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001e0110: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -001e0120: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -001e0130: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -001e0170: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -001e0180: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -001e01a0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -001e01b0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>- name: '
│ │ │ -001e01d0: 556e 696e 7374 616c 6c20 6f70 656e 6c64 Uninstall openld
│ │ │ -001e01e0: 6170 2d73 6572 7665 7273 2050 6163 6b61 ap-servers Packa
│ │ │ -001e01f0: 6765 3a20 456e 7375 7265 2073 6c61 7064 ge: Ensure slapd
│ │ │ -001e0200: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ -001e0210: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -001e0220: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ -001e0230: 3a20 736c 6170 640a 2020 2020 7374 6174 : slapd. stat
│ │ │ -001e0240: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags
│ │ │ -001e0250: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5
│ │ │ -001e0260: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI
│ │ │ -001e0270: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a
│ │ │ -001e0280: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -001e0290: 332d 434d 2d37 2862 290a 2020 2d20 6469 3-CM-7(b). - di
│ │ │ -001e02a0: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ -001e02b0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -001e02c0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -001e02d0: 7469 6f6e 0a20 202d 206c 6f77 5f73 6576 tion. - low_sev
│ │ │ -001e02e0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ -001e02f0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -001e0300: 6163 6b61 6765 5f6f 7065 6e6c 6461 702d ackage_openldap-
│ │ │ -001e0310: 7365 7276 6572 735f 7265 6d6f 7665 640a servers_removed.
│ │ │ +001dfe20: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ +001dfe30: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +001dfeb0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +001dfec0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +001dfed0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001dfee0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +001dfef0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +001dff10: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001dff20: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001dff30: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +001dff50: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +001dff60: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2755 - name: 'U
│ │ │ +001dff70: 6e69 6e73 7461 6c6c 206f 7065 6e6c 6461 ninstall openlda
│ │ │ +001dff80: 702d 7365 7276 6572 7320 5061 636b 6167 p-servers Packag
│ │ │ +001dff90: 653a 2045 6e73 7572 6520 736c 6170 6420 e: Ensure slapd
│ │ │ +001dffa0: 6973 2072 656d 6f76 6564 270a 2020 616e is removed'. an
│ │ │ +001dffb0: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +001dffc0: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ +001dffd0: 2073 6c61 7064 0a20 2020 2073 7461 7465 slapd. state
│ │ │ +001dffe0: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags:
│ │ │ +001dfff0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +001e0000: 2d43 4d2d 3628 6129 0a20 202d 204e 4953 -CM-6(a). - NIS
│ │ │ +001e0010: 542d 3830 302d 3533 2d43 4d2d 3728 6129 T-800-53-CM-7(a)
│ │ │ +001e0020: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +001e0030: 2d43 4d2d 3728 6229 0a20 202d 2064 6973 -CM-7(b). - dis
│ │ │ +001e0040: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +001e0050: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +001e0060: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +001e0070: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665 ion. - low_seve
│ │ │ +001e0080: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ +001e0090: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ +001e00a0: 636b 6167 655f 6f70 656e 6c64 6170 2d73 ckage_openldap-s
│ │ │ +001e00b0: 6572 7665 7273 5f72 656d 6f76 6564 0a3c ervers_removed.<
│ │ │ +001e00c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +001e0170: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +001e0180: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ +001e0210: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +001e0220: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001e0230: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +001e0240: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +001e0250: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +001e0280: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +001e0290: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ +001e02a0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ +001e02c0: 6e63 6c75 6465 2072 656d 6f76 655f 736c nclude remove_sl
│ │ │ +001e02d0: 6170 640a 0a63 6c61 7373 2072 656d 6f76 apd..class remov
│ │ │ +001e02e0: 655f 736c 6170 6420 7b0a 2020 7061 636b e_slapd {. pack
│ │ │ +001e02f0: 6167 6520 7b20 2773 6c61 7064 273a 0a20 age { 'slapd':.
│ │ │ +001e0300: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ +001e0310: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}.
│ │ │ 001e0320: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -001e46b0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ -001e46c0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ -001e46d0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -001e4750: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -001e4760: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -001e4780: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -001e4790: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -001e47d0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ -001e47e0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ -001e4800: 696e 636c 7564 6520 7265 6d6f 7665 5f72 include remove_r
│ │ │ -001e4810: 7063 6269 6e64 0a0a 636c 6173 7320 7265 pcbind..class re
│ │ │ -001e4820: 6d6f 7665 5f72 7063 6269 6e64 207b 0a20 move_rpcbind {.
│ │ │ -001e4830: 2070 6163 6b61 6765 207b 2027 7270 6362 package { 'rpcb
│ │ │ -001e4840: 696e 6427 3a0a 2020 2020 656e 7375 7265 ind':. ensure
│ │ │ -001e4850: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ -001e4860: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -001e4870: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ -001e4920: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ -001e4930: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001e49b0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -001e49c0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -001e49d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -001e4a10: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -001e4a20: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -001e4a40: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -001e4a50: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -001e4a70: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ -001e4a80: 6520 6661 6374 730a 2020 7061 636b 6167 e facts. packag
│ │ │ -001e4a90: 655f 6661 6374 733a 0a20 2020 206d 616e e_facts:. man
│ │ │ -001e4aa0: 6167 6572 3a20 6175 746f 0a20 2074 6167 ager: auto. tag
│ │ │ -001e4ab0: 733a 0a20 202d 2064 6973 6162 6c65 5f73 s:. - disable_s
│ │ │ -001e4ac0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ -001e4ad0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ -001e4ae0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ -001e4af0: 2d20 6c6f 775f 7365 7665 7269 7479 0a20 - low_severity.
│ │ │ -001e4b00: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -001e4b10: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ -001e4b20: 7270 6362 696e 645f 7265 6d6f 7665 640a rpcbind_removed.
│ │ │ -001e4b30: 0a2d 206e 616d 653a 2027 556e 696e 7374 .- name: 'Uninst
│ │ │ -001e4b40: 616c 6c20 7270 6362 696e 6420 5061 636b all rpcbind Pack
│ │ │ -001e4b50: 6167 653a 2045 6e73 7572 6520 7270 6362 age: Ensure rpcb
│ │ │ -001e4b60: 696e 6420 6973 2072 656d 6f76 6564 270a ind is removed'.
│ │ │ -001e4b70: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -001e4b80: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ -001e4b90: 616d 653a 2072 7063 6269 6e64 0a20 2020 ame: rpcbind.
│ │ │ -001e4ba0: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ -001e4bb0: 2077 6865 6e3a 2027 226c 696e 7578 2d62 when: '"linux-b
│ │ │ -001e4bc0: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_
│ │ │ -001e4bd0: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ -001e4be0: 2020 7461 6773 3a0a 2020 2d20 6469 7361 tags:. - disa
│ │ │ -001e4bf0: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -001e4c00: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -001e4c10: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -001e4c20: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572 on. - low_sever
│ │ │ -001e4c30: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -001e4c40: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ -001e4c50: 6b61 6765 5f72 7063 6269 6e64 5f72 656d kage_rpcbind_rem
│ │ │ -001e4c60: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
Complexity: low Disrup
│ │ │ +001e4780: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001e4790: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001e47a0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001e47b0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001e47d0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ +001e47e0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001e4800: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ +001e4810: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ +001e4820: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ +001e4830: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ +001e4840: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ +001e4850: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ +001e4860: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +001e4870: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +001e4880: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73 uption. - low_s
│ │ │ +001e4890: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +001e48a0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001e48b0: 2070 6163 6b61 6765 5f72 7063 6269 6e64 package_rpcbind
│ │ │ +001e48c0: 5f72 656d 6f76 6564 0a0a 2d20 6e61 6d65 _removed..- name
│ │ │ +001e48d0: 3a20 2755 6e69 6e73 7461 6c6c 2072 7063 : 'Uninstall rpc
│ │ │ +001e48e0: 6269 6e64 2050 6163 6b61 6765 3a20 456e bind Package: En
│ │ │ +001e48f0: 7375 7265 2072 7063 6269 6e64 2069 7320 sure rpcbind is
│ │ │ +001e4900: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ +001e4910: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +001e4920: 6765 3a0a 2020 2020 6e61 6d65 3a20 7270 ge:. name: rp
│ │ │ +001e4930: 6362 696e 640a 2020 2020 7374 6174 653a cbind. state:
│ │ │ +001e4940: 2061 6273 656e 740a 2020 7768 656e 3a20 absent. when:
│ │ │ +001e4950: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in
│ │ │ +001e4960: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +001e4970: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ +001e4980: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +001e4990: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +001e49a0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +001e49b0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +001e49c0: 6c6f 775f 7365 7665 7269 7479 0a20 202d low_severity. -
│ │ │ +001e49d0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +001e49e0: 640a 2020 2d20 7061 636b 6167 655f 7270 d. - package_rp
│ │ │ +001e49f0: 6362 696e 645f 7265 6d6f 7665 640a 3c2f cbind_removed.
│ │ │ +001e4a00: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +001e4ab0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ +001e4ac0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +001e4ad0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +001e4b50: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +001e4b70: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +001e4b80: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +001e4b90: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001e4ba0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +001e4bb0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +001e4bc0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +001e4bd0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +001e4be0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ +001e4c00: 636c 7564 6520 7265 6d6f 7665 5f72 7063 clude remove_rpc
│ │ │ +001e4c10: 6269 6e64 0a0a 636c 6173 7320 7265 6d6f bind..class remo
│ │ │ +001e4c20: 7665 5f72 7063 6269 6e64 207b 0a20 2070 ve_rpcbind {. p
│ │ │ +001e4c30: 6163 6b61 6765 207b 2027 7270 6362 696e ackage { 'rpcbin
│ │ │ +001e4c40: 6427 3a0a 2020 2020 656e 7375 7265 203d d':. ensure =
│ │ │ +001e4c50: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ +001e4c60: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.Remediat
│ │ │ -001e58b0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -001e58c0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001e5940: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -001e5950: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -001e5960: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -001e59a0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -001e59b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -001e59d0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -001e59e0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
.include
│ │ │ -001e5a00: 7265 6d6f 7665 5f6e 6673 2d6b 6572 6e65 remove_nfs-kerne
│ │ │ -001e5a10: 6c2d 7365 7276 6572 0a0a 636c 6173 7320 l-server..class
│ │ │ -001e5a20: 7265 6d6f 7665 5f6e 6673 2d6b 6572 6e65 remove_nfs-kerne
│ │ │ -001e5a30: 6c2d 7365 7276 6572 207b 0a20 2070 6163 l-server {. pac
│ │ │ -001e5a40: 6b61 6765 207b 2027 6e66 732d 6b65 726e kage { 'nfs-kern
│ │ │ -001e5a50: 656c 2d73 6572 7665 7227 3a0a 2020 2020 el-server':.
│ │ │ -001e5a60: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ -001e5a70: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ -001e5a90: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -001e5b30: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -001e5b40: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001e5b50: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -001e5bd0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -001e5bf0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -001e5c00: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -001e5c10: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001e5c20: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -001e5c30: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -001e5c40: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001e5c50: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -001e5c60: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ -001e5c80: 616d 653a 2027 556e 696e 7374 616c 6c20 ame: 'Uninstall
│ │ │ -001e5c90: 6e66 732d 6b65 726e 656c 2d73 6572 7665 nfs-kernel-serve
│ │ │ -001e5ca0: 7220 5061 636b 6167 653a 2045 6e73 7572 r Package: Ensur
│ │ │ -001e5cb0: 6520 6e66 732d 6b65 726e 656c 2d73 6572 e nfs-kernel-ser
│ │ │ -001e5cc0: 7665 7220 6973 2072 656d 6f76 6564 270a ver is removed'.
│ │ │ -001e5cd0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -001e5ce0: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ -001e5cf0: 616d 653a 206e 6673 2d6b 6572 6e65 6c2d ame: nfs-kernel-
│ │ │ -001e5d00: 7365 7276 6572 0a20 2020 2073 7461 7465 server. state
│ │ │ -001e5d10: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags:
│ │ │ -001e5d20: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ -001e5d30: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -001e5d40: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -001e5d50: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -001e5d60: 6c6f 775f 7365 7665 7269 7479 0a20 202d low_severity. -
│ │ │ -001e5d70: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -001e5d80: 640a 2020 2d20 7061 636b 6167 655f 6e66 d. - package_nf
│ │ │ -001e5d90: 732d 6b65 726e 656c 2d73 6572 7665 725f s-kernel-server_
│ │ │ -001e5da0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c removed.<
│ │ │ +001e58b0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ +001e58c0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +001e58d0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001e58e0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +001e58f0: 7365 2220 6964 3d22 6964 3639 3522 3e3c se" id="id695"><
│ │ │ +001e5900: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +001e5910: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +001e5920: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +001e5930: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +001e5940: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +001e5950: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +001e5960: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +001e5990: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +001e59a0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +001e59b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +001e59d0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +001e59e0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +001e5a00: 2755 6e69 6e73 7461 6c6c 206e 6673 2d6b 'Uninstall nfs-k
│ │ │ +001e5a10: 6572 6e65 6c2d 7365 7276 6572 2050 6163 ernel-server Pac
│ │ │ +001e5a20: 6b61 6765 3a20 456e 7375 7265 206e 6673 kage: Ensure nfs
│ │ │ +001e5a30: 2d6b 6572 6e65 6c2d 7365 7276 6572 2069 -kernel-server i
│ │ │ +001e5a40: 7320 7265 6d6f 7665 6427 0a20 2061 6e73 s removed'. ans
│ │ │ +001e5a50: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ +001e5a60: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ +001e5a70: 6e66 732d 6b65 726e 656c 2d73 6572 7665 nfs-kernel-serve
│ │ │ +001e5a80: 720a 2020 2020 7374 6174 653a 2061 6273 r. state: abs
│ │ │ +001e5a90: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. -
│ │ │ +001e5aa0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ +001e5ab0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +001e5ac0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +001e5ad0: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73 uption. - low_s
│ │ │ +001e5ae0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +001e5af0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001e5b00: 2070 6163 6b61 6765 5f6e 6673 2d6b 6572 package_nfs-ker
│ │ │ +001e5b10: 6e65 6c2d 7365 7276 6572 5f72 656d 6f76 nel-server_remov
│ │ │ +001e5b20: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +001e5b30: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ +001e5be0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ +001e5bf0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +001e5c70: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +001e5c80: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001e5c90: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +001e5ca0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +001e5cb0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +001e5ce0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +001e5cf0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ +001e5d00: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ +001e5d10: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ +001e5d30: 655f 6e66 732d 6b65 726e 656c 2d73 6572 e_nfs-kernel-ser
│ │ │ +001e5d40: 7665 720a 0a63 6c61 7373 2072 656d 6f76 ver..class remov
│ │ │ +001e5d50: 655f 6e66 732d 6b65 726e 656c 2d73 6572 e_nfs-kernel-ser
│ │ │ +001e5d60: 7665 7220 7b0a 2020 7061 636b 6167 6520 ver {. package
│ │ │ +001e5d70: 7b20 276e 6673 2d6b 6572 6e65 6c2d 7365 { 'nfs-kernel-se
│ │ │ +001e5d80: 7276 6572 273a 0a20 2020 2065 6e73 7572 rver':. ensur
│ │ │ +001e5d90: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ +001e5da0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ 001e5db0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Re
│ │ │ -001e7d90: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ -001e7da0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ -001e7db0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -001e7dc0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -001e7dd0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -001e7de0: 7365 2220 6964 3d22 6964 3639 3922 3e3c se" id="id699"><
│ │ │ -001e7df0: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac
│ │ │ -001e7e00: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = "
│ │ │ -001e7e10: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync
│ │ │ -001e7e20: 6422 0a76 6572 7369 6f6e 203d 2022 2a22 d".version = "*"
│ │ │ -001e7e30: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ -001e7e40: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ -001e7ef0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ -001e7f00: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -001e7fb0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -001e7fc0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001e7fd0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -001e7fe0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -001e8000: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ -001e8010: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ -001e8030: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f73 nclude install_s
│ │ │ -001e8040: 7973 7465 6d64 2d74 696d 6573 796e 6364 ystemd-timesyncd
│ │ │ -001e8050: 0a0a 636c 6173 7320 696e 7374 616c 6c5f ..class install_
│ │ │ -001e8060: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync
│ │ │ -001e8070: 6420 7b0a 2020 7061 636b 6167 6520 7b20 d {. package {
│ │ │ -001e8080: 2773 7973 7465 6d64 2d74 696d 6573 796e 'systemd-timesyn
│ │ │ -001e8090: 6364 273a 0a20 2020 2065 6e73 7572 6520 cd':. ensure
│ │ │ -001e80a0: 3d26 6774 3b20 2769 6e73 7461 6c6c 6564 => 'installed
│ │ │ -001e80b0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ -001e80c0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -001e8170: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -001e8180: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001e8190: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001e81c0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001e8210: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001e8220: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001e8230: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001e8240: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001e8250: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001e8260: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001e8270: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001e8280: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -001e82a0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -001e82c0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ -001e82d0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ -001e82e0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ -001e82f0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ -001e8300: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -001e8310: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -001e8320: 5043 492d 4453 532d 5265 712d 3130 2e34 PCI-DSS-Req-10.4
│ │ │ -001e8330: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ -001e8340: 7465 6779 0a20 202d 2068 6967 685f 7365 tegy. - high_se
│ │ │ -001e8350: 7665 7269 7479 0a20 202d 206c 6f77 5f63 verity. - low_c
│ │ │ -001e8360: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -001e8370: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -001e8380: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -001e8390: 640a 2020 2d20 7061 636b 6167 655f 7469 d. - package_ti
│ │ │ -001e83a0: 6d65 7379 6e63 645f 696e 7374 616c 6c65 mesyncd_installe
│ │ │ -001e83b0: 640a 0a2d 206e 616d 653a 2045 6e73 7572 d..- name: Ensur
│ │ │ -001e83c0: 6520 7379 7374 656d 642d 7469 6d65 7379 e systemd-timesy
│ │ │ -001e83d0: 6e63 6420 6973 2069 6e73 7461 6c6c 6564 ncd is installed
│ │ │ -001e83e0: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ -001e83f0: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ -001e8400: 6e61 6d65 3a20 7379 7374 656d 642d 7469 name: systemd-ti
│ │ │ -001e8410: 6d65 7379 6e63 640a 2020 2020 7374 6174 mesyncd. stat
│ │ │ -001e8420: 653a 2070 7265 7365 6e74 0a20 2077 6865 e: present. whe
│ │ │ -001e8430: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ -001e8440: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -001e8450: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ -001e8460: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -001e8470: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -001e8480: 5043 492d 4453 532d 5265 712d 3130 2e34 PCI-DSS-Req-10.4
│ │ │ -001e8490: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ -001e84a0: 7465 6779 0a20 202d 2068 6967 685f 7365 tegy. - high_se
│ │ │ -001e84b0: 7665 7269 7479 0a20 202d 206c 6f77 5f63 verity. - low_c
│ │ │ -001e84c0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -001e84d0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -001e84e0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -001e84f0: 640a 2020 2d20 7061 636b 6167 655f 7469 d. - package_ti
│ │ │ -001e8500: 6d65 7379 6e63 645f 696e 7374 616c 6c65 mesyncd_installe
│ │ │ -001e8510: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.<
│ │ │ +001e7d90: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ +001e7da0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ +001e7e30: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +001e7e40: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001e7e50: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +001e7e60: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +001e7e70: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +001e7ea0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +001e7eb0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ +001e7ec0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +001e7ee0: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +001e7ef0: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +001e7f00: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ +001e7f10: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ +001e7f20: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ +001e7f30: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +001e7f40: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ +001e7f50: 2d31 302e 340a 2020 2d20 656e 6162 6c65 -10.4. - enable
│ │ │ +001e7f60: 5f73 7472 6174 6567 790a 2020 2d20 6869 _strategy. - hi
│ │ │ +001e7f70: 6768 5f73 6576 6572 6974 790a 2020 2d20 gh_severity. -
│ │ │ +001e7f80: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +001e7f90: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +001e7fa0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ +001e7fb0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +001e7fc0: 6765 5f74 696d 6573 796e 6364 5f69 6e73 ge_timesyncd_ins
│ │ │ +001e7fd0: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 talled..- name:
│ │ │ +001e7fe0: 456e 7375 7265 2073 7973 7465 6d64 2d74 Ensure systemd-t
│ │ │ +001e7ff0: 696d 6573 796e 6364 2069 7320 696e 7374 imesyncd is inst
│ │ │ +001e8000: 616c 6c65 640a 2020 616e 7369 626c 652e alled. ansible.
│ │ │ +001e8010: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ +001e8020: 0a20 2020 206e 616d 653a 2073 7973 7465 . name: syste
│ │ │ +001e8030: 6d64 2d74 696d 6573 796e 6364 0a20 2020 md-timesyncd.
│ │ │ +001e8040: 2073 7461 7465 3a20 7072 6573 656e 740a state: present.
│ │ │ +001e8050: 2020 7768 656e 3a20 2722 6c69 6e75 782d when: '"linux-
│ │ │ +001e8060: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ +001e8070: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +001e8080: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ +001e8090: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +001e80a0: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ +001e80b0: 2d31 302e 340a 2020 2d20 656e 6162 6c65 -10.4. - enable
│ │ │ +001e80c0: 5f73 7472 6174 6567 790a 2020 2d20 6869 _strategy. - hi
│ │ │ +001e80d0: 6768 5f73 6576 6572 6974 790a 2020 2d20 gh_severity. -
│ │ │ +001e80e0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +001e80f0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +001e8100: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ +001e8110: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +001e8120: 6765 5f74 696d 6573 796e 6364 5f69 6e73 ge_timesyncd_ins
│ │ │ +001e8130: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f talled.
│ │ │ +001e8140: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ +001e81f0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +001e8200: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +001e8280: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +001e8290: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +001e82a0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001e82b0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +001e82c0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +001e82e0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001e82f0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001e8300: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +001e8330: 636f 6465 3e69 6e63 6c75 6465 2069 6e73 code>include ins
│ │ │ +001e8340: 7461 6c6c 5f73 7973 7465 6d64 2d74 696d tall_systemd-tim
│ │ │ +001e8350: 6573 796e 6364 0a0a 636c 6173 7320 696e esyncd..class in
│ │ │ +001e8360: 7374 616c 6c5f 7379 7374 656d 642d 7469 stall_systemd-ti
│ │ │ +001e8370: 6d65 7379 6e63 6420 7b0a 2020 7061 636b mesyncd {. pack
│ │ │ +001e8380: 6167 6520 7b20 2773 7973 7465 6d64 2d74 age { 'systemd-t
│ │ │ +001e8390: 696d 6573 796e 6364 273a 0a20 2020 2065 imesyncd':. e
│ │ │ +001e83a0: 6e73 7572 6520 3d26 6774 3b20 2769 6e73 nsure => 'ins
│ │ │ +001e83b0: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c talled',. }.}.<
│ │ │ +001e83c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>R
│ │ │ +001e8470: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui
│ │ │ +001e8480: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni
│ │ │ +001e8490: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001e84a0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001e84d0: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061 .[[pa
│ │ │ +001e84e0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20 ckages]].name =
│ │ │ +001e84f0: 2273 7973 7465 6d64 2d74 696d 6573 796e "systemd-timesyn
│ │ │ +001e8500: 6364 220a 7665 7273 696f 6e20 3d20 222a cd".version = "*
│ │ │ +001e8510: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ".
<
│ │ │ 001e8520: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remed
│ │ │ -001e92c0: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ -001e92d0: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ -001e92e0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[customi
│ │ │ -001e9330: 7a61 7469 6f6e 732e 7365 7276 6963 6573 zations.services
│ │ │ -001e9340: 5d0a 656e 6162 6c65 6420 3d20 5b22 6368 ].enabled = ["ch
│ │ │ -001e9350: 726f 6e79 225d 0a3c 2f63 6f64 653e 3c2f rony"].
│ │ │ -001e9360: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ -001e9410: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -001e9420: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001e94a0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001e94b0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001e94c0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001e94d0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001e94e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001e9500: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001e9510: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001e9520: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -001e9550: 636f 6465 3e69 6e63 6c75 6465 2065 6e61 code>include ena
│ │ │ -001e9560: 626c 655f 6368 726f 6e79 0a0a 636c 6173 ble_chrony..clas
│ │ │ -001e9570: 7320 656e 6162 6c65 5f63 6872 6f6e 7920 s enable_chrony
│ │ │ -001e9580: 7b0a 2020 7365 7276 6963 6520 7b27 6368 {. service {'ch
│ │ │ -001e9590: 726f 6e79 273a 0a20 2020 2065 6e61 626c rony':. enabl
│ │ │ -001e95a0: 6520 3d26 6774 3b20 7472 7565 2c0a 2020 e => true,.
│ │ │ -001e95b0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ -001e95c0: 7275 6e6e 696e 6727 2c0a 2020 7d0a 7d0a running',. }.}.
│ │ │ -001e95d0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -001e9680: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ -001e9690: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ -001e96a0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -001e9750: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -001e9760: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001e9770: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -001e9780: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -001e97a0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ -001e97b0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ -001e97d0: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -001e97e0: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -001e97f0: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ -001e9800: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ -001e9810: 746f 0a20 2074 6167 733a 0a20 202d 2065 to. tags:. - e
│ │ │ -001e9820: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ -001e9830: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -001e9840: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -001e9850: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -001e9860: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -001e9870: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001e9880: 2d20 7365 7276 6963 655f 6368 726f 6e79 - service_chrony
│ │ │ -001e9890: 645f 656e 6162 6c65 640a 0a2d 206e 616d d_enabled..- nam
│ │ │ -001e98a0: 653a 2054 6865 2043 6872 6f6e 7964 2073 e: The Chronyd s
│ │ │ -001e98b0: 6572 7669 6365 2069 7320 656e 6162 6c65 ervice is enable
│ │ │ -001e98c0: 6420 2d20 456e 6162 6c65 2073 6572 7669 d - Enable servi
│ │ │ -001e98d0: 6365 2063 6872 6f6e 790a 2020 626c 6f63 ce chrony. bloc
│ │ │ -001e98e0: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761 k:.. - name: Ga
│ │ │ -001e98f0: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ -001e9900: 2066 6163 7473 0a20 2020 2061 6e73 6962 facts. ansib
│ │ │ -001e9910: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -001e9920: 6765 5f66 6163 7473 3a0a 2020 2020 2020 ge_facts:.
│ │ │ -001e9930: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20 manager: auto..
│ │ │ -001e9940: 202d 206e 616d 653a 2054 6865 2043 6872 - name: The Chr
│ │ │ -001e9950: 6f6e 7964 2073 6572 7669 6365 2069 7320 onyd service is
│ │ │ -001e9960: 656e 6162 6c65 6420 2d20 456e 6162 6c65 enabled - Enable
│ │ │ -001e9970: 2053 6572 7669 6365 2063 6872 6f6e 790a Service chrony.
│ │ │ -001e9980: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ -001e9990: 7469 6e2e 7379 7374 656d 643a 0a20 2020 tin.systemd:.
│ │ │ -001e99a0: 2020 206e 616d 653a 2063 6872 6f6e 790a name: chrony.
│ │ │ -001e99b0: 2020 2020 2020 656e 6162 6c65 643a 2074 enabled: t
│ │ │ -001e99c0: 7275 650a 2020 2020 2020 7374 6174 653a rue. state:
│ │ │ -001e99d0: 2073 7461 7274 6564 0a20 2020 2020 206d started. m
│ │ │ -001e99e0: 6173 6b65 643a 2066 616c 7365 0a20 2020 asked: false.
│ │ │ -001e99f0: 2077 6865 6e3a 0a20 2020 202d 2027 2263 when:. - '"c
│ │ │ -001e9a00: 6872 6f6e 7922 2069 6e20 616e 7369 626c hrony" in ansibl
│ │ │ -001e9a10: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -001e9a20: 270a 2020 7461 6773 3a0a 2020 2d20 656e '. tags:. - en
│ │ │ -001e9a30: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -001e9a40: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -001e9a50: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -001e9a60: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ -001e9a70: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -001e9a80: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -001e9a90: 2073 6572 7669 6365 5f63 6872 6f6e 7964 service_chronyd
│ │ │ -001e9aa0: 5f65 6e61 626c 6564 0a20 202d 2073 7065 _enabled. - spe
│ │ │ -001e9ab0: 6369 616c 5f73 6572 7669 6365 5f62 6c6f cial_service_blo
│ │ │ -001e9ac0: 636b 0a20 2077 6865 6e3a 0a20 202d 2027 ck. when:. - '
│ │ │ -001e9ad0: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ -001e9ae0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -001e9af0: 636b 6167 6573 270a 2020 2d20 2722 6368 ckages'. - '"ch
│ │ │ -001e9b00: 726f 6e79 2220 696e 2061 6e73 6962 6c65 rony" in ansible
│ │ │ -001e9b10: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +001e92c0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ +001e92d0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +001e9360: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +001e9370: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +001e9390: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +001e93b0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001e93c0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001e93e0: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ +001e9400: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ +001e9410: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ +001e9420: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ +001e9430: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ +001e9440: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ +001e9450: 7461 6773 3a0a 2020 2d20 656e 6162 6c65 tags:. - enable
│ │ │ +001e9460: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +001e9470: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +001e9480: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +001e9490: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +001e94a0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +001e94b0: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser
│ │ │ +001e94c0: 7669 6365 5f63 6872 6f6e 7964 5f65 6e61 vice_chronyd_ena
│ │ │ +001e94d0: 626c 6564 0a0a 2d20 6e61 6d65 3a20 5468 bled..- name: Th
│ │ │ +001e94e0: 6520 4368 726f 6e79 6420 7365 7276 6963 e Chronyd servic
│ │ │ +001e94f0: 6520 6973 2065 6e61 626c 6564 202d 2045 e is enabled - E
│ │ │ +001e9500: 6e61 626c 6520 7365 7276 6963 6520 6368 nable service ch
│ │ │ +001e9510: 726f 6e79 0a20 2062 6c6f 636b 3a0a 0a20 rony. block:..
│ │ │ +001e9520: 202d 206e 616d 653a 2047 6174 6865 7220 - name: Gather
│ │ │ +001e9530: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ +001e9540: 730a 2020 2020 616e 7369 626c 652e 6275 s. ansible.bu
│ │ │ +001e9550: 696c 7469 6e2e 7061 636b 6167 655f 6661 iltin.package_fa
│ │ │ +001e9560: 6374 733a 0a20 2020 2020 206d 616e 6167 cts:. manag
│ │ │ +001e9570: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61 er: auto.. - na
│ │ │ +001e9580: 6d65 3a20 5468 6520 4368 726f 6e79 6420 me: The Chronyd
│ │ │ +001e9590: 7365 7276 6963 6520 6973 2065 6e61 626c service is enabl
│ │ │ +001e95a0: 6564 202d 2045 6e61 626c 6520 5365 7276 ed - Enable Serv
│ │ │ +001e95b0: 6963 6520 6368 726f 6e79 0a20 2020 2061 ice chrony. a
│ │ │ +001e95c0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73 nsible.builtin.s
│ │ │ +001e95d0: 7973 7465 6d64 3a0a 2020 2020 2020 6e61 ystemd:. na
│ │ │ +001e95e0: 6d65 3a20 6368 726f 6e79 0a20 2020 2020 me: chrony.
│ │ │ +001e95f0: 2065 6e61 626c 6564 3a20 7472 7565 0a20 enabled: true.
│ │ │ +001e9600: 2020 2020 2073 7461 7465 3a20 7374 6172 state: star
│ │ │ +001e9610: 7465 640a 2020 2020 2020 6d61 736b 6564 ted. masked
│ │ │ +001e9620: 3a20 6661 6c73 650a 2020 2020 7768 656e : false. when
│ │ │ +001e9630: 3a0a 2020 2020 2d20 2722 6368 726f 6e79 :. - '"chrony
│ │ │ +001e9640: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +001e9650: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t
│ │ │ +001e9660: 6167 733a 0a20 202d 2065 6e61 626c 655f ags:. - enable_
│ │ │ +001e9670: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +001e9680: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +001e9690: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +001e96a0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +001e96b0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +001e96c0: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv
│ │ │ +001e96d0: 6963 655f 6368 726f 6e79 645f 656e 6162 ice_chronyd_enab
│ │ │ +001e96e0: 6c65 640a 2020 2d20 7370 6563 6961 6c5f led. - special_
│ │ │ +001e96f0: 7365 7276 6963 655f 626c 6f63 6b0a 2020 service_block.
│ │ │ +001e9700: 7768 656e 3a0a 2020 2d20 2722 6c69 6e75 when:. - '"linu
│ │ │ +001e9710: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ +001e9720: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ +001e9730: 7327 0a20 202d 2027 2263 6872 6f6e 7922 s'. - '"chrony"
│ │ │ +001e9740: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +001e9750: 732e 7061 636b 6167 6573 270a 3c2f 636f s.packages'.<
│ │ │ +001e9770: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +001e9780: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +001e9790: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +001e97a0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +001e97b0: 6437 3035 2220 7461 6269 6e64 6578 3d22 d705" tabindex="
│ │ │ +001e97c0: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ +001e97d0: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ +001e97e0: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ +001e97f0: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ +001e9800: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ +001e9810: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ +001e9820: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +001e98b0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +001e98c0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +001e98e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +001e9900: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001e9910: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001e9930: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ +001e9950: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ
│ │ │ +001e9960: 6520 656e 6162 6c65 5f63 6872 6f6e 790a e enable_chrony.
│ │ │ +001e9970: 0a63 6c61 7373 2065 6e61 626c 655f 6368 .class enable_ch
│ │ │ +001e9980: 726f 6e79 207b 0a20 2073 6572 7669 6365 rony {. service
│ │ │ +001e9990: 207b 2763 6872 6f6e 7927 3a0a 2020 2020 {'chrony':.
│ │ │ +001e99a0: 656e 6162 6c65 203d 2667 743b 2074 7275 enable => tru
│ │ │ +001e99b0: 652c 0a20 2020 2065 6e73 7572 6520 3d26 e,. ensure =&
│ │ │ +001e99c0: 6774 3b20 2772 756e 6e69 6e67 272c 0a20 gt; 'running',.
│ │ │ +001e99d0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.Remediation
│ │ │ +001e9a90: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri
│ │ │ +001e9aa0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
│ │ │ +001e9ab0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
.[customization
│ │ │ +001e9b00: 732e 7365 7276 6963 6573 5d0a 656e 6162 s.services].enab
│ │ │ +001e9b10: 6c65 6420 3d20 5b22 6368 726f 6e79 225d led = ["chrony"]
│ │ │ 001e9b20: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 001e9b30: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Rem
│ │ │ -001eae30: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ -001eae40: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ -001eae50: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[custo
│ │ │ -001eaea0: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic
│ │ │ -001eaeb0: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = ["
│ │ │ -001eaec0: 6e74 7022 5d0a 3c2f 636f 6465 3e3c 2f70 ntp"].
Remediatio
│ │ │ -001eaf80: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -001eaf90: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -001eb020: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -001eb040: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -001eb050: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001eb060: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -001eb070: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -001eb090: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include enab
│ │ │ -001eb0d0: 6c65 5f6e 7470 0a0a 636c 6173 7320 656e le_ntp..class en
│ │ │ -001eb0e0: 6162 6c65 5f6e 7470 207b 0a20 2073 6572 able_ntp {. ser
│ │ │ -001eb0f0: 7669 6365 207b 276e 7470 273a 0a20 2020 vice {'ntp':.
│ │ │ -001eb100: 2065 6e61 626c 6520 3d26 6774 3b20 7472 enable => tr
│ │ │ -001eb110: 7565 2c0a 2020 2020 656e 7375 7265 203d ue,. ensure =
│ │ │ -001eb120: 2667 743b 2027 7275 6e6e 696e 6727 2c0a > 'running',.
│ │ │ -001eb130: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediatio
│ │ │ -001eb1f0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ -001eb200: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001eb280: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001eb290: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001eb2a0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001eb2b0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001eb2c0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001eb2e0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001eb2f0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001eb300: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -001eb330: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ -001eb340: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ -001eb350: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ -001eb360: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ -001eb370: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ -001eb380: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -001eb390: 2d41 552d 3828 3129 2861 290a 2020 2d20 -AU-8(1)(a). -
│ │ │ -001eb3a0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ -001eb3b0: 2861 290a 2020 2d20 5043 492d 4453 532d (a). - PCI-DSS-
│ │ │ -001eb3c0: 5265 712d 3130 2e34 0a20 202d 2050 4349 Req-10.4. - PCI
│ │ │ -001eb3d0: 2d44 5353 7634 2d31 302e 360a 2020 2d20 -DSSv4-10.6. -
│ │ │ -001eb3e0: 5043 492d 4453 5376 342d 3130 2e36 2e31 PCI-DSSv4-10.6.1
│ │ │ -001eb3f0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ -001eb400: 7465 6779 0a20 202d 2068 6967 685f 7365 tegy. - high_se
│ │ │ -001eb410: 7665 7269 7479 0a20 202d 206c 6f77 5f63 verity. - low_c
│ │ │ -001eb420: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -001eb430: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -001eb440: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -001eb450: 640a 2020 2d20 7365 7276 6963 655f 6e74 d. - service_nt
│ │ │ -001eb460: 705f 656e 6162 6c65 640a 0a2d 206e 616d p_enabled..- nam
│ │ │ -001eb470: 653a 2045 6e61 626c 6520 7468 6520 4e54 e: Enable the NT
│ │ │ -001eb480: 5020 4461 656d 6f6e 202d 2045 6e61 626c P Daemon - Enabl
│ │ │ -001eb490: 6520 7365 7276 6963 6520 6e74 700a 2020 e service ntp.
│ │ │ -001eb4a0: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 block:.. - name
│ │ │ -001eb4b0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ -001eb4c0: 6b61 6765 2066 6163 7473 0a20 2020 2061 kage facts. a
│ │ │ -001eb4d0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -001eb4e0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -001eb4f0: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ -001eb500: 6f0a 0a20 202d 206e 616d 653a 2045 6e61 o.. - name: Ena
│ │ │ -001eb510: 626c 6520 7468 6520 4e54 5020 4461 656d ble the NTP Daem
│ │ │ -001eb520: 6f6e 202d 2045 6e61 626c 6520 5365 7276 on - Enable Serv
│ │ │ -001eb530: 6963 6520 6e74 700a 2020 2020 616e 7369 ice ntp. ansi
│ │ │ -001eb540: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst
│ │ │ -001eb550: 656d 643a 0a20 2020 2020 206e 616d 653a emd:. name:
│ │ │ -001eb560: 206e 7470 0a20 2020 2020 2065 6e61 626c ntp. enabl
│ │ │ -001eb570: 6564 3a20 7472 7565 0a20 2020 2020 2073 ed: true. s
│ │ │ -001eb580: 7461 7465 3a20 7374 6172 7465 640a 2020 tate: started.
│ │ │ -001eb590: 2020 2020 6d61 736b 6564 3a20 6661 6c73 masked: fals
│ │ │ -001eb5a0: 650a 2020 2020 7768 656e 3a0a 2020 2020 e. when:.
│ │ │ -001eb5b0: 2d20 2722 6e74 7022 2069 6e20 616e 7369 - '"ntp" in ansi
│ │ │ -001eb5c0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -001eb5d0: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. -
│ │ │ -001eb5e0: 4e49 5354 2d38 3030 2d35 332d 4155 2d38 NIST-800-53-AU-8
│ │ │ -001eb5f0: 2831 2928 6129 0a20 202d 204e 4953 542d (1)(a). - NIST-
│ │ │ -001eb600: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ -001eb610: 202d 2050 4349 2d44 5353 2d52 6571 2d31 - PCI-DSS-Req-1
│ │ │ -001eb620: 302e 340a 2020 2d20 5043 492d 4453 5376 0.4. - PCI-DSSv
│ │ │ -001eb630: 342d 3130 2e36 0a20 202d 2050 4349 2d44 4-10.6. - PCI-D
│ │ │ -001eb640: 5353 7634 2d31 302e 362e 310a 2020 2d20 SSv4-10.6.1. -
│ │ │ -001eb650: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -001eb660: 2020 2d20 6869 6768 5f73 6576 6572 6974 - high_severit
│ │ │ -001eb670: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -001eb680: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -001eb690: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r
│ │ │ -001eb6a0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -001eb6b0: 2073 6572 7669 6365 5f6e 7470 5f65 6e61 service_ntp_ena
│ │ │ -001eb6c0: 626c 6564 0a20 202d 2073 7065 6369 616c bled. - special
│ │ │ -001eb6d0: 5f73 6572 7669 6365 5f62 6c6f 636b 0a20 _service_block.
│ │ │ -001eb6e0: 2077 6865 6e3a 0a20 202d 2027 226c 696e when:. - '"lin
│ │ │ -001eb6f0: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ -001eb700: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -001eb710: 6573 270a 2020 2d20 2722 6e74 7022 2069 es'. - '"ntp" i
│ │ │ -001eb720: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ -001eb730: 7061 636b 6167 6573 270a 3c2f 636f 6465 packages'.
│ │ │ +001eae50: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +001eaed0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +001eaef0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +001eaf00: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +001eaf10: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001eaf20: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +001eaf30: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +001eaf40: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +001eaf50: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +001eaf60: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001eaf80: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +001eaf90: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ +001eafa0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ +001eafb0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +001eafc0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ +001eafd0: 2d38 3030 2d35 332d 4155 2d38 2831 2928 -800-53-AU-8(1)(
│ │ │ +001eafe0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +001eaff0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ +001eb000: 4349 2d44 5353 2d52 6571 2d31 302e 340a CI-DSS-Req-10.4.
│ │ │ +001eb010: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10
│ │ │ +001eb020: 2e36 0a20 202d 2050 4349 2d44 5353 7634 .6. - PCI-DSSv4
│ │ │ +001eb030: 2d31 302e 362e 310a 2020 2d20 656e 6162 -10.6.1. - enab
│ │ │ +001eb040: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +001eb050: 6869 6768 5f73 6576 6572 6974 790a 2020 high_severity.
│ │ │ +001eb060: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +001eb070: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +001eb080: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo
│ │ │ +001eb090: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser
│ │ │ +001eb0a0: 7669 6365 5f6e 7470 5f65 6e61 626c 6564 vice_ntp_enabled
│ │ │ +001eb0b0: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65 ..- name: Enable
│ │ │ +001eb0c0: 2074 6865 204e 5450 2044 6165 6d6f 6e20 the NTP Daemon
│ │ │ +001eb0d0: 2d20 456e 6162 6c65 2073 6572 7669 6365 - Enable service
│ │ │ +001eb0e0: 206e 7470 0a20 2062 6c6f 636b 3a0a 0a20 ntp. block:..
│ │ │ +001eb0f0: 202d 206e 616d 653a 2047 6174 6865 7220 - name: Gather
│ │ │ +001eb100: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ +001eb110: 730a 2020 2020 616e 7369 626c 652e 6275 s. ansible.bu
│ │ │ +001eb120: 696c 7469 6e2e 7061 636b 6167 655f 6661 iltin.package_fa
│ │ │ +001eb130: 6374 733a 0a20 2020 2020 206d 616e 6167 cts:. manag
│ │ │ +001eb140: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61 er: auto.. - na
│ │ │ +001eb150: 6d65 3a20 456e 6162 6c65 2074 6865 204e me: Enable the N
│ │ │ +001eb160: 5450 2044 6165 6d6f 6e20 2d20 456e 6162 TP Daemon - Enab
│ │ │ +001eb170: 6c65 2053 6572 7669 6365 206e 7470 0a20 le Service ntp.
│ │ │ +001eb180: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ +001eb190: 696e 2e73 7973 7465 6d64 3a0a 2020 2020 in.systemd:.
│ │ │ +001eb1a0: 2020 6e61 6d65 3a20 6e74 700a 2020 2020 name: ntp.
│ │ │ +001eb1b0: 2020 656e 6162 6c65 643a 2074 7275 650a enabled: true.
│ │ │ +001eb1c0: 2020 2020 2020 7374 6174 653a 2073 7461 state: sta
│ │ │ +001eb1d0: 7274 6564 0a20 2020 2020 206d 6173 6b65 rted. maske
│ │ │ +001eb1e0: 643a 2066 616c 7365 0a20 2020 2077 6865 d: false. whe
│ │ │ +001eb1f0: 6e3a 0a20 2020 202d 2027 226e 7470 2220 n:. - '"ntp"
│ │ │ +001eb200: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ +001eb210: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag
│ │ │ +001eb220: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ +001eb230: 3533 2d41 552d 3828 3129 2861 290a 2020 53-AU-8(1)(a).
│ │ │ +001eb240: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ +001eb250: 2d36 2861 290a 2020 2d20 5043 492d 4453 -6(a). - PCI-DS
│ │ │ +001eb260: 532d 5265 712d 3130 2e34 0a20 202d 2050 S-Req-10.4. - P
│ │ │ +001eb270: 4349 2d44 5353 7634 2d31 302e 360a 2020 CI-DSSv4-10.6.
│ │ │ +001eb280: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6
│ │ │ +001eb290: 2e31 0a20 202d 2065 6e61 626c 655f 7374 .1. - enable_st
│ │ │ +001eb2a0: 7261 7465 6779 0a20 202d 2068 6967 685f rategy. - high_
│ │ │ +001eb2b0: 7365 7665 7269 7479 0a20 202d 206c 6f77 severity. - low
│ │ │ +001eb2c0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +001eb2d0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +001eb2e0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +001eb2f0: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ +001eb300: 6e74 705f 656e 6162 6c65 640a 2020 2d20 ntp_enabled. -
│ │ │ +001eb310: 7370 6563 6961 6c5f 7365 7276 6963 655f special_service_
│ │ │ +001eb320: 626c 6f63 6b0a 2020 7768 656e 3a0a 2020 block. when:.
│ │ │ +001eb330: 2d20 2722 6c69 6e75 782d 6261 7365 2220 - '"linux-base"
│ │ │ +001eb340: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ +001eb350: 2e70 6163 6b61 6765 7327 0a20 202d 2027 .packages'. - '
│ │ │ +001eb360: 226e 7470 2220 696e 2061 6e73 6962 6c65 "ntp" in ansible
│ │ │ +001eb370: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +001eb380: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +001eb390: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ +001eb440: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +001eb450: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +001eb500: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001eb510: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001eb520: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001eb530: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001eb550: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +001eb560: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ +001eb580: 6e63 6c75 6465 2065 6e61 626c 655f 6e74 nclude enable_nt
│ │ │ +001eb590: 700a 0a63 6c61 7373 2065 6e61 626c 655f p..class enable_
│ │ │ +001eb5a0: 6e74 7020 7b0a 2020 7365 7276 6963 6520 ntp {. service
│ │ │ +001eb5b0: 7b27 6e74 7027 3a0a 2020 2020 656e 6162 {'ntp':. enab
│ │ │ +001eb5c0: 6c65 203d 2667 743b 2074 7275 652c 0a20 le => true,.
│ │ │ +001eb5d0: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ +001eb5e0: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d 'running',. }.}
│ │ │ +001eb5f0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +001eb600: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation OSB
│ │ │ +001eb6b0: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ +001eb6c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ....[c
│ │ │ +001eb710: 7573 746f 6d69 7a61 7469 6f6e 732e 7365 ustomizations.se
│ │ │ +001eb720: 7276 6963 6573 5d0a 656e 6162 6c65 6420 rvices].enabled
│ │ │ +001eb730: 3d20 5b22 6e74 7022 5d0a 3c2f 636f 6465 = ["ntp"].
│ │ │ -001eca20: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu
│ │ │ -001eca30: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn
│ │ │ -001eca40: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.[cu
│ │ │ -001eca90: 7374 6f6d 697a 6174 696f 6e73 2e73 6572 stomizations.ser
│ │ │ -001ecaa0: 7669 6365 735d 0a65 6e61 626c 6564 203d vices].enabled =
│ │ │ -001ecab0: 205b 2273 7973 7465 6d64 2d74 696d 6573 ["systemd-times
│ │ │ -001ecac0: 796e 6364 225d 0a3c 2f63 6f64 653e 3c2f yncd"].
│ │ │ -001ecad0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ -001ecb80: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -001ecb90: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001ecc10: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001ecc20: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001ecc30: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001ecc40: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001ecc50: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001ecc70: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001ecc80: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001ecc90: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -001eccc0: 636f 6465 3e69 6e63 6c75 6465 2065 6e61 code>include ena
│ │ │ -001eccd0: 626c 655f 7379 7374 656d 642d 7469 6d65 ble_systemd-time
│ │ │ -001ecce0: 7379 6e63 640a 0a63 6c61 7373 2065 6e61 syncd..class ena
│ │ │ -001eccf0: 626c 655f 7379 7374 656d 642d 7469 6d65 ble_systemd-time
│ │ │ -001ecd00: 7379 6e63 6420 7b0a 2020 7365 7276 6963 syncd {. servic
│ │ │ -001ecd10: 6520 7b27 7379 7374 656d 642d 7469 6d65 e {'systemd-time
│ │ │ -001ecd20: 7379 6e63 6427 3a0a 2020 2020 656e 6162 syncd':. enab
│ │ │ -001ecd30: 6c65 203d 2667 743b 2074 7275 652c 0a20 le => true,.
│ │ │ -001ecd40: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -001ecd50: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d 'running',. }.}
│ │ │ -001ecd60: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ -001ecd70: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Ans
│ │ │ -001ece20: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ -001ece30: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -001eced0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -001ecee0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -001ecef0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001ecf00: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -001ecf10: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -001ecf20: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -001ecf30: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ -001ecf40: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001ecf60: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ -001ecf70: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ -001ecf80: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ -001ecf90: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ -001ecfa0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ -001ecfb0: 4e49 5354 2d38 3030 2d35 332d 4155 2d38 NIST-800-53-AU-8
│ │ │ -001ecfc0: 2831 2928 6129 0a20 202d 204e 4953 542d (1)(a). - NIST-
│ │ │ -001ecfd0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ -001ecfe0: 202d 2050 4349 2d44 5353 2d52 6571 2d31 - PCI-DSS-Req-1
│ │ │ -001ecff0: 302e 340a 2020 2d20 5043 492d 4453 5376 0.4. - PCI-DSSv
│ │ │ -001ed000: 342d 3130 2e36 0a20 202d 2050 4349 2d44 4-10.6. - PCI-D
│ │ │ -001ed010: 5353 7634 2d31 302e 362e 310a 2020 2d20 SSv4-10.6.1. -
│ │ │ -001ed020: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -001ed030: 2020 2d20 6869 6768 5f73 6576 6572 6974 - high_severit
│ │ │ -001ed040: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -001ed050: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -001ed060: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r
│ │ │ -001ed070: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -001ed080: 2073 6572 7669 6365 5f74 696d 6573 796e service_timesyn
│ │ │ -001ed090: 6364 5f65 6e61 626c 6564 0a0a 2d20 6e61 cd_enabled..- na
│ │ │ -001ed0a0: 6d65 3a20 456e 6162 6c65 2073 7973 7465 me: Enable syste
│ │ │ -001ed0b0: 6d64 5f74 696d 6573 796e 6364 2053 6572 md_timesyncd Ser
│ │ │ -001ed0c0: 7669 6365 202d 2045 6e61 626c 6520 7365 vice - Enable se
│ │ │ -001ed0d0: 7276 6963 6520 7379 7374 656d 642d 7469 rvice systemd-ti
│ │ │ -001ed0e0: 6d65 7379 6e63 640a 2020 626c 6f63 6b3a mesyncd. block:
│ │ │ -001ed0f0: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468 .. - name: Gath
│ │ │ -001ed100: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ -001ed110: 6163 7473 0a20 2020 2061 6e73 6962 6c65 acts. ansible
│ │ │ -001ed120: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ -001ed130: 5f66 6163 7473 3a0a 2020 2020 2020 6d61 _facts:. ma
│ │ │ -001ed140: 6e61 6765 723a 2061 7574 6f0a 0a20 202d nager: auto.. -
│ │ │ -001ed150: 206e 616d 653a 2045 6e61 626c 6520 7379 name: Enable sy
│ │ │ -001ed160: 7374 656d 645f 7469 6d65 7379 6e63 6420 stemd_timesyncd
│ │ │ -001ed170: 5365 7276 6963 6520 2d20 456e 6162 6c65 Service - Enable
│ │ │ -001ed180: 2053 6572 7669 6365 2073 7973 7465 6d64 Service systemd
│ │ │ -001ed190: 2d74 696d 6573 796e 6364 0a20 2020 2061 -timesyncd. a
│ │ │ -001ed1a0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73 nsible.builtin.s
│ │ │ -001ed1b0: 7973 7465 6d64 3a0a 2020 2020 2020 6e61 ystemd:. na
│ │ │ -001ed1c0: 6d65 3a20 7379 7374 656d 642d 7469 6d65 me: systemd-time
│ │ │ -001ed1d0: 7379 6e63 640a 2020 2020 2020 656e 6162 syncd. enab
│ │ │ -001ed1e0: 6c65 643a 2074 7275 650a 2020 2020 2020 led: true.
│ │ │ -001ed1f0: 7374 6174 653a 2073 7461 7274 6564 0a20 state: started.
│ │ │ -001ed200: 2020 2020 206d 6173 6b65 643a 2066 616c masked: fal
│ │ │ -001ed210: 7365 0a20 2020 2077 6865 6e3a 0a20 2020 se. when:.
│ │ │ -001ed220: 202d 2027 2273 7973 7465 6d64 2220 696e - '"systemd" in
│ │ │ -001ed230: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ -001ed240: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ -001ed250: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -001ed260: 2d41 552d 3828 3129 2861 290a 2020 2d20 -AU-8(1)(a). -
│ │ │ -001ed270: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ -001ed280: 2861 290a 2020 2d20 5043 492d 4453 532d (a). - PCI-DSS-
│ │ │ -001ed290: 5265 712d 3130 2e34 0a20 202d 2050 4349 Req-10.4. - PCI
│ │ │ -001ed2a0: 2d44 5353 7634 2d31 302e 360a 2020 2d20 -DSSv4-10.6. -
│ │ │ -001ed2b0: 5043 492d 4453 5376 342d 3130 2e36 2e31 PCI-DSSv4-10.6.1
│ │ │ -001ed2c0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ -001ed2d0: 7465 6779 0a20 202d 2068 6967 685f 7365 tegy. - high_se
│ │ │ -001ed2e0: 7665 7269 7479 0a20 202d 206c 6f77 5f63 verity. - low_c
│ │ │ -001ed2f0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -001ed300: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -001ed310: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -001ed320: 640a 2020 2d20 7365 7276 6963 655f 7469 d. - service_ti
│ │ │ -001ed330: 6d65 7379 6e63 645f 656e 6162 6c65 640a mesyncd_enabled.
│ │ │ -001ed340: 2020 2d20 7370 6563 6961 6c5f 7365 7276 - special_serv
│ │ │ -001ed350: 6963 655f 626c 6f63 6b0a 2020 7768 656e ice_block. when
│ │ │ -001ed360: 3a0a 2020 2d20 2722 6c69 6e75 782d 6261 :. - '"linux-ba
│ │ │ -001ed370: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ -001ed380: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ -001ed390: 202d 2028 206e 6f74 2028 2022 6368 726f - ( not ( "chro
│ │ │ -001ed3a0: 6e79 2220 696e 2061 6e73 6962 6c65 5f66 ny" in ansible_f
│ │ │ -001ed3b0: 6163 7473 2e70 6163 6b61 6765 7320 2920 acts.packages )
│ │ │ -001ed3c0: 616e 6420 6e6f 7420 2820 226e 7470 2220 and not ( "ntp"
│ │ │ -001ed3d0: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ -001ed3e0: 2e70 6163 6b61 6765 730a 2020 2020 2920 .packages. )
│ │ │ -001ed3f0: 290a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ).
<
│ │ │ +001eca20: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ +001eca30: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ +001eca40: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +001ecaf0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001ecb00: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001ecb10: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001ecb20: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001ecb40: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +001ecb50: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +001ecb70: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ +001ecb80: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ +001ecb90: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ +001ecba0: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ +001ecbb0: 746f 0a20 2074 6167 733a 0a20 202d 204e to. tags:. - N
│ │ │ +001ecbc0: 4953 542d 3830 302d 3533 2d41 552d 3828 IST-800-53-AU-8(
│ │ │ +001ecbd0: 3129 2861 290a 2020 2d20 4e49 5354 2d38 1)(a). - NIST-8
│ │ │ +001ecbe0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ +001ecbf0: 2d20 5043 492d 4453 532d 5265 712d 3130 - PCI-DSS-Req-10
│ │ │ +001ecc00: 2e34 0a20 202d 2050 4349 2d44 5353 7634 .4. - PCI-DSSv4
│ │ │ +001ecc10: 2d31 302e 360a 2020 2d20 5043 492d 4453 -10.6. - PCI-DS
│ │ │ +001ecc20: 5376 342d 3130 2e36 2e31 0a20 202d 2065 Sv4-10.6.1. - e
│ │ │ +001ecc30: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ +001ecc40: 202d 2068 6967 685f 7365 7665 7269 7479 - high_severity
│ │ │ +001ecc50: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +001ecc60: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +001ecc70: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re
│ │ │ +001ecc80: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +001ecc90: 7365 7276 6963 655f 7469 6d65 7379 6e63 service_timesync
│ │ │ +001ecca0: 645f 656e 6162 6c65 640a 0a2d 206e 616d d_enabled..- nam
│ │ │ +001eccb0: 653a 2045 6e61 626c 6520 7379 7374 656d e: Enable system
│ │ │ +001eccc0: 645f 7469 6d65 7379 6e63 6420 5365 7276 d_timesyncd Serv
│ │ │ +001eccd0: 6963 6520 2d20 456e 6162 6c65 2073 6572 ice - Enable ser
│ │ │ +001ecce0: 7669 6365 2073 7973 7465 6d64 2d74 696d vice systemd-tim
│ │ │ +001eccf0: 6573 796e 6364 0a20 2062 6c6f 636b 3a0a esyncd. block:.
│ │ │ +001ecd00: 0a20 202d 206e 616d 653a 2047 6174 6865 . - name: Gathe
│ │ │ +001ecd10: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +001ecd20: 6374 730a 2020 2020 616e 7369 626c 652e cts. ansible.
│ │ │ +001ecd30: 6275 696c 7469 6e2e 7061 636b 6167 655f builtin.package_
│ │ │ +001ecd40: 6661 6374 733a 0a20 2020 2020 206d 616e facts:. man
│ │ │ +001ecd50: 6167 6572 3a20 6175 746f 0a0a 2020 2d20 ager: auto.. -
│ │ │ +001ecd60: 6e61 6d65 3a20 456e 6162 6c65 2073 7973 name: Enable sys
│ │ │ +001ecd70: 7465 6d64 5f74 696d 6573 796e 6364 2053 temd_timesyncd S
│ │ │ +001ecd80: 6572 7669 6365 202d 2045 6e61 626c 6520 ervice - Enable
│ │ │ +001ecd90: 5365 7276 6963 6520 7379 7374 656d 642d Service systemd-
│ │ │ +001ecda0: 7469 6d65 7379 6e63 640a 2020 2020 616e timesyncd. an
│ │ │ +001ecdb0: 7369 626c 652e 6275 696c 7469 6e2e 7379 sible.builtin.sy
│ │ │ +001ecdc0: 7374 656d 643a 0a20 2020 2020 206e 616d stemd:. nam
│ │ │ +001ecdd0: 653a 2073 7973 7465 6d64 2d74 696d 6573 e: systemd-times
│ │ │ +001ecde0: 796e 6364 0a20 2020 2020 2065 6e61 626c yncd. enabl
│ │ │ +001ecdf0: 6564 3a20 7472 7565 0a20 2020 2020 2073 ed: true. s
│ │ │ +001ece00: 7461 7465 3a20 7374 6172 7465 640a 2020 tate: started.
│ │ │ +001ece10: 2020 2020 6d61 736b 6564 3a20 6661 6c73 masked: fals
│ │ │ +001ece20: 650a 2020 2020 7768 656e 3a0a 2020 2020 e. when:.
│ │ │ +001ece30: 2d20 2722 7379 7374 656d 6422 2069 6e20 - '"systemd" in
│ │ │ +001ece40: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ +001ece50: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:.
│ │ │ +001ece60: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +001ece70: 4155 2d38 2831 2928 6129 0a20 202d 204e AU-8(1)(a). - N
│ │ │ +001ece80: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +001ece90: 6129 0a20 202d 2050 4349 2d44 5353 2d52 a). - PCI-DSS-R
│ │ │ +001ecea0: 6571 2d31 302e 340a 2020 2d20 5043 492d eq-10.4. - PCI-
│ │ │ +001eceb0: 4453 5376 342d 3130 2e36 0a20 202d 2050 DSSv4-10.6. - P
│ │ │ +001ecec0: 4349 2d44 5353 7634 2d31 302e 362e 310a CI-DSSv4-10.6.1.
│ │ │ +001eced0: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat
│ │ │ +001ecee0: 6567 790a 2020 2d20 6869 6768 5f73 6576 egy. - high_sev
│ │ │ +001ecef0: 6572 6974 790a 2020 2d20 6c6f 775f 636f erity. - low_co
│ │ │ +001ecf00: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +001ecf10: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +001ecf20: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +001ecf30: 0a20 202d 2073 6572 7669 6365 5f74 696d . - service_tim
│ │ │ +001ecf40: 6573 796e 6364 5f65 6e61 626c 6564 0a20 esyncd_enabled.
│ │ │ +001ecf50: 202d 2073 7065 6369 616c 5f73 6572 7669 - special_servi
│ │ │ +001ecf60: 6365 5f62 6c6f 636b 0a20 2077 6865 6e3a ce_block. when:
│ │ │ +001ecf70: 0a20 202d 2027 226c 696e 7578 2d62 6173 . - '"linux-bas
│ │ │ +001ecf80: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ +001ecf90: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ +001ecfa0: 2d20 2820 6e6f 7420 2820 2263 6872 6f6e - ( not ( "chron
│ │ │ +001ecfb0: 7922 2069 6e20 616e 7369 626c 655f 6661 y" in ansible_fa
│ │ │ +001ecfc0: 6374 732e 7061 636b 6167 6573 2029 2061 cts.packages ) a
│ │ │ +001ecfd0: 6e64 206e 6f74 2028 2022 6e74 7022 2069 nd not ( "ntp" i
│ │ │ +001ecfe0: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ +001ecff0: 7061 636b 6167 6573 0a20 2020 2029 2029 packages. ) )
│ │ │ +001ed000: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +001ed010: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ +001ed0c0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +001ed0d0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +001ed180: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001ed190: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001ed1a0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001ed1b0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001ed1d0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +001ed1e0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ +001ed200: 6e63 6c75 6465 2065 6e61 626c 655f 7379 nclude enable_sy
│ │ │ +001ed210: 7374 656d 642d 7469 6d65 7379 6e63 640a stemd-timesyncd.
│ │ │ +001ed220: 0a63 6c61 7373 2065 6e61 626c 655f 7379 .class enable_sy
│ │ │ +001ed230: 7374 656d 642d 7469 6d65 7379 6e63 6420 stemd-timesyncd
│ │ │ +001ed240: 7b0a 2020 7365 7276 6963 6520 7b27 7379 {. service {'sy
│ │ │ +001ed250: 7374 656d 642d 7469 6d65 7379 6e63 6427 stemd-timesyncd'
│ │ │ +001ed260: 3a0a 2020 2020 656e 6162 6c65 203d 2667 :. enable =&g
│ │ │ +001ed270: 743b 2074 7275 652c 0a20 2020 2065 6e73 t; true,. ens
│ │ │ +001ed280: 7572 6520 3d26 6774 3b20 2772 756e 6e69 ure => 'runni
│ │ │ +001ed290: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ng',. }.}.
Remed
│ │ │ +001ed350: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ +001ed360: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ +001ed370: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[customi
│ │ │ +001ed3c0: 7a61 7469 6f6e 732e 7365 7276 6963 6573 zations.services
│ │ │ +001ed3d0: 5d0a 656e 6162 6c65 6420 3d20 5b22 7379 ].enabled = ["sy
│ │ │ +001ed3e0: 7374 656d 642d 7469 6d65 7379 6e63 6422 stemd-timesyncd"
│ │ │ +001ed3f0: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ].
<
│ │ │ 001ed400: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation
│ │ │ -001f1b70: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -001f1b80: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001f1c10: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001f1c30: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001f1c50: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001f1c60: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -001f1c80: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -001f1c90: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ -001f1cc0: 6f76 655f 7273 682d 636c 6965 6e74 0a0a ove_rsh-client..
│ │ │ -001f1cd0: 636c 6173 7320 7265 6d6f 7665 5f72 7368 class remove_rsh
│ │ │ -001f1ce0: 2d63 6c69 656e 7420 7b0a 2020 7061 636b -client {. pack
│ │ │ -001f1cf0: 6167 6520 7b20 2772 7368 2d63 6c69 656e age { 'rsh-clien
│ │ │ -001f1d00: 7427 3a0a 2020 2020 656e 7375 7265 203d t':. ensure =
│ │ │ -001f1d10: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ -001f1d20: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediation
│ │ │ -001f1de0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ -001f1df0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -001f1e80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -001f1ea0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -001f1eb0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001f1ec0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -001f1ed0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -001f1ef0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ -001f1f20: 636f 6465 3e2d 206e 616d 653a 2027 556e code>- name: 'Un
│ │ │ -001f1f30: 696e 7374 616c 6c20 7273 6820 5061 636b install rsh Pack
│ │ │ -001f1f40: 6167 653a 2045 6e73 7572 6520 7273 682d age: Ensure rsh-
│ │ │ -001f1f50: 636c 6965 6e74 2069 7320 7265 6d6f 7665 client is remove
│ │ │ -001f1f60: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -001f1f70: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -001f1f80: 2020 6e61 6d65 3a20 7273 682d 636c 6965 name: rsh-clie
│ │ │ -001f1f90: 6e74 0a20 2020 2073 7461 7465 3a20 6162 nt. state: ab
│ │ │ -001f1fa0: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. -
│ │ │ -001f1fb0: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ -001f1fc0: 312e 3133 0a20 202d 2050 4349 2d44 5353 1.13. - PCI-DSS
│ │ │ -001f1fd0: 7634 2d32 2e32 0a20 202d 2050 4349 2d44 v4-2.2. - PCI-D
│ │ │ -001f1fe0: 5353 7634 2d32 2e32 2e34 0a20 202d 2064 SSv4-2.2.4. - d
│ │ │ -001f1ff0: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ -001f2000: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -001f2010: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -001f2020: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ -001f2030: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -001f2040: 6163 6b61 6765 5f72 7368 5f72 656d 6f76 ackage_rsh_remov
│ │ │ -001f2050: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73 ed. - unknown_s
│ │ │ -001f2060: 6576 6572 6974 790a 3c2f 636f 6465 3e3c everity.<
│ │ │ +001f1b70: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ +001f1b80: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +001f1c10: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +001f1c30: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001f1c40: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001f1c50: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001f1c60: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001f1c80: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +001f1cb0: 636f 6465 3e2d 206e 616d 653a 2027 556e code>- name: 'Un
│ │ │ +001f1cc0: 696e 7374 616c 6c20 7273 6820 5061 636b install rsh Pack
│ │ │ +001f1cd0: 6167 653a 2045 6e73 7572 6520 7273 682d age: Ensure rsh-
│ │ │ +001f1ce0: 636c 6965 6e74 2069 7320 7265 6d6f 7665 client is remove
│ │ │ +001f1cf0: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ +001f1d00: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ +001f1d10: 2020 6e61 6d65 3a20 7273 682d 636c 6965 name: rsh-clie
│ │ │ +001f1d20: 6e74 0a20 2020 2073 7461 7465 3a20 6162 nt. state: ab
│ │ │ +001f1d30: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. -
│ │ │ +001f1d40: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ +001f1d50: 312e 3133 0a20 202d 2050 4349 2d44 5353 1.13. - PCI-DSS
│ │ │ +001f1d60: 7634 2d32 2e32 0a20 202d 2050 4349 2d44 v4-2.2. - PCI-D
│ │ │ +001f1d70: 5353 7634 2d32 2e32 2e34 0a20 202d 2064 SSv4-2.2.4. - d
│ │ │ +001f1d80: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +001f1d90: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +001f1da0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +001f1db0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ +001f1dc0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +001f1dd0: 6163 6b61 6765 5f72 7368 5f72 656d 6f76 ackage_rsh_remov
│ │ │ +001f1de0: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73 ed. - unknown_s
│ │ │ +001f1df0: 6576 6572 6974 790a 3c2f 636f 6465 3e3c everity.<
│ │ │ +001f1e00: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ +001f1eb0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ +001f1ec0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001f1f40: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +001f1f50: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +001f1f60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +001f1fa0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +001f1fb0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +001f1fd0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ +001f1fe0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
.include
│ │ │ +001f2000: 7265 6d6f 7665 5f72 7368 2d63 6c69 656e remove_rsh-clien
│ │ │ +001f2010: 740a 0a63 6c61 7373 2072 656d 6f76 655f t..class remove_
│ │ │ +001f2020: 7273 682d 636c 6965 6e74 207b 0a20 2070 rsh-client {. p
│ │ │ +001f2030: 6163 6b61 6765 207b 2027 7273 682d 636c ackage { 'rsh-cl
│ │ │ +001f2040: 6965 6e74 273a 0a20 2020 2065 6e73 7572 ient':. ensur
│ │ │ +001f2050: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ +001f2060: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ 001f2070: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediati
│ │ │ -001f4420: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -001f4430: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001f44b0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001f44c0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001f44d0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001f44e0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001f44f0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001f4510: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001f4520: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001f4530: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -001f4550: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -001f4560: 3c63 6f64 653e 0a69 6e63 6c75 6465 2072 .include r
│ │ │ -001f4570: 656d 6f76 655f 7461 6c6b 0a0a 636c 6173 emove_talk..clas
│ │ │ -001f4580: 7320 7265 6d6f 7665 5f74 616c 6b20 7b0a s remove_talk {.
│ │ │ -001f4590: 2020 7061 636b 6167 6520 7b20 2774 616c package { 'tal
│ │ │ -001f45a0: 6b27 3a0a 2020 2020 656e 7375 7265 203d k':. ensure =
│ │ │ -001f45b0: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ -001f45c0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediation
│ │ │ -001f4680: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ -001f4690: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -001f4720: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -001f4740: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -001f4750: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001f4760: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -001f4770: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -001f4790: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable <
│ │ │ -001f47c0: 636f 6465 3e2d 206e 616d 653a 2027 556e code>- name: 'Un
│ │ │ -001f47d0: 696e 7374 616c 6c20 7461 6c6b 2050 6163 install talk Pac
│ │ │ -001f47e0: 6b61 6765 3a20 456e 7375 7265 2074 616c kage: Ensure tal
│ │ │ -001f47f0: 6b20 6973 2072 656d 6f76 6564 270a 2020 k is removed'.
│ │ │ -001f4800: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -001f4810: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ -001f4820: 653a 2074 616c 6b0a 2020 2020 7374 6174 e: talk. stat
│ │ │ -001f4830: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags
│ │ │ -001f4840: 3a0a 2020 2d20 5043 492d 4453 5376 342d :. - PCI-DSSv4-
│ │ │ -001f4850: 322e 320a 2020 2d20 5043 492d 4453 5376 2.2. - PCI-DSSv
│ │ │ -001f4860: 342d 322e 322e 340a 2020 2d20 6469 7361 4-2.2.4. - disa
│ │ │ -001f4870: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -001f4880: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -001f4890: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -001f48a0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -001f48b0: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -001f48c0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -001f48d0: 7061 636b 6167 655f 7461 6c6b 5f72 656d package_talk_rem
│ │ │ -001f48e0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
│ │ │ +001f44b0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +001f44c0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +001f44d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +001f4510: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +001f4520: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +001f4540: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ +001f4550: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>- name: '
│ │ │ +001f4570: 556e 696e 7374 616c 6c20 7461 6c6b 2050 Uninstall talk P
│ │ │ +001f4580: 6163 6b61 6765 3a20 456e 7375 7265 2074 ackage: Ensure t
│ │ │ +001f4590: 616c 6b20 6973 2072 656d 6f76 6564 270a alk is removed'.
│ │ │ +001f45a0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +001f45b0: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ +001f45c0: 616d 653a 2074 616c 6b0a 2020 2020 7374 ame: talk. st
│ │ │ +001f45d0: 6174 653a 2061 6273 656e 740a 2020 7461 ate: absent. ta
│ │ │ +001f45e0: 6773 3a0a 2020 2d20 5043 492d 4453 5376 gs:. - PCI-DSSv
│ │ │ +001f45f0: 342d 322e 320a 2020 2d20 5043 492d 4453 4-2.2. - PCI-DS
│ │ │ +001f4600: 5376 342d 322e 322e 340a 2020 2d20 6469 Sv4-2.2.4. - di
│ │ │ +001f4610: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ +001f4620: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +001f4630: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +001f4640: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ +001f4650: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +001f4660: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +001f4670: 2d20 7061 636b 6167 655f 7461 6c6b 5f72 - package_talk_r
│ │ │ +001f4680: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f emoved.
│ │ │ +001f4690: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ +001f4740: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +001f4750: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +001f47d0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +001f47e0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +001f47f0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001f4800: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +001f4810: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +001f4830: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001f4840: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001f4850: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +001f4870: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +001f4880: 3c63 6f64 653e 0a69 6e63 6c75 6465 2072 .include r
│ │ │ +001f4890: 656d 6f76 655f 7461 6c6b 0a0a 636c 6173 emove_talk..clas
│ │ │ +001f48a0: 7320 7265 6d6f 7665 5f74 616c 6b20 7b0a s remove_talk {.
│ │ │ +001f48b0: 2020 7061 636b 6167 6520 7b20 2774 616c package { 'tal
│ │ │ +001f48c0: 6b27 3a0a 2020 2020 656e 7375 7265 203d k':. ensure =
│ │ │ +001f48d0: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ +001f48e0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.Remediation P
│ │ │ -001f5b50: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -001f5b60: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001f5be0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001f5bf0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001f5c00: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001f5c10: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001f5c20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001f5c50: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001f5c60: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001f5c70: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001f5c80: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ -001f5ca0: 655f 7465 6c6e 6574 0a0a 636c 6173 7320 e_telnet..class
│ │ │ -001f5cb0: 7265 6d6f 7665 5f74 656c 6e65 7420 7b0a remove_telnet {.
│ │ │ -001f5cc0: 2020 7061 636b 6167 6520 7b20 2774 656c package { 'tel
│ │ │ -001f5cd0: 6e65 7427 3a0a 2020 2020 656e 7375 7265 net':. ensure
│ │ │ -001f5ce0: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ -001f5cf0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -001f5d00: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ -001f5db0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ -001f5dc0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001f5e40: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -001f5e50: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -001f5e60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -001f5ea0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -001f5eb0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -001f5ed0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -001f5ee0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: '
│ │ │ -001f5f00: 5265 6d6f 7665 2074 656c 6e65 7420 436c Remove telnet Cl
│ │ │ -001f5f10: 6965 6e74 733a 2045 6e73 7572 6520 7465 ients: Ensure te
│ │ │ -001f5f20: 6c6e 6574 2069 7320 7265 6d6f 7665 6427 lnet is removed'
│ │ │ -001f5f30: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ -001f5f40: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ -001f5f50: 6e61 6d65 3a20 7465 6c6e 6574 0a20 2020 name: telnet.
│ │ │ -001f5f60: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ -001f5f70: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ -001f5f80: 3830 302d 3137 312d 332e 312e 3133 0a20 800-171-3.1.13.
│ │ │ -001f5f90: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ -001f5fa0: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ -001f5fb0: 2e32 2e34 0a20 202d 2064 6973 6162 6c65 .2.4. - disable
│ │ │ -001f5fc0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ -001f5fd0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -001f5fe0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -001f5ff0: 2020 2d20 6c6f 775f 7365 7665 7269 7479 - low_severity
│ │ │ -001f6000: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -001f6010: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ -001f6020: 655f 7465 6c6e 6574 5f72 656d 6f76 6564 e_telnet_removed
│ │ │ +001f5b40: 2122 3e52 656d 6564 6961 7469 6f6e 2041 !">Remediation A
│ │ │ +001f5b50: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +001f5b60: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001f5be0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001f5bf0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001f5c00: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001f5c10: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001f5c50: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001f5c60: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +001f5c70: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +001f5c80: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: 'Remo
│ │ │ +001f5ca0: 7665 2074 656c 6e65 7420 436c 6965 6e74 ve telnet Client
│ │ │ +001f5cb0: 733a 2045 6e73 7572 6520 7465 6c6e 6574 s: Ensure telnet
│ │ │ +001f5cc0: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ +001f5cd0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ +001f5ce0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ +001f5cf0: 3a20 7465 6c6e 6574 0a20 2020 2073 7461 : telnet. sta
│ │ │ +001f5d00: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ +001f5d10: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ +001f5d20: 3137 312d 332e 312e 3133 0a20 202d 2050 171-3.1.13. - P
│ │ │ +001f5d30: 4349 2d44 5353 7634 2d32 2e32 0a20 202d CI-DSSv4-2.2. -
│ │ │ +001f5d40: 2050 4349 2d44 5353 7634 2d32 2e32 2e34 PCI-DSSv4-2.2.4
│ │ │ +001f5d50: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +001f5d60: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +001f5d70: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +001f5d80: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +001f5d90: 6c6f 775f 7365 7665 7269 7479 0a20 202d low_severity. -
│ │ │ +001f5da0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +001f5db0: 640a 2020 2d20 7061 636b 6167 655f 7465 d. - package_te
│ │ │ +001f5dc0: 6c6e 6574 5f72 656d 6f76 6564 0a3c 2f63 lnet_removed.
│ │ │ +001f5de0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +001f5e80: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +001f5e90: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001f5ea0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001f5f20: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001f5f50: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001f5f70: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001f5f80: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001f5fa0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001f5fb0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ +001f5fd0: 6c75 6465 2072 656d 6f76 655f 7465 6c6e lude remove_teln
│ │ │ +001f5fe0: 6574 0a0a 636c 6173 7320 7265 6d6f 7665 et..class remove
│ │ │ +001f5ff0: 5f74 656c 6e65 7420 7b0a 2020 7061 636b _telnet {. pack
│ │ │ +001f6000: 6167 6520 7b20 2774 656c 6e65 7427 3a0a age { 'telnet':.
│ │ │ +001f6010: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ +001f6020: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.}
│ │ │ 001f6030: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 001f6040: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remed
│ │ │ -001f6b40: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -001f6b50: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001f6be0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001f6bf0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001f6c00: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001f6c10: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001f6c20: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001f6c30: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001f6c40: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001f6c50: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -001f6c80: 7072 653e 3c63 6f64 653e 0a69 6e63 6c75 pre>.inclu
│ │ │ -001f6c90: 6465 2072 656d 6f76 655f 7273 796e 630a de remove_rsync.
│ │ │ -001f6ca0: 0a63 6c61 7373 2072 656d 6f76 655f 7273 .class remove_rs
│ │ │ -001f6cb0: 796e 6320 7b0a 2020 7061 636b 6167 6520 ync {. package
│ │ │ -001f6cc0: 7b20 2772 7379 6e63 273a 0a20 2020 2065 { 'rsync':. e
│ │ │ -001f6cd0: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ -001f6ce0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.<
│ │ │ -001f6d00: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -001f6d10: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -001f6d20: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -001f6d30: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -001f6d40: 6437 3430 2220 7461 6269 6e64 6578 3d22 d740" tabindex="
│ │ │ -001f6d50: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -001f6d60: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -001f6d70: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -001f6d80: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -001f6d90: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001f6da0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -001f6db0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001f6dc0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001f6e40: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001f6e70: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001f6e90: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001f6ea0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001f6ec0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -001f6ed0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001f6ef0: 6d65 3a20 2755 6e69 6e73 7461 6c6c 2072 me: 'Uninstall r
│ │ │ -001f6f00: 7379 6e63 2050 6163 6b61 6765 3a20 456e sync Package: En
│ │ │ -001f6f10: 7375 7265 2072 7379 6e63 2069 7320 7265 sure rsync is re
│ │ │ -001f6f20: 6d6f 7665 6427 0a20 2061 6e73 6962 6c65 moved'. ansible
│ │ │ -001f6f30: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ -001f6f40: 3a0a 2020 2020 6e61 6d65 3a20 7273 796e :. name: rsyn
│ │ │ -001f6f50: 630a 2020 2020 7374 6174 653a 2061 6273 c. state: abs
│ │ │ -001f6f60: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. -
│ │ │ -001f6f70: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ -001f6f80: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -001f6f90: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -001f6fa0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -001f6fb0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -001f6fc0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -001f6fd0: 2020 2d20 7061 636b 6167 655f 7273 796e - package_rsyn
│ │ │ -001f6fe0: 635f 7265 6d6f 7665 640a 3c2f 636f 6465 c_removed.Comp
│ │ │ +001f6be0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +001f6bf0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +001f6c10: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +001f6c30: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001f6c40: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001f6c60: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +001f6c70: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001f6c80: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +001f6c90: 653a 2027 556e 696e 7374 616c 6c20 7273 e: 'Uninstall rs
│ │ │ +001f6ca0: 796e 6320 5061 636b 6167 653a 2045 6e73 ync Package: Ens
│ │ │ +001f6cb0: 7572 6520 7273 796e 6320 6973 2072 656d ure rsync is rem
│ │ │ +001f6cc0: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ +001f6cd0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ +001f6ce0: 0a20 2020 206e 616d 653a 2072 7379 6e63 . name: rsync
│ │ │ +001f6cf0: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ +001f6d00: 6e74 0a20 2074 6167 733a 0a20 202d 2064 nt. tags:. - d
│ │ │ +001f6d10: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +001f6d20: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +001f6d30: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +001f6d40: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +001f6d50: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +001f6d60: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +001f6d70: 202d 2070 6163 6b61 6765 5f72 7379 6e63 - package_rsync
│ │ │ +001f6d80: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e _removed.
│ │ │ +001f6d90: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +001f6e40: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ +001f6e50: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +001f6e60: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001f6e70: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +001f6e80: 7365 2220 6964 3d22 6964 3734 3022 3e3c se" id="id740"><
│ │ │ +001f6e90: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +001f6ea0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +001f6eb0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +001f6ec0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +001f6ed0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +001f6ee0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +001f6ef0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +001f6f20: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +001f6f30: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +001f6f40: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +001f6f60: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +001f6f70: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 .include
│ │ │ +001f6f90: 2072 656d 6f76 655f 7273 796e 630a 0a63 remove_rsync..c
│ │ │ +001f6fa0: 6c61 7373 2072 656d 6f76 655f 7273 796e lass remove_rsyn
│ │ │ +001f6fb0: 6320 7b0a 2020 7061 636b 6167 6520 7b20 c {. package {
│ │ │ +001f6fc0: 2772 7379 6e63 273a 0a20 2020 2065 6e73 'rsync':. ens
│ │ │ +001f6fd0: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge
│ │ │ +001f6fe0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remedi
│ │ │ -001f8550: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -001f8560: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001f8570: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001f85a0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001f85f0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001f8600: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001f8610: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001f8620: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001f8630: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001f8640: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001f8650: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001f8660: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ -001f86a0: 6520 7265 6d6f 7665 5f63 7570 730a 0a63 e remove_cups..c
│ │ │ -001f86b0: 6c61 7373 2072 656d 6f76 655f 6375 7073 lass remove_cups
│ │ │ -001f86c0: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ -001f86d0: 6375 7073 273a 0a20 2020 2065 6e73 7572 cups':. ensur
│ │ │ -001f86e0: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ -001f86f0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ -001f8700: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ -001f87b0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ -001f87c0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -001f87d0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -001f87e0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -001f87f0: 7365 2220 6964 3d22 6964 3734 3422 3e3c se" id="id744"><
│ │ │ -001f8800: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -001f8810: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -001f8820: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -001f8830: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -001f8840: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -001f8850: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -001f8860: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -001f8890: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -001f88a0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -001f88b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -001f88d0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -001f88e0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name:
│ │ │ -001f8900: 2755 6e69 6e73 7461 6c6c 2043 5550 5320 'Uninstall CUPS
│ │ │ -001f8910: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ -001f8920: 6375 7073 2069 7320 7265 6d6f 7665 6427 cups is removed'
│ │ │ -001f8930: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ -001f8940: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ -001f8950: 6e61 6d65 3a20 6375 7073 0a20 2020 2073 name: cups. s
│ │ │ -001f8960: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ -001f8970: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ -001f8980: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -001f8990: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -001f89a0: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80
│ │ │ -001f89b0: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). -
│ │ │ -001f89c0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ -001f89d0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -001f89e0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -001f89f0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r
│ │ │ -001f8a00: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -001f8a10: 2070 6163 6b61 6765 5f63 7570 735f 7265 package_cups_re
│ │ │ -001f8a20: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77 moved. - unknow
│ │ │ -001f8a30: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64 n_severity.
Compl
│ │ │ +001f85f0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +001f8600: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001f8610: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +001f8620: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001f8630: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +001f8640: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +001f8650: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +001f8660: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ +001f8690: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ +001f86a0: 3a20 2755 6e69 6e73 7461 6c6c 2043 5550 : 'Uninstall CUP
│ │ │ +001f86b0: 5320 5061 636b 6167 653a 2045 6e73 7572 S Package: Ensur
│ │ │ +001f86c0: 6520 6375 7073 2069 7320 7265 6d6f 7665 e cups is remove
│ │ │ +001f86d0: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ +001f86e0: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ +001f86f0: 2020 6e61 6d65 3a20 6375 7073 0a20 2020 name: cups.
│ │ │ +001f8700: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ +001f8710: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ +001f8720: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ +001f8730: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +001f8740: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST-
│ │ │ +001f8750: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b).
│ │ │ +001f8760: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ +001f8770: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +001f8780: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +001f8790: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no
│ │ │ +001f87a0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +001f87b0: 202d 2070 6163 6b61 6765 5f63 7570 735f - package_cups_
│ │ │ +001f87c0: 7265 6d6f 7665 640a 2020 2d20 756e 6b6e removed. - unkn
│ │ │ +001f87d0: 6f77 6e5f 7365 7665 7269 7479 0a3c 2f63 own_severity.
│ │ │ +001f87f0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +001f8890: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +001f88a0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001f88b0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001f8930: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001f8960: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001f8980: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001f8990: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001f89b0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001f89c0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ +001f89e0: 6c75 6465 2072 656d 6f76 655f 6375 7073 lude remove_cups
│ │ │ +001f89f0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f63 ..class remove_c
│ │ │ +001f8a00: 7570 7320 7b0a 2020 7061 636b 6167 6520 ups {. package
│ │ │ +001f8a10: 7b20 2763 7570 7327 3a0a 2020 2020 656e { 'cups':. en
│ │ │ +001f8a20: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ +001f8a30: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
│ │ │ -001f9a40: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu
│ │ │ -001f9a50: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn
│ │ │ -001f9a60: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.[cu
│ │ │ -001f9ab0: 7374 6f6d 697a 6174 696f 6e73 2e73 6572 stomizations.ser
│ │ │ -001f9ac0: 7669 6365 735d 0a6d 6173 6b65 6420 3d20 vices].masked =
│ │ │ -001f9ad0: 5b22 6375 7073 225d 0a3c 2f63 6f64 653e ["cups"].
│ │ │ -001f9ae0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -001f9b90: 7469 6f6e 204b 7562 6572 6e65 7465 7320 tion Kubernetes
│ │ │ -001f9ba0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001f9bb0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001f9c30: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001f9c60: 3a3c 2f74 683e 3c74 643e 6d65 6469 756d : medium
│ │ │ -001f9c70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:true
│ │ │ -001f9ca0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -001f9cb0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -001f9cc0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e ap
│ │ │ -001f9ce0: 6956 6572 7369 6f6e 3a20 6d61 6368 696e iVersion: machin
│ │ │ -001f9cf0: 6563 6f6e 6669 6775 7261 7469 6f6e 2e6f econfiguration.o
│ │ │ -001f9d00: 7065 6e73 6869 6674 2e69 6f2f 7631 0a6b penshift.io/v1.k
│ │ │ -001f9d10: 696e 643a 204d 6163 6869 6e65 436f 6e66 ind: MachineConf
│ │ │ -001f9d20: 6967 0a73 7065 633a 0a20 2063 6f6e 6669 ig.spec:. confi
│ │ │ -001f9d30: 673a 0a20 2020 2069 676e 6974 696f 6e3a g:. ignition:
│ │ │ -001f9d40: 0a20 2020 2020 2076 6572 7369 6f6e 3a20 . version:
│ │ │ -001f9d50: 332e 312e 300a 2020 2020 7379 7374 656d 3.1.0. system
│ │ │ -001f9d60: 643a 0a20 2020 2020 2075 6e69 7473 3a0a d:. units:.
│ │ │ -001f9d70: 2020 2020 2020 2d20 6e61 6d65 3a20 6375 - name: cu
│ │ │ -001f9d80: 7073 2e73 6572 7669 6365 0a20 2020 2020 ps.service.
│ │ │ -001f9d90: 2020 2065 6e61 626c 6564 3a20 6661 6c73 enabled: fals
│ │ │ -001f9da0: 650a 2020 2020 2020 2020 6d61 736b 3a20 e. mask:
│ │ │ -001f9db0: 7472 7565 0a20 2020 2020 202d 206e 616d true. - nam
│ │ │ -001f9dc0: 653a 2063 7570 732e 736f 636b 6574 0a20 e: cups.socket.
│ │ │ -001f9dd0: 2020 2020 2020 2065 6e61 626c 6564 3a20 enabled:
│ │ │ -001f9de0: 6661 6c73 650a 2020 2020 2020 2020 6d61 false. ma
│ │ │ -001f9df0: 736b 3a20 7472 7565 0a3c 2f63 6f64 653e sk: true.
│ │ │ -001f9e00: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -001f9eb0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ -001f9ec0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -001f9ed0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -001f9ee0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -001f9ef0: 7365 2220 6964 3d22 6964 3734 3922 3e3c se" id="id749"><
│ │ │ -001f9f00: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -001f9f10: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -001f9f20: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -001f9f30: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -001f9f40: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -001f9f50: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -001f9f60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -001f9f90: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -001f9fa0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -001f9fb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -001f9fd0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable <
│ │ │ -001f9fe0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include d
│ │ │ -001fa000: 6973 6162 6c65 5f63 7570 730a 0a63 6c61 isable_cups..cla
│ │ │ -001fa010: 7373 2064 6973 6162 6c65 5f63 7570 7320 ss disable_cups
│ │ │ -001fa020: 7b0a 2020 7365 7276 6963 6520 7b27 6375 {. service {'cu
│ │ │ -001fa030: 7073 273a 0a20 2020 2065 6e61 626c 6520 ps':. enable
│ │ │ -001fa040: 3d26 6774 3b20 6661 6c73 652c 0a20 2020 => false,.
│ │ │ -001fa050: 2065 6e73 7572 6520 3d26 6774 3b20 2773 ensure => 's
│ │ │ -001fa060: 746f 7070 6564 272c 0a20 207d 0a7d 0a3c topped',. }.}.<
│ │ │ -001fa070: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -001fa120: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -001fa130: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -001fa140: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -001fa1c0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -001fa1d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -001fa1f0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -001fa200: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -001fa240: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ -001fa250: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ -001fa270: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -001fa280: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -001fa290: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ -001fa2a0: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ -001fa2b0: 746f 0a20 2074 6167 733a 0a20 202d 204e to. tags:. - N
│ │ │ -001fa2c0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ -001fa2d0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ -001fa2e0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N
│ │ │ -001fa2f0: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ -001fa300: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s
│ │ │ -001fa310: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ -001fa320: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ -001fa330: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ -001fa340: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -001fa350: 6564 0a20 202d 2073 6572 7669 6365 5f63 ed. - service_c
│ │ │ -001fa360: 7570 735f 6469 7361 626c 6564 0a20 202d ups_disabled. -
│ │ │ -001fa370: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974 unknown_severit
│ │ │ -001fa380: 790a 0a2d 206e 616d 653a 2044 6973 6162 y..- name: Disab
│ │ │ -001fa390: 6c65 2074 6865 2043 5550 5320 5365 7276 le the CUPS Serv
│ │ │ -001fa3a0: 6963 6520 2d20 4469 7361 626c 6520 7365 ice - Disable se
│ │ │ -001fa3b0: 7276 6963 6520 6375 7073 0a20 2062 6c6f rvice cups. blo
│ │ │ -001fa3c0: 636b 3a0a 0a20 202d 206e 616d 653a 2044 ck:.. - name: D
│ │ │ -001fa3d0: 6973 6162 6c65 2074 6865 2043 5550 5320 isable the CUPS
│ │ │ -001fa3e0: 5365 7276 6963 6520 2d20 436f 6c6c 6563 Service - Collec
│ │ │ -001fa3f0: 7420 7379 7374 656d 6420 5365 7276 6963 t systemd Servic
│ │ │ -001fa400: 6573 2050 7265 7365 6e74 2069 6e20 7468 es Present in th
│ │ │ -001fa410: 6520 5379 7374 656d 0a20 2020 2061 6e73 e System. ans
│ │ │ -001fa420: 6962 6c65 2e62 7569 6c74 696e 2e63 6f6d ible.builtin.com
│ │ │ -001fa430: 6d61 6e64 3a20 7379 7374 656d 6374 6c20 mand: systemctl
│ │ │ -001fa440: 2d71 206c 6973 742d 756e 6974 2d66 696c -q list-unit-fil
│ │ │ -001fa450: 6573 202d 2d74 7970 6520 7365 7276 6963 es --type servic
│ │ │ -001fa460: 650a 2020 2020 7265 6769 7374 6572 3a20 e. register:
│ │ │ -001fa470: 7365 7276 6963 655f 6578 6973 7473 0a20 service_exists.
│ │ │ -001fa480: 2020 2063 6861 6e67 6564 5f77 6865 6e3a changed_when:
│ │ │ -001fa490: 2066 616c 7365 0a20 2020 2066 6169 6c65 false. faile
│ │ │ -001fa4a0: 645f 7768 656e 3a20 7365 7276 6963 655f d_when: service_
│ │ │ -001fa4b0: 6578 6973 7473 2e72 6320 6e6f 7420 696e exists.rc not in
│ │ │ -001fa4c0: 205b 302c 2031 5d0a 2020 2020 6368 6563 [0, 1]. chec
│ │ │ -001fa4d0: 6b5f 6d6f 6465 3a20 6661 6c73 650a 0a20 k_mode: false..
│ │ │ -001fa4e0: 202d 206e 616d 653a 2044 6973 6162 6c65 - name: Disable
│ │ │ -001fa4f0: 2074 6865 2043 5550 5320 5365 7276 6963 the CUPS Servic
│ │ │ -001fa500: 6520 2d20 456e 7375 7265 2063 7570 732e e - Ensure cups.
│ │ │ -001fa510: 7365 7276 6963 6520 6973 204d 6173 6b65 service is Maske
│ │ │ -001fa520: 640a 2020 2020 616e 7369 626c 652e 6275 d. ansible.bu
│ │ │ -001fa530: 696c 7469 6e2e 7379 7374 656d 643a 0a20 iltin.systemd:.
│ │ │ -001fa540: 2020 2020 206e 616d 653a 2063 7570 732e name: cups.
│ │ │ -001fa550: 7365 7276 6963 650a 2020 2020 2020 7374 service. st
│ │ │ -001fa560: 6174 653a 2073 746f 7070 6564 0a20 2020 ate: stopped.
│ │ │ -001fa570: 2020 2065 6e61 626c 6564 3a20 6661 6c73 enabled: fals
│ │ │ -001fa580: 650a 2020 2020 2020 6d61 736b 6564 3a20 e. masked:
│ │ │ -001fa590: 7472 7565 0a20 2020 2077 6865 6e3a 2073 true. when: s
│ │ │ -001fa5a0: 6572 7669 6365 5f65 7869 7374 732e 7374 ervice_exists.st
│ │ │ -001fa5b0: 646f 7574 5f6c 696e 6573 2069 7320 7365 dout_lines is se
│ │ │ -001fa5c0: 6172 6368 2822 6375 7073 2e73 6572 7669 arch("cups.servi
│ │ │ -001fa5d0: 6365 222c 206d 756c 7469 6c69 6e65 3d54 ce", multiline=T
│ │ │ -001fa5e0: 7275 6529 0a0a 2020 2d20 6e61 6d65 3a20 rue).. - name:
│ │ │ -001fa5f0: 556e 6974 2053 6f63 6b65 7420 4578 6973 Unit Socket Exis
│ │ │ -001fa600: 7473 202d 2063 7570 732e 736f 636b 6574 ts - cups.socket
│ │ │ -001fa610: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -001fa620: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 7379 ltin.command: sy
│ │ │ -001fa630: 7374 656d 6374 6c20 2d71 206c 6973 742d stemctl -q list-
│ │ │ -001fa640: 756e 6974 2d66 696c 6573 2063 7570 732e unit-files cups.
│ │ │ -001fa650: 736f 636b 6574 0a20 2020 2072 6567 6973 socket. regis
│ │ │ -001fa660: 7465 723a 2073 6f63 6b65 745f 6669 6c65 ter: socket_file
│ │ │ -001fa670: 5f65 7869 7374 730a 2020 2020 6368 616e _exists. chan
│ │ │ -001fa680: 6765 645f 7768 656e 3a20 6661 6c73 650a ged_when: false.
│ │ │ -001fa690: 2020 2020 6661 696c 6564 5f77 6865 6e3a failed_when:
│ │ │ -001fa6a0: 2073 6f63 6b65 745f 6669 6c65 5f65 7869 socket_file_exi
│ │ │ -001fa6b0: 7374 732e 7263 206e 6f74 2069 6e20 5b30 sts.rc not in [0
│ │ │ -001fa6c0: 2c20 315d 0a20 2020 2063 6865 636b 5f6d , 1]. check_m
│ │ │ -001fa6d0: 6f64 653a 2066 616c 7365 0a0a 2020 2d20 ode: false.. -
│ │ │ -001fa6e0: 6e61 6d65 3a20 4469 7361 626c 6520 7468 name: Disable th
│ │ │ -001fa6f0: 6520 4355 5053 2053 6572 7669 6365 202d e CUPS Service -
│ │ │ -001fa700: 2044 6973 6162 6c65 2053 6f63 6b65 7420 Disable Socket
│ │ │ -001fa710: 6375 7073 0a20 2020 2061 6e73 6962 6c65 cups. ansible
│ │ │ -001fa720: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd
│ │ │ -001fa730: 3a0a 2020 2020 2020 6e61 6d65 3a20 6375 :. name: cu
│ │ │ -001fa740: 7073 2e73 6f63 6b65 740a 2020 2020 2020 ps.socket.
│ │ │ -001fa750: 656e 6162 6c65 643a 2066 616c 7365 0a20 enabled: false.
│ │ │ -001fa760: 2020 2020 2073 7461 7465 3a20 7374 6f70 state: stop
│ │ │ -001fa770: 7065 640a 2020 2020 2020 6d61 736b 6564 ped. masked
│ │ │ -001fa780: 3a20 7472 7565 0a20 2020 2077 6865 6e3a : true. when:
│ │ │ -001fa790: 2073 6f63 6b65 745f 6669 6c65 5f65 7869 socket_file_exi
│ │ │ -001fa7a0: 7374 732e 7374 646f 7574 5f6c 696e 6573 sts.stdout_lines
│ │ │ -001fa7b0: 2069 7320 7365 6172 6368 2822 6375 7073 is search("cups
│ │ │ -001fa7c0: 2e73 6f63 6b65 7422 2c20 6d75 6c74 696c .socket", multil
│ │ │ -001fa7d0: 696e 653d 5472 7565 290a 2020 7461 6773 ine=True). tags
│ │ │ -001fa7e0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5
│ │ │ -001fa7f0: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI
│ │ │ -001fa800: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a
│ │ │ -001fa810: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -001fa820: 332d 434d 2d37 2862 290a 2020 2d20 6469 3-CM-7(b). - di
│ │ │ -001fa830: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ -001fa840: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -001fa850: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -001fa860: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo
│ │ │ -001fa870: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ -001fa880: 7276 6963 655f 6375 7073 5f64 6973 6162 rvice_cups_disab
│ │ │ -001fa890: 6c65 640a 2020 2d20 7370 6563 6961 6c5f led. - special_
│ │ │ -001fa8a0: 7365 7276 6963 655f 626c 6f63 6b0a 2020 service_block.
│ │ │ -001fa8b0: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269 - unknown_severi
│ │ │ -001fa8c0: 7479 0a20 2077 6865 6e3a 2027 226c 696e ty. when: '"lin
│ │ │ -001fa8d0: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ -001fa8e0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -001fa8f0: 6573 270a 3c2f 636f 6465 3e3c 2f70 7265 es'.
Complexity: low Disrup
│ │ │ +001f9b10: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001f9b20: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001f9b30: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001f9b40: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001f9b60: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ +001f9b70: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001f9b90: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ +001f9ba0: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ +001f9bb0: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ +001f9bc0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ +001f9bd0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ +001f9be0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ +001f9bf0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ +001f9c00: 2d35 332d 434d 2d37 2861 290a 2020 2d20 -53-CM-7(a). -
│ │ │ +001f9c10: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ +001f9c20: 2862 290a 2020 2d20 6469 7361 626c 655f (b). - disable_
│ │ │ +001f9c30: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +001f9c40: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +001f9c50: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +001f9c60: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +001f9c70: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ +001f9c80: 6375 7073 5f64 6973 6162 6c65 640a 2020 cups_disabled.
│ │ │ +001f9c90: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269 - unknown_severi
│ │ │ +001f9ca0: 7479 0a0a 2d20 6e61 6d65 3a20 4469 7361 ty..- name: Disa
│ │ │ +001f9cb0: 626c 6520 7468 6520 4355 5053 2053 6572 ble the CUPS Ser
│ │ │ +001f9cc0: 7669 6365 202d 2044 6973 6162 6c65 2073 vice - Disable s
│ │ │ +001f9cd0: 6572 7669 6365 2063 7570 730a 2020 626c ervice cups. bl
│ │ │ +001f9ce0: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 ock:.. - name:
│ │ │ +001f9cf0: 4469 7361 626c 6520 7468 6520 4355 5053 Disable the CUPS
│ │ │ +001f9d00: 2053 6572 7669 6365 202d 2043 6f6c 6c65 Service - Colle
│ │ │ +001f9d10: 6374 2073 7973 7465 6d64 2053 6572 7669 ct systemd Servi
│ │ │ +001f9d20: 6365 7320 5072 6573 656e 7420 696e 2074 ces Present in t
│ │ │ +001f9d30: 6865 2053 7973 7465 6d0a 2020 2020 616e he System. an
│ │ │ +001f9d40: 7369 626c 652e 6275 696c 7469 6e2e 636f sible.builtin.co
│ │ │ +001f9d50: 6d6d 616e 643a 2073 7973 7465 6d63 746c mmand: systemctl
│ │ │ +001f9d60: 202d 7120 6c69 7374 2d75 6e69 742d 6669 -q list-unit-fi
│ │ │ +001f9d70: 6c65 7320 2d2d 7479 7065 2073 6572 7669 les --type servi
│ │ │ +001f9d80: 6365 0a20 2020 2072 6567 6973 7465 723a ce. register:
│ │ │ +001f9d90: 2073 6572 7669 6365 5f65 7869 7374 730a service_exists.
│ │ │ +001f9da0: 2020 2020 6368 616e 6765 645f 7768 656e changed_when
│ │ │ +001f9db0: 3a20 6661 6c73 650a 2020 2020 6661 696c : false. fail
│ │ │ +001f9dc0: 6564 5f77 6865 6e3a 2073 6572 7669 6365 ed_when: service
│ │ │ +001f9dd0: 5f65 7869 7374 732e 7263 206e 6f74 2069 _exists.rc not i
│ │ │ +001f9de0: 6e20 5b30 2c20 315d 0a20 2020 2063 6865 n [0, 1]. che
│ │ │ +001f9df0: 636b 5f6d 6f64 653a 2066 616c 7365 0a0a ck_mode: false..
│ │ │ +001f9e00: 2020 2d20 6e61 6d65 3a20 4469 7361 626c - name: Disabl
│ │ │ +001f9e10: 6520 7468 6520 4355 5053 2053 6572 7669 e the CUPS Servi
│ │ │ +001f9e20: 6365 202d 2045 6e73 7572 6520 6375 7073 ce - Ensure cups
│ │ │ +001f9e30: 2e73 6572 7669 6365 2069 7320 4d61 736b .service is Mask
│ │ │ +001f9e40: 6564 0a20 2020 2061 6e73 6962 6c65 2e62 ed. ansible.b
│ │ │ +001f9e50: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a uiltin.systemd:.
│ │ │ +001f9e60: 2020 2020 2020 6e61 6d65 3a20 6375 7073 name: cups
│ │ │ +001f9e70: 2e73 6572 7669 6365 0a20 2020 2020 2073 .service. s
│ │ │ +001f9e80: 7461 7465 3a20 7374 6f70 7065 640a 2020 tate: stopped.
│ │ │ +001f9e90: 2020 2020 656e 6162 6c65 643a 2066 616c enabled: fal
│ │ │ +001f9ea0: 7365 0a20 2020 2020 206d 6173 6b65 643a se. masked:
│ │ │ +001f9eb0: 2074 7275 650a 2020 2020 7768 656e 3a20 true. when:
│ │ │ +001f9ec0: 7365 7276 6963 655f 6578 6973 7473 2e73 service_exists.s
│ │ │ +001f9ed0: 7464 6f75 745f 6c69 6e65 7320 6973 2073 tdout_lines is s
│ │ │ +001f9ee0: 6561 7263 6828 2263 7570 732e 7365 7276 earch("cups.serv
│ │ │ +001f9ef0: 6963 6522 2c20 6d75 6c74 696c 696e 653d ice", multiline=
│ │ │ +001f9f00: 5472 7565 290a 0a20 202d 206e 616d 653a True).. - name:
│ │ │ +001f9f10: 2055 6e69 7420 536f 636b 6574 2045 7869 Unit Socket Exi
│ │ │ +001f9f20: 7374 7320 2d20 6375 7073 2e73 6f63 6b65 sts - cups.socke
│ │ │ +001f9f30: 740a 2020 2020 616e 7369 626c 652e 6275 t. ansible.bu
│ │ │ +001f9f40: 696c 7469 6e2e 636f 6d6d 616e 643a 2073 iltin.command: s
│ │ │ +001f9f50: 7973 7465 6d63 746c 202d 7120 6c69 7374 ystemctl -q list
│ │ │ +001f9f60: 2d75 6e69 742d 6669 6c65 7320 6375 7073 -unit-files cups
│ │ │ +001f9f70: 2e73 6f63 6b65 740a 2020 2020 7265 6769 .socket. regi
│ │ │ +001f9f80: 7374 6572 3a20 736f 636b 6574 5f66 696c ster: socket_fil
│ │ │ +001f9f90: 655f 6578 6973 7473 0a20 2020 2063 6861 e_exists. cha
│ │ │ +001f9fa0: 6e67 6564 5f77 6865 6e3a 2066 616c 7365 nged_when: false
│ │ │ +001f9fb0: 0a20 2020 2066 6169 6c65 645f 7768 656e . failed_when
│ │ │ +001f9fc0: 3a20 736f 636b 6574 5f66 696c 655f 6578 : socket_file_ex
│ │ │ +001f9fd0: 6973 7473 2e72 6320 6e6f 7420 696e 205b ists.rc not in [
│ │ │ +001f9fe0: 302c 2031 5d0a 2020 2020 6368 6563 6b5f 0, 1]. check_
│ │ │ +001f9ff0: 6d6f 6465 3a20 6661 6c73 650a 0a20 202d mode: false.. -
│ │ │ +001fa000: 206e 616d 653a 2044 6973 6162 6c65 2074 name: Disable t
│ │ │ +001fa010: 6865 2043 5550 5320 5365 7276 6963 6520 he CUPS Service
│ │ │ +001fa020: 2d20 4469 7361 626c 6520 536f 636b 6574 - Disable Socket
│ │ │ +001fa030: 2063 7570 730a 2020 2020 616e 7369 626c cups. ansibl
│ │ │ +001fa040: 652e 6275 696c 7469 6e2e 7379 7374 656d e.builtin.system
│ │ │ +001fa050: 643a 0a20 2020 2020 206e 616d 653a 2063 d:. name: c
│ │ │ +001fa060: 7570 732e 736f 636b 6574 0a20 2020 2020 ups.socket.
│ │ │ +001fa070: 2065 6e61 626c 6564 3a20 6661 6c73 650a enabled: false.
│ │ │ +001fa080: 2020 2020 2020 7374 6174 653a 2073 746f state: sto
│ │ │ +001fa090: 7070 6564 0a20 2020 2020 206d 6173 6b65 pped. maske
│ │ │ +001fa0a0: 643a 2074 7275 650a 2020 2020 7768 656e d: true. when
│ │ │ +001fa0b0: 3a20 736f 636b 6574 5f66 696c 655f 6578 : socket_file_ex
│ │ │ +001fa0c0: 6973 7473 2e73 7464 6f75 745f 6c69 6e65 ists.stdout_line
│ │ │ +001fa0d0: 7320 6973 2073 6561 7263 6828 2263 7570 s is search("cup
│ │ │ +001fa0e0: 732e 736f 636b 6574 222c 206d 756c 7469 s.socket", multi
│ │ │ +001fa0f0: 6c69 6e65 3d54 7275 6529 0a20 2074 6167 line=True). tag
│ │ │ +001fa100: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ +001fa110: 3533 2d43 4d2d 3628 6129 0a20 202d 204e 53-CM-6(a). - N
│ │ │ +001fa120: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ +001fa130: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +001fa140: 3533 2d43 4d2d 3728 6229 0a20 202d 2064 53-CM-7(b). - d
│ │ │ +001fa150: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +001fa160: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +001fa170: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +001fa180: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ +001fa190: 6f6f 745f 6e65 6564 6564 0a20 202d 2073 oot_needed. - s
│ │ │ +001fa1a0: 6572 7669 6365 5f63 7570 735f 6469 7361 ervice_cups_disa
│ │ │ +001fa1b0: 626c 6564 0a20 202d 2073 7065 6369 616c bled. - special
│ │ │ +001fa1c0: 5f73 6572 7669 6365 5f62 6c6f 636b 0a20 _service_block.
│ │ │ +001fa1d0: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572 - unknown_sever
│ │ │ +001fa1e0: 6974 790a 2020 7768 656e 3a20 2722 6c69 ity. when: '"li
│ │ │ +001fa1f0: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ +001fa200: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ +001fa210: 6765 7327 0a3c 2f63 6f64 653e 3c2f 7072 ges'.Remediation
│ │ │ +001fa2d0: 204b 7562 6572 6e65 7465 7320 736e 6970 Kubernetes snip
│ │ │ +001fa2e0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +001fa2f0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001fa300: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +001fa310: 7365 2220 6964 3d22 6964 3734 3822 3e3c se" id="id748"><
│ │ │ +001fa320: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +001fa330: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +001fa340: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +001fa350: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +001fa360: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +001fa370: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +001fa380: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: medium Re
│ │ │ +001fa3c0: 626f 6f74 3a3c 2f74 683e 3c74 643e 7472 boot: tr
│ │ │ +001fa3d0: 7565 3c2f 7464 3e3c 2f74 723e 3c74 723e ue
│ │ │ +001fa3e0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ +001fa410: 7072 653e 3c63 6f64 653e 6170 6956 6572 pre>apiVer
│ │ │ +001fa420: 7369 6f6e 3a20 6d61 6368 696e 6563 6f6e sion: machinecon
│ │ │ +001fa430: 6669 6775 7261 7469 6f6e 2e6f 7065 6e73 figuration.opens
│ │ │ +001fa440: 6869 6674 2e69 6f2f 7631 0a6b 696e 643a hift.io/v1.kind:
│ │ │ +001fa450: 204d 6163 6869 6e65 436f 6e66 6967 0a73 MachineConfig.s
│ │ │ +001fa460: 7065 633a 0a20 2063 6f6e 6669 673a 0a20 pec:. config:.
│ │ │ +001fa470: 2020 2069 676e 6974 696f 6e3a 0a20 2020 ignition:.
│ │ │ +001fa480: 2020 2076 6572 7369 6f6e 3a20 332e 312e version: 3.1.
│ │ │ +001fa490: 300a 2020 2020 7379 7374 656d 643a 0a20 0. systemd:.
│ │ │ +001fa4a0: 2020 2020 2075 6e69 7473 3a0a 2020 2020 units:.
│ │ │ +001fa4b0: 2020 2d20 6e61 6d65 3a20 6375 7073 2e73 - name: cups.s
│ │ │ +001fa4c0: 6572 7669 6365 0a20 2020 2020 2020 2065 ervice. e
│ │ │ +001fa4d0: 6e61 626c 6564 3a20 6661 6c73 650a 2020 nabled: false.
│ │ │ +001fa4e0: 2020 2020 2020 6d61 736b 3a20 7472 7565 mask: true
│ │ │ +001fa4f0: 0a20 2020 2020 202d 206e 616d 653a 2063 . - name: c
│ │ │ +001fa500: 7570 732e 736f 636b 6574 0a20 2020 2020 ups.socket.
│ │ │ +001fa510: 2020 2065 6e61 626c 6564 3a20 6661 6c73 enabled: fals
│ │ │ +001fa520: 650a 2020 2020 2020 2020 6d61 736b 3a20 e. mask:
│ │ │ +001fa530: 7472 7565 0a3c 2f63 6f64 653e 3c2f 7072 true.Remediation
│ │ │ +001fa5f0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ +001fa600: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +001fa690: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +001fa6b0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +001fa6d0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +001fa6e0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +001fa700: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +001fa710: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +001fa720: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include disab
│ │ │ +001fa740: 6c65 5f63 7570 730a 0a63 6c61 7373 2064 le_cups..class d
│ │ │ +001fa750: 6973 6162 6c65 5f63 7570 7320 7b0a 2020 isable_cups {.
│ │ │ +001fa760: 7365 7276 6963 6520 7b27 6375 7073 273a service {'cups':
│ │ │ +001fa770: 0a20 2020 2065 6e61 626c 6520 3d26 6774 . enable =>
│ │ │ +001fa780: 3b20 6661 6c73 652c 0a20 2020 2065 6e73 ; false,. ens
│ │ │ +001fa790: 7572 6520 3d26 6774 3b20 2773 746f 7070 ure => 'stopp
│ │ │ +001fa7a0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ +001fa860: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ +001fa870: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ +001fa880: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[customi
│ │ │ +001fa8d0: 7a61 7469 6f6e 732e 7365 7276 6963 6573 zations.services
│ │ │ +001fa8e0: 5d0a 6d61 736b 6564 203d 205b 2263 7570 ].masked = ["cup
│ │ │ +001fa8f0: 7322 5d0a 3c2f 636f 6465 3e3c 2f70 7265 s"].
Remediation P
│ │ │ -001fbf00: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -001fbf10: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001fbf90: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001fbfa0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001fbfb0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001fbfc0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001fbfd0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001fc000: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001fc010: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001fc020: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001fc030: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ -001fc050: 655f 7371 7569 640a 0a63 6c61 7373 2072 e_squid..class r
│ │ │ -001fc060: 656d 6f76 655f 7371 7569 6420 7b0a 2020 emove_squid {.
│ │ │ -001fc070: 7061 636b 6167 6520 7b20 2773 7175 6964 package { 'squid
│ │ │ -001fc080: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ -001fc090: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',.
│ │ │ -001fc0a0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediation
│ │ │ -001fc160: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -001fc170: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001fc200: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001fc220: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001fc240: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001fc250: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -001fc270: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -001fc280: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: 'Uni
│ │ │ -001fc2b0: 6e73 7461 6c6c 2073 7175 6964 2050 6163 nstall squid Pac
│ │ │ -001fc2c0: 6b61 6765 3a20 456e 7375 7265 2073 7175 kage: Ensure squ
│ │ │ -001fc2d0: 6964 2069 7320 7265 6d6f 7665 6427 0a20 id is removed'.
│ │ │ -001fc2e0: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -001fc2f0: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -001fc300: 6d65 3a20 7371 7569 640a 2020 2020 7374 me: squid. st
│ │ │ -001fc310: 6174 653a 2061 6273 656e 740a 2020 7461 ate: absent. ta
│ │ │ -001fc320: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_
│ │ │ -001fc330: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -001fc340: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -001fc350: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -001fc360: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -001fc370: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ -001fc380: 7371 7569 645f 7265 6d6f 7665 640a 2020 squid_removed.
│ │ │ -001fc390: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269 - unknown_severi
│ │ │ -001fc3a0: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e ty.
│ │ │ +001fbef0: 2122 3e52 656d 6564 6961 7469 6f6e 2041 !">Remediation A
│ │ │ +001fbf00: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +001fbf10: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001fbf90: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001fbfa0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001fbfb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001fbfc0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001fc000: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001fc010: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +001fc020: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +001fc030: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: 'Unin
│ │ │ +001fc050: 7374 616c 6c20 7371 7569 6420 5061 636b stall squid Pack
│ │ │ +001fc060: 6167 653a 2045 6e73 7572 6520 7371 7569 age: Ensure squi
│ │ │ +001fc070: 6420 6973 2072 656d 6f76 6564 270a 2020 d is removed'.
│ │ │ +001fc080: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +001fc090: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +001fc0a0: 653a 2073 7175 6964 0a20 2020 2073 7461 e: squid. sta
│ │ │ +001fc0b0: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ +001fc0c0: 733a 0a20 202d 2064 6973 6162 6c65 5f73 s:. - disable_s
│ │ │ +001fc0d0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +001fc0e0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +001fc0f0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +001fc100: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +001fc110: 6564 0a20 202d 2070 6163 6b61 6765 5f73 ed. - package_s
│ │ │ +001fc120: 7175 6964 5f72 656d 6f76 6564 0a20 202d quid_removed. -
│ │ │ +001fc130: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974 unknown_severit
│ │ │ +001fc140: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c y.
<
│ │ │ +001fc150: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu
│ │ │ +001fc200: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ +001fc210: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +001fc2b0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +001fc2c0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +001fc2d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001fc2e0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +001fc2f0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +001fc300: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +001fc310: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ +001fc320: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +001fc330: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>.include remove
│ │ │ +001fc350: 5f73 7175 6964 0a0a 636c 6173 7320 7265 _squid..class re
│ │ │ +001fc360: 6d6f 7665 5f73 7175 6964 207b 0a20 2070 move_squid {. p
│ │ │ +001fc370: 6163 6b61 6765 207b 2027 7371 7569 6427 ackage { 'squid'
│ │ │ +001fc380: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ +001fc390: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ +001fc3a0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ 001fc3b0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ -001fd7e0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -001fd7f0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001fd870: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001fd880: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001fd890: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001fd8a0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001fd8b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001fd8e0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001fd8f0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001fd900: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001fd910: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ -001fd930: 655f 7361 6d62 610a 0a63 6c61 7373 2072 e_samba..class r
│ │ │ -001fd940: 656d 6f76 655f 7361 6d62 6120 7b0a 2020 emove_samba {.
│ │ │ -001fd950: 7061 636b 6167 6520 7b20 2773 616d 6261 package { 'samba
│ │ │ -001fd960: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ -001fd970: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',.
│ │ │ -001fd980: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediation
│ │ │ -001fda40: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -001fda50: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001fdae0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001fdb00: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001fdb20: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001fdb30: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -001fdb50: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -001fdb60: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: 'Uni
│ │ │ -001fdb90: 6e73 7461 6c6c 2053 616d 6261 2050 6163 nstall Samba Pac
│ │ │ -001fdba0: 6b61 6765 3a20 456e 7375 7265 2073 616d kage: Ensure sam
│ │ │ -001fdbb0: 6261 2069 7320 7265 6d6f 7665 6427 0a20 ba is removed'.
│ │ │ -001fdbc0: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -001fdbd0: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -001fdbe0: 6d65 3a20 7361 6d62 610a 2020 2020 7374 me: samba. st
│ │ │ -001fdbf0: 6174 653a 2061 6273 656e 740a 2020 7461 ate: absent. ta
│ │ │ -001fdc00: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_
│ │ │ -001fdc10: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -001fdc20: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -001fdc30: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -001fdc40: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -001fdc50: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ -001fdc60: 7361 6d62 615f 7265 6d6f 7665 640a 2020 samba_removed.
│ │ │ -001fdc70: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269 - unknown_severi
│ │ │ -001fdc80: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e ty.
│ │ │ +001fd7d0: 2122 3e52 656d 6564 6961 7469 6f6e 2041 !">Remediation A
│ │ │ +001fd7e0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +001fd7f0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001fd870: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001fd880: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001fd890: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001fd8a0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001fd8e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001fd8f0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +001fd900: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +001fd910: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: 'Unin
│ │ │ +001fd930: 7374 616c 6c20 5361 6d62 6120 5061 636b stall Samba Pack
│ │ │ +001fd940: 6167 653a 2045 6e73 7572 6520 7361 6d62 age: Ensure samb
│ │ │ +001fd950: 6120 6973 2072 656d 6f76 6564 270a 2020 a is removed'.
│ │ │ +001fd960: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +001fd970: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +001fd980: 653a 2073 616d 6261 0a20 2020 2073 7461 e: samba. sta
│ │ │ +001fd990: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ +001fd9a0: 733a 0a20 202d 2064 6973 6162 6c65 5f73 s:. - disable_s
│ │ │ +001fd9b0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +001fd9c0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +001fd9d0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +001fd9e0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +001fd9f0: 6564 0a20 202d 2070 6163 6b61 6765 5f73 ed. - package_s
│ │ │ +001fda00: 616d 6261 5f72 656d 6f76 6564 0a20 202d amba_removed. -
│ │ │ +001fda10: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974 unknown_severit
│ │ │ +001fda20: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c y.
<
│ │ │ +001fda30: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu
│ │ │ +001fdae0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ +001fdaf0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +001fdb90: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +001fdba0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +001fdbb0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001fdbc0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +001fdbd0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +001fdbe0: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +001fdbf0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ +001fdc00: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +001fdc10: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>.include remove
│ │ │ +001fdc30: 5f73 616d 6261 0a0a 636c 6173 7320 7265 _samba..class re
│ │ │ +001fdc40: 6d6f 7665 5f73 616d 6261 207b 0a20 2070 move_samba {. p
│ │ │ +001fdc50: 6163 6b61 6765 207b 2027 7361 6d62 6127 ackage { 'samba'
│ │ │ +001fdc60: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ +001fdc70: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ +001fdc80: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ 001fdc90: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediat
│ │ │ -001ff090: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -001ff0a0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001ff120: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -001ff130: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -001ff140: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -001ff180: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -001ff190: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -001ff1b0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -001ff1c0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
.include
│ │ │ -001ff1e0: 7265 6d6f 7665 5f73 6e6d 700a 0a63 6c61 remove_snmp..cla
│ │ │ -001ff1f0: 7373 2072 656d 6f76 655f 736e 6d70 207b ss remove_snmp {
│ │ │ -001ff200: 0a20 2070 6163 6b61 6765 207b 2027 736e . package { 'sn
│ │ │ -001ff210: 6d70 273a 0a20 2020 2065 6e73 7572 6520 mp':. ensure
│ │ │ -001ff220: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ -001ff230: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediatio
│ │ │ -001ff2f0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ -001ff300: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001ff380: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001ff390: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001ff3a0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001ff3b0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001ff3c0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001ff3e0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001ff3f0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001ff400: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -001ff420: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -001ff430: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2755 - name: 'U
│ │ │ -001ff440: 6e69 6e73 7461 6c6c 206e 6574 2d73 6e6d ninstall net-snm
│ │ │ -001ff450: 7020 5061 636b 6167 653a 2045 6e73 7572 p Package: Ensur
│ │ │ -001ff460: 6520 736e 6d70 2069 7320 7265 6d6f 7665 e snmp is remove
│ │ │ -001ff470: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -001ff480: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -001ff490: 2020 6e61 6d65 3a20 736e 6d70 0a20 2020 name: snmp.
│ │ │ -001ff4a0: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ -001ff4b0: 2074 6167 733a 0a20 202d 2050 4349 2d44 tags:. - PCI-D
│ │ │ -001ff4c0: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI
│ │ │ -001ff4d0: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d -DSSv4-2.2.4. -
│ │ │ -001ff4e0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ -001ff4f0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -001ff500: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -001ff510: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r
│ │ │ -001ff520: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -001ff530: 2070 6163 6b61 6765 5f6e 6574 2d73 6e6d package_net-snm
│ │ │ -001ff540: 705f 7265 6d6f 7665 640a 2020 2d20 756e p_removed. - un
│ │ │ -001ff550: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c known_severity.<
│ │ │ +001ff090: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ +001ff0a0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +001ff0b0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001ff0c0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +001ff0d0: 7365 2220 6964 3d22 6964 3736 3122 3e3c se" id="id761"><
│ │ │ +001ff0e0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +001ff0f0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +001ff100: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +001ff110: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +001ff120: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +001ff130: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +001ff140: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +001ff170: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +001ff180: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +001ff190: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +001ff1b0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +001ff1c0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name:
│ │ │ +001ff1e0: 2755 6e69 6e73 7461 6c6c 206e 6574 2d73 'Uninstall net-s
│ │ │ +001ff1f0: 6e6d 7020 5061 636b 6167 653a 2045 6e73 nmp Package: Ens
│ │ │ +001ff200: 7572 6520 736e 6d70 2069 7320 7265 6d6f ure snmp is remo
│ │ │ +001ff210: 7665 6427 0a20 2061 6e73 6962 6c65 2e62 ved'. ansible.b
│ │ │ +001ff220: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ +001ff230: 2020 2020 6e61 6d65 3a20 736e 6d70 0a20 name: snmp.
│ │ │ +001ff240: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ +001ff250: 0a20 2074 6167 733a 0a20 202d 2050 4349 . tags:. - PCI
│ │ │ +001ff260: 2d44 5353 7634 2d32 2e32 0a20 202d 2050 -DSSv4-2.2. - P
│ │ │ +001ff270: 4349 2d44 5353 7634 2d32 2e32 2e34 0a20 CI-DSSv4-2.2.4.
│ │ │ +001ff280: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ +001ff290: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +001ff2a0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +001ff2b0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no
│ │ │ +001ff2c0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +001ff2d0: 202d 2070 6163 6b61 6765 5f6e 6574 2d73 - package_net-s
│ │ │ +001ff2e0: 6e6d 705f 7265 6d6f 7665 640a 2020 2d20 nmp_removed. -
│ │ │ +001ff2f0: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479 unknown_severity
│ │ │ +001ff300: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +001ff310: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ +001ff3c0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +001ff3d0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +001ff480: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001ff490: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001ff4a0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001ff4b0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001ff4d0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ +001ff4e0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001ff500: 0a69 6e63 6c75 6465 2072 656d 6f76 655f .include remove_
│ │ │ +001ff510: 736e 6d70 0a0a 636c 6173 7320 7265 6d6f snmp..class remo
│ │ │ +001ff520: 7665 5f73 6e6d 7020 7b0a 2020 7061 636b ve_snmp {. pack
│ │ │ +001ff530: 6167 6520 7b20 2773 6e6d 7027 3a0a 2020 age { 'snmp':.
│ │ │ +001ff540: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +001ff550: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.<
│ │ │ 001ff560: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediatio
│ │ │ -0022d400: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -0022d410: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
include s
│ │ │ -0022d460: 7368 5f70 7269 7661 7465 5f6b 6579 5f70 sh_private_key_p
│ │ │ -0022d470: 6572 6d73 0a0a 636c 6173 7320 7373 685f erms..class ssh_
│ │ │ -0022d480: 7072 6976 6174 655f 6b65 795f 7065 726d private_key_perm
│ │ │ -0022d490: 7320 7b0a 2020 6578 6563 207b 2027 7373 s {. exec { 'ss
│ │ │ -0022d4a0: 6864 5f70 7269 765f 6b65 7927 3a0a 2020 hd_priv_key':.
│ │ │ -0022d4b0: 2020 636f 6d6d 616e 6420 3d26 6774 3b20 command =>
│ │ │ -0022d4c0: 2263 686d 6f64 2030 3634 3020 2f65 7463 "chmod 0640 /etc
│ │ │ -0022d4d0: 2f73 7368 2f2a 5f6b 6579 222c 0a20 2020 /ssh/*_key",.
│ │ │ -0022d4e0: 2070 6174 6820 2020 203d 2667 743b 2027 path => '
│ │ │ -0022d4f0: 2f62 696e 3a2f 7573 722f 6269 6e27 0a20 /bin:/usr/bin'.
│ │ │ -0022d500: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediation
│ │ │ -0022d5c0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ -0022d5d0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -0022d660: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -0022d680: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -0022d690: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0022d6a0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -0022d6b0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -0022d6d0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: configure <
│ │ │ -0022d6f0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -0022d710: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ -0022d720: 6520 6661 6374 730a 2020 7061 636b 6167 e facts. packag
│ │ │ -0022d730: 655f 6661 6374 733a 0a20 2020 206d 616e e_facts:. man
│ │ │ -0022d740: 6167 6572 3a20 6175 746f 0a20 2074 6167 ager: auto. tag
│ │ │ -0022d750: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ -0022d760: 3137 312d 332e 312e 3133 0a20 202d 204e 171-3.1.13. - N
│ │ │ -0022d770: 4953 542d 3830 302d 3137 312d 332e 3133 IST-800-171-3.13
│ │ │ -0022d780: 2e31 300a 2020 2d20 4e49 5354 2d38 3030 .10. - NIST-800
│ │ │ -0022d790: 2d35 332d 4143 2d31 3728 6129 0a20 202d -53-AC-17(a). -
│ │ │ -0022d7a0: 204e 4953 542d 3830 302d 3533 2d41 432d NIST-800-53-AC-
│ │ │ -0022d7b0: 3628 3129 0a20 202d 204e 4953 542d 3830 6(1). - NIST-80
│ │ │ -0022d7c0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -0022d7d0: 2050 4349 2d44 5353 2d52 6571 2d32 2e32 PCI-DSS-Req-2.2
│ │ │ -0022d7e0: 2e34 0a20 202d 2050 4349 2d44 5353 7634 .4. - PCI-DSSv4
│ │ │ -0022d7f0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353 -2.2. - PCI-DSS
│ │ │ -0022d800: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e v4-2.2.6. - con
│ │ │ -0022d810: 6669 6775 7265 5f73 7472 6174 6567 790a figure_strategy.
│ │ │ -0022d820: 2020 2d20 6669 6c65 5f70 6572 6d69 7373 - file_permiss
│ │ │ -0022d830: 696f 6e73 5f73 7368 645f 7072 6976 6174 ions_sshd_privat
│ │ │ -0022d840: 655f 6b65 790a 2020 2d20 6c6f 775f 636f e_key. - low_co
│ │ │ -0022d850: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -0022d860: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -0022d870: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -0022d880: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -0022d890: 6564 6564 0a0a 2d20 6e61 6d65 3a20 4669 eded..- name: Fi
│ │ │ -0022d8a0: 6e64 2072 6f6f 743a 726f 6f74 2d6f 776e nd root:root-own
│ │ │ -0022d8b0: 6564 206b 6579 730a 2020 616e 7369 626c ed keys. ansibl
│ │ │ -0022d8c0: 652e 6275 696c 7469 6e2e 636f 6d6d 616e e.builtin.comman
│ │ │ -0022d8d0: 643a 2066 696e 6420 2d48 202f 6574 632f d: find -H /etc/
│ │ │ -0022d8e0: 7373 682f 202d 6d61 7864 6570 7468 2031 ssh/ -maxdepth 1
│ │ │ -0022d8f0: 202d 7573 6572 2072 6f6f 7420 2d72 6567 -user root -reg
│ │ │ -0022d900: 6578 2022 2e2a 5f6b 6579 2422 0a20 2020 ex ".*_key$".
│ │ │ -0022d910: 202d 7479 7065 2066 202d 6772 6f75 7020 -type f -group
│ │ │ -0022d920: 726f 6f74 202d 7065 726d 202f 752b 7873 root -perm /u+xs
│ │ │ -0022d930: 2c67 2b78 7772 732c 6f2b 7877 7274 0a20 ,g+xwrs,o+xwrt.
│ │ │ -0022d940: 2072 6567 6973 7465 723a 2072 6f6f 745f register: root_
│ │ │ -0022d950: 6f77 6e65 645f 6b65 7973 0a20 2063 6861 owned_keys. cha
│ │ │ -0022d960: 6e67 6564 5f77 6865 6e3a 2066 616c 7365 nged_when: false
│ │ │ -0022d970: 0a20 2066 6169 6c65 645f 7768 656e 3a20 . failed_when:
│ │ │ -0022d980: 6661 6c73 650a 2020 6368 6563 6b5f 6d6f false. check_mo
│ │ │ -0022d990: 6465 3a20 6661 6c73 650a 2020 7768 656e de: false. when
│ │ │ -0022d9a0: 3a20 2722 6c69 6e75 782d 6261 7365 2220 : '"linux-base"
│ │ │ -0022d9b0: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ -0022d9c0: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag
│ │ │ -0022d9d0: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ -0022d9e0: 3137 312d 332e 312e 3133 0a20 202d 204e 171-3.1.13. - N
│ │ │ -0022d9f0: 4953 542d 3830 302d 3137 312d 332e 3133 IST-800-171-3.13
│ │ │ -0022da00: 2e31 300a 2020 2d20 4e49 5354 2d38 3030 .10. - NIST-800
│ │ │ -0022da10: 2d35 332d 4143 2d31 3728 6129 0a20 202d -53-AC-17(a). -
│ │ │ -0022da20: 204e 4953 542d 3830 302d 3533 2d41 432d NIST-800-53-AC-
│ │ │ -0022da30: 3628 3129 0a20 202d 204e 4953 542d 3830 6(1). - NIST-80
│ │ │ -0022da40: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -0022da50: 2050 4349 2d44 5353 2d52 6571 2d32 2e32 PCI-DSS-Req-2.2
│ │ │ -0022da60: 2e34 0a20 202d 2050 4349 2d44 5353 7634 .4. - PCI-DSSv4
│ │ │ -0022da70: 2d32 2e32 0a20 202d 2050 4349 2d44 5353 -2.2. - PCI-DSS
│ │ │ -0022da80: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e v4-2.2.6. - con
│ │ │ -0022da90: 6669 6775 7265 5f73 7472 6174 6567 790a figure_strategy.
│ │ │ -0022daa0: 2020 2d20 6669 6c65 5f70 6572 6d69 7373 - file_permiss
│ │ │ -0022dab0: 696f 6e73 5f73 7368 645f 7072 6976 6174 ions_sshd_privat
│ │ │ -0022dac0: 655f 6b65 790a 2020 2d20 6c6f 775f 636f e_key. - low_co
│ │ │ -0022dad0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -0022dae0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -0022daf0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -0022db00: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -0022db10: 6564 6564 0a0a 2d20 6e61 6d65 3a20 5365 eded..- name: Se
│ │ │ -0022db20: 7420 7065 726d 6973 7369 6f6e 7320 666f t permissions fo
│ │ │ -0022db30: 7220 726f 6f74 3a72 6f6f 742d 6f77 6e65 r root:root-owne
│ │ │ -0022db40: 6420 6b65 7973 0a20 2061 6e73 6962 6c65 d keys. ansible
│ │ │ -0022db50: 2e62 7569 6c74 696e 2e66 696c 653a 0a20 .builtin.file:.
│ │ │ -0022db60: 2020 2070 6174 683a 2027 7b7b 2069 7465 path: '{{ ite
│ │ │ -0022db70: 6d20 7d7d 270a 2020 2020 6d6f 6465 3a20 m }}'. mode:
│ │ │ -0022db80: 752d 7873 2c67 2d78 7772 732c 6f2d 7877 u-xs,g-xwrs,o-xw
│ │ │ -0022db90: 7274 0a20 2020 2073 7461 7465 3a20 6669 rt. state: fi
│ │ │ -0022dba0: 6c65 0a20 2077 6974 685f 6974 656d 733a le. with_items:
│ │ │ -0022dbb0: 0a20 202d 2027 7b7b 2072 6f6f 745f 6f77 . - '{{ root_ow
│ │ │ -0022dbc0: 6e65 645f 6b65 7973 2e73 7464 6f75 745f ned_keys.stdout_
│ │ │ -0022dbd0: 6c69 6e65 7320 7d7d 270a 2020 7768 656e lines }}'. when
│ │ │ -0022dbe0: 3a20 2722 6c69 6e75 782d 6261 7365 2220 : '"linux-base"
│ │ │ -0022dbf0: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ -0022dc00: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag
│ │ │ -0022dc10: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ -0022dc20: 3137 312d 332e 312e 3133 0a20 202d 204e 171-3.1.13. - N
│ │ │ -0022dc30: 4953 542d 3830 302d 3137 312d 332e 3133 IST-800-171-3.13
│ │ │ -0022dc40: 2e31 300a 2020 2d20 4e49 5354 2d38 3030 .10. - NIST-800
│ │ │ -0022dc50: 2d35 332d 4143 2d31 3728 6129 0a20 202d -53-AC-17(a). -
│ │ │ -0022dc60: 204e 4953 542d 3830 302d 3533 2d41 432d NIST-800-53-AC-
│ │ │ -0022dc70: 3628 3129 0a20 202d 204e 4953 542d 3830 6(1). - NIST-80
│ │ │ -0022dc80: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -0022dc90: 2050 4349 2d44 5353 2d52 6571 2d32 2e32 PCI-DSS-Req-2.2
│ │ │ -0022dca0: 2e34 0a20 202d 2050 4349 2d44 5353 7634 .4. - PCI-DSSv4
│ │ │ -0022dcb0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353 -2.2. - PCI-DSS
│ │ │ -0022dcc0: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e v4-2.2.6. - con
│ │ │ -0022dcd0: 6669 6775 7265 5f73 7472 6174 6567 790a figure_strategy.
│ │ │ -0022dce0: 2020 2d20 6669 6c65 5f70 6572 6d69 7373 - file_permiss
│ │ │ -0022dcf0: 696f 6e73 5f73 7368 645f 7072 6976 6174 ions_sshd_privat
│ │ │ -0022dd00: 655f 6b65 790a 2020 2d20 6c6f 775f 636f e_key. - low_co
│ │ │ -0022dd10: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -0022dd20: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -0022dd30: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -0022dd40: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -0022dd50: 6564 6564 0a3c 2f63 6f64 653e 3c2f 7072 eded.
<
│ │ │ +0022d490: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +0022d4a0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +0022d4b0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0022d4c0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +0022d4d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +0022d4f0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +0022d500: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0022d510: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: configure
│ │ │ +0022d530: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name:
│ │ │ +0022d550: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ +0022d560: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ +0022d570: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ +0022d580: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ +0022d590: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ +0022d5a0: 2d31 3731 2d33 2e31 2e31 330a 2020 2d20 -171-3.1.13. -
│ │ │ +0022d5b0: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31 NIST-800-171-3.1
│ │ │ +0022d5c0: 332e 3130 0a20 202d 204e 4953 542d 3830 3.10. - NIST-80
│ │ │ +0022d5d0: 302d 3533 2d41 432d 3137 2861 290a 2020 0-53-AC-17(a).
│ │ │ +0022d5e0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ +0022d5f0: 2d36 2831 290a 2020 2d20 4e49 5354 2d38 -6(1). - NIST-8
│ │ │ +0022d600: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ +0022d610: 2d20 5043 492d 4453 532d 5265 712d 322e - PCI-DSS-Req-2.
│ │ │ +0022d620: 322e 340a 2020 2d20 5043 492d 4453 5376 2.4. - PCI-DSSv
│ │ │ +0022d630: 342d 322e 320a 2020 2d20 5043 492d 4453 4-2.2. - PCI-DS
│ │ │ +0022d640: 5376 342d 322e 322e 360a 2020 2d20 636f Sv4-2.2.6. - co
│ │ │ +0022d650: 6e66 6967 7572 655f 7374 7261 7465 6779 nfigure_strategy
│ │ │ +0022d660: 0a20 202d 2066 696c 655f 7065 726d 6973 . - file_permis
│ │ │ +0022d670: 7369 6f6e 735f 7373 6864 5f70 7269 7661 sions_sshd_priva
│ │ │ +0022d680: 7465 5f6b 6579 0a20 202d 206c 6f77 5f63 te_key. - low_c
│ │ │ +0022d690: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +0022d6a0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +0022d6b0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +0022d6c0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +0022d6d0: 6565 6465 640a 0a2d 206e 616d 653a 2046 eeded..- name: F
│ │ │ +0022d6e0: 696e 6420 726f 6f74 3a72 6f6f 742d 6f77 ind root:root-ow
│ │ │ +0022d6f0: 6e65 6420 6b65 7973 0a20 2061 6e73 6962 ned keys. ansib
│ │ │ +0022d700: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61 le.builtin.comma
│ │ │ +0022d710: 6e64 3a20 6669 6e64 202d 4820 2f65 7463 nd: find -H /etc
│ │ │ +0022d720: 2f73 7368 2f20 2d6d 6178 6465 7074 6820 /ssh/ -maxdepth
│ │ │ +0022d730: 3120 2d75 7365 7220 726f 6f74 202d 7265 1 -user root -re
│ │ │ +0022d740: 6765 7820 222e 2a5f 6b65 7924 220a 2020 gex ".*_key$".
│ │ │ +0022d750: 2020 2d74 7970 6520 6620 2d67 726f 7570 -type f -group
│ │ │ +0022d760: 2072 6f6f 7420 2d70 6572 6d20 2f75 2b78 root -perm /u+x
│ │ │ +0022d770: 732c 672b 7877 7273 2c6f 2b78 7772 740a s,g+xwrs,o+xwrt.
│ │ │ +0022d780: 2020 7265 6769 7374 6572 3a20 726f 6f74 register: root
│ │ │ +0022d790: 5f6f 776e 6564 5f6b 6579 730a 2020 6368 _owned_keys. ch
│ │ │ +0022d7a0: 616e 6765 645f 7768 656e 3a20 6661 6c73 anged_when: fals
│ │ │ +0022d7b0: 650a 2020 6661 696c 6564 5f77 6865 6e3a e. failed_when:
│ │ │ +0022d7c0: 2066 616c 7365 0a20 2063 6865 636b 5f6d false. check_m
│ │ │ +0022d7d0: 6f64 653a 2066 616c 7365 0a20 2077 6865 ode: false. whe
│ │ │ +0022d7e0: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ +0022d7f0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +0022d800: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ +0022d810: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ +0022d820: 2d31 3731 2d33 2e31 2e31 330a 2020 2d20 -171-3.1.13. -
│ │ │ +0022d830: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31 NIST-800-171-3.1
│ │ │ +0022d840: 332e 3130 0a20 202d 204e 4953 542d 3830 3.10. - NIST-80
│ │ │ +0022d850: 302d 3533 2d41 432d 3137 2861 290a 2020 0-53-AC-17(a).
│ │ │ +0022d860: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ +0022d870: 2d36 2831 290a 2020 2d20 4e49 5354 2d38 -6(1). - NIST-8
│ │ │ +0022d880: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ +0022d890: 2d20 5043 492d 4453 532d 5265 712d 322e - PCI-DSS-Req-2.
│ │ │ +0022d8a0: 322e 340a 2020 2d20 5043 492d 4453 5376 2.4. - PCI-DSSv
│ │ │ +0022d8b0: 342d 322e 320a 2020 2d20 5043 492d 4453 4-2.2. - PCI-DS
│ │ │ +0022d8c0: 5376 342d 322e 322e 360a 2020 2d20 636f Sv4-2.2.6. - co
│ │ │ +0022d8d0: 6e66 6967 7572 655f 7374 7261 7465 6779 nfigure_strategy
│ │ │ +0022d8e0: 0a20 202d 2066 696c 655f 7065 726d 6973 . - file_permis
│ │ │ +0022d8f0: 7369 6f6e 735f 7373 6864 5f70 7269 7661 sions_sshd_priva
│ │ │ +0022d900: 7465 5f6b 6579 0a20 202d 206c 6f77 5f63 te_key. - low_c
│ │ │ +0022d910: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +0022d920: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +0022d930: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +0022d940: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +0022d950: 6565 6465 640a 0a2d 206e 616d 653a 2053 eeded..- name: S
│ │ │ +0022d960: 6574 2070 6572 6d69 7373 696f 6e73 2066 et permissions f
│ │ │ +0022d970: 6f72 2072 6f6f 743a 726f 6f74 2d6f 776e or root:root-own
│ │ │ +0022d980: 6564 206b 6579 730a 2020 616e 7369 626c ed keys. ansibl
│ │ │ +0022d990: 652e 6275 696c 7469 6e2e 6669 6c65 3a0a e.builtin.file:.
│ │ │ +0022d9a0: 2020 2020 7061 7468 3a20 277b 7b20 6974 path: '{{ it
│ │ │ +0022d9b0: 656d 207d 7d27 0a20 2020 206d 6f64 653a em }}'. mode:
│ │ │ +0022d9c0: 2075 2d78 732c 672d 7877 7273 2c6f 2d78 u-xs,g-xwrs,o-x
│ │ │ +0022d9d0: 7772 740a 2020 2020 7374 6174 653a 2066 wrt. state: f
│ │ │ +0022d9e0: 696c 650a 2020 7769 7468 5f69 7465 6d73 ile. with_items
│ │ │ +0022d9f0: 3a0a 2020 2d20 277b 7b20 726f 6f74 5f6f :. - '{{ root_o
│ │ │ +0022da00: 776e 6564 5f6b 6579 732e 7374 646f 7574 wned_keys.stdout
│ │ │ +0022da10: 5f6c 696e 6573 207d 7d27 0a20 2077 6865 _lines }}'. whe
│ │ │ +0022da20: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ +0022da30: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +0022da40: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ +0022da50: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ +0022da60: 2d31 3731 2d33 2e31 2e31 330a 2020 2d20 -171-3.1.13. -
│ │ │ +0022da70: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31 NIST-800-171-3.1
│ │ │ +0022da80: 332e 3130 0a20 202d 204e 4953 542d 3830 3.10. - NIST-80
│ │ │ +0022da90: 302d 3533 2d41 432d 3137 2861 290a 2020 0-53-AC-17(a).
│ │ │ +0022daa0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ +0022dab0: 2d36 2831 290a 2020 2d20 4e49 5354 2d38 -6(1). - NIST-8
│ │ │ +0022dac0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ +0022dad0: 2d20 5043 492d 4453 532d 5265 712d 322e - PCI-DSS-Req-2.
│ │ │ +0022dae0: 322e 340a 2020 2d20 5043 492d 4453 5376 2.4. - PCI-DSSv
│ │ │ +0022daf0: 342d 322e 320a 2020 2d20 5043 492d 4453 4-2.2. - PCI-DS
│ │ │ +0022db00: 5376 342d 322e 322e 360a 2020 2d20 636f Sv4-2.2.6. - co
│ │ │ +0022db10: 6e66 6967 7572 655f 7374 7261 7465 6779 nfigure_strategy
│ │ │ +0022db20: 0a20 202d 2066 696c 655f 7065 726d 6973 . - file_permis
│ │ │ +0022db30: 7369 6f6e 735f 7373 6864 5f70 7269 7661 sions_sshd_priva
│ │ │ +0022db40: 7465 5f6b 6579 0a20 202d 206c 6f77 5f63 te_key. - low_c
│ │ │ +0022db50: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +0022db60: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +0022db70: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +0022db80: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +0022db90: 6565 6465 640a 3c2f 636f 6465 3e3c 2f70 eeded.Remediatio
│ │ │ +0022dc50: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +0022dc60: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
include s
│ │ │ +0022dcb0: 7368 5f70 7269 7661 7465 5f6b 6579 5f70 sh_private_key_p
│ │ │ +0022dcc0: 6572 6d73 0a0a 636c 6173 7320 7373 685f erms..class ssh_
│ │ │ +0022dcd0: 7072 6976 6174 655f 6b65 795f 7065 726d private_key_perm
│ │ │ +0022dce0: 7320 7b0a 2020 6578 6563 207b 2027 7373 s {. exec { 'ss
│ │ │ +0022dcf0: 6864 5f70 7269 765f 6b65 7927 3a0a 2020 hd_priv_key':.
│ │ │ +0022dd00: 2020 636f 6d6d 616e 6420 3d26 6774 3b20 command =>
│ │ │ +0022dd10: 2263 686d 6f64 2030 3634 3020 2f65 7463 "chmod 0640 /etc
│ │ │ +0022dd20: 2f73 7368 2f2a 5f6b 6579 222c 0a20 2020 /ssh/*_key",.
│ │ │ +0022dd30: 2070 6174 6820 2020 203d 2667 743b 2027 path => '
│ │ │ +0022dd40: 2f62 696e 3a2f 7573 722f 6269 6e27 0a20 /bin:/usr/bin'.
│ │ │ +0022dd50: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remedi
│ │ │ -0022f1c0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -0022f1d0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0022f1e0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -0022f210: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ -0022f220: 6465 2073 7368 5f70 7562 6c69 635f 6b65 de ssh_public_ke
│ │ │ -0022f230: 795f 7065 726d 730a 0a63 6c61 7373 2073 y_perms..class s
│ │ │ -0022f240: 7368 5f70 7562 6c69 635f 6b65 795f 7065 sh_public_key_pe
│ │ │ -0022f250: 726d 7320 7b0a 2020 6578 6563 207b 2027 rms {. exec { '
│ │ │ -0022f260: 7373 6864 5f70 7562 5f6b 6579 273a 0a20 sshd_pub_key':.
│ │ │ -0022f270: 2020 2063 6f6d 6d61 6e64 203d 2667 743b command =>
│ │ │ -0022f280: 2022 6368 6d6f 6420 3036 3434 202f 6574 "chmod 0644 /et
│ │ │ -0022f290: 632f 7373 682f 2a2e 7075 6222 2c0a 2020 c/ssh/*.pub",.
│ │ │ -0022f2a0: 2020 7061 7468 2020 2020 3d26 6774 3b20 path =>
│ │ │ -0022f2b0: 272f 6269 6e3a 2f75 7372 2f62 696e 270a '/bin:/usr/bin'.
│ │ │ -0022f2c0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediatio
│ │ │ -0022f380: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ -0022f390: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -0022f410: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -0022f420: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -0022f430: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -0022f440: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -0022f450: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -0022f470: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -0022f480: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -0022f490: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: configure
│ │ │ -0022f4b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072 - name:
│ │ │ -0022f4d0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ -0022f4e0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ -0022f4f0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ -0022f500: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ -0022f510: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -0022f520: 2d31 3731 2d33 2e31 2e31 330a 2020 2d20 -171-3.1.13. -
│ │ │ -0022f530: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31 NIST-800-171-3.1
│ │ │ -0022f540: 332e 3130 0a20 202d 204e 4953 542d 3830 3.10. - NIST-80
│ │ │ -0022f550: 302d 3533 2d41 432d 3137 2861 290a 2020 0-53-AC-17(a).
│ │ │ -0022f560: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ -0022f570: 2d36 2831 290a 2020 2d20 4e49 5354 2d38 -6(1). - NIST-8
│ │ │ -0022f580: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ -0022f590: 2d20 5043 492d 4453 532d 5265 712d 322e - PCI-DSS-Req-2.
│ │ │ -0022f5a0: 322e 340a 2020 2d20 5043 492d 4453 5376 2.4. - PCI-DSSv
│ │ │ -0022f5b0: 342d 322e 320a 2020 2d20 5043 492d 4453 4-2.2. - PCI-DS
│ │ │ -0022f5c0: 5376 342d 322e 322e 360a 2020 2d20 636f Sv4-2.2.6. - co
│ │ │ -0022f5d0: 6e66 6967 7572 655f 7374 7261 7465 6779 nfigure_strategy
│ │ │ -0022f5e0: 0a20 202d 2066 696c 655f 7065 726d 6973 . - file_permis
│ │ │ -0022f5f0: 7369 6f6e 735f 7373 6864 5f70 7562 5f6b sions_sshd_pub_k
│ │ │ -0022f600: 6579 0a20 202d 206c 6f77 5f63 6f6d 706c ey. - low_compl
│ │ │ -0022f610: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -0022f620: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ -0022f630: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ -0022f640: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -0022f650: 640a 0a2d 206e 616d 653a 2046 696e 6420 d..- name: Find
│ │ │ -0022f660: 2f65 7463 2f73 7368 2f20 6669 6c65 2873 /etc/ssh/ file(s
│ │ │ -0022f670: 290a 2020 616e 7369 626c 652e 6275 696c ). ansible.buil
│ │ │ -0022f680: 7469 6e2e 636f 6d6d 616e 643a 2066 696e tin.command: fin
│ │ │ -0022f690: 6420 2d50 202f 6574 632f 7373 682f 202d d -P /etc/ssh/ -
│ │ │ -0022f6a0: 6d61 7864 6570 7468 2031 202d 7065 726d maxdepth 1 -perm
│ │ │ -0022f6b0: 202f 752b 7873 2c67 2b78 7773 2c6f 2b78 /u+xs,g+xws,o+x
│ │ │ -0022f6c0: 7774 2020 2d74 7970 650a 2020 2020 6620 wt -type. f
│ │ │ -0022f6d0: 2d72 6567 6578 7479 7065 2070 6f73 6978 -regextype posix
│ │ │ -0022f6e0: 2d65 7874 656e 6465 6420 2d72 6567 6578 -extended -regex
│ │ │ -0022f6f0: 2022 5e2e 2a5c 2e70 7562 2422 0a20 2072 "^.*\.pub$". r
│ │ │ -0022f700: 6567 6973 7465 723a 2066 696c 6573 5f66 egister: files_f
│ │ │ -0022f710: 6f75 6e64 0a20 2063 6861 6e67 6564 5f77 ound. changed_w
│ │ │ -0022f720: 6865 6e3a 2066 616c 7365 0a20 2066 6169 hen: false. fai
│ │ │ -0022f730: 6c65 645f 7768 656e 3a20 6661 6c73 650a led_when: false.
│ │ │ -0022f740: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661 check_mode: fa
│ │ │ -0022f750: 6c73 650a 2020 7768 656e 3a20 2722 6c69 lse. when: '"li
│ │ │ -0022f760: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ -0022f770: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -0022f780: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ -0022f790: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ -0022f7a0: 312e 3133 0a20 202d 204e 4953 542d 3830 1.13. - NIST-80
│ │ │ -0022f7b0: 302d 3137 312d 332e 3133 2e31 300a 2020 0-171-3.13.10.
│ │ │ -0022f7c0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ -0022f7d0: 2d31 3728 6129 0a20 202d 204e 4953 542d -17(a). - NIST-
│ │ │ -0022f7e0: 3830 302d 3533 2d41 432d 3628 3129 0a20 800-53-AC-6(1).
│ │ │ -0022f7f0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -0022f800: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ -0022f810: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d SS-Req-2.2.4. -
│ │ │ -0022f820: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2.
│ │ │ -0022f830: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ -0022f840: 2e36 0a20 202d 2063 6f6e 6669 6775 7265 .6. - configure
│ │ │ -0022f850: 5f73 7472 6174 6567 790a 2020 2d20 6669 _strategy. - fi
│ │ │ -0022f860: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73 le_permissions_s
│ │ │ -0022f870: 7368 645f 7075 625f 6b65 790a 2020 2d20 shd_pub_key. -
│ │ │ -0022f880: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -0022f890: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -0022f8a0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ -0022f8b0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ -0022f8c0: 6f6f 745f 6e65 6564 6564 0a0a 2d20 6e61 oot_needed..- na
│ │ │ -0022f8d0: 6d65 3a20 5365 7420 7065 726d 6973 7369 me: Set permissi
│ │ │ -0022f8e0: 6f6e 7320 666f 7220 2f65 7463 2f73 7368 ons for /etc/ssh
│ │ │ -0022f8f0: 2f20 6669 6c65 2873 290a 2020 616e 7369 / file(s). ansi
│ │ │ -0022f900: 626c 652e 6275 696c 7469 6e2e 6669 6c65 ble.builtin.file
│ │ │ -0022f910: 3a0a 2020 2020 7061 7468 3a20 277b 7b20 :. path: '{{
│ │ │ -0022f920: 6974 656d 207d 7d27 0a20 2020 206d 6f64 item }}'. mod
│ │ │ -0022f930: 653a 2075 2d78 732c 672d 7877 732c 6f2d e: u-xs,g-xws,o-
│ │ │ -0022f940: 7877 740a 2020 2020 7374 6174 653a 2066 xwt. state: f
│ │ │ -0022f950: 696c 650a 2020 7769 7468 5f69 7465 6d73 ile. with_items
│ │ │ -0022f960: 3a0a 2020 2d20 277b 7b20 6669 6c65 735f :. - '{{ files_
│ │ │ -0022f970: 666f 756e 642e 7374 646f 7574 5f6c 696e found.stdout_lin
│ │ │ -0022f980: 6573 207d 7d27 0a20 2077 6865 6e3a 2027 es }}'. when: '
│ │ │ -0022f990: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ -0022f9a0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -0022f9b0: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:.
│ │ │ -0022f9c0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171
│ │ │ -0022f9d0: 2d33 2e31 2e31 330a 2020 2d20 4e49 5354 -3.1.13. - NIST
│ │ │ -0022f9e0: 2d38 3030 2d31 3731 2d33 2e31 332e 3130 -800-171-3.13.10
│ │ │ -0022f9f0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -0022fa00: 2d41 432d 3137 2861 290a 2020 2d20 4e49 -AC-17(a). - NI
│ │ │ -0022fa10: 5354 2d38 3030 2d35 332d 4143 2d36 2831 ST-800-53-AC-6(1
│ │ │ -0022fa20: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -0022fa30: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC
│ │ │ -0022fa40: 492d 4453 532d 5265 712d 322e 322e 340a I-DSS-Req-2.2.4.
│ │ │ -0022fa50: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ -0022fa60: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ -0022fa70: 322e 322e 360a 2020 2d20 636f 6e66 6967 2.2.6. - config
│ │ │ -0022fa80: 7572 655f 7374 7261 7465 6779 0a20 202d ure_strategy. -
│ │ │ -0022fa90: 2066 696c 655f 7065 726d 6973 7369 6f6e file_permission
│ │ │ -0022faa0: 735f 7373 6864 5f70 7562 5f6b 6579 0a20 s_sshd_pub_key.
│ │ │ -0022fab0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -0022fac0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -0022fad0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -0022fae0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -0022faf0: 7265 626f 6f74 5f6e 6565 6465 640a 3c2f reboot_needed.
│ │ │ +0022f1c0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ +0022f1d0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +0022f260: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +0022f270: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +0022f280: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +0022f290: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +0022f2a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +0022f2b0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +0022f2c0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +0022f2d0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: configure<
│ │ │ +0022f2f0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +0022f310: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +0022f320: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ +0022f330: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ +0022f340: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +0022f350: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ +0022f360: 2d38 3030 2d31 3731 2d33 2e31 2e31 330a -800-171-3.1.13.
│ │ │ +0022f370: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171
│ │ │ +0022f380: 2d33 2e31 332e 3130 0a20 202d 204e 4953 -3.13.10. - NIS
│ │ │ +0022f390: 542d 3830 302d 3533 2d41 432d 3137 2861 T-800-53-AC-17(a
│ │ │ +0022f3a0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ +0022f3b0: 332d 4143 2d36 2831 290a 2020 2d20 4e49 3-AC-6(1). - NI
│ │ │ +0022f3c0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ +0022f3d0: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ +0022f3e0: 712d 322e 322e 340a 2020 2d20 5043 492d q-2.2.4. - PCI-
│ │ │ +0022f3f0: 4453 5376 342d 322e 320a 2020 2d20 5043 DSSv4-2.2. - PC
│ │ │ +0022f400: 492d 4453 5376 342d 322e 322e 360a 2020 I-DSSv4-2.2.6.
│ │ │ +0022f410: 2d20 636f 6e66 6967 7572 655f 7374 7261 - configure_stra
│ │ │ +0022f420: 7465 6779 0a20 202d 2066 696c 655f 7065 tegy. - file_pe
│ │ │ +0022f430: 726d 6973 7369 6f6e 735f 7373 6864 5f70 rmissions_sshd_p
│ │ │ +0022f440: 7562 5f6b 6579 0a20 202d 206c 6f77 5f63 ub_key. - low_c
│ │ │ +0022f450: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +0022f460: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +0022f470: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +0022f480: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +0022f490: 6565 6465 640a 0a2d 206e 616d 653a 2046 eeded..- name: F
│ │ │ +0022f4a0: 696e 6420 2f65 7463 2f73 7368 2f20 6669 ind /etc/ssh/ fi
│ │ │ +0022f4b0: 6c65 2873 290a 2020 616e 7369 626c 652e le(s). ansible.
│ │ │ +0022f4c0: 6275 696c 7469 6e2e 636f 6d6d 616e 643a builtin.command:
│ │ │ +0022f4d0: 2066 696e 6420 2d50 202f 6574 632f 7373 find -P /etc/ss
│ │ │ +0022f4e0: 682f 202d 6d61 7864 6570 7468 2031 202d h/ -maxdepth 1 -
│ │ │ +0022f4f0: 7065 726d 202f 752b 7873 2c67 2b78 7773 perm /u+xs,g+xws
│ │ │ +0022f500: 2c6f 2b78 7774 2020 2d74 7970 650a 2020 ,o+xwt -type.
│ │ │ +0022f510: 2020 6620 2d72 6567 6578 7479 7065 2070 f -regextype p
│ │ │ +0022f520: 6f73 6978 2d65 7874 656e 6465 6420 2d72 osix-extended -r
│ │ │ +0022f530: 6567 6578 2022 5e2e 2a5c 2e70 7562 2422 egex "^.*\.pub$"
│ │ │ +0022f540: 0a20 2072 6567 6973 7465 723a 2066 696c . register: fil
│ │ │ +0022f550: 6573 5f66 6f75 6e64 0a20 2063 6861 6e67 es_found. chang
│ │ │ +0022f560: 6564 5f77 6865 6e3a 2066 616c 7365 0a20 ed_when: false.
│ │ │ +0022f570: 2066 6169 6c65 645f 7768 656e 3a20 6661 failed_when: fa
│ │ │ +0022f580: 6c73 650a 2020 6368 6563 6b5f 6d6f 6465 lse. check_mode
│ │ │ +0022f590: 3a20 6661 6c73 650a 2020 7768 656e 3a20 : false. when:
│ │ │ +0022f5a0: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in
│ │ │ +0022f5b0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +0022f5c0: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ +0022f5d0: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17
│ │ │ +0022f5e0: 312d 332e 312e 3133 0a20 202d 204e 4953 1-3.1.13. - NIS
│ │ │ +0022f5f0: 542d 3830 302d 3137 312d 332e 3133 2e31 T-800-171-3.13.1
│ │ │ +0022f600: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +0022f610: 332d 4143 2d31 3728 6129 0a20 202d 204e 3-AC-17(a). - N
│ │ │ +0022f620: 4953 542d 3830 302d 3533 2d41 432d 3628 IST-800-53-AC-6(
│ │ │ +0022f630: 3129 0a20 202d 204e 4953 542d 3830 302d 1). - NIST-800-
│ │ │ +0022f640: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ +0022f650: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34 CI-DSS-Req-2.2.4
│ │ │ +0022f660: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ +0022f670: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ +0022f680: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669 -2.2.6. - confi
│ │ │ +0022f690: 6775 7265 5f73 7472 6174 6567 790a 2020 gure_strategy.
│ │ │ +0022f6a0: 2d20 6669 6c65 5f70 6572 6d69 7373 696f - file_permissio
│ │ │ +0022f6b0: 6e73 5f73 7368 645f 7075 625f 6b65 790a ns_sshd_pub_key.
│ │ │ +0022f6c0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +0022f6d0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +0022f6e0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +0022f6f0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +0022f700: 5f72 6562 6f6f 745f 6e65 6564 6564 0a0a _reboot_needed..
│ │ │ +0022f710: 2d20 6e61 6d65 3a20 5365 7420 7065 726d - name: Set perm
│ │ │ +0022f720: 6973 7369 6f6e 7320 666f 7220 2f65 7463 issions for /etc
│ │ │ +0022f730: 2f73 7368 2f20 6669 6c65 2873 290a 2020 /ssh/ file(s).
│ │ │ +0022f740: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +0022f750: 6669 6c65 3a0a 2020 2020 7061 7468 3a20 file:. path:
│ │ │ +0022f760: 277b 7b20 6974 656d 207d 7d27 0a20 2020 '{{ item }}'.
│ │ │ +0022f770: 206d 6f64 653a 2075 2d78 732c 672d 7877 mode: u-xs,g-xw
│ │ │ +0022f780: 732c 6f2d 7877 740a 2020 2020 7374 6174 s,o-xwt. stat
│ │ │ +0022f790: 653a 2066 696c 650a 2020 7769 7468 5f69 e: file. with_i
│ │ │ +0022f7a0: 7465 6d73 3a0a 2020 2d20 277b 7b20 6669 tems:. - '{{ fi
│ │ │ +0022f7b0: 6c65 735f 666f 756e 642e 7374 646f 7574 les_found.stdout
│ │ │ +0022f7c0: 5f6c 696e 6573 207d 7d27 0a20 2077 6865 _lines }}'. whe
│ │ │ +0022f7d0: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ +0022f7e0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +0022f7f0: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ +0022f800: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ +0022f810: 2d31 3731 2d33 2e31 2e31 330a 2020 2d20 -171-3.1.13. -
│ │ │ +0022f820: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31 NIST-800-171-3.1
│ │ │ +0022f830: 332e 3130 0a20 202d 204e 4953 542d 3830 3.10. - NIST-80
│ │ │ +0022f840: 302d 3533 2d41 432d 3137 2861 290a 2020 0-53-AC-17(a).
│ │ │ +0022f850: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ +0022f860: 2d36 2831 290a 2020 2d20 4e49 5354 2d38 -6(1). - NIST-8
│ │ │ +0022f870: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ +0022f880: 2d20 5043 492d 4453 532d 5265 712d 322e - PCI-DSS-Req-2.
│ │ │ +0022f890: 322e 340a 2020 2d20 5043 492d 4453 5376 2.4. - PCI-DSSv
│ │ │ +0022f8a0: 342d 322e 320a 2020 2d20 5043 492d 4453 4-2.2. - PCI-DS
│ │ │ +0022f8b0: 5376 342d 322e 322e 360a 2020 2d20 636f Sv4-2.2.6. - co
│ │ │ +0022f8c0: 6e66 6967 7572 655f 7374 7261 7465 6779 nfigure_strategy
│ │ │ +0022f8d0: 0a20 202d 2066 696c 655f 7065 726d 6973 . - file_permis
│ │ │ +0022f8e0: 7369 6f6e 735f 7373 6864 5f70 7562 5f6b sions_sshd_pub_k
│ │ │ +0022f8f0: 6579 0a20 202d 206c 6f77 5f63 6f6d 706c ey. - low_compl
│ │ │ +0022f900: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +0022f910: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +0022f920: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ +0022f930: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +0022f940: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.
<
│ │ │ +0022f950: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu
│ │ │ +0022fa00: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ +0022fa10: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
include ssh_p
│ │ │ +0022fa60: 7562 6c69 635f 6b65 795f 7065 726d 730a ublic_key_perms.
│ │ │ +0022fa70: 0a63 6c61 7373 2073 7368 5f70 7562 6c69 .class ssh_publi
│ │ │ +0022fa80: 635f 6b65 795f 7065 726d 7320 7b0a 2020 c_key_perms {.
│ │ │ +0022fa90: 6578 6563 207b 2027 7373 6864 5f70 7562 exec { 'sshd_pub
│ │ │ +0022faa0: 5f6b 6579 273a 0a20 2020 2063 6f6d 6d61 _key':. comma
│ │ │ +0022fab0: 6e64 203d 2667 743b 2022 6368 6d6f 6420 nd => "chmod
│ │ │ +0022fac0: 3036 3434 202f 6574 632f 7373 682f 2a2e 0644 /etc/ssh/*.
│ │ │ +0022fad0: 7075 6222 2c0a 2020 2020 7061 7468 2020 pub",. path
│ │ │ +0022fae0: 2020 3d26 6774 3b20 272f 6269 6e3a 2f75 => '/bin:/u
│ │ │ +0022faf0: 7372 2f62 696e 270a 2020 7d0a 7d0a 3c2f sr/bin'. }.}.
│ │ │ 0022fb00: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Remediatio
│ │ │ -002317d0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -002317e0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -00231870: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -00231890: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -002318a0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -002318b0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -002318c0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -002318e0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable <
│ │ │ -00231910: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ -00231920: 6d6f 7665 5f78 7365 7276 6572 2d78 6f72 move_xserver-xor
│ │ │ -00231930: 670a 0a63 6c61 7373 2072 656d 6f76 655f g..class remove_
│ │ │ -00231940: 7873 6572 7665 722d 786f 7267 207b 0a20 xserver-xorg {.
│ │ │ -00231950: 2070 6163 6b61 6765 207b 2027 7873 6572 package { 'xser
│ │ │ -00231960: 7665 722d 786f 7267 273a 0a20 2020 2065 ver-xorg':. e
│ │ │ -00231970: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ -00231980: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.<
│ │ │ -002319a0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -002319b0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -002319c0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -002319d0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -002319e0: 6438 3334 2220 7461 6269 6e64 6578 3d22 d834" tabindex="
│ │ │ -002319f0: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -00231a00: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -00231a10: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -00231a20: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -00231a30: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -00231a40: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -00231a50: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -00231a60: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -00231ae0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -00231b10: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -00231b30: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -00231b40: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -00231b60: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -00231b70: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -00231b90: 6d65 3a20 2752 656d 6f76 6520 7468 6520 me: 'Remove the
│ │ │ -00231ba0: 5820 5769 6e64 6f77 7320 5061 636b 6167 X Windows Packag
│ │ │ -00231bb0: 6520 4772 6f75 703a 2045 6e73 7572 6520 e Group: Ensure
│ │ │ -00231bc0: 7873 6572 7665 722d 786f 7267 2069 7320 xserver-xorg is
│ │ │ -00231bd0: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ -00231be0: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -00231bf0: 6765 3a0a 2020 2020 6e61 6d65 3a20 7873 ge:. name: xs
│ │ │ -00231c00: 6572 7665 722d 786f 7267 0a20 2020 2073 erver-xorg. s
│ │ │ -00231c10: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ -00231c20: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ -00231c30: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -00231c40: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -00231c50: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80
│ │ │ -00231c60: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). -
│ │ │ -00231c70: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ -00231c80: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -00231c90: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -00231ca0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ -00231cb0: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ -00231cc0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -00231cd0: 0a20 202d 2070 6163 6b61 6765 5f78 6f72 . - package_xor
│ │ │ -00231ce0: 672d 7831 312d 7365 7276 6572 2d63 6f6d g-x11-server-com
│ │ │ -00231cf0: 6d6f 6e5f 7265 6d6f 7665 640a 3c2f 636f mon_removed.
<
│ │ │ +00231860: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +00231870: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +00231880: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00231890: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +002318a0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +002318c0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +002318d0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +002318e0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +00231900: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +00231910: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2752 - name: 'R
│ │ │ +00231920: 656d 6f76 6520 7468 6520 5820 5769 6e64 emove the X Wind
│ │ │ +00231930: 6f77 7320 5061 636b 6167 6520 4772 6f75 ows Package Grou
│ │ │ +00231940: 703a 2045 6e73 7572 6520 7873 6572 7665 p: Ensure xserve
│ │ │ +00231950: 722d 786f 7267 2069 7320 7265 6d6f 7665 r-xorg is remove
│ │ │ +00231960: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ +00231970: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ +00231980: 2020 6e61 6d65 3a20 7873 6572 7665 722d name: xserver-
│ │ │ +00231990: 786f 7267 0a20 2020 2073 7461 7465 3a20 xorg. state:
│ │ │ +002319a0: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ +002319b0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +002319c0: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST-
│ │ │ +002319d0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20 800-53-CM-7(a).
│ │ │ +002319e0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +002319f0: 4d2d 3728 6229 0a20 202d 2064 6973 6162 M-7(b). - disab
│ │ │ +00231a00: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +00231a10: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +00231a20: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +00231a30: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ +00231a40: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ +00231a50: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +00231a60: 6163 6b61 6765 5f78 6f72 672d 7831 312d ackage_xorg-x11-
│ │ │ +00231a70: 7365 7276 6572 2d63 6f6d 6d6f 6e5f 7265 server-common_re
│ │ │ +00231a80: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.Remediatio
│ │ │ +00231b40: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +00231b50: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +00231be0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low
D
│ │ │ +00231c00: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +00231c10: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +00231c20: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +00231c30: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +00231c50: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable <
│ │ │ +00231c80: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ +00231c90: 6d6f 7665 5f78 7365 7276 6572 2d78 6f72 move_xserver-xor
│ │ │ +00231ca0: 670a 0a63 6c61 7373 2072 656d 6f76 655f g..class remove_
│ │ │ +00231cb0: 7873 6572 7665 722d 786f 7267 207b 0a20 xserver-xorg {.
│ │ │ +00231cc0: 2070 6163 6b61 6765 207b 2027 7873 6572 package { 'xser
│ │ │ +00231cd0: 7665 722d 786f 7267 273a 0a20 2020 2065 ver-xorg':. e
│ │ │ +00231ce0: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ +00231cf0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.<
│ │ │ 00231d10: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ 00231d20: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ 00231d30: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ 00231d40: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ 00231d50: 6438 3335 2220 7461 6269 6e64 6578 3d22 d835" tabindex="
│ │ │ 00231d60: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ ├── html2text {}
│ │ │ │ @@ -128,31 +128,14 @@
│ │ │ │ _p_c_i_d_s_s Req-11.5
│ │ │ │ _o_s_-_s_r_g SRG-OS-000445-GPOS-00199
│ │ │ │ _a_n_s_s_i R76, R79
│ │ │ │ _c_i_s 1.3.1
│ │ │ │ _p_c_i_d_s_s_4 11.5.2
│ │ │ │ _s_t_i_g_i_d UBTU-22-651010
│ │ │ │ _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:
│ │ │ │ @@ -183,14 +166,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -811,27 +811,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:
│ │ │ │ @@ -865,14 +852,27 @@
│ │ │ │ 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 ]];
│ │ │ │ @@ -1851,31 +1851,14 @@
│ │ │ │ _i_s_m 1382, 1384, 1386
│ │ │ │ _n_i_s_t CM-6(a)
│ │ │ │ _o_s_p_p FMT_MOF_EXT.1
│ │ │ │ References: _o_s_-_s_r_g SRG-OS-000324-GPOS-00125
│ │ │ │ _a_n_s_s_i R33
│ │ │ │ _c_i_s 5.3.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 = "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:
│ │ │ │ @@ -1902,14 +1885,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -5574,31 +5574,14 @@
│ │ │ │ attacks on the system.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_pam_pwquality_installed
│ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00225
│ │ │ │ References: _c_i_s 5.4.1
│ │ │ │ _s_t_i_g_i_d UBTU-22-215010
│ │ │ │ _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:
│ │ │ │ @@ -5621,14 +5604,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}' 'libpam-runtime' 2>/dev/null | grep -
│ │ │ │ @@ -7859,31 +7859,14 @@
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_apparmor_installed
│ │ │ │ _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: _a_n_s_s_i R45
│ │ │ │ _c_i_s 1.6.1.1
│ │ │ │ _s_t_i_g_i_d UBTU-22-431010
│ │ │ │ _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
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -7894,14 +7877,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
│ │ │ │ @@ -8420,31 +8420,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:
│ │ │ │ @@ -8465,14 +8448,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -8491,31 +8491,14 @@
│ │ │ │ Rationale: determine cause of failure and any information necessary to return to operations with
│ │ │ │ least disruption to system processes.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_systemd-journald_enabled
│ │ │ │ _n_i_s_t SC-24
│ │ │ │ References: _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:
│ │ │ │ @@ -8550,14 +8533,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_systemd-journald_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -9287,31 +9287,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)
│ │ │ │ _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:
│ │ │ │ @@ -9334,14 +9317,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -9371,31 +9371,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
│ │ │ │ _c_i_s 4.2.2.2
│ │ │ │ _s_t_i_g_i_d UBTU-22-652010
│ │ │ │ _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:
│ │ │ │ @@ -9434,14 +9417,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_rsyslog_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -9939,31 +9939,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:
│ │ │ │ @@ -9988,14 +9971,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 ( ! (systemctl is-active nftables &>/dev/null) && ! (systemctl is-active ufw &>/dev/null) &&
│ │ │ │ @@ -10011,27 +10011,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:
│ │ │ │ @@ -10052,14 +10039,27 @@
│ │ │ │ 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}' 'ufw' 2>/dev/null | grep -q '^installed$';
│ │ │ │ @@ -15339,31 +15339,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:
│ │ │ │ @@ -15388,14 +15371,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 ( ! (systemctl is-active iptables &>/dev/null) && ! (systemctl is-active ufw &>/dev/null) &&
│ │ │ │ @@ -15412,31 +15412,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:
│ │ │ │ @@ -15470,14 +15453,31 @@
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_nftables_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: ( "nftables" in ansible_facts.packages and "linux-base" in ansible_facts.packages
│ │ │ │ )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'nftables' 2>/dev/null | grep -
│ │ │ │ @@ -16002,27 +16002,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, 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:
│ │ │ │ @@ -16043,14 +16030,27 @@
│ │ │ │ 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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -16074,31 +16074,14 @@
│ │ │ │ Rationale: The ufw service must be enabled and running in order for ufw to protect the system
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_ufw_enabled
│ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115
│ │ │ │ References: _c_i_s 3.5.1.3
│ │ │ │ _s_t_i_g_i_d UBTU-22-251020
│ │ │ │ _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:
│ │ │ │ @@ -16135,14 +16118,31 @@
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_ufw_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - ( "ufw" in ansible_facts.packages and "linux-base" in ansible_facts.packages )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -18655,50 +18655,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:
│ │ │ │ @@ -18759,14 +18723,50 @@
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_autofs_disabled
│ │ │ │ - special_service_block
│ │ │ │ when: ( "autofs" in ansible_facts.packages and "linux-base" in ansible_facts.packages
│ │ │ │ )
│ │ │ │ +_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}' 'autofs' 2>/dev/null | grep -
│ │ │ │ @@ -23613,50 +23613,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:
│ │ │ │ @@ -23706,14 +23670,50 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_apport_disabled
│ │ │ │ - special_service_block
│ │ │ │ - unknown_severity
│ │ │ │ when: '"apport" in ansible_facts.packages'
│ │ │ │ +_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}' 'apport' 2>/dev/null | grep -
│ │ │ │ @@ -23765,27 +23765,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.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: 'Uninstall avahi Server Package: Ensure avahi-daemon is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -23797,14 +23784,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -23833,50 +23833,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:
│ │ │ │ @@ -23938,14 +23902,50 @@
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_avahi-daemon_disabled
│ │ │ │ - special_service_block
│ │ │ │ when: ( "avahi-daemon" in ansible_facts.packages and "linux-base" in ansible_facts.packages
│ │ │ │ )
│ │ │ │ +_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}' 'avahi-daemon' 2>/dev/null | grep -
│ │ │ │ @@ -24733,31 +24733,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:
│ │ │ │ @@ -24792,14 +24775,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_cron_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -26640,27 +26640,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: 'Uninstall the nis package: Ensure nis is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26669,14 +26656,27 @@
│ │ │ │ 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
│ │ │ │ @@ -26718,27 +26718,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
│ │ │ │ _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.2.4
│ │ │ │ _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: 'Uninstall DHCP Server Package: Ensure isc-dhcp-server is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26752,14 +26739,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -26795,27 +26795,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.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: 'Uninstall bind Package: Ensure bind9 is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26827,14 +26814,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -26873,27 +26873,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: 'Uninstall vsftpd Package: Ensure vsftpd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26909,14 +26896,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -26956,27 +26956,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: 'Uninstall apache2 Package: Ensure apache2 is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26988,14 +26975,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -27024,27 +27024,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: 'Uninstall nginx Package: Ensure nginx is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27056,14 +27043,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -27084,27 +27084,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: 'Uninstall cyrus-imapd Package: Ensure cyrus-imapd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27113,14 +27100,27 @@
│ │ │ │ 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
│ │ │ │ @@ -27138,27 +27138,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: 'Uninstall dovecot Package: Ensure dovecot-core is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27167,14 +27154,27 @@
│ │ │ │ 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
│ │ │ │ @@ -27205,27 +27205,14 @@
│ │ │ │ command:
│ │ │ │ $ apt-get remove ldap-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 client is not installed: Ensure ldap-utils is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27234,14 +27221,27 @@
│ │ │ │ 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
│ │ │ │ @@ -27272,27 +27272,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.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: 'Uninstall openldap-servers Package: Ensure slapd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27304,14 +27291,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -27429,27 +27429,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:
│ │ │ │ @@ -27470,14 +27457,27 @@
│ │ │ │ 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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -27499,27 +27499,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: 'Uninstall nfs-kernel-server Package: Ensure nfs-kernel-server is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27528,14 +27515,27 @@
│ │ │ │ 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
│ │ │ │ @@ -27601,31 +27601,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
│ │ │ │ _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)
│ │ │ │ _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:
│ │ │ │ @@ -27650,14 +27633,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -27677,31 +27677,14 @@
│ │ │ │ Rationale: If chrony is in use on the system proper configuration is vital to ensuring time
│ │ │ │ synchronization is working properly.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_chronyd_enabled
│ │ │ │ _i_s_m 0988, 1405
│ │ │ │ References: _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:
│ │ │ │ @@ -27736,14 +27719,31 @@
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_chronyd_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - '"chrony" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -27779,31 +27779,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:
│ │ │ │ @@ -27848,14 +27831,31 @@
│ │ │ │ - low_disruption
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_ntp_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - '"ntp" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -27890,31 +27890,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:
│ │ │ │ @@ -27960,14 +27943,31 @@
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_timesyncd_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - ( not ( "chrony" in ansible_facts.packages ) and not ( "ntp" in ansible_facts.packages
│ │ │ │ ) )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -28140,27 +28140,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
│ │ │ │ _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.3.2
│ │ │ │ _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: 'Uninstall rsh Package: Ensure rsh-client is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28172,14 +28159,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -28246,27 +28246,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: _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.3.3
│ │ │ │ _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: 'Uninstall talk Package: Ensure talk is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28277,14 +28264,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -28309,27 +28309,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
│ │ │ │ _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.3.4
│ │ │ │ _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: 'Remove telnet Clients: Ensure telnet is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28341,14 +28328,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -28364,27 +28364,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: 'Uninstall rsync Package: Ensure rsync is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28393,14 +28380,27 @@
│ │ │ │ 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
│ │ │ │ @@ -28434,27 +28434,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: 'Uninstall CUPS Package: Ensure cups is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28466,14 +28453,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -28499,50 +28499,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:
│ │ │ │ @@ -28598,14 +28562,50 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_cups_disabled
│ │ │ │ - special_service_block
│ │ │ │ - unknown_severity
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -28645,27 +28645,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: 'Uninstall squid Package: Ensure squid is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28674,14 +28661,27 @@
│ │ │ │ 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
│ │ │ │ @@ -28707,27 +28707,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: 'Uninstall Samba Package: Ensure samba is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28736,14 +28723,27 @@
│ │ │ │ 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
│ │ │ │ @@ -28769,27 +28769,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: 'Uninstall net-snmp Package: Ensure snmp is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28800,14 +28787,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -31964,23 +31964,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
│ │ │ │ _a_n_s_s_i R50
│ │ │ │ _c_i_s 5.2.2
│ │ │ │ _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:
│ │ │ │ @@ -32044,14 +32035,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
│ │ │ │ @@ -32091,23 +32091,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
│ │ │ │ _a_n_s_s_i R50
│ │ │ │ _c_i_s 5.2.3
│ │ │ │ _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:
│ │ │ │ @@ -32171,14 +32162,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -32221,27 +32221,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: 'Remove the X Windows Package Group: Ensure xserver-xorg is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -32253,14 +32240,27 @@
│ │ │ │ - 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
│ │ │ @@ -15118,137 +15118,137 @@
│ │ │ 0003b0d0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ 0003b0e0: 6438 2220 7461 6269 6e64 6578 3d22 3022 d8" tabindex="0"
│ │ │ 0003b0f0: 2072 6f6c 653d 2262 7574 746f 6e22 2061 role="button" a
│ │ │ 0003b100: 7269 612d 6578 7061 6e64 6564 3d22 6661 ria-expanded="fa
│ │ │ 0003b110: 6c73 6522 2074 6974 6c65 3d22 4163 7469 lse" title="Acti
│ │ │ 0003b120: 7661 7465 2074 6f20 7265 7665 616c 2220 vate to reveal"
│ │ │ 0003b130: 6872 6566 3d22 2321 223e 5265 6d65 6469 href="#!">Remedi
│ │ │ -0003b140: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ -0003b150: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ -0003b160: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
.[[packages]
│ │ │ -0003b1b0: 5d0a 6e61 6d65 203d 2022 6169 6465 220a ].name = "aide".
│ │ │ -0003b1c0: 7665 7273 696f 6e20 3d20 222a 220a 3c2f version = "*".
│ │ │ -0003b1d0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Reme
│ │ │ -0003b280: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ -0003b290: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
│ │ │ -0003b2d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -0003b320: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -0003b330: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -0003b340: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -0003b350: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -0003b360: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -0003b370: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -0003b380: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -0003b390: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -0003b3b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
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',. }.}. Remedi
│ │ │ -0003b4e0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ -0003b4f0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
│ │ │ -0003b530: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -0003b580: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -0003b590: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -0003b5a0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -0003b5b0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -0003b5c0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -0003b5d0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -0003b5e0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -0003b5f0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -0003b610: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -0003b630: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ -0003b640: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ -0003b650: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ -0003b660: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ -0003b670: 6773 3a0a 2020 2d20 434a 4953 2d35 2e31 gs:. - CJIS-5.1
│ │ │ -0003b680: 302e 312e 330a 2020 2d20 4449 5341 2d53 0.1.3. - DISA-S
│ │ │ -0003b690: 5449 472d 5542 5455 2d32 322d 3635 3130 TIG-UBTU-22-6510
│ │ │ -0003b6a0: 3130 0a20 202d 204e 4953 542d 3830 302d 10. - NIST-800-
│ │ │ -0003b6b0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ -0003b6c0: 4349 2d44 5353 2d52 6571 2d31 312e 350a CI-DSS-Req-11.5.
│ │ │ -0003b6d0: 2020 2d20 5043 492d 4453 5376 342d 3131 - PCI-DSSv4-11
│ │ │ -0003b6e0: 2e35 2e32 0a20 202d 2065 6e61 626c 655f .5.2. - enable_
│ │ │ -0003b6f0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -0003b700: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -0003b710: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -0003b720: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -0003b730: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -0003b740: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -0003b750: 6167 655f 6169 6465 5f69 6e73 7461 6c6c age_aide_install
│ │ │ -0003b760: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu
│ │ │ -0003b770: 7265 2061 6964 6520 6973 2069 6e73 7461 re aide is insta
│ │ │ -0003b780: 6c6c 6564 0a20 2061 6e73 6962 6c65 2e62 lled. ansible.b
│ │ │ -0003b790: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ -0003b7a0: 2020 2020 6e61 6d65 3a20 6169 6465 0a20 name: aide.
│ │ │ -0003b7b0: 2020 2073 7461 7465 3a20 7072 6573 656e state: presen
│ │ │ -0003b7c0: 740a 2020 7768 656e 3a20 2722 6c69 6e75 t. when: '"linu
│ │ │ -0003b7d0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ -0003b7e0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ -0003b7f0: 7327 0a20 2074 6167 733a 0a20 202d 2043 s'. tags:. - C
│ │ │ -0003b800: 4a49 532d 352e 3130 2e31 2e33 0a20 202d JIS-5.10.1.3. -
│ │ │ -0003b810: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU-
│ │ │ -0003b820: 3232 2d36 3531 3031 300a 2020 2d20 4e49 22-651010. - NI
│ │ │ -0003b830: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ -0003b840: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ -0003b850: 712d 3131 2e35 0a20 202d 2050 4349 2d44 q-11.5. - PCI-D
│ │ │ -0003b860: 5353 7634 2d31 312e 352e 320a 2020 2d20 SSv4-11.5.2. -
│ │ │ -0003b870: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -0003b880: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -0003b890: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -0003b8a0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -0003b8b0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -0003b8c0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -0003b8d0: 202d 2070 6163 6b61 6765 5f61 6964 655f - package_aide_
│ │ │ -0003b8e0: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.
<
│ │ │ +0003b190: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +0003b1a0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +0003b1b0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +0003b1c0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +0003b1d0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +0003b1e0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +0003b1f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +0003b220: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +0003b230: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +0003b240: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +0003b260: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable <
│ │ │ +0003b270: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>- name: G
│ │ │ +0003b290: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ +0003b2a0: 6520 6661 6374 730a 2020 7061 636b 6167 e facts. packag
│ │ │ +0003b2b0: 655f 6661 6374 733a 0a20 2020 206d 616e e_facts:. man
│ │ │ +0003b2c0: 6167 6572 3a20 6175 746f 0a20 2074 6167 ager: auto. tag
│ │ │ +0003b2d0: 733a 0a20 202d 2043 4a49 532d 352e 3130 s:. - CJIS-5.10
│ │ │ +0003b2e0: 2e31 2e33 0a20 202d 2044 4953 412d 5354 .1.3. - DISA-ST
│ │ │ +0003b2f0: 4947 2d55 4254 552d 3232 2d36 3531 3031 IG-UBTU-22-65101
│ │ │ +0003b300: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +0003b310: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC
│ │ │ +0003b320: 492d 4453 532d 5265 712d 3131 2e35 0a20 I-DSS-Req-11.5.
│ │ │ +0003b330: 202d 2050 4349 2d44 5353 7634 2d31 312e - PCI-DSSv4-11.
│ │ │ +0003b340: 352e 320a 2020 2d20 656e 6162 6c65 5f73 5.2. - enable_s
│ │ │ +0003b350: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +0003b360: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +0003b370: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +0003b380: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +0003b390: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +0003b3a0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +0003b3b0: 6765 5f61 6964 655f 696e 7374 616c 6c65 ge_aide_installe
│ │ │ +0003b3c0: 640a 0a2d 206e 616d 653a 2045 6e73 7572 d..- name: Ensur
│ │ │ +0003b3d0: 6520 6169 6465 2069 7320 696e 7374 616c e aide is instal
│ │ │ +0003b3e0: 6c65 640a 2020 616e 7369 626c 652e 6275 led. ansible.bu
│ │ │ +0003b3f0: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ +0003b400: 2020 206e 616d 653a 2061 6964 650a 2020 name: aide.
│ │ │ +0003b410: 2020 7374 6174 653a 2070 7265 7365 6e74 state: present
│ │ │ +0003b420: 0a20 2077 6865 6e3a 2027 226c 696e 7578 . when: '"linux
│ │ │ +0003b430: 2d62 6173 6522 2069 6e20 616e 7369 626c -base" in ansibl
│ │ │ +0003b440: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ +0003b450: 270a 2020 7461 6773 3a0a 2020 2d20 434a '. tags:. - CJ
│ │ │ +0003b460: 4953 2d35 2e31 302e 312e 330a 2020 2d20 IS-5.10.1.3. -
│ │ │ +0003b470: 4449 5341 2d53 5449 472d 5542 5455 2d32 DISA-STIG-UBTU-2
│ │ │ +0003b480: 322d 3635 3130 3130 0a20 202d 204e 4953 2-651010. - NIS
│ │ │ +0003b490: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +0003b4a0: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ +0003b4b0: 2d31 312e 350a 2020 2d20 5043 492d 4453 -11.5. - PCI-DS
│ │ │ +0003b4c0: 5376 342d 3131 2e35 2e32 0a20 202d 2065 Sv4-11.5.2. - e
│ │ │ +0003b4d0: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ +0003b4e0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +0003b4f0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +0003b500: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ +0003b510: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +0003b520: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +0003b530: 2d20 7061 636b 6167 655f 6169 6465 5f69 - package_aide_i
│ │ │ +0003b540: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e nstalled.
│ │ │ +0003b550: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remediati
│ │ │ +0003b600: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +0003b610: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
Complexity:
│ │ │ +0003b6a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +0003b6c0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +0003b6e0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +0003b6f0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +0003b710: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +0003b720: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +0003b730: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f include insta
│ │ │ +0003b750: 6c6c 5f61 6964 650a 0a63 6c61 7373 2069 ll_aide..class i
│ │ │ +0003b760: 6e73 7461 6c6c 5f61 6964 6520 7b0a 2020 nstall_aide {.
│ │ │ +0003b770: 7061 636b 6167 6520 7b20 2761 6964 6527 package { 'aide'
│ │ │ +0003b780: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ +0003b790: 743b 2027 696e 7374 616c 6c65 6427 2c0a t; 'installed',.
│ │ │ +0003b7a0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediation
│ │ │ +0003b860: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri
│ │ │ +0003b870: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
│ │ │ +0003b880: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +0003b8c0: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61 .[[packages]].na
│ │ │ +0003b8d0: 6d65 203d 2022 6169 6465 220a 7665 7273 me = "aide".vers
│ │ │ +0003b8e0: 696f 6e20 3d20 222a 220a 3c2f 636f 6465 ion = "*".
R
│ │ │ -000434e0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -000434f0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Co
│ │ │ -00043580: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -000435a0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -000435b0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -000435c0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000435d0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -000435e0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -000435f0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -00043600: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -00043610: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ -00043630: 636c 7564 6520 7265 6d6f 7665 5f70 7265 clude remove_pre
│ │ │ -00043640: 6c69 6e6b 0a0a 636c 6173 7320 7265 6d6f link..class remo
│ │ │ -00043650: 7665 5f70 7265 6c69 6e6b 207b 0a20 2070 ve_prelink {. p
│ │ │ -00043660: 6163 6b61 6765 207b 2027 7072 656c 696e ackage { 'prelin
│ │ │ -00043670: 6b27 3a0a 2020 2020 656e 7375 7265 203d k':. ensure =
│ │ │ -00043680: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ -00043690: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.Remediation
│ │ │ -00043750: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -00043760: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -000437e0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -000437f0: 2f74 683e 3c74 643e 6d65 6469 756d 3c2f /th> medium
│ │ │ -00043800: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00043810: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -00043820: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -00043840: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -00043850: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00043860: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -00043880: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -00043890: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4368 - name: Ch
│ │ │ -000438a0: 6563 6b20 4966 2050 7265 6c69 6e6b 6564 eck If Prelinked
│ │ │ -000438b0: 2049 7320 496e 7374 616c 6c65 640a 2020 Is Installed.
│ │ │ -000438c0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -000438d0: 7374 6174 3a0a 2020 2020 7061 7468 3a20 stat:. path:
│ │ │ -000438e0: 2f75 7372 2f73 6269 6e2f 7072 656c 696e /usr/sbin/prelin
│ │ │ -000438f0: 6b0a 2020 2020 6765 745f 6368 6563 6b73 k. get_checks
│ │ │ -00043900: 756d 3a20 6661 6c73 650a 2020 7265 6769 um: false. regi
│ │ │ -00043910: 7374 6572 3a20 7072 656c 696e 6b0a 2020 ster: prelink.
│ │ │ -00043920: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl
│ │ │ -00043930: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -00043940: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ -00043950: 2d20 6d65 6469 756d 5f63 6f6d 706c 6578 - medium_complex
│ │ │ -00043960: 6974 790a 2020 2d20 6d65 6469 756d 5f73 ity. - medium_s
│ │ │ -00043970: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -00043980: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -00043990: 2070 6163 6b61 6765 5f70 7265 6c69 6e6b package_prelink
│ │ │ -000439a0: 5f72 656d 6f76 6564 0a0a 2d20 6e61 6d65 _removed..- name
│ │ │ -000439b0: 3a20 5265 7374 6f72 6520 5072 656c 696e : Restore Prelin
│ │ │ -000439c0: 6b65 6420 4269 6e61 7269 6573 0a20 2061 ked Binaries. a
│ │ │ -000439d0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63 nsible.builtin.c
│ │ │ -000439e0: 6f6d 6d61 6e64 3a0a 2020 2020 636d 643a ommand:. cmd:
│ │ │ -000439f0: 2070 7265 6c69 6e6b 202d 7561 0a20 2077 prelink -ua. w
│ │ │ -00043a00: 6865 6e3a 2070 7265 6c69 6e6b 2e73 7461 hen: prelink.sta
│ │ │ -00043a10: 742e 6578 6973 7473 0a20 2074 6167 733a t.exists. tags:
│ │ │ -00043a20: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ -00043a30: 6174 6567 790a 2020 2d20 6c6f 775f 6469 ategy. - low_di
│ │ │ -00043a40: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ -00043a50: 6975 6d5f 636f 6d70 6c65 7869 7479 0a20 ium_complexity.
│ │ │ -00043a60: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -00043a70: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -00043a80: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -00043a90: 6167 655f 7072 656c 696e 6b5f 7265 6d6f age_prelink_remo
│ │ │ -00043aa0: 7665 640a 0a2d 206e 616d 653a 2045 6e73 ved..- name: Ens
│ │ │ -00043ab0: 7572 6520 7072 656c 696e 6b20 6973 2052 ure prelink is R
│ │ │ -00043ac0: 656d 6f76 6564 0a20 2061 6e73 6962 6c65 emoved. ansible
│ │ │ -00043ad0: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ -00043ae0: 3a0a 2020 2020 6e61 6d65 3a20 7072 656c :. name: prel
│ │ │ -00043af0: 696e 6b0a 2020 2020 7374 6174 653a 2061 ink. state: a
│ │ │ -00043b00: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:.
│ │ │ -00043b10: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ -00043b20: 6779 0a20 202d 206c 6f77 5f64 6973 7275 gy. - low_disru
│ │ │ -00043b30: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -00043b40: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -00043b50: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -00043b60: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -00043b70: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -00043b80: 5f70 7265 6c69 6e6b 5f72 656d 6f76 6564 _prelink_removed
│ │ │ +000434e0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ +000434f0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ +00043500: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
C
│ │ │ +00043580: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +00043590: 7464 3e6d 6564 6975 6d3c 2f74 643e 3c2f td>medium
│ │ │ +000435a0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +000435b0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +000435c0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +000435d0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +000435e0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +000435f0: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +00043600: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ +00043610: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +00043620: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: Check I
│ │ │ +00043640: 6620 5072 656c 696e 6b65 6420 4973 2049 f Prelinked Is I
│ │ │ +00043650: 6e73 7461 6c6c 6564 0a20 2061 6e73 6962 nstalled. ansib
│ │ │ +00043660: 6c65 2e62 7569 6c74 696e 2e73 7461 743a le.builtin.stat:
│ │ │ +00043670: 0a20 2020 2070 6174 683a 202f 7573 722f . path: /usr/
│ │ │ +00043680: 7362 696e 2f70 7265 6c69 6e6b 0a20 2020 sbin/prelink.
│ │ │ +00043690: 2067 6574 5f63 6865 636b 7375 6d3a 2066 get_checksum: f
│ │ │ +000436a0: 616c 7365 0a20 2072 6567 6973 7465 723a alse. register:
│ │ │ +000436b0: 2070 7265 6c69 6e6b 0a20 2074 6167 733a prelink. tags:
│ │ │ +000436c0: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +000436d0: 6174 6567 790a 2020 2d20 6c6f 775f 6469 ategy. - low_di
│ │ │ +000436e0: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +000436f0: 6975 6d5f 636f 6d70 6c65 7869 7479 0a20 ium_complexity.
│ │ │ +00043700: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +00043710: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +00043720: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ +00043730: 6167 655f 7072 656c 696e 6b5f 7265 6d6f age_prelink_remo
│ │ │ +00043740: 7665 640a 0a2d 206e 616d 653a 2052 6573 ved..- name: Res
│ │ │ +00043750: 746f 7265 2050 7265 6c69 6e6b 6564 2042 tore Prelinked B
│ │ │ +00043760: 696e 6172 6965 730a 2020 616e 7369 626c inaries. ansibl
│ │ │ +00043770: 652e 6275 696c 7469 6e2e 636f 6d6d 616e e.builtin.comman
│ │ │ +00043780: 643a 0a20 2020 2063 6d64 3a20 7072 656c d:. cmd: prel
│ │ │ +00043790: 696e 6b20 2d75 610a 2020 7768 656e 3a20 ink -ua. when:
│ │ │ +000437a0: 7072 656c 696e 6b2e 7374 6174 2e65 7869 prelink.stat.exi
│ │ │ +000437b0: 7374 730a 2020 7461 6773 3a0a 2020 2d20 sts. tags:. -
│ │ │ +000437c0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ +000437d0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +000437e0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f63 ion. - medium_c
│ │ │ +000437f0: 6f6d 706c 6578 6974 790a 2020 2d20 6d65 omplexity. - me
│ │ │ +00043800: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +00043810: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +00043820: 6564 0a20 202d 2070 6163 6b61 6765 5f70 ed. - package_p
│ │ │ +00043830: 7265 6c69 6e6b 5f72 656d 6f76 6564 0a0a relink_removed..
│ │ │ +00043840: 2d20 6e61 6d65 3a20 456e 7375 7265 2070 - name: Ensure p
│ │ │ +00043850: 7265 6c69 6e6b 2069 7320 5265 6d6f 7665 relink is Remove
│ │ │ +00043860: 640a 2020 616e 7369 626c 652e 6275 696c d. ansible.buil
│ │ │ +00043870: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ +00043880: 206e 616d 653a 2070 7265 6c69 6e6b 0a20 name: prelink.
│ │ │ +00043890: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ +000438a0: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ +000438b0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +000438c0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ +000438d0: 0a20 202d 206d 6564 6975 6d5f 636f 6d70 . - medium_comp
│ │ │ +000438e0: 6c65 7869 7479 0a20 202d 206d 6564 6975 lexity. - mediu
│ │ │ +000438f0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +00043900: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +00043910: 2020 2d20 7061 636b 6167 655f 7072 656c - package_prel
│ │ │ +00043920: 696e 6b5f 7265 6d6f 7665 640a 3c2f 636f ink_removed.
<
│ │ │ +00043940: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +00043950: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +00043960: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +00043970: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +00043980: 6432 3322 2074 6162 696e 6465 783d 2230 d23" tabindex="0
│ │ │ +00043990: 2220 726f 6c65 3d22 6275 7474 6f6e 2220 " role="button"
│ │ │ +000439a0: 6172 6961 2d65 7870 616e 6465 643d 2266 aria-expanded="f
│ │ │ +000439b0: 616c 7365 2220 7469 746c 653d 2241 6374 alse" title="Act
│ │ │ +000439c0: 6976 6174 6520 746f 2072 6576 6561 6c22 ivate to reveal"
│ │ │ +000439d0: 2068 7265 663d 2223 2122 3e52 656d 6564 href="#!">Remed
│ │ │ +000439e0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ +000439f0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
│ │ │ +00043a30: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +00043a80: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +00043a90: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00043aa0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +00043ab0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +00043ac0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +00043ad0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +00043ae0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +00043af0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ +00043b30: 6520 7265 6d6f 7665 5f70 7265 6c69 6e6b e remove_prelink
│ │ │ +00043b40: 0a0a 636c 6173 7320 7265 6d6f 7665 5f70 ..class remove_p
│ │ │ +00043b50: 7265 6c69 6e6b 207b 0a20 2070 6163 6b61 relink {. packa
│ │ │ +00043b60: 6765 207b 2027 7072 656c 696e 6b27 3a0a ge { 'prelink':.
│ │ │ +00043b70: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ +00043b80: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.}
│ │ │ 00043b90: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 00043ba0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>R
│ │ │ -000516d0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui
│ │ │ -000516e0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni
│ │ │ -000516f0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00051700: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
<
│ │ │ -00051730: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac
│ │ │ -00051740: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = "
│ │ │ -00051750: 7375 646f 220a 7665 7273 696f 6e20 3d20 sudo".version =
│ │ │ -00051760: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".Remediation P
│ │ │ -00051820: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -00051830: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: low
│ │ │ -000518d0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -000518e0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -000518f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00051900: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -00051910: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -00051920: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -00051930: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ -00051940: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -00051960: 696e 636c 7564 6520 696e 7374 616c 6c5f include install_
│ │ │ -00051970: 7375 646f 0a0a 636c 6173 7320 696e 7374 sudo..class inst
│ │ │ -00051980: 616c 6c5f 7375 646f 207b 0a20 2070 6163 all_sudo {. pac
│ │ │ -00051990: 6b61 6765 207b 2027 7375 646f 273a 0a20 kage { 'sudo':.
│ │ │ -000519a0: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -000519b0: 2769 6e73 7461 6c6c 6564 272c 0a20 207d 'installed',. }
│ │ │ -000519c0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -000519d0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation An
│ │ │ -00051a80: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -00051a90: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: low
│ │ │ -00051b30: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -00051b40: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -00051b50: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00051b60: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -00051b70: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -00051b80: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -00051b90: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ -00051ba0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -00051bc0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ -00051bd0: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ -00051be0: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ -00051bf0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ -00051c00: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ -00051c10: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ -00051c20: 2861 290a 2020 2d20 5043 492d 4453 5376 (a). - PCI-DSSv
│ │ │ -00051c30: 342d 322e 320a 2020 2d20 5043 492d 4453 4-2.2. - PCI-DS
│ │ │ -00051c40: 5376 342d 322e 322e 360a 2020 2d20 656e Sv4-2.2.6. - en
│ │ │ -00051c50: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -00051c60: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -00051c70: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -00051c80: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ -00051c90: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -00051ca0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -00051cb0: 2070 6163 6b61 6765 5f73 7564 6f5f 696e package_sudo_in
│ │ │ -00051cc0: 7374 616c 6c65 640a 0a2d 206e 616d 653a stalled..- name:
│ │ │ -00051cd0: 2045 6e73 7572 6520 7375 646f 2069 7320 Ensure sudo is
│ │ │ -00051ce0: 696e 7374 616c 6c65 640a 2020 616e 7369 installed. ansi
│ │ │ -00051cf0: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ -00051d00: 6167 653a 0a20 2020 206e 616d 653a 2073 age:. name: s
│ │ │ -00051d10: 7564 6f0a 2020 2020 7374 6174 653a 2070 udo. state: p
│ │ │ -00051d20: 7265 7365 6e74 0a20 2077 6865 6e3a 2027 resent. when: '
│ │ │ -00051d30: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ -00051d40: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -00051d50: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:.
│ │ │ -00051d60: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -00051d70: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ -00051d80: 4453 5376 342d 322e 320a 2020 2d20 5043 DSSv4-2.2. - PC
│ │ │ -00051d90: 492d 4453 5376 342d 322e 322e 360a 2020 I-DSSv4-2.2.6.
│ │ │ -00051da0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ -00051db0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -00051dc0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -00051dd0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ -00051de0: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ -00051df0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -00051e00: 0a20 202d 2070 6163 6b61 6765 5f73 7564 . - package_sud
│ │ │ -00051e10: 6f5f 696e 7374 616c 6c65 640a 3c2f 636f o_installed.
C
│ │ │ +00051770: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +00051780: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +00051790: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +000517a0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +000517b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +000517e0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +000517f0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ +00051800: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +00051820: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +00051830: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +00051840: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ +00051850: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ +00051860: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ +00051870: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +00051880: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ +00051890: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ +000518a0: 2d32 2e32 2e36 0a20 202d 2065 6e61 626c -2.2.6. - enabl
│ │ │ +000518b0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ +000518c0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ +000518d0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ +000518e0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ +000518f0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ +00051900: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ +00051910: 636b 6167 655f 7375 646f 5f69 6e73 7461 ckage_sudo_insta
│ │ │ +00051920: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e lled..- name: En
│ │ │ +00051930: 7375 7265 2073 7564 6f20 6973 2069 6e73 sure sudo is ins
│ │ │ +00051940: 7461 6c6c 6564 0a20 2061 6e73 6962 6c65 talled. ansible
│ │ │ +00051950: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +00051960: 3a0a 2020 2020 6e61 6d65 3a20 7375 646f :. name: sudo
│ │ │ +00051970: 0a20 2020 2073 7461 7465 3a20 7072 6573 . state: pres
│ │ │ +00051980: 656e 740a 2020 7768 656e 3a20 2722 6c69 ent. when: '"li
│ │ │ +00051990: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ +000519a0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ +000519b0: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ +000519c0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +000519d0: 3628 6129 0a20 202d 2050 4349 2d44 5353 6(a). - PCI-DSS
│ │ │ +000519e0: 7634 2d32 2e32 0a20 202d 2050 4349 2d44 v4-2.2. - PCI-D
│ │ │ +000519f0: 5353 7634 2d32 2e32 2e36 0a20 202d 2065 SSv4-2.2.6. - e
│ │ │ +00051a00: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ +00051a10: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +00051a20: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +00051a30: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ +00051a40: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +00051a50: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +00051a60: 2d20 7061 636b 6167 655f 7375 646f 5f69 - package_sudo_i
│ │ │ +00051a70: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e nstalled.
│ │ │ +00051a80: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remediat
│ │ │ +00051b30: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ +00051b40: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
<
│ │ │ +00051bc0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +00051bd0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +00051be0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00051bf0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +00051c00: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +00051c20: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +00051c30: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00051c40: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +00051c70: 636f 6465 3e69 6e63 6c75 6465 2069 6e73 code>include ins
│ │ │ +00051c80: 7461 6c6c 5f73 7564 6f0a 0a63 6c61 7373 tall_sudo..class
│ │ │ +00051c90: 2069 6e73 7461 6c6c 5f73 7564 6f20 7b0a install_sudo {.
│ │ │ +00051ca0: 2020 7061 636b 6167 6520 7b20 2773 7564 package { 'sud
│ │ │ +00051cb0: 6f27 3a0a 2020 2020 656e 7375 7265 203d o':. ensure =
│ │ │ +00051cc0: 2667 743b 2027 696e 7374 616c 6c65 6427 > 'installed'
│ │ │ +00051cd0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ +00051ce0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediati
│ │ │ +00051d90: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ +00051da0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ +00051db0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[[packages]].
│ │ │ +00051e00: 6e61 6d65 203d 2022 7375 646f 220a 7665 name = "sudo".ve
│ │ │ +00051e10: 7273 696f 6e20 3d20 222a 220a 3c2f 636f rsion = "*".
<
│ │ │ 00051e30: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ 00051e40: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ 00051e50: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ 00051e60: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ 00051e70: 6434 3222 2074 6162 696e 6465 783d 2230 d42" tabindex="0
│ │ │ 00051e80: 2220 726f 6c65 3d22 6275 7474 6f6e 2220 " role="button"
│ │ │ @@ -35896,133 +35896,133 @@
│ │ │ 0008c370: 6c6c 6170 7365 2220 6461 7461 2d74 6172 llapse" data-tar
│ │ │ 0008c380: 6765 743d 2223 6964 3132 3522 2074 6162 get="#id125" tab
│ │ │ 0008c390: 696e 6465 783d 2230 2220 726f 6c65 3d22 index="0" role="
│ │ │ 0008c3a0: 6275 7474 6f6e 2220 6172 6961 2d65 7870 button" aria-exp
│ │ │ 0008c3b0: 616e 6465 643d 2266 616c 7365 2220 7469 anded="false" ti
│ │ │ 0008c3c0: 746c 653d 2241 6374 6976 6174 6520 746f tle="Activate to
│ │ │ 0008c3d0: 2072 6576 6561 6c22 2068 7265 663d 2223 reveal" href="#
│ │ │ -0008c3e0: 2122 3e52 656d 6564 6961 7469 6f6e 204f !">Remediation O
│ │ │ -0008c3f0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint
│ │ │ -0008c400: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -0008c410: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.
│ │ │ -0008c450: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d [[packages]].nam
│ │ │ -0008c460: 6520 3d20 226c 6962 7061 6d2d 7077 7175 e = "libpam-pwqu
│ │ │ -0008c470: 616c 6974 7922 0a76 6572 7369 6f6e 203d ality".version =
│ │ │ -0008c480: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
Remediation
│ │ │ -0008c540: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -0008c550: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -0008c5e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -0008c600: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -0008c620: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -0008c630: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -0008c650: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -0008c660: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -0008c670: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -0008c690: 6c6c 5f6c 6962 7061 6d2d 7077 7175 616c ll_libpam-pwqual
│ │ │ -0008c6a0: 6974 790a 0a63 6c61 7373 2069 6e73 7461 ity..class insta
│ │ │ -0008c6b0: 6c6c 5f6c 6962 7061 6d2d 7077 7175 616c ll_libpam-pwqual
│ │ │ -0008c6c0: 6974 7920 7b0a 2020 7061 636b 6167 6520 ity {. package
│ │ │ -0008c6d0: 7b20 276c 6962 7061 6d2d 7077 7175 616c { 'libpam-pwqual
│ │ │ -0008c6e0: 6974 7927 3a0a 2020 2020 656e 7375 7265 ity':. ensure
│ │ │ -0008c6f0: 203d 2667 743b 2027 696e 7374 616c 6c65 => 'installe
│ │ │ -0008c700: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remedi
│ │ │ -0008c7c0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ -0008c7d0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -0008c860: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -0008c870: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -0008c880: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -0008c890: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -0008c8a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -0008c8b0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -0008c8c0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -0008c8d0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
- name:
│ │ │ -0008c910: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ -0008c920: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ -0008c930: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ -0008c940: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ -0008c950: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ -0008c960: 4947 2d55 4254 552d 3232 2d32 3135 3031 IG-UBTU-22-21501
│ │ │ -0008c970: 300a 2020 2d20 656e 6162 6c65 5f73 7472 0. - enable_str
│ │ │ -0008c980: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -0008c990: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -0008c9a0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -0008c9b0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -0008c9c0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -0008c9d0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -0008c9e0: 5f70 616d 5f70 7771 7561 6c69 7479 5f69 _pam_pwquality_i
│ │ │ -0008c9f0: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65 nstalled..- name
│ │ │ -0008ca00: 3a20 456e 7375 7265 206c 6962 7061 6d2d : Ensure libpam-
│ │ │ -0008ca10: 7077 7175 616c 6974 7920 6973 2069 6e73 pwquality is ins
│ │ │ -0008ca20: 7461 6c6c 6564 0a20 2061 6e73 6962 6c65 talled. ansible
│ │ │ -0008ca30: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ -0008ca40: 3a0a 2020 2020 6e61 6d65 3a20 6c69 6270 :. name: libp
│ │ │ -0008ca50: 616d 2d70 7771 7561 6c69 7479 0a20 2020 am-pwquality.
│ │ │ -0008ca60: 2073 7461 7465 3a20 7072 6573 656e 740a state: present.
│ │ │ -0008ca70: 2020 7768 656e 3a20 2722 6c69 6270 616d when: '"libpam
│ │ │ -0008ca80: 2d72 756e 7469 6d65 2220 696e 2061 6e73 -runtime" in ans
│ │ │ -0008ca90: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -0008caa0: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ -0008cab0: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU-
│ │ │ -0008cac0: 3232 2d32 3135 3031 300a 2020 2d20 656e 22-215010. - en
│ │ │ -0008cad0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -0008cae0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -0008caf0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -0008cb00: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ -0008cb10: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -0008cb20: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -0008cb30: 2070 6163 6b61 6765 5f70 616d 5f70 7771 package_pam_pwq
│ │ │ -0008cb40: 7561 6c69 7479 5f69 6e73 7461 6c6c 6564 uality_installed
│ │ │ +0008c3e0: 2122 3e52 656d 6564 6961 7469 6f6e 2041 !">Remediation A
│ │ │ +0008c3f0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +0008c400: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +0008c480: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +0008c490: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +0008c4a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +0008c4b0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +0008c4f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +0008c500: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ +0008c510: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ +0008c520: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ +0008c540: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ +0008c550: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ +0008c560: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ +0008c570: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ +0008c580: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU
│ │ │ +0008c590: 2d32 322d 3231 3530 3130 0a20 202d 2065 -22-215010. - e
│ │ │ +0008c5a0: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ +0008c5b0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +0008c5c0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +0008c5d0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ +0008c5e0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +0008c5f0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +0008c600: 2d20 7061 636b 6167 655f 7061 6d5f 7077 - package_pam_pw
│ │ │ +0008c610: 7175 616c 6974 795f 696e 7374 616c 6c65 quality_installe
│ │ │ +0008c620: 640a 0a2d 206e 616d 653a 2045 6e73 7572 d..- name: Ensur
│ │ │ +0008c630: 6520 6c69 6270 616d 2d70 7771 7561 6c69 e libpam-pwquali
│ │ │ +0008c640: 7479 2069 7320 696e 7374 616c 6c65 640a ty is installed.
│ │ │ +0008c650: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +0008c660: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ +0008c670: 616d 653a 206c 6962 7061 6d2d 7077 7175 ame: libpam-pwqu
│ │ │ +0008c680: 616c 6974 790a 2020 2020 7374 6174 653a ality. state:
│ │ │ +0008c690: 2070 7265 7365 6e74 0a20 2077 6865 6e3a present. when:
│ │ │ +0008c6a0: 2027 226c 6962 7061 6d2d 7275 6e74 696d '"libpam-runtim
│ │ │ +0008c6b0: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ +0008c6c0: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ +0008c6d0: 7461 6773 3a0a 2020 2d20 4449 5341 2d53 tags:. - DISA-S
│ │ │ +0008c6e0: 5449 472d 5542 5455 2d32 322d 3231 3530 TIG-UBTU-22-2150
│ │ │ +0008c6f0: 3130 0a20 202d 2065 6e61 626c 655f 7374 10. - enable_st
│ │ │ +0008c700: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +0008c710: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +0008c720: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +0008c730: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +0008c740: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +0008c750: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ +0008c760: 655f 7061 6d5f 7077 7175 616c 6974 795f e_pam_pwquality_
│ │ │ +0008c770: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.
Remedi
│ │ │ +0008c830: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +0008c840: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0008c850: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +0008c880: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +0008c8d0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +0008c8e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +0008c8f0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +0008c900: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +0008c910: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +0008c920: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +0008c930: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +0008c940: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ +0008c960: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ +0008c980: 696e 7374 616c 6c5f 6c69 6270 616d 2d70 install_libpam-p
│ │ │ +0008c990: 7771 7561 6c69 7479 0a0a 636c 6173 7320 wquality..class
│ │ │ +0008c9a0: 696e 7374 616c 6c5f 6c69 6270 616d 2d70 install_libpam-p
│ │ │ +0008c9b0: 7771 7561 6c69 7479 207b 0a20 2070 6163 wquality {. pac
│ │ │ +0008c9c0: 6b61 6765 207b 2027 6c69 6270 616d 2d70 kage { 'libpam-p
│ │ │ +0008c9d0: 7771 7561 6c69 7479 273a 0a20 2020 2065 wquality':. e
│ │ │ +0008c9e0: 6e73 7572 6520 3d26 6774 3b20 2769 6e73 nsure => 'ins
│ │ │ +0008c9f0: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c talled',. }.}.<
│ │ │ +0008ca00: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>R
│ │ │ +0008cab0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui
│ │ │ +0008cac0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni
│ │ │ +0008cad0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0008cae0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +0008cb10: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061 .[[pa
│ │ │ +0008cb20: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20 ckages]].name =
│ │ │ +0008cb30: 226c 6962 7061 6d2d 7077 7175 616c 6974 "libpam-pwqualit
│ │ │ +0008cb40: 7922 0a76 6572 7369 6f6e 203d 2022 2a22 y".version = "*"
│ │ │ 0008cb50: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 0008cb60: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remedi
│ │ │ -000bc7e0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ -000bc7f0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ -000bc800: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -000bc840: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765 .[[package
│ │ │ -000bc850: 735d 5d0a 6e61 6d65 203d 2022 6170 7061 s]].name = "appa
│ │ │ -000bc860: 726d 6f72 220a 7665 7273 696f 6e20 3d20 rmor".version =
│ │ │ -000bc870: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".
Remediation
│ │ │ -000bc930: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ -000bc940: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -000bc9c0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -000bc9d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -000bc9e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -000bc9f0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -000bca30: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -000bca40: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ -000bca50: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ -000bca60: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include instal
│ │ │ -000bca80: 6c5f 6170 7061 726d 6f72 0a0a 636c 6173 l_apparmor..clas
│ │ │ -000bca90: 7320 696e 7374 616c 6c5f 6170 7061 726d s install_apparm
│ │ │ -000bcaa0: 6f72 207b 0a20 2070 6163 6b61 6765 207b or {. package {
│ │ │ -000bcab0: 2027 6170 7061 726d 6f72 273a 0a20 2020 'apparmor':.
│ │ │ -000bcac0: 2065 6e73 7572 6520 3d26 6774 3b20 2769 ensure => 'i
│ │ │ -000bcad0: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d nstalled',. }.}
│ │ │ -000bcae0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ -000bcaf0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Ans
│ │ │ -000bcba0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ -000bcbb0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -000bcc50: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -000bcc60: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -000bcc70: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -000bcc80: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -000bcc90: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -000bcca0: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -000bccb0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ -000bccc0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -000bcce0: 2d20 6e61 6d65 3a20 456e 7375 7265 2061 - name: Ensure a
│ │ │ -000bccf0: 7070 6172 6d6f 7220 6973 2069 6e73 7461 pparmor is insta
│ │ │ -000bcd00: 6c6c 6564 0a20 2061 6e73 6962 6c65 2e62 lled. ansible.b
│ │ │ -000bcd10: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ -000bcd20: 2020 2020 6e61 6d65 3a20 6170 7061 726d name: apparm
│ │ │ -000bcd30: 6f72 0a20 2020 2073 7461 7465 3a20 7072 or. state: pr
│ │ │ -000bcd40: 6573 656e 740a 2020 7768 656e 3a20 616e esent. when: an
│ │ │ -000bcd50: 7369 626c 655f 7669 7274 7561 6c69 7a61 sible_virtualiza
│ │ │ -000bcd60: 7469 6f6e 5f74 7970 6520 6e6f 7420 696e tion_type not in
│ │ │ -000bcd70: 205b 2264 6f63 6b65 7222 2c20 226c 7863 ["docker", "lxc
│ │ │ -000bcd80: 222c 2022 6f70 656e 767a 222c 2022 706f ", "openvz", "po
│ │ │ -000bcd90: 646d 616e 222c 2022 636f 6e74 6169 6e65 dman", "containe
│ │ │ -000bcda0: 7222 5d0a 2020 7461 6773 3a0a 2020 2d20 r"]. tags:. -
│ │ │ -000bcdb0: 4449 5341 2d53 5449 472d 5542 5455 2d32 DISA-STIG-UBTU-2
│ │ │ -000bcdc0: 322d 3433 3130 3130 0a20 202d 2065 6e61 2-431010. - ena
│ │ │ -000bcdd0: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -000bcde0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -000bcdf0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -000bce00: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -000bce10: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -000bce20: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -000bce30: 7061 636b 6167 655f 6170 7061 726d 6f72 package_apparmor
│ │ │ -000bce40: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64 _installed.
Compl
│ │ │ +000bc880: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +000bc890: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +000bc8a0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +000bc8b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +000bc8c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +000bc8d0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +000bc8e0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +000bc8f0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
- name:
│ │ │ +000bc930: 2045 6e73 7572 6520 6170 7061 726d 6f72 Ensure apparmor
│ │ │ +000bc940: 2069 7320 696e 7374 616c 6c65 640a 2020 is installed.
│ │ │ +000bc950: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +000bc960: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +000bc970: 653a 2061 7070 6172 6d6f 720a 2020 2020 e: apparmor.
│ │ │ +000bc980: 7374 6174 653a 2070 7265 7365 6e74 0a20 state: present.
│ │ │ +000bc990: 2077 6865 6e3a 2061 6e73 6962 6c65 5f76 when: ansible_v
│ │ │ +000bc9a0: 6972 7475 616c 697a 6174 696f 6e5f 7479 irtualization_ty
│ │ │ +000bc9b0: 7065 206e 6f74 2069 6e20 5b22 646f 636b pe not in ["dock
│ │ │ +000bc9c0: 6572 222c 2022 6c78 6322 2c20 226f 7065 er", "lxc", "ope
│ │ │ +000bc9d0: 6e76 7a22 2c20 2270 6f64 6d61 6e22 2c20 nvz", "podman",
│ │ │ +000bc9e0: 2263 6f6e 7461 696e 6572 225d 0a20 2074 "container"]. t
│ │ │ +000bc9f0: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ +000bca00: 4947 2d55 4254 552d 3232 2d34 3331 3031 IG-UBTU-22-43101
│ │ │ +000bca10: 300a 2020 2d20 656e 6162 6c65 5f73 7472 0. - enable_str
│ │ │ +000bca20: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +000bca30: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +000bca40: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +000bca50: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +000bca60: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +000bca70: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +000bca80: 5f61 7070 6172 6d6f 725f 696e 7374 616c _apparmor_instal
│ │ │ +000bca90: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
Remediation
│ │ │ +000bcb50: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ +000bcb60: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +000bcbe0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +000bcbf0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +000bcc00: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +000bcc10: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +000bcc50: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +000bcc60: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ +000bcc70: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ +000bcc80: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include instal
│ │ │ +000bcca0: 6c5f 6170 7061 726d 6f72 0a0a 636c 6173 l_apparmor..clas
│ │ │ +000bccb0: 7320 696e 7374 616c 6c5f 6170 7061 726d s install_apparm
│ │ │ +000bccc0: 6f72 207b 0a20 2070 6163 6b61 6765 207b or {. package {
│ │ │ +000bccd0: 2027 6170 7061 726d 6f72 273a 0a20 2020 'apparmor':.
│ │ │ +000bcce0: 2065 6e73 7572 6520 3d26 6774 3b20 2769 ensure => 'i
│ │ │ +000bccf0: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d nstalled',. }.}
│ │ │ +000bcd00: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +000bcd10: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation OSB
│ │ │ +000bcdc0: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ +000bcdd0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ....[[
│ │ │ +000bce20: 7061 636b 6167 6573 5d5d 0a6e 616d 6520 packages]].name
│ │ │ +000bce30: 3d20 2261 7070 6172 6d6f 7222 0a76 6572 = "apparmor".ver
│ │ │ +000bce40: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64 sion = "*".
Rem
│ │ │ -000c7d90: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ -000c7da0: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ -000c7db0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[[pack
│ │ │ -000c7e00: 6167 6573 5d5d 0a6e 616d 6520 3d20 2273 ages]].name = "s
│ │ │ -000c7e10: 7973 7465 6d64 2d6a 6f75 726e 616c 2d72 ystemd-journal-r
│ │ │ -000c7e20: 656d 6f74 6522 0a76 6572 7369 6f6e 203d emote".version =
│ │ │ -000c7e30: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".Remediation
│ │ │ -000c7ef0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -000c7f00: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -000c7f90: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -000c7fb0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -000c7fd0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -000c7fe0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -000c8000: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -000c8010: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -000c8020: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -000c8040: 6c6c 5f73 7973 7465 6d64 2d6a 6f75 726e ll_systemd-journ
│ │ │ -000c8050: 616c 2d72 656d 6f74 650a 0a63 6c61 7373 al-remote..class
│ │ │ -000c8060: 2069 6e73 7461 6c6c 5f73 7973 7465 6d64 install_systemd
│ │ │ -000c8070: 2d6a 6f75 726e 616c 2d72 656d 6f74 6520 -journal-remote
│ │ │ -000c8080: 7b0a 2020 7061 636b 6167 6520 7b20 2773 {. package { 's
│ │ │ -000c8090: 7973 7465 6d64 2d6a 6f75 726e 616c 2d72 ystemd-journal-r
│ │ │ -000c80a0: 656d 6f74 6527 3a0a 2020 2020 656e 7375 emote':. ensu
│ │ │ -000c80b0: 7265 203d 2667 743b 2027 696e 7374 616c re => 'instal
│ │ │ -000c80c0: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f led',. }.}.
<
│ │ │ -000c80e0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -000c80f0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -000c8100: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -000c8110: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -000c8120: 6432 3237 2220 7461 6269 6e64 6578 3d22 d227" tabindex="
│ │ │ -000c8130: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -000c8140: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -000c8150: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -000c8160: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -000c8170: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -000c8180: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -000c8190: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -000c81a0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -000c8220: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -000c8250: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -000c8270: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -000c8280: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -000c82a0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ -000c82b0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -000c82c0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -000c82d0: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ -000c82e0: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ -000c82f0: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ -000c8300: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ -000c8310: 2074 6167 733a 0a20 202d 2065 6e61 626c tags:. - enabl
│ │ │ -000c8320: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -000c8330: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -000c8340: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -000c8350: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -000c8360: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -000c8370: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ -000c8380: 636b 6167 655f 7379 7374 656d 642d 6a6f ckage_systemd-jo
│ │ │ -000c8390: 7572 6e61 6c2d 7265 6d6f 7465 5f69 6e73 urnal-remote_ins
│ │ │ -000c83a0: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 talled..- name:
│ │ │ -000c83b0: 456e 7375 7265 2073 7973 7465 6d64 2d6a Ensure systemd-j
│ │ │ -000c83c0: 6f75 726e 616c 2d72 656d 6f74 6520 6973 ournal-remote is
│ │ │ -000c83d0: 2069 6e73 7461 6c6c 6564 0a20 2061 6e73 installed. ans
│ │ │ -000c83e0: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ -000c83f0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ -000c8400: 7379 7374 656d 642d 6a6f 7572 6e61 6c2d systemd-journal-
│ │ │ -000c8410: 7265 6d6f 7465 0a20 2020 2073 7461 7465 remote. state
│ │ │ -000c8420: 3a20 7072 6573 656e 740a 2020 7768 656e : present. when
│ │ │ -000c8430: 3a20 2722 6c69 6e75 782d 6261 7365 2220 : '"linux-base"
│ │ │ -000c8440: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ -000c8450: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag
│ │ │ -000c8460: 733a 0a20 202d 2065 6e61 626c 655f 7374 s:. - enable_st
│ │ │ -000c8470: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -000c8480: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -000c8490: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -000c84a0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ -000c84b0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -000c84c0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ -000c84d0: 655f 7379 7374 656d 642d 6a6f 7572 6e61 e_systemd-journa
│ │ │ -000c84e0: 6c2d 7265 6d6f 7465 5f69 6e73 7461 6c6c l-remote_install
│ │ │ -000c84f0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +000c7d90: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ +000c7da0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +000c7db0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +000c7e30: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +000c7e50: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +000c7e60: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +000c7e70: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000c7e80: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +000c7e90: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +000c7ea0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +000c7eb0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +000c7ec0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +000c7ee0: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +000c7ef0: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ +000c7f00: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ +000c7f10: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +000c7f20: 2020 7461 6773 3a0a 2020 2d20 656e 6162 tags:. - enab
│ │ │ +000c7f30: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +000c7f40: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +000c7f50: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +000c7f60: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ +000c7f70: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ +000c7f80: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +000c7f90: 6163 6b61 6765 5f73 7973 7465 6d64 2d6a ackage_systemd-j
│ │ │ +000c7fa0: 6f75 726e 616c 2d72 656d 6f74 655f 696e ournal-remote_in
│ │ │ +000c7fb0: 7374 616c 6c65 640a 0a2d 206e 616d 653a stalled..- name:
│ │ │ +000c7fc0: 2045 6e73 7572 6520 7379 7374 656d 642d Ensure systemd-
│ │ │ +000c7fd0: 6a6f 7572 6e61 6c2d 7265 6d6f 7465 2069 journal-remote i
│ │ │ +000c7fe0: 7320 696e 7374 616c 6c65 640a 2020 616e s installed. an
│ │ │ +000c7ff0: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +000c8000: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ +000c8010: 2073 7973 7465 6d64 2d6a 6f75 726e 616c systemd-journal
│ │ │ +000c8020: 2d72 656d 6f74 650a 2020 2020 7374 6174 -remote. stat
│ │ │ +000c8030: 653a 2070 7265 7365 6e74 0a20 2077 6865 e: present. whe
│ │ │ +000c8040: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ +000c8050: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +000c8060: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ +000c8070: 6773 3a0a 2020 2d20 656e 6162 6c65 5f73 gs:. - enable_s
│ │ │ +000c8080: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +000c8090: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +000c80a0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +000c80b0: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +000c80c0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +000c80d0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +000c80e0: 6765 5f73 7973 7465 6d64 2d6a 6f75 726e ge_systemd-journ
│ │ │ +000c80f0: 616c 2d72 656d 6f74 655f 696e 7374 616c al-remote_instal
│ │ │ +000c8100: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
Remediation
│ │ │ +000c81c0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ +000c81d0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +000c8250: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +000c8260: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +000c8270: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +000c8280: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +000c82c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +000c82d0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ +000c82e0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ +000c82f0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include instal
│ │ │ +000c8310: 6c5f 7379 7374 656d 642d 6a6f 7572 6e61 l_systemd-journa
│ │ │ +000c8320: 6c2d 7265 6d6f 7465 0a0a 636c 6173 7320 l-remote..class
│ │ │ +000c8330: 696e 7374 616c 6c5f 7379 7374 656d 642d install_systemd-
│ │ │ +000c8340: 6a6f 7572 6e61 6c2d 7265 6d6f 7465 207b journal-remote {
│ │ │ +000c8350: 0a20 2070 6163 6b61 6765 207b 2027 7379 . package { 'sy
│ │ │ +000c8360: 7374 656d 642d 6a6f 7572 6e61 6c2d 7265 stemd-journal-re
│ │ │ +000c8370: 6d6f 7465 273a 0a20 2020 2065 6e73 7572 mote':. ensur
│ │ │ +000c8380: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install
│ │ │ +000c8390: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ +000c8450: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ +000c8460: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ +000c8470: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[[packag
│ │ │ +000c84c0: 6573 5d5d 0a6e 616d 6520 3d20 2273 7973 es]].name = "sys
│ │ │ +000c84d0: 7465 6d64 2d6a 6f75 726e 616c 2d72 656d temd-journal-rem
│ │ │ +000c84e0: 6f74 6522 0a76 6572 7369 6f6e 203d 2022 ote".version = "
│ │ │ +000c84f0: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".
│ │ │ 000c8500: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation OS
│ │ │ -000c9240: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint
│ │ │ -000c9250: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -000c9260: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>.[
│ │ │ -000c92a0: 6375 7374 6f6d 697a 6174 696f 6e73 2e73 customizations.s
│ │ │ -000c92b0: 6572 7669 6365 735d 0a65 6e61 626c 6564 ervices].enabled
│ │ │ -000c92c0: 203d 205b 2273 7973 7465 6d64 2d6a 6f75 = ["systemd-jou
│ │ │ -000c92d0: 726e 616c 6422 5d0a 3c2f 636f 6465 3e3c rnald"].<
│ │ │ -000c92e0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ -000c9390: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -000c93a0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -000c9420: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -000c9430: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -000c9440: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -000c9480: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -000c9490: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -000c94b0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -000c94c0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -000c94d0: 3c63 6f64 653e 696e 636c 7564 6520 656e include en
│ │ │ -000c94e0: 6162 6c65 5f73 7973 7465 6d64 2d6a 6f75 able_systemd-jou
│ │ │ -000c94f0: 726e 616c 640a 0a63 6c61 7373 2065 6e61 rnald..class ena
│ │ │ -000c9500: 626c 655f 7379 7374 656d 642d 6a6f 7572 ble_systemd-jour
│ │ │ -000c9510: 6e61 6c64 207b 0a20 2073 6572 7669 6365 nald {. service
│ │ │ -000c9520: 207b 2773 7973 7465 6d64 2d6a 6f75 726e {'systemd-journ
│ │ │ -000c9530: 616c 6427 3a0a 2020 2020 656e 6162 6c65 ald':. enable
│ │ │ -000c9540: 203d 2667 743b 2074 7275 652c 0a20 2020 => true,.
│ │ │ -000c9550: 2065 6e73 7572 6520 3d26 6774 3b20 2772 ensure => 'r
│ │ │ -000c9560: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c unning',. }.}.<
│ │ │ -000c9570: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -000c9620: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -000c9630: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -000c9640: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -000c96c0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -000c96d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -000c96f0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -000c9700: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -000c9740: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ -000c9750: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ -000c9770: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the
│ │ │ -000c9780: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts.
│ │ │ -000c9790: 2070 6163 6b61 6765 5f66 6163 7473 3a0a package_facts:.
│ │ │ -000c97a0: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ -000c97b0: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49 o. tags:. - NI
│ │ │ -000c97c0: 5354 2d38 3030 2d35 332d 5343 2d32 340a ST-800-53-SC-24.
│ │ │ -000c97d0: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat
│ │ │ -000c97e0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ -000c97f0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -000c9800: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ -000c9810: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ -000c9820: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -000c9830: 6564 0a20 202d 2073 6572 7669 6365 5f73 ed. - service_s
│ │ │ -000c9840: 7973 7465 6d64 2d6a 6f75 726e 616c 645f ystemd-journald_
│ │ │ -000c9850: 656e 6162 6c65 640a 0a2d 206e 616d 653a enabled..- name:
│ │ │ -000c9860: 2045 6e61 626c 6520 7379 7374 656d 642d Enable systemd-
│ │ │ -000c9870: 6a6f 7572 6e61 6c64 2053 6572 7669 6365 journald Service
│ │ │ -000c9880: 202d 2045 6e61 626c 6520 7365 7276 6963 - Enable servic
│ │ │ -000c9890: 6520 7379 7374 656d 642d 6a6f 7572 6e61 e systemd-journa
│ │ │ -000c98a0: 6c64 0a20 2062 6c6f 636b 3a0a 0a20 202d ld. block:.. -
│ │ │ -000c98b0: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -000c98c0: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -000c98d0: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ -000c98e0: 7469 6e2e 7061 636b 6167 655f 6661 6374 tin.package_fact
│ │ │ -000c98f0: 733a 0a20 2020 2020 206d 616e 6167 6572 s:. manager
│ │ │ -000c9900: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65 : auto.. - name
│ │ │ -000c9910: 3a20 456e 6162 6c65 2073 7973 7465 6d64 : Enable systemd
│ │ │ -000c9920: 2d6a 6f75 726e 616c 6420 5365 7276 6963 -journald Servic
│ │ │ -000c9930: 6520 2d20 456e 6162 6c65 2053 6572 7669 e - Enable Servi
│ │ │ -000c9940: 6365 2073 7973 7465 6d64 2d6a 6f75 726e ce systemd-journ
│ │ │ -000c9950: 616c 640a 2020 2020 616e 7369 626c 652e ald. ansible.
│ │ │ -000c9960: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd:
│ │ │ -000c9970: 0a20 2020 2020 206e 616d 653a 2073 7973 . name: sys
│ │ │ -000c9980: 7465 6d64 2d6a 6f75 726e 616c 640a 2020 temd-journald.
│ │ │ -000c9990: 2020 2020 656e 6162 6c65 643a 2074 7275 enabled: tru
│ │ │ -000c99a0: 650a 2020 2020 2020 7374 6174 653a 2073 e. state: s
│ │ │ -000c99b0: 7461 7274 6564 0a20 2020 2020 206d 6173 tarted. mas
│ │ │ -000c99c0: 6b65 643a 2066 616c 7365 0a20 2020 2077 ked: false. w
│ │ │ -000c99d0: 6865 6e3a 0a20 2020 202d 2027 2273 7973 hen:. - '"sys
│ │ │ -000c99e0: 7465 6d64 2220 696e 2061 6e73 6962 6c65 temd" in ansible
│ │ │ -000c99f0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ -000c9a00: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ -000c9a10: 542d 3830 302d 3533 2d53 432d 3234 0a20 T-800-53-SC-24.
│ │ │ -000c9a20: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ -000c9a30: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ -000c9a40: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -000c9a50: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ -000c9a60: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ -000c9a70: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -000c9a80: 640a 2020 2d20 7365 7276 6963 655f 7379 d. - service_sy
│ │ │ -000c9a90: 7374 656d 642d 6a6f 7572 6e61 6c64 5f65 stemd-journald_e
│ │ │ -000c9aa0: 6e61 626c 6564 0a20 202d 2073 7065 6369 nabled. - speci
│ │ │ -000c9ab0: 616c 5f73 6572 7669 6365 5f62 6c6f 636b al_service_block
│ │ │ -000c9ac0: 0a20 2077 6865 6e3a 2027 226c 696e 7578 . when: '"linux
│ │ │ -000c9ad0: 2d62 6173 6522 2069 6e20 616e 7369 626c -base" in ansibl
│ │ │ -000c9ae0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -000c9af0: 270a 3c2f 636f 6465 3e3c 2f70 7265 3e3c '.
<
│ │ │ +000c9230: 223e 5265 6d65 6469 6174 696f 6e20 416e ">Remediation An
│ │ │ +000c9240: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ +000c9250: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +000c92d0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +000c92e0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +000c92f0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +000c9300: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +000c9310: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +000c9340: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +000c9350: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ +000c9360: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +000c9370: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: Gather
│ │ │ +000c9390: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ +000c93a0: 730a 2020 7061 636b 6167 655f 6661 6374 s. package_fact
│ │ │ +000c93b0: 733a 0a20 2020 206d 616e 6167 6572 3a20 s:. manager:
│ │ │ +000c93c0: 6175 746f 0a20 2074 6167 733a 0a20 202d auto. tags:. -
│ │ │ +000c93d0: 204e 4953 542d 3830 302d 3533 2d53 432d NIST-800-53-SC-
│ │ │ +000c93e0: 3234 0a20 202d 2065 6e61 626c 655f 7374 24. - enable_st
│ │ │ +000c93f0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +000c9400: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +000c9410: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +000c9420: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +000c9430: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +000c9440: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic
│ │ │ +000c9450: 655f 7379 7374 656d 642d 6a6f 7572 6e61 e_systemd-journa
│ │ │ +000c9460: 6c64 5f65 6e61 626c 6564 0a0a 2d20 6e61 ld_enabled..- na
│ │ │ +000c9470: 6d65 3a20 456e 6162 6c65 2073 7973 7465 me: Enable syste
│ │ │ +000c9480: 6d64 2d6a 6f75 726e 616c 6420 5365 7276 md-journald Serv
│ │ │ +000c9490: 6963 6520 2d20 456e 6162 6c65 2073 6572 ice - Enable ser
│ │ │ +000c94a0: 7669 6365 2073 7973 7465 6d64 2d6a 6f75 vice systemd-jou
│ │ │ +000c94b0: 726e 616c 640a 2020 626c 6f63 6b3a 0a0a rnald. block:..
│ │ │ +000c94c0: 2020 2d20 6e61 6d65 3a20 4761 7468 6572 - name: Gather
│ │ │ +000c94d0: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ +000c94e0: 7473 0a20 2020 2061 6e73 6962 6c65 2e62 ts. ansible.b
│ │ │ +000c94f0: 7569 6c74 696e 2e70 6163 6b61 6765 5f66 uiltin.package_f
│ │ │ +000c9500: 6163 7473 3a0a 2020 2020 2020 6d61 6e61 acts:. mana
│ │ │ +000c9510: 6765 723a 2061 7574 6f0a 0a20 202d 206e ger: auto.. - n
│ │ │ +000c9520: 616d 653a 2045 6e61 626c 6520 7379 7374 ame: Enable syst
│ │ │ +000c9530: 656d 642d 6a6f 7572 6e61 6c64 2053 6572 emd-journald Ser
│ │ │ +000c9540: 7669 6365 202d 2045 6e61 626c 6520 5365 vice - Enable Se
│ │ │ +000c9550: 7276 6963 6520 7379 7374 656d 642d 6a6f rvice systemd-jo
│ │ │ +000c9560: 7572 6e61 6c64 0a20 2020 2061 6e73 6962 urnald. ansib
│ │ │ +000c9570: 6c65 2e62 7569 6c74 696e 2e73 7973 7465 le.builtin.syste
│ │ │ +000c9580: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20 md:. name:
│ │ │ +000c9590: 7379 7374 656d 642d 6a6f 7572 6e61 6c64 systemd-journald
│ │ │ +000c95a0: 0a20 2020 2020 2065 6e61 626c 6564 3a20 . enabled:
│ │ │ +000c95b0: 7472 7565 0a20 2020 2020 2073 7461 7465 true. state
│ │ │ +000c95c0: 3a20 7374 6172 7465 640a 2020 2020 2020 : started.
│ │ │ +000c95d0: 6d61 736b 6564 3a20 6661 6c73 650a 2020 masked: false.
│ │ │ +000c95e0: 2020 7768 656e 3a0a 2020 2020 2d20 2722 when:. - '"
│ │ │ +000c95f0: 7379 7374 656d 6422 2069 6e20 616e 7369 systemd" in ansi
│ │ │ +000c9600: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ +000c9610: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. -
│ │ │ +000c9620: 4e49 5354 2d38 3030 2d35 332d 5343 2d32 NIST-800-53-SC-2
│ │ │ +000c9630: 340a 2020 2d20 656e 6162 6c65 5f73 7472 4. - enable_str
│ │ │ +000c9640: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +000c9650: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +000c9660: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +000c9670: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +000c9680: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +000c9690: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ +000c96a0: 5f73 7973 7465 6d64 2d6a 6f75 726e 616c _systemd-journal
│ │ │ +000c96b0: 645f 656e 6162 6c65 640a 2020 2d20 7370 d_enabled. - sp
│ │ │ +000c96c0: 6563 6961 6c5f 7365 7276 6963 655f 626c ecial_service_bl
│ │ │ +000c96d0: 6f63 6b0a 2020 7768 656e 3a20 2722 6c69 ock. when: '"li
│ │ │ +000c96e0: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ +000c96f0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ +000c9700: 6765 7327 0a3c 2f63 6f64 653e 3c2f 7072 ges'.Remediation
│ │ │ +000c97c0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ +000c97d0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +000c9860: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +000c9880: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +000c98a0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +000c98b0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +000c98d0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +000c98e0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +000c98f0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ +000c9910: 655f 7379 7374 656d 642d 6a6f 7572 6e61 e_systemd-journa
│ │ │ +000c9920: 6c64 0a0a 636c 6173 7320 656e 6162 6c65 ld..class enable
│ │ │ +000c9930: 5f73 7973 7465 6d64 2d6a 6f75 726e 616c _systemd-journal
│ │ │ +000c9940: 6420 7b0a 2020 7365 7276 6963 6520 7b27 d {. service {'
│ │ │ +000c9950: 7379 7374 656d 642d 6a6f 7572 6e61 6c64 systemd-journald
│ │ │ +000c9960: 273a 0a20 2020 2065 6e61 626c 6520 3d26 ':. enable =&
│ │ │ +000c9970: 6774 3b20 7472 7565 2c0a 2020 2020 656e gt; true,. en
│ │ │ +000c9980: 7375 7265 203d 2667 743b 2027 7275 6e6e sure => 'runn
│ │ │ +000c9990: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f ing',. }.}.
<
│ │ │ +000c99b0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +000c99c0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +000c99d0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +000c99e0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +000c99f0: 6432 3332 2220 7461 6269 6e64 6578 3d22 d232" tabindex="
│ │ │ +000c9a00: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ +000c9a10: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ +000c9a20: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ +000c9a30: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ +000c9a40: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ +000c9a50: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild
│ │ │ +000c9a60: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe
│ │ │ +000c9a70: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
.[custom
│ │ │ +000c9ac0: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service
│ │ │ +000c9ad0: 735d 0a65 6e61 626c 6564 203d 205b 2273 s].enabled = ["s
│ │ │ +000c9ae0: 7973 7465 6d64 2d6a 6f75 726e 616c 6422 ystemd-journald"
│ │ │ +000c9af0: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ].<
│ │ │ 000c9b00: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>R
│ │ │ -000d4e30: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui
│ │ │ -000d4e40: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni
│ │ │ -000d4e50: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000d4e60: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -000d4e90: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061 .[[pa
│ │ │ -000d4ea0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20 ckages]].name =
│ │ │ -000d4eb0: 2272 7379 736c 6f67 220a 7665 7273 696f "rsyslog".versio
│ │ │ -000d4ec0: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c n = "*".<
│ │ │ -000d4ed0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ -000d4f80: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -000d4f90: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -000d5010: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -000d5020: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -000d5030: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -000d5070: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -000d5080: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -000d50a0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -000d50b0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -000d50c0: 3c63 6f64 653e 696e 636c 7564 6520 696e include in
│ │ │ -000d50d0: 7374 616c 6c5f 7273 7973 6c6f 670a 0a63 stall_rsyslog..c
│ │ │ -000d50e0: 6c61 7373 2069 6e73 7461 6c6c 5f72 7379 lass install_rsy
│ │ │ -000d50f0: 736c 6f67 207b 0a20 2070 6163 6b61 6765 slog {. package
│ │ │ -000d5100: 207b 2027 7273 7973 6c6f 6727 3a0a 2020 { 'rsyslog':.
│ │ │ -000d5110: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ -000d5120: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a installed',. }.
│ │ │ -000d5130: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -000d5140: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -000d51f0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -000d5200: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -000d5280: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -000d5290: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -000d52a0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -000d52b0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -000d52c0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -000d52f0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -000d5300: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -000d5310: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -000d5320: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: Gather
│ │ │ -000d5340: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ -000d5350: 730a 2020 7061 636b 6167 655f 6661 6374 s. package_fact
│ │ │ -000d5360: 733a 0a20 2020 206d 616e 6167 6572 3a20 s:. manager:
│ │ │ -000d5370: 6175 746f 0a20 2074 6167 733a 0a20 202d auto. tags:. -
│ │ │ -000d5380: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -000d5390: 3628 6129 0a20 202d 2065 6e61 626c 655f 6(a). - enable_
│ │ │ -000d53a0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -000d53b0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -000d53c0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -000d53d0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -000d53e0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -000d53f0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -000d5400: 6167 655f 7273 7973 6c6f 675f 696e 7374 age_rsyslog_inst
│ │ │ -000d5410: 616c 6c65 640a 0a2d 206e 616d 653a 2045 alled..- name: E
│ │ │ -000d5420: 6e73 7572 6520 7273 7973 6c6f 6720 6973 nsure rsyslog is
│ │ │ -000d5430: 2069 6e73 7461 6c6c 6564 0a20 2061 6e73 installed. ans
│ │ │ -000d5440: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ -000d5450: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ -000d5460: 7273 7973 6c6f 670a 2020 2020 7374 6174 rsyslog. stat
│ │ │ -000d5470: 653a 2070 7265 7365 6e74 0a20 2077 6865 e: present. whe
│ │ │ -000d5480: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ -000d5490: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -000d54a0: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ -000d54b0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -000d54c0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -000d54d0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -000d54e0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -000d54f0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -000d5500: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -000d5510: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -000d5520: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -000d5530: 202d 2070 6163 6b61 6765 5f72 7379 736c - package_rsysl
│ │ │ -000d5540: 6f67 5f69 6e73 7461 6c6c 6564 0a3c 2f63 og_installed.
│ │ │ +000d4ed0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +000d4ee0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +000d4f00: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +000d4f10: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +000d4f50: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ +000d4f60: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ +000d4f80: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the
│ │ │ +000d4f90: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts.
│ │ │ +000d4fa0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a package_facts:.
│ │ │ +000d4fb0: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ +000d4fc0: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49 o. tags:. - NI
│ │ │ +000d4fd0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ +000d4fe0: 290a 2020 2d20 656e 6162 6c65 5f73 7472 ). - enable_str
│ │ │ +000d4ff0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +000d5000: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +000d5010: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +000d5020: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +000d5030: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +000d5040: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +000d5050: 5f72 7379 736c 6f67 5f69 6e73 7461 6c6c _rsyslog_install
│ │ │ +000d5060: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu
│ │ │ +000d5070: 7265 2072 7379 736c 6f67 2069 7320 696e re rsyslog is in
│ │ │ +000d5080: 7374 616c 6c65 640a 2020 616e 7369 626c stalled. ansibl
│ │ │ +000d5090: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ +000d50a0: 653a 0a20 2020 206e 616d 653a 2072 7379 e:. name: rsy
│ │ │ +000d50b0: 736c 6f67 0a20 2020 2073 7461 7465 3a20 slog. state:
│ │ │ +000d50c0: 7072 6573 656e 740a 2020 7768 656e 3a20 present. when:
│ │ │ +000d50d0: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in
│ │ │ +000d50e0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +000d50f0: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ +000d5100: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +000d5110: 2d43 4d2d 3628 6129 0a20 202d 2065 6e61 -CM-6(a). - ena
│ │ │ +000d5120: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +000d5130: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +000d5140: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +000d5150: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ +000d5160: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ +000d5170: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +000d5180: 7061 636b 6167 655f 7273 7973 6c6f 675f package_rsyslog_
│ │ │ +000d5190: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.
Remedi
│ │ │ +000d5250: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +000d5260: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +000d5270: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +000d52a0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +000d52f0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +000d5300: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +000d5310: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +000d5320: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +000d5330: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +000d5340: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +000d5350: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +000d5360: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ +000d5380: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ +000d53a0: 696e 7374 616c 6c5f 7273 7973 6c6f 670a install_rsyslog.
│ │ │ +000d53b0: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f72 .class install_r
│ │ │ +000d53c0: 7379 736c 6f67 207b 0a20 2070 6163 6b61 syslog {. packa
│ │ │ +000d53d0: 6765 207b 2027 7273 7973 6c6f 6727 3a0a ge { 'rsyslog':.
│ │ │ +000d53e0: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ +000d53f0: 2027 696e 7374 616c 6c65 6427 2c0a 2020 'installed',.
│ │ │ +000d5400: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}. Remediation
│ │ │ +000d54c0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ +000d54d0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ +000d5520: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61 .[[packages]].na
│ │ │ +000d5530: 6d65 203d 2022 7273 7973 6c6f 6722 0a76 me = "rsyslog".v
│ │ │ +000d5540: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63 ersion = "*".
│ │ │ 000d5560: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remedia
│ │ │ -000d6850: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu
│ │ │ -000d6860: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet .
│ │ │ -000d6870: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
<
│ │ │ -000d68b0: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61 code>.[customiza
│ │ │ -000d68c0: 7469 6f6e 732e 7365 7276 6963 6573 5d0a tions.services].
│ │ │ -000d68d0: 656e 6162 6c65 6420 3d20 5b22 7273 7973 enabled = ["rsys
│ │ │ -000d68e0: 6c6f 6722 5d0a 3c2f 636f 6465 3e3c 2f70 log"].
Remediatio
│ │ │ -000d69a0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -000d69b0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -000d6a40: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -000d6a60: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -000d6a70: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -000d6a80: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -000d6a90: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -000d6ab0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include enab
│ │ │ -000d6af0: 6c65 5f72 7379 736c 6f67 0a0a 636c 6173 le_rsyslog..clas
│ │ │ -000d6b00: 7320 656e 6162 6c65 5f72 7379 736c 6f67 s enable_rsyslog
│ │ │ -000d6b10: 207b 0a20 2073 6572 7669 6365 207b 2772 {. service {'r
│ │ │ -000d6b20: 7379 736c 6f67 273a 0a20 2020 2065 6e61 syslog':. ena
│ │ │ -000d6b30: 626c 6520 3d26 6774 3b20 7472 7565 2c0a ble => true,.
│ │ │ -000d6b40: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ -000d6b50: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a 'running',. }.
│ │ │ -000d6b60: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -000d6b70: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -000d6c20: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -000d6c30: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -000d6cb0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -000d6cc0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -000d6cd0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -000d6ce0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -000d6cf0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -000d6d20: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -000d6d30: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -000d6d40: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -000d6d50: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: Gather
│ │ │ -000d6d70: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ -000d6d80: 730a 2020 7061 636b 6167 655f 6661 6374 s. package_fact
│ │ │ -000d6d90: 733a 0a20 2020 206d 616e 6167 6572 3a20 s:. manager:
│ │ │ -000d6da0: 6175 746f 0a20 2074 6167 733a 0a20 202d auto. tags:. -
│ │ │ -000d6db0: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU-
│ │ │ -000d6dc0: 3232 2d36 3532 3031 300a 2020 2d20 4e49 22-652010. - NI
│ │ │ -000d6dd0: 5354 2d38 3030 2d35 332d 4155 2d34 2831 ST-800-53-AU-4(1
│ │ │ -000d6de0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -000d6df0: 332d 434d 2d36 2861 290a 2020 2d20 656e 3-CM-6(a). - en
│ │ │ -000d6e00: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -000d6e10: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -000d6e20: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -000d6e30: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ -000d6e40: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -000d6e50: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -000d6e60: 2073 6572 7669 6365 5f72 7379 736c 6f67 service_rsyslog
│ │ │ -000d6e70: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65 _enabled..- name
│ │ │ -000d6e80: 3a20 456e 6162 6c65 2072 7379 736c 6f67 : Enable rsyslog
│ │ │ -000d6e90: 2053 6572 7669 6365 202d 2045 6e61 626c Service - Enabl
│ │ │ -000d6ea0: 6520 7365 7276 6963 6520 7273 7973 6c6f e service rsyslo
│ │ │ -000d6eb0: 670a 2020 626c 6f63 6b3a 0a0a 2020 2d20 g. block:.. -
│ │ │ -000d6ec0: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the
│ │ │ -000d6ed0: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts.
│ │ │ -000d6ee0: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ -000d6ef0: 696e 2e70 6163 6b61 6765 5f66 6163 7473 in.package_facts
│ │ │ -000d6f00: 3a0a 2020 2020 2020 6d61 6e61 6765 723a :. manager:
│ │ │ -000d6f10: 2061 7574 6f0a 0a20 202d 206e 616d 653a auto.. - name:
│ │ │ -000d6f20: 2045 6e61 626c 6520 7273 7973 6c6f 6720 Enable rsyslog
│ │ │ -000d6f30: 5365 7276 6963 6520 2d20 456e 6162 6c65 Service - Enable
│ │ │ -000d6f40: 2053 6572 7669 6365 2072 7379 736c 6f67 Service rsyslog
│ │ │ -000d6f50: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -000d6f60: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:.
│ │ │ -000d6f70: 2020 2020 6e61 6d65 3a20 7273 7973 6c6f name: rsyslo
│ │ │ -000d6f80: 670a 2020 2020 2020 656e 6162 6c65 643a g. enabled:
│ │ │ -000d6f90: 2074 7275 650a 2020 2020 2020 7374 6174 true. stat
│ │ │ -000d6fa0: 653a 2073 7461 7274 6564 0a20 2020 2020 e: started.
│ │ │ -000d6fb0: 206d 6173 6b65 643a 2066 616c 7365 0a20 masked: false.
│ │ │ -000d6fc0: 2020 2077 6865 6e3a 0a20 2020 202d 2027 when:. - '
│ │ │ -000d6fd0: 2272 7379 736c 6f67 2220 696e 2061 6e73 "rsyslog" in ans
│ │ │ -000d6fe0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -000d6ff0: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ -000d7000: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU-
│ │ │ -000d7010: 3232 2d36 3532 3031 300a 2020 2d20 4e49 22-652010. - NI
│ │ │ -000d7020: 5354 2d38 3030 2d35 332d 4155 2d34 2831 ST-800-53-AU-4(1
│ │ │ -000d7030: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -000d7040: 332d 434d 2d36 2861 290a 2020 2d20 656e 3-CM-6(a). - en
│ │ │ -000d7050: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -000d7060: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -000d7070: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -000d7080: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ -000d7090: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -000d70a0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -000d70b0: 2073 6572 7669 6365 5f72 7379 736c 6f67 service_rsyslog
│ │ │ -000d70c0: 5f65 6e61 626c 6564 0a20 202d 2073 7065 _enabled. - spe
│ │ │ -000d70d0: 6369 616c 5f73 6572 7669 6365 5f62 6c6f cial_service_blo
│ │ │ -000d70e0: 636b 0a20 2077 6865 6e3a 2027 226c 696e ck. when: '"lin
│ │ │ -000d70f0: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ -000d7100: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -000d7110: 6573 270a 3c2f 636f 6465 3e3c 2f70 7265 es'.
│ │ │ +000d6870: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +000d68a0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +000d68f0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +000d6900: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +000d6910: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +000d6920: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +000d6930: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +000d6940: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +000d6950: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +000d6960: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ +000d6980: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +000d69a0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ +000d69b0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ +000d69c0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ +000d69d0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ +000d69e0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI
│ │ │ +000d69f0: 472d 5542 5455 2d32 322d 3635 3230 3130 G-UBTU-22-652010
│ │ │ +000d6a00: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +000d6a10: 2d41 552d 3428 3129 0a20 202d 204e 4953 -AU-4(1). - NIS
│ │ │ +000d6a20: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +000d6a30: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ +000d6a40: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +000d6a50: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +000d6a60: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +000d6a70: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +000d6a80: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +000d6a90: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ +000d6aa0: 7273 7973 6c6f 675f 656e 6162 6c65 640a rsyslog_enabled.
│ │ │ +000d6ab0: 0a2d 206e 616d 653a 2045 6e61 626c 6520 .- name: Enable
│ │ │ +000d6ac0: 7273 7973 6c6f 6720 5365 7276 6963 6520 rsyslog Service
│ │ │ +000d6ad0: 2d20 456e 6162 6c65 2073 6572 7669 6365 - Enable service
│ │ │ +000d6ae0: 2072 7379 736c 6f67 0a20 2062 6c6f 636b rsyslog. block
│ │ │ +000d6af0: 3a0a 0a20 202d 206e 616d 653a 2047 6174 :.. - name: Gat
│ │ │ +000d6b00: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ +000d6b10: 6661 6374 730a 2020 2020 616e 7369 626c facts. ansibl
│ │ │ +000d6b20: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ +000d6b30: 655f 6661 6374 733a 0a20 2020 2020 206d e_facts:. m
│ │ │ +000d6b40: 616e 6167 6572 3a20 6175 746f 0a0a 2020 anager: auto..
│ │ │ +000d6b50: 2d20 6e61 6d65 3a20 456e 6162 6c65 2072 - name: Enable r
│ │ │ +000d6b60: 7379 736c 6f67 2053 6572 7669 6365 202d syslog Service -
│ │ │ +000d6b70: 2045 6e61 626c 6520 5365 7276 6963 6520 Enable Service
│ │ │ +000d6b80: 7273 7973 6c6f 670a 2020 2020 616e 7369 rsyslog. ansi
│ │ │ +000d6b90: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst
│ │ │ +000d6ba0: 656d 643a 0a20 2020 2020 206e 616d 653a emd:. name:
│ │ │ +000d6bb0: 2072 7379 736c 6f67 0a20 2020 2020 2065 rsyslog. e
│ │ │ +000d6bc0: 6e61 626c 6564 3a20 7472 7565 0a20 2020 nabled: true.
│ │ │ +000d6bd0: 2020 2073 7461 7465 3a20 7374 6172 7465 state: starte
│ │ │ +000d6be0: 640a 2020 2020 2020 6d61 736b 6564 3a20 d. masked:
│ │ │ +000d6bf0: 6661 6c73 650a 2020 2020 7768 656e 3a0a false. when:.
│ │ │ +000d6c00: 2020 2020 2d20 2722 7273 7973 6c6f 6722 - '"rsyslog"
│ │ │ +000d6c10: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +000d6c20: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ +000d6c30: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI
│ │ │ +000d6c40: 472d 5542 5455 2d32 322d 3635 3230 3130 G-UBTU-22-652010
│ │ │ +000d6c50: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +000d6c60: 2d41 552d 3428 3129 0a20 202d 204e 4953 -AU-4(1). - NIS
│ │ │ +000d6c70: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +000d6c80: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ +000d6c90: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +000d6ca0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +000d6cb0: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +000d6cc0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +000d6cd0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +000d6ce0: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ +000d6cf0: 7273 7973 6c6f 675f 656e 6162 6c65 640a rsyslog_enabled.
│ │ │ +000d6d00: 2020 2d20 7370 6563 6961 6c5f 7365 7276 - special_serv
│ │ │ +000d6d10: 6963 655f 626c 6f63 6b0a 2020 7768 656e ice_block. when
│ │ │ +000d6d20: 3a20 2722 6c69 6e75 782d 6261 7365 2220 : '"linux-base"
│ │ │ +000d6d30: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ +000d6d40: 2e70 6163 6b61 6765 7327 0a3c 2f63 6f64 .packages'. Remed
│ │ │ +000d6e00: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ +000d6e10: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +000d6ea0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +000d6eb0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +000d6ec0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +000d6ed0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +000d6ee0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +000d6ef0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +000d6f00: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +000d6f10: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
include
│ │ │ +000d6f50: 2065 6e61 626c 655f 7273 7973 6c6f 670a enable_rsyslog.
│ │ │ +000d6f60: 0a63 6c61 7373 2065 6e61 626c 655f 7273 .class enable_rs
│ │ │ +000d6f70: 7973 6c6f 6720 7b0a 2020 7365 7276 6963 yslog {. servic
│ │ │ +000d6f80: 6520 7b27 7273 7973 6c6f 6727 3a0a 2020 e {'rsyslog':.
│ │ │ +000d6f90: 2020 656e 6162 6c65 203d 2667 743b 2074 enable => t
│ │ │ +000d6fa0: 7275 652c 0a20 2020 2065 6e73 7572 6520 rue,. ensure
│ │ │ +000d6fb0: 3d26 6774 3b20 2772 756e 6e69 6e67 272c => 'running',
│ │ │ +000d6fc0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ +000d6fd0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ +000d7080: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ +000d7090: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ +000d70a0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[customizati
│ │ │ +000d70f0: 6f6e 732e 7365 7276 6963 6573 5d0a 656e ons.services].en
│ │ │ +000d7100: 6162 6c65 6420 3d20 5b22 7273 7973 6c6f abled = ["rsyslo
│ │ │ +000d7110: 6722 5d0a 3c2f 636f 6465 3e3c 2f70 7265 g"].
Remed
│ │ │ -000e1510: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ -000e1520: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ -000e1530: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[[packag
│ │ │ -000e1580: 6573 5d5d 0a6e 616d 6520 3d20 2269 7074 es]].name = "ipt
│ │ │ -000e1590: 6162 6c65 7322 0a76 6572 7369 6f6e 203d ables".version =
│ │ │ -000e15a0: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
Remediation
│ │ │ -000e1660: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -000e1670: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -000e1700: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -000e1720: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -000e1740: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -000e1750: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -000e1770: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -000e1780: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -000e1790: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -000e17b0: 6c6c 5f69 7074 6162 6c65 730a 0a63 6c61 ll_iptables..cla
│ │ │ -000e17c0: 7373 2069 6e73 7461 6c6c 5f69 7074 6162 ss install_iptab
│ │ │ -000e17d0: 6c65 7320 7b0a 2020 7061 636b 6167 6520 les {. package
│ │ │ -000e17e0: 7b20 2769 7074 6162 6c65 7327 3a0a 2020 { 'iptables':.
│ │ │ -000e17f0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ -000e1800: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a installed',. }.
│ │ │ -000e1810: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -000e1820: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -000e18d0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -000e18e0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -000e1960: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -000e1970: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -000e1980: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -000e1990: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -000e19a0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -000e19d0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -000e19e0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -000e19f0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -000e1a00: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: Gather
│ │ │ -000e1a20: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ -000e1a30: 730a 2020 7061 636b 6167 655f 6661 6374 s. package_fact
│ │ │ -000e1a40: 733a 0a20 2020 206d 616e 6167 6572 3a20 s:. manager:
│ │ │ -000e1a50: 6175 746f 0a20 2074 6167 733a 0a20 202d auto. tags:. -
│ │ │ -000e1a60: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -000e1a70: 3628 6129 0a20 202d 2050 4349 2d44 5353 6(a). - PCI-DSS
│ │ │ -000e1a80: 2d52 6571 2d31 2e34 2e31 0a20 202d 2065 -Req-1.4.1. - e
│ │ │ -000e1a90: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ -000e1aa0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -000e1ab0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -000e1ac0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -000e1ad0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -000e1ae0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -000e1af0: 2d20 7061 636b 6167 655f 6970 7461 626c - package_iptabl
│ │ │ -000e1b00: 6573 5f69 6e73 7461 6c6c 6564 0a0a 2d20 es_installed..-
│ │ │ -000e1b10: 6e61 6d65 3a20 456e 7375 7265 2069 7074 name: Ensure ipt
│ │ │ -000e1b20: 6162 6c65 7320 6973 2069 6e73 7461 6c6c ables is install
│ │ │ -000e1b30: 6564 0a20 2061 6e73 6962 6c65 2e62 7569 ed. ansible.bui
│ │ │ -000e1b40: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -000e1b50: 2020 6e61 6d65 3a20 6970 7461 626c 6573 name: iptables
│ │ │ -000e1b60: 0a20 2020 2073 7461 7465 3a20 7072 6573 . state: pres
│ │ │ -000e1b70: 656e 740a 2020 7768 656e 3a20 2820 226c ent. when: ( "l
│ │ │ -000e1b80: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ -000e1b90: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ -000e1ba0: 6167 6573 2029 0a20 2074 6167 733a 0a20 ages ). tags:.
│ │ │ -000e1bb0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -000e1bc0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ -000e1bd0: 5353 2d52 6571 2d31 2e34 2e31 0a20 202d SS-Req-1.4.1. -
│ │ │ -000e1be0: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -000e1bf0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -000e1c00: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -000e1c10: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -000e1c20: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -000e1c30: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -000e1c40: 2020 2d20 7061 636b 6167 655f 6970 7461 - package_ipta
│ │ │ -000e1c50: 626c 6573 5f69 6e73 7461 6c6c 6564 0a3c bles_installed.<
│ │ │ +000e1510: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ +000e1520: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +000e15b0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +000e15c0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +000e15e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +000e1600: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +000e1610: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +000e1630: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ +000e1650: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ +000e1660: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ +000e1670: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ +000e1680: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ +000e1690: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ +000e16a0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ +000e16b0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ +000e16c0: 2d20 5043 492d 4453 532d 5265 712d 312e - PCI-DSS-Req-1.
│ │ │ +000e16d0: 342e 310a 2020 2d20 656e 6162 6c65 5f73 4.1. - enable_s
│ │ │ +000e16e0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +000e16f0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +000e1700: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +000e1710: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +000e1720: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +000e1730: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +000e1740: 6765 5f69 7074 6162 6c65 735f 696e 7374 ge_iptables_inst
│ │ │ +000e1750: 616c 6c65 640a 0a2d 206e 616d 653a 2045 alled..- name: E
│ │ │ +000e1760: 6e73 7572 6520 6970 7461 626c 6573 2069 nsure iptables i
│ │ │ +000e1770: 7320 696e 7374 616c 6c65 640a 2020 616e s installed. an
│ │ │ +000e1780: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +000e1790: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ +000e17a0: 2069 7074 6162 6c65 730a 2020 2020 7374 iptables. st
│ │ │ +000e17b0: 6174 653a 2070 7265 7365 6e74 0a20 2077 ate: present. w
│ │ │ +000e17c0: 6865 6e3a 2028 2022 6c69 6e75 782d 6261 hen: ( "linux-ba
│ │ │ +000e17d0: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ +000e17e0: 6163 7473 2e70 6163 6b61 6765 7320 290a acts.packages ).
│ │ │ +000e17f0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ +000e1800: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ +000e1810: 2020 2d20 5043 492d 4453 532d 5265 712d - PCI-DSS-Req-
│ │ │ +000e1820: 312e 342e 310a 2020 2d20 656e 6162 6c65 1.4.1. - enable
│ │ │ +000e1830: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +000e1840: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +000e1850: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +000e1860: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +000e1870: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +000e1880: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +000e1890: 6b61 6765 5f69 7074 6162 6c65 735f 696e kage_iptables_in
│ │ │ +000e18a0: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c stalled.<
│ │ │ +000e18b0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediat
│ │ │ +000e1960: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ +000e1970: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +000e19f0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +000e1a00: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +000e1a10: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +000e1a50: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +000e1a60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +000e1a80: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +000e1a90: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +000e1aa0: 3c63 6f64 653e 696e 636c 7564 6520 696e include in
│ │ │ +000e1ab0: 7374 616c 6c5f 6970 7461 626c 6573 0a0a stall_iptables..
│ │ │ +000e1ac0: 636c 6173 7320 696e 7374 616c 6c5f 6970 class install_ip
│ │ │ +000e1ad0: 7461 626c 6573 207b 0a20 2070 6163 6b61 tables {. packa
│ │ │ +000e1ae0: 6765 207b 2027 6970 7461 626c 6573 273a ge { 'iptables':
│ │ │ +000e1af0: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +000e1b00: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20 ; 'installed',.
│ │ │ +000e1b10: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediation
│ │ │ +000e1bd0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri
│ │ │ +000e1be0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
│ │ │ +000e1bf0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
.[[packages]].n
│ │ │ +000e1c40: 616d 6520 3d20 2269 7074 6162 6c65 7322 ame = "iptables"
│ │ │ +000e1c50: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c .version = "*".<
│ │ │ 000e1c60: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediation
│ │ │ -000e2860: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -000e2870: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -000e2900: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -000e2920: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -000e2940: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -000e2950: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -000e2970: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -000e2980: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ -000e29b0: 6f76 655f 6970 7461 626c 6573 2d70 6572 ove_iptables-per
│ │ │ -000e29c0: 7369 7374 656e 740a 0a63 6c61 7373 2072 sistent..class r
│ │ │ -000e29d0: 656d 6f76 655f 6970 7461 626c 6573 2d70 emove_iptables-p
│ │ │ -000e29e0: 6572 7369 7374 656e 7420 7b0a 2020 7061 ersistent {. pa
│ │ │ -000e29f0: 636b 6167 6520 7b20 2769 7074 6162 6c65 ckage { 'iptable
│ │ │ -000e2a00: 732d 7065 7273 6973 7465 6e74 273a 0a20 s-persistent':.
│ │ │ -000e2a10: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -000e2a20: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}.
│ │ │ -000e2a30: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -000e2ae0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ -000e2af0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ -000e2b00: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -000e2bb0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -000e2bc0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -000e2bd0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -000e2be0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -000e2c00: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ -000e2c10: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -000e2c30: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ -000e2c40: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ -000e2c50: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ -000e2c60: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ -000e2c70: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ -000e2c80: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ -000e2c90: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -000e2ca0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -000e2cb0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -000e2cc0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -000e2cd0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -000e2ce0: 2020 2d20 7061 636b 6167 655f 6970 7461 - package_ipta
│ │ │ -000e2cf0: 626c 6573 2d70 6572 7369 7374 656e 745f bles-persistent_
│ │ │ -000e2d00: 7265 6d6f 7665 640a 0a2d 206e 616d 653a removed..- name:
│ │ │ -000e2d10: 2027 5265 6d6f 7665 2069 7074 6162 6c65 'Remove iptable
│ │ │ -000e2d20: 732d 7065 7273 6973 7465 6e74 2050 6163 s-persistent Pac
│ │ │ -000e2d30: 6b61 6765 3a20 456e 7375 7265 2069 7074 kage: Ensure ipt
│ │ │ -000e2d40: 6162 6c65 732d 7065 7273 6973 7465 6e74 ables-persistent
│ │ │ -000e2d50: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ -000e2d60: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -000e2d70: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ -000e2d80: 3a20 6970 7461 626c 6573 2d70 6572 7369 : iptables-persi
│ │ │ -000e2d90: 7374 656e 740a 2020 2020 7374 6174 653a stent. state:
│ │ │ -000e2da0: 2061 6273 656e 740a 2020 7768 656e 3a20 absent. when:
│ │ │ -000e2db0: 2722 7566 7722 2069 6e20 616e 7369 626c '"ufw" in ansibl
│ │ │ -000e2dc0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -000e2dd0: 270a 2020 7461 6773 3a0a 2020 2d20 6469 '. tags:. - di
│ │ │ -000e2de0: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ -000e2df0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -000e2e00: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -000e2e10: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -000e2e20: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -000e2e30: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -000e2e40: 2d20 7061 636b 6167 655f 6970 7461 626c - package_iptabl
│ │ │ -000e2e50: 6573 2d70 6572 7369 7374 656e 745f 7265 es-persistent_re
│ │ │ -000e2e60: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.
Complexity
│ │ │ +000e2900: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +000e2920: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +000e2930: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +000e2940: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +000e2950: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +000e2970: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +000e29a0: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ +000e29b0: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ +000e29c0: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ +000e29d0: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ +000e29e0: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ +000e29f0: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +000e2a00: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +000e2a10: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +000e2a20: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +000e2a30: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +000e2a40: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +000e2a50: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +000e2a60: 5f69 7074 6162 6c65 732d 7065 7273 6973 _iptables-persis
│ │ │ +000e2a70: 7465 6e74 5f72 656d 6f76 6564 0a0a 2d20 tent_removed..-
│ │ │ +000e2a80: 6e61 6d65 3a20 2752 656d 6f76 6520 6970 name: 'Remove ip
│ │ │ +000e2a90: 7461 626c 6573 2d70 6572 7369 7374 656e tables-persisten
│ │ │ +000e2aa0: 7420 5061 636b 6167 653a 2045 6e73 7572 t Package: Ensur
│ │ │ +000e2ab0: 6520 6970 7461 626c 6573 2d70 6572 7369 e iptables-persi
│ │ │ +000e2ac0: 7374 656e 7420 6973 2072 656d 6f76 6564 stent is removed
│ │ │ +000e2ad0: 270a 2020 616e 7369 626c 652e 6275 696c '. ansible.buil
│ │ │ +000e2ae0: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ +000e2af0: 206e 616d 653a 2069 7074 6162 6c65 732d name: iptables-
│ │ │ +000e2b00: 7065 7273 6973 7465 6e74 0a20 2020 2073 persistent. s
│ │ │ +000e2b10: 7461 7465 3a20 6162 7365 6e74 0a20 2077 tate: absent. w
│ │ │ +000e2b20: 6865 6e3a 2027 2275 6677 2220 696e 2061 hen: '"ufw" in a
│ │ │ +000e2b30: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +000e2b40: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ +000e2b50: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ +000e2b60: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +000e2b70: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +000e2b80: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ +000e2b90: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +000e2ba0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +000e2bb0: 6564 0a20 202d 2070 6163 6b61 6765 5f69 ed. - package_i
│ │ │ +000e2bc0: 7074 6162 6c65 732d 7065 7273 6973 7465 ptables-persiste
│ │ │ +000e2bd0: 6e74 5f72 656d 6f76 6564 0a3c 2f63 6f64 nt_removed.
Remed
│ │ │ +000e2c90: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ +000e2ca0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +000e2d30: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +000e2d40: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +000e2d50: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +000e2d60: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +000e2d70: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +000e2d80: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +000e2d90: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +000e2da0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ +000e2dd0: 7072 653e 3c63 6f64 653e 0a69 6e63 6c75 pre>.inclu
│ │ │ +000e2de0: 6465 2072 656d 6f76 655f 6970 7461 626c de remove_iptabl
│ │ │ +000e2df0: 6573 2d70 6572 7369 7374 656e 740a 0a63 es-persistent..c
│ │ │ +000e2e00: 6c61 7373 2072 656d 6f76 655f 6970 7461 lass remove_ipta
│ │ │ +000e2e10: 626c 6573 2d70 6572 7369 7374 656e 7420 bles-persistent
│ │ │ +000e2e20: 7b0a 2020 7061 636b 6167 6520 7b20 2769 {. package { 'i
│ │ │ +000e2e30: 7074 6162 6c65 732d 7065 7273 6973 7465 ptables-persiste
│ │ │ +000e2e40: 6e74 273a 0a20 2020 2065 6e73 7572 6520 nt':. ensure
│ │ │ +000e2e50: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ +000e2e60: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Remedia
│ │ │ -00126d90: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu
│ │ │ -00126da0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet .
│ │ │ -00126db0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
<
│ │ │ -00126df0: 636f 6465 3e0a 5b5b 7061 636b 6167 6573 code>.[[packages
│ │ │ -00126e00: 5d5d 0a6e 616d 6520 3d20 226e 6674 6162 ]].name = "nftab
│ │ │ -00126e10: 6c65 7322 0a76 6572 7369 6f6e 203d 2022 les".version = "
│ │ │ -00126e20: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".
│ │ │ -00126e30: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ -00126ee0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -00126ef0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -00126f70: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -00126f80: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00126f90: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -00126fa0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -00126fb0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -00126fe0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -00126ff0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -00127000: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -00127010: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include install
│ │ │ -00127030: 5f6e 6674 6162 6c65 730a 0a63 6c61 7373 _nftables..class
│ │ │ -00127040: 2069 6e73 7461 6c6c 5f6e 6674 6162 6c65 install_nftable
│ │ │ -00127050: 7320 7b0a 2020 7061 636b 6167 6520 7b20 s {. package {
│ │ │ -00127060: 276e 6674 6162 6c65 7327 3a0a 2020 2020 'nftables':.
│ │ │ -00127070: 656e 7375 7265 203d 2667 743b 2027 696e ensure => 'in
│ │ │ -00127080: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a stalled',. }.}.
│ │ │ -00127090: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -00127140: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ -00127150: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ -00127160: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -00127210: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -00127220: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00127230: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -00127240: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -00127260: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ -00127270: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ -00127290: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -001272a0: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -001272b0: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ -001272c0: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ -001272d0: 746f 0a20 2074 6167 733a 0a20 202d 2050 to. tags:. - P
│ │ │ -001272e0: 4349 2d44 5353 7634 2d31 2e32 0a20 202d CI-DSSv4-1.2. -
│ │ │ -001272f0: 2050 4349 2d44 5353 7634 2d31 2e32 2e31 PCI-DSSv4-1.2.1
│ │ │ -00127300: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ -00127310: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -00127320: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -00127330: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ -00127340: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ -00127350: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -00127360: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ -00127370: 6e66 7461 626c 6573 5f69 6e73 7461 6c6c nftables_install
│ │ │ -00127380: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu
│ │ │ -00127390: 7265 206e 6674 6162 6c65 7320 6973 2069 re nftables is i
│ │ │ -001273a0: 6e73 7461 6c6c 6564 0a20 2061 6e73 6962 nstalled. ansib
│ │ │ -001273b0: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -001273c0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6e66 ge:. name: nf
│ │ │ -001273d0: 7461 626c 6573 0a20 2020 2073 7461 7465 tables. state
│ │ │ -001273e0: 3a20 7072 6573 656e 740a 2020 7768 656e : present. when
│ │ │ -001273f0: 3a20 2820 226c 696e 7578 2d62 6173 6522 : ( "linux-base"
│ │ │ -00127400: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -00127410: 732e 7061 636b 6167 6573 2029 0a20 2074 s.packages ). t
│ │ │ -00127420: 6167 733a 0a20 202d 2050 4349 2d44 5353 ags:. - PCI-DSS
│ │ │ -00127430: 7634 2d31 2e32 0a20 202d 2050 4349 2d44 v4-1.2. - PCI-D
│ │ │ -00127440: 5353 7634 2d31 2e32 2e31 0a20 202d 2065 SSv4-1.2.1. - e
│ │ │ -00127450: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ -00127460: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -00127470: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -00127480: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -00127490: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -001274a0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001274b0: 2d20 7061 636b 6167 655f 6e66 7461 626c - package_nftabl
│ │ │ -001274c0: 6573 5f69 6e73 7461 6c6c 6564 0a3c 2f63 es_installed.
│ │ │ +00126db0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +00126de0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +00126e30: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +00126e40: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00126e50: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +00126e60: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +00126e70: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +00126e80: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +00126e90: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +00126ea0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ +00126ec0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +00126ee0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ +00126ef0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ +00126f00: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ +00126f10: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ +00126f20: 6773 3a0a 2020 2d20 5043 492d 4453 5376 gs:. - PCI-DSSv
│ │ │ +00126f30: 342d 312e 320a 2020 2d20 5043 492d 4453 4-1.2. - PCI-DS
│ │ │ +00126f40: 5376 342d 312e 322e 310a 2020 2d20 656e Sv4-1.2.1. - en
│ │ │ +00126f50: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +00126f60: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +00126f70: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +00126f80: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +00126f90: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +00126fa0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +00126fb0: 2070 6163 6b61 6765 5f6e 6674 6162 6c65 package_nftable
│ │ │ +00126fc0: 735f 696e 7374 616c 6c65 640a 0a2d 206e s_installed..- n
│ │ │ +00126fd0: 616d 653a 2045 6e73 7572 6520 6e66 7461 ame: Ensure nfta
│ │ │ +00126fe0: 626c 6573 2069 7320 696e 7374 616c 6c65 bles is installe
│ │ │ +00126ff0: 640a 2020 616e 7369 626c 652e 6275 696c d. ansible.buil
│ │ │ +00127000: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ +00127010: 206e 616d 653a 206e 6674 6162 6c65 730a name: nftables.
│ │ │ +00127020: 2020 2020 7374 6174 653a 2070 7265 7365 state: prese
│ │ │ +00127030: 6e74 0a20 2077 6865 6e3a 2028 2022 6c69 nt. when: ( "li
│ │ │ +00127040: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ +00127050: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ +00127060: 6765 7320 290a 2020 7461 6773 3a0a 2020 ges ). tags:.
│ │ │ +00127070: 2d20 5043 492d 4453 5376 342d 312e 320a - PCI-DSSv4-1.2.
│ │ │ +00127080: 2020 2d20 5043 492d 4453 5376 342d 312e - PCI-DSSv4-1.
│ │ │ +00127090: 322e 310a 2020 2d20 656e 6162 6c65 5f73 2.1. - enable_s
│ │ │ +001270a0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +001270b0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +001270c0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +001270d0: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +001270e0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +001270f0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +00127100: 6765 5f6e 6674 6162 6c65 735f 696e 7374 ge_nftables_inst
│ │ │ +00127110: 616c 6c65 640a 3c2f 636f 6465 3e3c 2f70 alled. Remediatio
│ │ │ +001271d0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +001271e0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +00127270: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +00127290: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001272a0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001272b0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001272c0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001272e0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include inst
│ │ │ +00127320: 616c 6c5f 6e66 7461 626c 6573 0a0a 636c all_nftables..cl
│ │ │ +00127330: 6173 7320 696e 7374 616c 6c5f 6e66 7461 ass install_nfta
│ │ │ +00127340: 626c 6573 207b 0a20 2070 6163 6b61 6765 bles {. package
│ │ │ +00127350: 207b 2027 6e66 7461 626c 6573 273a 0a20 { 'nftables':.
│ │ │ +00127360: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ +00127370: 2769 6e73 7461 6c6c 6564 272c 0a20 207d 'installed',. }
│ │ │ +00127380: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ +00127390: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation O
│ │ │ +00127440: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint
│ │ │ +00127450: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +00127460: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.
│ │ │ +001274a0: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d [[packages]].nam
│ │ │ +001274b0: 6520 3d20 226e 6674 6162 6c65 7322 0a76 e = "nftables".v
│ │ │ +001274c0: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63 ersion = "*".
│ │ │ 001274e0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation
│ │ │ -00128140: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ -00128150: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ -001281a0: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73 .[customizations
│ │ │ -001281b0: 2e73 6572 7669 6365 735d 0a65 6e61 626c .services].enabl
│ │ │ -001281c0: 6564 203d 205b 226e 6674 6162 6c65 7322 ed = ["nftables"
│ │ │ -001281d0: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ].
<
│ │ │ -001281e0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu
│ │ │ -00128290: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ -001282a0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -00128340: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -00128350: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -00128360: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00128370: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -00128380: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -00128390: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -001283a0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ -001283b0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001283d0: 696e 636c 7564 6520 656e 6162 6c65 5f6e include enable_n
│ │ │ -001283e0: 6674 6162 6c65 730a 0a63 6c61 7373 2065 ftables..class e
│ │ │ -001283f0: 6e61 626c 655f 6e66 7461 626c 6573 207b nable_nftables {
│ │ │ -00128400: 0a20 2073 6572 7669 6365 207b 276e 6674 . service {'nft
│ │ │ -00128410: 6162 6c65 7327 3a0a 2020 2020 656e 6162 ables':. enab
│ │ │ -00128420: 6c65 203d 2667 743b 2074 7275 652c 0a20 le => true,.
│ │ │ -00128430: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -00128440: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d 'running',. }.}
│ │ │ -00128450: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ -00128460: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Ans
│ │ │ -00128510: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ -00128520: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -001285c0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -001285d0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -001285e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001285f0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -00128600: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -00128610: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -00128620: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ -00128630: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -00128650: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ -00128660: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ -00128670: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ -00128680: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ -00128690: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ -001286a0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -001286b0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -001286c0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -001286d0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -001286e0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -001286f0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -00128700: 202d 2073 6572 7669 6365 5f6e 6674 6162 - service_nftab
│ │ │ -00128710: 6c65 735f 656e 6162 6c65 640a 0a2d 206e les_enabled..- n
│ │ │ -00128720: 616d 653a 2056 6572 6966 7920 6e66 7461 ame: Verify nfta
│ │ │ -00128730: 626c 6573 2053 6572 7669 6365 2069 7320 bles Service is
│ │ │ -00128740: 456e 6162 6c65 6420 2d20 456e 6162 6c65 Enabled - Enable
│ │ │ -00128750: 2073 6572 7669 6365 206e 6674 6162 6c65 service nftable
│ │ │ -00128760: 730a 2020 626c 6f63 6b3a 0a0a 2020 2d20 s. block:.. -
│ │ │ -00128770: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the
│ │ │ -00128780: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts.
│ │ │ -00128790: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ -001287a0: 696e 2e70 6163 6b61 6765 5f66 6163 7473 in.package_facts
│ │ │ -001287b0: 3a0a 2020 2020 2020 6d61 6e61 6765 723a :. manager:
│ │ │ -001287c0: 2061 7574 6f0a 0a20 202d 206e 616d 653a auto.. - name:
│ │ │ -001287d0: 2056 6572 6966 7920 6e66 7461 626c 6573 Verify nftables
│ │ │ -001287e0: 2053 6572 7669 6365 2069 7320 456e 6162 Service is Enab
│ │ │ -001287f0: 6c65 6420 2d20 456e 6162 6c65 2053 6572 led - Enable Ser
│ │ │ -00128800: 7669 6365 206e 6674 6162 6c65 730a 2020 vice nftables.
│ │ │ -00128810: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -00128820: 6e2e 7379 7374 656d 643a 0a20 2020 2020 n.systemd:.
│ │ │ -00128830: 206e 616d 653a 206e 6674 6162 6c65 730a name: nftables.
│ │ │ -00128840: 2020 2020 2020 656e 6162 6c65 643a 2074 enabled: t
│ │ │ -00128850: 7275 650a 2020 2020 2020 7374 6174 653a rue. state:
│ │ │ -00128860: 2073 7461 7274 6564 0a20 2020 2020 206d started. m
│ │ │ -00128870: 6173 6b65 643a 2066 616c 7365 0a20 2020 asked: false.
│ │ │ -00128880: 2077 6865 6e3a 0a20 2020 202d 2027 226e when:. - '"n
│ │ │ -00128890: 6674 6162 6c65 7322 2069 6e20 616e 7369 ftables" in ansi
│ │ │ -001288a0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -001288b0: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. -
│ │ │ -001288c0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -001288d0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -001288e0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -001288f0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -00128900: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -00128910: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -00128920: 202d 2073 6572 7669 6365 5f6e 6674 6162 - service_nftab
│ │ │ -00128930: 6c65 735f 656e 6162 6c65 640a 2020 2d20 les_enabled. -
│ │ │ -00128940: 7370 6563 6961 6c5f 7365 7276 6963 655f special_service_
│ │ │ -00128950: 626c 6f63 6b0a 2020 7768 656e 3a20 2820 block. when: (
│ │ │ -00128960: 226e 6674 6162 6c65 7322 2069 6e20 616e "nftables" in an
│ │ │ -00128970: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ -00128980: 6167 6573 2061 6e64 2022 6c69 6e75 782d ages and "linux-
│ │ │ -00128990: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ -001289a0: 5f66 6163 7473 2e70 6163 6b61 6765 730a _facts.packages.
│ │ │ -001289b0: 2020 2020 290a 3c2f 636f 6465 3e3c 2f70 ).
Complexity:
│ │ │ +001281e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +00128200: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +00128220: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +00128230: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +00128250: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +00128260: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +00128270: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +00128290: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +001282a0: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ +001282b0: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ +001282c0: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ +001282d0: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ +001282e0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +001282f0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +00128300: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +00128310: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ +00128320: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +00128330: 640a 2020 2d20 7365 7276 6963 655f 6e66 d. - service_nf
│ │ │ +00128340: 7461 626c 6573 5f65 6e61 626c 6564 0a0a tables_enabled..
│ │ │ +00128350: 2d20 6e61 6d65 3a20 5665 7269 6679 206e - name: Verify n
│ │ │ +00128360: 6674 6162 6c65 7320 5365 7276 6963 6520 ftables Service
│ │ │ +00128370: 6973 2045 6e61 626c 6564 202d 2045 6e61 is Enabled - Ena
│ │ │ +00128380: 626c 6520 7365 7276 6963 6520 6e66 7461 ble service nfta
│ │ │ +00128390: 626c 6573 0a20 2062 6c6f 636b 3a0a 0a20 bles. block:..
│ │ │ +001283a0: 202d 206e 616d 653a 2047 6174 6865 7220 - name: Gather
│ │ │ +001283b0: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ +001283c0: 730a 2020 2020 616e 7369 626c 652e 6275 s. ansible.bu
│ │ │ +001283d0: 696c 7469 6e2e 7061 636b 6167 655f 6661 iltin.package_fa
│ │ │ +001283e0: 6374 733a 0a20 2020 2020 206d 616e 6167 cts:. manag
│ │ │ +001283f0: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61 er: auto.. - na
│ │ │ +00128400: 6d65 3a20 5665 7269 6679 206e 6674 6162 me: Verify nftab
│ │ │ +00128410: 6c65 7320 5365 7276 6963 6520 6973 2045 les Service is E
│ │ │ +00128420: 6e61 626c 6564 202d 2045 6e61 626c 6520 nabled - Enable
│ │ │ +00128430: 5365 7276 6963 6520 6e66 7461 626c 6573 Service nftables
│ │ │ +00128440: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ +00128450: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:.
│ │ │ +00128460: 2020 2020 6e61 6d65 3a20 6e66 7461 626c name: nftabl
│ │ │ +00128470: 6573 0a20 2020 2020 2065 6e61 626c 6564 es. enabled
│ │ │ +00128480: 3a20 7472 7565 0a20 2020 2020 2073 7461 : true. sta
│ │ │ +00128490: 7465 3a20 7374 6172 7465 640a 2020 2020 te: started.
│ │ │ +001284a0: 2020 6d61 736b 6564 3a20 6661 6c73 650a masked: false.
│ │ │ +001284b0: 2020 2020 7768 656e 3a0a 2020 2020 2d20 when:. -
│ │ │ +001284c0: 2722 6e66 7461 626c 6573 2220 696e 2061 '"nftables" in a
│ │ │ +001284d0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +001284e0: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ +001284f0: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ +00128500: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +00128510: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +00128520: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +00128530: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ +00128540: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +00128550: 640a 2020 2d20 7365 7276 6963 655f 6e66 d. - service_nf
│ │ │ +00128560: 7461 626c 6573 5f65 6e61 626c 6564 0a20 tables_enabled.
│ │ │ +00128570: 202d 2073 7065 6369 616c 5f73 6572 7669 - special_servi
│ │ │ +00128580: 6365 5f62 6c6f 636b 0a20 2077 6865 6e3a ce_block. when:
│ │ │ +00128590: 2028 2022 6e66 7461 626c 6573 2220 696e ( "nftables" in
│ │ │ +001285a0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +001285b0: 6163 6b61 6765 7320 616e 6420 226c 696e ackages and "lin
│ │ │ +001285c0: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ +001285d0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ +001285e0: 6573 0a20 2020 2029 0a3c 2f63 6f64 653e es. ).
│ │ │ +001285f0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +001286a0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ +001286b0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +001286c0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001286d0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +001286e0: 7365 2220 6964 3d22 6964 3335 3622 3e3c se" id="id356"><
│ │ │ +001286f0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +00128700: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +00128710: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +00128720: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +00128730: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +00128740: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +00128750: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +00128780: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +00128790: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +001287a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +001287c0: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable <
│ │ │ +001287d0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include e
│ │ │ +001287f0: 6e61 626c 655f 6e66 7461 626c 6573 0a0a nable_nftables..
│ │ │ +00128800: 636c 6173 7320 656e 6162 6c65 5f6e 6674 class enable_nft
│ │ │ +00128810: 6162 6c65 7320 7b0a 2020 7365 7276 6963 ables {. servic
│ │ │ +00128820: 6520 7b27 6e66 7461 626c 6573 273a 0a20 e {'nftables':.
│ │ │ +00128830: 2020 2065 6e61 626c 6520 3d26 6774 3b20 enable =>
│ │ │ +00128840: 7472 7565 2c0a 2020 2020 656e 7375 7265 true,. ensure
│ │ │ +00128850: 203d 2667 743b 2027 7275 6e6e 696e 6727 => 'running'
│ │ │ +00128860: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ +00128870: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ +00128920: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue
│ │ │ +00128930: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet ..
│ │ │ +00128940: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customizat
│ │ │ +00128990: 696f 6e73 2e73 6572 7669 6365 735d 0a65 ions.services].e
│ │ │ +001289a0: 6e61 626c 6564 203d 205b 226e 6674 6162 nabled = ["nftab
│ │ │ +001289b0: 6c65 7322 5d0a 3c2f 636f 6465 3e3c 2f70 les"].
Rem
│ │ │ -001314a0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -001314b0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001314c0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -00131540: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -00131570: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -00131590: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001315a0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001315c0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -001315d0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ -001315f0: 6c75 6465 2072 656d 6f76 655f 7566 770a lude remove_ufw.
│ │ │ -00131600: 0a63 6c61 7373 2072 656d 6f76 655f 7566 .class remove_uf
│ │ │ -00131610: 7720 7b0a 2020 7061 636b 6167 6520 7b20 w {. package {
│ │ │ -00131620: 2775 6677 273a 0a20 2020 2065 6e73 7572 'ufw':. ensur
│ │ │ -00131630: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ -00131640: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ -00131650: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ -00131700: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ -00131710: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -00131720: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -00131730: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -00131740: 7365 2220 6964 3d22 6964 3337 3322 3e3c se" id="id373"><
│ │ │ -00131750: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -00131760: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -00131770: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -00131780: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -00131790: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -001317a0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -001317b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -001317e0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -001317f0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -00131800: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -00131820: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -00131830: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -00131850: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ -00131860: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ -00131870: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ -00131880: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ -00131890: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_
│ │ │ -001318a0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -001318b0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -001318c0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -001318d0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -001318e0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -001318f0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -00131900: 6167 655f 7566 775f 7265 6d6f 7665 640a age_ufw_removed.
│ │ │ -00131910: 0a2d 206e 616d 653a 2027 5265 6d6f 7665 .- name: 'Remove
│ │ │ -00131920: 2075 6677 2050 6163 6b61 6765 3a20 456e ufw Package: En
│ │ │ -00131930: 7375 7265 2075 6677 2069 7320 7265 6d6f sure ufw is remo
│ │ │ -00131940: 7665 6427 0a20 2061 6e73 6962 6c65 2e62 ved'. ansible.b
│ │ │ -00131950: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ -00131960: 2020 2020 6e61 6d65 3a20 7566 770a 2020 name: ufw.
│ │ │ -00131970: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ -00131980: 2020 7768 656e 3a20 2722 6c69 6e75 782d when: '"linux-
│ │ │ -00131990: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ -001319a0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ -001319b0: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ -001319c0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -001319d0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -001319e0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -001319f0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ -00131a00: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -00131a10: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -00131a20: 2070 6163 6b61 6765 5f75 6677 5f72 656d package_ufw_rem
│ │ │ -00131a30: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
│ │ │ +001314c0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +00131540: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +00131560: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +00131570: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +00131580: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00131590: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +001315a0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +001315b0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +001315c0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +001315d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +001315f0: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +00131600: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +00131610: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ +00131620: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ +00131630: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ +00131640: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +00131650: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +00131660: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +00131670: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +00131680: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +00131690: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001316a0: 2070 6163 6b61 6765 5f75 6677 5f72 656d package_ufw_rem
│ │ │ +001316b0: 6f76 6564 0a0a 2d20 6e61 6d65 3a20 2752 oved..- name: 'R
│ │ │ +001316c0: 656d 6f76 6520 7566 7720 5061 636b 6167 emove ufw Packag
│ │ │ +001316d0: 653a 2045 6e73 7572 6520 7566 7720 6973 e: Ensure ufw is
│ │ │ +001316e0: 2072 656d 6f76 6564 270a 2020 616e 7369 removed'. ansi
│ │ │ +001316f0: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ +00131700: 6167 653a 0a20 2020 206e 616d 653a 2075 age:. name: u
│ │ │ +00131710: 6677 0a20 2020 2073 7461 7465 3a20 6162 fw. state: ab
│ │ │ +00131720: 7365 6e74 0a20 2077 6865 6e3a 2027 226c sent. when: '"l
│ │ │ +00131730: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ +00131740: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +00131750: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ +00131760: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ +00131770: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +00131780: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +00131790: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +001317a0: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ +001317b0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +001317c0: 640a 2020 2d20 7061 636b 6167 655f 7566 d. - package_uf
│ │ │ +001317d0: 775f 7265 6d6f 7665 640a 3c2f 636f 6465 w_removed.
Remedi
│ │ │ +00131890: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +001318a0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001318b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001318e0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +00131930: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +00131940: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00131950: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +00131960: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +00131970: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +00131980: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +00131990: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001319a0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ +001319e0: 6520 7265 6d6f 7665 5f75 6677 0a0a 636c e remove_ufw..cl
│ │ │ +001319f0: 6173 7320 7265 6d6f 7665 5f75 6677 207b ass remove_ufw {
│ │ │ +00131a00: 0a20 2070 6163 6b61 6765 207b 2027 7566 . package { 'uf
│ │ │ +00131a10: 7727 3a0a 2020 2020 656e 7375 7265 203d w':. ensure =
│ │ │ +00131a20: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ +00131a30: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediation OS
│ │ │ -00132780: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint
│ │ │ -00132790: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001327a0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>.[
│ │ │ -001327e0: 6375 7374 6f6d 697a 6174 696f 6e73 2e73 customizations.s
│ │ │ -001327f0: 6572 7669 6365 735d 0a65 6e61 626c 6564 ervices].enabled
│ │ │ -00132800: 203d 205b 2275 6677 225d 0a3c 2f63 6f64 = ["ufw"].
Remed
│ │ │ -001328c0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -001328d0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -00132960: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -00132970: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00132980: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -00132990: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001329a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001329b0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001329c0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001329d0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
include
│ │ │ -00132a10: 2065 6e61 626c 655f 7566 770a 0a63 6c61 enable_ufw..cla
│ │ │ -00132a20: 7373 2065 6e61 626c 655f 7566 7720 7b0a ss enable_ufw {.
│ │ │ -00132a30: 2020 7365 7276 6963 6520 7b27 7566 7727 service {'ufw'
│ │ │ -00132a40: 3a0a 2020 2020 656e 6162 6c65 203d 2667 :. enable =&g
│ │ │ -00132a50: 743b 2074 7275 652c 0a20 2020 2065 6e73 t; true,. ens
│ │ │ -00132a60: 7572 6520 3d26 6774 3b20 2772 756e 6e69 ure => 'runni
│ │ │ -00132a70: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ng',. }.}.
Remed
│ │ │ -00132b30: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -00132b40: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -00132bd0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -00132be0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -00132c00: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -00132c20: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -00132c30: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -00132c50: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ -00132c70: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -00132c80: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ -00132c90: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ -00132ca0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ -00132cb0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ -00132cc0: 7461 6773 3a0a 2020 2d20 4449 5341 2d53 tags:. - DISA-S
│ │ │ -00132cd0: 5449 472d 5542 5455 2d32 322d 3235 3130 TIG-UBTU-22-2510
│ │ │ -00132ce0: 3230 0a20 202d 2065 6e61 626c 655f 7374 20. - enable_st
│ │ │ -00132cf0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -00132d00: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -00132d10: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -00132d20: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ -00132d30: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -00132d40: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic
│ │ │ -00132d50: 655f 7566 775f 656e 6162 6c65 640a 0a2d e_ufw_enabled..-
│ │ │ -00132d60: 206e 616d 653a 2056 6572 6966 7920 7566 name: Verify uf
│ │ │ -00132d70: 7720 456e 6162 6c65 6420 2d20 456e 6162 w Enabled - Enab
│ │ │ -00132d80: 6c65 2073 6572 7669 6365 2075 6677 0a20 le service ufw.
│ │ │ -00132d90: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d block:.. - nam
│ │ │ -00132da0: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ -00132db0: 636b 6167 6520 6661 6374 730a 2020 2020 ckage facts.
│ │ │ -00132dc0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -00132dd0: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ -00132de0: 2020 2020 206d 616e 6167 6572 3a20 6175 manager: au
│ │ │ -00132df0: 746f 0a0a 2020 2d20 6e61 6d65 3a20 5665 to.. - name: Ve
│ │ │ -00132e00: 7269 6679 2075 6677 2045 6e61 626c 6564 rify ufw Enabled
│ │ │ -00132e10: 202d 2045 6e61 626c 6520 5365 7276 6963 - Enable Servic
│ │ │ -00132e20: 6520 7566 770a 2020 2020 616e 7369 626c e ufw. ansibl
│ │ │ -00132e30: 652e 6275 696c 7469 6e2e 7379 7374 656d e.builtin.system
│ │ │ -00132e40: 643a 0a20 2020 2020 206e 616d 653a 2075 d:. name: u
│ │ │ -00132e50: 6677 0a20 2020 2020 2065 6e61 626c 6564 fw. enabled
│ │ │ -00132e60: 3a20 7472 7565 0a20 2020 2020 2073 7461 : true. sta
│ │ │ -00132e70: 7465 3a20 7374 6172 7465 640a 2020 2020 te: started.
│ │ │ -00132e80: 2020 6d61 736b 6564 3a20 6661 6c73 650a masked: false.
│ │ │ -00132e90: 2020 2020 7768 656e 3a0a 2020 2020 2d20 when:. -
│ │ │ -00132ea0: 2722 7566 7722 2069 6e20 616e 7369 626c '"ufw" in ansibl
│ │ │ -00132eb0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -00132ec0: 270a 2020 7461 6773 3a0a 2020 2d20 4449 '. tags:. - DI
│ │ │ -00132ed0: 5341 2d53 5449 472d 5542 5455 2d32 322d SA-STIG-UBTU-22-
│ │ │ -00132ee0: 3235 3130 3230 0a20 202d 2065 6e61 626c 251020. - enabl
│ │ │ -00132ef0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -00132f00: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -00132f10: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -00132f20: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -00132f30: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -00132f40: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ -00132f50: 7276 6963 655f 7566 775f 656e 6162 6c65 rvice_ufw_enable
│ │ │ -00132f60: 640a 2020 2d20 7370 6563 6961 6c5f 7365 d. - special_se
│ │ │ -00132f70: 7276 6963 655f 626c 6f63 6b0a 2020 7768 rvice_block. wh
│ │ │ -00132f80: 656e 3a0a 2020 2d20 2722 6c69 6e75 782d en:. - '"linux-
│ │ │ -00132f90: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ -00132fa0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ -00132fb0: 0a20 202d 2028 2022 7566 7722 2069 6e20 . - ( "ufw" in
│ │ │ -00132fc0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -00132fd0: 636b 6167 6573 2061 6e64 2022 6c69 6e75 ckages and "linu
│ │ │ -00132fe0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ -00132ff0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ -00133000: 7320 290a 3c2f 636f 6465 3e3c 2f70 7265 s ).Remediation An
│ │ │ +00132780: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ +00132790: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +00132810: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +00132820: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +00132830: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +00132840: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +00132850: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +00132880: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +00132890: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ +001328a0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +001328b0: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: Gather
│ │ │ +001328d0: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ +001328e0: 730a 2020 7061 636b 6167 655f 6661 6374 s. package_fact
│ │ │ +001328f0: 733a 0a20 2020 206d 616e 6167 6572 3a20 s:. manager:
│ │ │ +00132900: 6175 746f 0a20 2074 6167 733a 0a20 202d auto. tags:. -
│ │ │ +00132910: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU-
│ │ │ +00132920: 3232 2d32 3531 3032 300a 2020 2d20 656e 22-251020. - en
│ │ │ +00132930: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +00132940: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +00132950: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +00132960: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +00132970: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +00132980: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +00132990: 2073 6572 7669 6365 5f75 6677 5f65 6e61 service_ufw_ena
│ │ │ +001329a0: 626c 6564 0a0a 2d20 6e61 6d65 3a20 5665 bled..- name: Ve
│ │ │ +001329b0: 7269 6679 2075 6677 2045 6e61 626c 6564 rify ufw Enabled
│ │ │ +001329c0: 202d 2045 6e61 626c 6520 7365 7276 6963 - Enable servic
│ │ │ +001329d0: 6520 7566 770a 2020 626c 6f63 6b3a 0a0a e ufw. block:..
│ │ │ +001329e0: 2020 2d20 6e61 6d65 3a20 4761 7468 6572 - name: Gather
│ │ │ +001329f0: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ +00132a00: 7473 0a20 2020 2061 6e73 6962 6c65 2e62 ts. ansible.b
│ │ │ +00132a10: 7569 6c74 696e 2e70 6163 6b61 6765 5f66 uiltin.package_f
│ │ │ +00132a20: 6163 7473 3a0a 2020 2020 2020 6d61 6e61 acts:. mana
│ │ │ +00132a30: 6765 723a 2061 7574 6f0a 0a20 202d 206e ger: auto.. - n
│ │ │ +00132a40: 616d 653a 2056 6572 6966 7920 7566 7720 ame: Verify ufw
│ │ │ +00132a50: 456e 6162 6c65 6420 2d20 456e 6162 6c65 Enabled - Enable
│ │ │ +00132a60: 2053 6572 7669 6365 2075 6677 0a20 2020 Service ufw.
│ │ │ +00132a70: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +00132a80: 2e73 7973 7465 6d64 3a0a 2020 2020 2020 .systemd:.
│ │ │ +00132a90: 6e61 6d65 3a20 7566 770a 2020 2020 2020 name: ufw.
│ │ │ +00132aa0: 656e 6162 6c65 643a 2074 7275 650a 2020 enabled: true.
│ │ │ +00132ab0: 2020 2020 7374 6174 653a 2073 7461 7274 state: start
│ │ │ +00132ac0: 6564 0a20 2020 2020 206d 6173 6b65 643a ed. masked:
│ │ │ +00132ad0: 2066 616c 7365 0a20 2020 2077 6865 6e3a false. when:
│ │ │ +00132ae0: 0a20 2020 202d 2027 2275 6677 2220 696e . - '"ufw" in
│ │ │ +00132af0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +00132b00: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ +00132b10: 0a20 202d 2044 4953 412d 5354 4947 2d55 . - DISA-STIG-U
│ │ │ +00132b20: 4254 552d 3232 2d32 3531 3032 300a 2020 BTU-22-251020.
│ │ │ +00132b30: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ +00132b40: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +00132b50: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +00132b60: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ +00132b70: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ +00132b80: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +00132b90: 0a20 202d 2073 6572 7669 6365 5f75 6677 . - service_ufw
│ │ │ +00132ba0: 5f65 6e61 626c 6564 0a20 202d 2073 7065 _enabled. - spe
│ │ │ +00132bb0: 6369 616c 5f73 6572 7669 6365 5f62 6c6f cial_service_blo
│ │ │ +00132bc0: 636b 0a20 2077 6865 6e3a 0a20 202d 2027 ck. when:. - '
│ │ │ +00132bd0: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ +00132be0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ +00132bf0: 636b 6167 6573 270a 2020 2d20 2820 2275 ckages'. - ( "u
│ │ │ +00132c00: 6677 2220 696e 2061 6e73 6962 6c65 5f66 fw" in ansible_f
│ │ │ +00132c10: 6163 7473 2e70 6163 6b61 6765 7320 616e acts.packages an
│ │ │ +00132c20: 6420 226c 696e 7578 2d62 6173 6522 2069 d "linux-base" i
│ │ │ +00132c30: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ +00132c40: 7061 636b 6167 6573 2029 0a3c 2f63 6f64 packages ).
Remed
│ │ │ +00132d00: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ +00132d10: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +00132da0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +00132db0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00132dc0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +00132dd0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00132de0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +00132df0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +00132e00: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +00132e10: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
include
│ │ │ +00132e50: 2065 6e61 626c 655f 7566 770a 0a63 6c61 enable_ufw..cla
│ │ │ +00132e60: 7373 2065 6e61 626c 655f 7566 7720 7b0a ss enable_ufw {.
│ │ │ +00132e70: 2020 7365 7276 6963 6520 7b27 7566 7727 service {'ufw'
│ │ │ +00132e80: 3a0a 2020 2020 656e 6162 6c65 203d 2667 :. enable =&g
│ │ │ +00132e90: 743b 2074 7275 652c 0a20 2020 2065 6e73 t; true,. ens
│ │ │ +00132ea0: 7572 6520 3d26 6774 3b20 2772 756e 6e69 ure => 'runni
│ │ │ +00132eb0: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ng',. }.}.
Remed
│ │ │ +00132f70: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ +00132f80: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ +00132f90: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[customi
│ │ │ +00132fe0: 7a61 7469 6f6e 732e 7365 7276 6963 6573 zations.services
│ │ │ +00132ff0: 5d0a 656e 6162 6c65 6420 3d20 5b22 7566 ].enabled = ["uf
│ │ │ +00133000: 7722 5d0a 3c2f 636f 6465 3e3c 2f70 7265 w"].
Re
│ │ │ -001976b0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ -001976c0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ -001976d0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -001976e0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -001976f0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -00197700: 7365 2220 6964 3d22 6964 3533 3322 3e3c se" id="id533"><
│ │ │ -00197710: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust
│ │ │ -00197720: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi
│ │ │ -00197730: 6365 735d 0a6d 6173 6b65 6420 3d20 5b22 ces].masked = ["
│ │ │ -00197740: 6170 706f 7274 225d 0a3c 2f63 6f64 653e apport"].
│ │ │ -00197750: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063 Remedia
│ │ │ -00197800: 7469 6f6e 204b 7562 6572 6e65 7465 7320 tion Kubernetes
│ │ │ -00197810: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -00197820: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001978a0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001978d0: 3a3c 2f74 683e 3c74 643e 6d65 6469 756d : medium
│ │ │ -001978e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:true
│ │ │ -00197910: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -00197920: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -00197930: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e ap
│ │ │ -00197950: 6956 6572 7369 6f6e 3a20 6d61 6368 696e iVersion: machin
│ │ │ -00197960: 6563 6f6e 6669 6775 7261 7469 6f6e 2e6f econfiguration.o
│ │ │ -00197970: 7065 6e73 6869 6674 2e69 6f2f 7631 0a6b penshift.io/v1.k
│ │ │ -00197980: 696e 643a 204d 6163 6869 6e65 436f 6e66 ind: MachineConf
│ │ │ -00197990: 6967 0a73 7065 633a 0a20 2063 6f6e 6669 ig.spec:. confi
│ │ │ -001979a0: 673a 0a20 2020 2069 676e 6974 696f 6e3a g:. ignition:
│ │ │ -001979b0: 0a20 2020 2020 2076 6572 7369 6f6e 3a20 . version:
│ │ │ -001979c0: 332e 312e 300a 2020 2020 7379 7374 656d 3.1.0. system
│ │ │ -001979d0: 643a 0a20 2020 2020 2075 6e69 7473 3a0a d:. units:.
│ │ │ -001979e0: 2020 2020 2020 2d20 6e61 6d65 3a20 6170 - name: ap
│ │ │ -001979f0: 706f 7274 2e73 6572 7669 6365 0a20 2020 port.service.
│ │ │ -00197a00: 2020 2020 2065 6e61 626c 6564 3a20 6661 enabled: fa
│ │ │ -00197a10: 6c73 650a 2020 2020 2020 2020 6d61 736b lse. mask
│ │ │ -00197a20: 3a20 7472 7565 0a20 2020 2020 202d 206e : true. - n
│ │ │ -00197a30: 616d 653a 2061 7070 6f72 742e 736f 636b ame: apport.sock
│ │ │ -00197a40: 6574 0a20 2020 2020 2020 2065 6e61 626c et. enabl
│ │ │ -00197a50: 6564 3a20 6661 6c73 650a 2020 2020 2020 ed: false.
│ │ │ -00197a60: 2020 6d61 736b 3a20 7472 7565 0a3c 2f63 mask: true.
│ │ │ -00197a80: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -00197b20: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -00197b30: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -00197b40: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -00197bc0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -00197bf0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -00197c10: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -00197c20: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -00197c40: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ -00197c50: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -00197c60: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ -00197c70: 6465 2064 6973 6162 6c65 5f61 7070 6f72 de disable_appor
│ │ │ -00197c80: 740a 0a63 6c61 7373 2064 6973 6162 6c65 t..class disable
│ │ │ -00197c90: 5f61 7070 6f72 7420 7b0a 2020 7365 7276 _apport {. serv
│ │ │ -00197ca0: 6963 6520 7b27 6170 706f 7274 273a 0a20 ice {'apport':.
│ │ │ -00197cb0: 2020 2065 6e61 626c 6520 3d26 6774 3b20 enable =>
│ │ │ -00197cc0: 6661 6c73 652c 0a20 2020 2065 6e73 7572 false,. ensur
│ │ │ -00197cd0: 6520 3d26 6774 3b20 2773 746f 7070 6564 e => 'stopped
│ │ │ -00197ce0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ -00197cf0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -00197da0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -00197db0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00197dc0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -00197df0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -00197e40: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -00197e50: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00197e60: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -00197e70: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00197e80: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -00197e90: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -00197ea0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -00197eb0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ -00197ef0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ -00197f00: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ -00197f10: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ -00197f20: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ -00197f30: 6167 733a 0a20 202d 2064 6973 6162 6c65 ags:. - disable
│ │ │ -00197f40: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ -00197f50: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -00197f60: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -00197f70: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -00197f80: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ -00197f90: 5f61 7070 6f72 745f 6469 7361 626c 6564 _apport_disabled
│ │ │ -00197fa0: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576 . - unknown_sev
│ │ │ -00197fb0: 6572 6974 790a 0a2d 206e 616d 653a 2044 erity..- name: D
│ │ │ -00197fc0: 6973 6162 6c65 2041 7070 6f72 7420 5365 isable Apport Se
│ │ │ -00197fd0: 7276 6963 6520 2d20 4469 7361 626c 6520 rvice - Disable
│ │ │ -00197fe0: 7365 7276 6963 6520 6170 706f 7274 0a20 service apport.
│ │ │ -00197ff0: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d block:.. - nam
│ │ │ -00198000: 653a 2044 6973 6162 6c65 2041 7070 6f72 e: Disable Appor
│ │ │ -00198010: 7420 5365 7276 6963 6520 2d20 436f 6c6c t Service - Coll
│ │ │ -00198020: 6563 7420 7379 7374 656d 6420 5365 7276 ect systemd Serv
│ │ │ -00198030: 6963 6573 2050 7265 7365 6e74 2069 6e20 ices Present in
│ │ │ -00198040: 7468 6520 5379 7374 656d 0a20 2020 2061 the System. a
│ │ │ -00198050: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63 nsible.builtin.c
│ │ │ -00198060: 6f6d 6d61 6e64 3a20 7379 7374 656d 6374 ommand: systemct
│ │ │ -00198070: 6c20 2d71 206c 6973 742d 756e 6974 2d66 l -q list-unit-f
│ │ │ -00198080: 696c 6573 202d 2d74 7970 6520 7365 7276 iles --type serv
│ │ │ -00198090: 6963 650a 2020 2020 7265 6769 7374 6572 ice. register
│ │ │ -001980a0: 3a20 7365 7276 6963 655f 6578 6973 7473 : service_exists
│ │ │ -001980b0: 0a20 2020 2063 6861 6e67 6564 5f77 6865 . changed_whe
│ │ │ -001980c0: 6e3a 2066 616c 7365 0a20 2020 2066 6169 n: false. fai
│ │ │ -001980d0: 6c65 645f 7768 656e 3a20 7365 7276 6963 led_when: servic
│ │ │ -001980e0: 655f 6578 6973 7473 2e72 6320 6e6f 7420 e_exists.rc not
│ │ │ -001980f0: 696e 205b 302c 2031 5d0a 2020 2020 6368 in [0, 1]. ch
│ │ │ -00198100: 6563 6b5f 6d6f 6465 3a20 6661 6c73 650a eck_mode: false.
│ │ │ -00198110: 0a20 202d 206e 616d 653a 2044 6973 6162 . - name: Disab
│ │ │ -00198120: 6c65 2041 7070 6f72 7420 5365 7276 6963 le Apport Servic
│ │ │ -00198130: 6520 2d20 456e 7375 7265 2061 7070 6f72 e - Ensure appor
│ │ │ -00198140: 742e 7365 7276 6963 6520 6973 204d 6173 t.service is Mas
│ │ │ -00198150: 6b65 640a 2020 2020 616e 7369 626c 652e ked. ansible.
│ │ │ -00198160: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd:
│ │ │ -00198170: 0a20 2020 2020 206e 616d 653a 2061 7070 . name: app
│ │ │ -00198180: 6f72 742e 7365 7276 6963 650a 2020 2020 ort.service.
│ │ │ -00198190: 2020 7374 6174 653a 2073 746f 7070 6564 state: stopped
│ │ │ -001981a0: 0a20 2020 2020 2065 6e61 626c 6564 3a20 . enabled:
│ │ │ -001981b0: 6661 6c73 650a 2020 2020 2020 6d61 736b false. mask
│ │ │ -001981c0: 6564 3a20 7472 7565 0a20 2020 2077 6865 ed: true. whe
│ │ │ -001981d0: 6e3a 2073 6572 7669 6365 5f65 7869 7374 n: service_exist
│ │ │ -001981e0: 732e 7374 646f 7574 5f6c 696e 6573 2069 s.stdout_lines i
│ │ │ -001981f0: 7320 7365 6172 6368 2822 6170 706f 7274 s search("apport
│ │ │ -00198200: 2e73 6572 7669 6365 222c 206d 756c 7469 .service", multi
│ │ │ -00198210: 6c69 6e65 3d54 7275 6529 0a0a 2020 2d20 line=True).. -
│ │ │ -00198220: 6e61 6d65 3a20 556e 6974 2053 6f63 6b65 name: Unit Socke
│ │ │ -00198230: 7420 4578 6973 7473 202d 2061 7070 6f72 t Exists - appor
│ │ │ -00198240: 742e 736f 636b 6574 0a20 2020 2061 6e73 t.socket. ans
│ │ │ -00198250: 6962 6c65 2e62 7569 6c74 696e 2e63 6f6d ible.builtin.com
│ │ │ -00198260: 6d61 6e64 3a20 7379 7374 656d 6374 6c20 mand: systemctl
│ │ │ -00198270: 2d71 206c 6973 742d 756e 6974 2d66 696c -q list-unit-fil
│ │ │ -00198280: 6573 2061 7070 6f72 742e 736f 636b 6574 es apport.socket
│ │ │ -00198290: 0a20 2020 2072 6567 6973 7465 723a 2073 . register: s
│ │ │ -001982a0: 6f63 6b65 745f 6669 6c65 5f65 7869 7374 ocket_file_exist
│ │ │ -001982b0: 730a 2020 2020 6368 616e 6765 645f 7768 s. changed_wh
│ │ │ -001982c0: 656e 3a20 6661 6c73 650a 2020 2020 6661 en: false. fa
│ │ │ -001982d0: 696c 6564 5f77 6865 6e3a 2073 6f63 6b65 iled_when: socke
│ │ │ -001982e0: 745f 6669 6c65 5f65 7869 7374 732e 7263 t_file_exists.rc
│ │ │ -001982f0: 206e 6f74 2069 6e20 5b30 2c20 315d 0a20 not in [0, 1].
│ │ │ -00198300: 2020 2063 6865 636b 5f6d 6f64 653a 2066 check_mode: f
│ │ │ -00198310: 616c 7365 0a0a 2020 2d20 6e61 6d65 3a20 alse.. - name:
│ │ │ -00198320: 4469 7361 626c 6520 4170 706f 7274 2053 Disable Apport S
│ │ │ -00198330: 6572 7669 6365 202d 2044 6973 6162 6c65 ervice - Disable
│ │ │ -00198340: 2053 6f63 6b65 7420 6170 706f 7274 0a20 Socket apport.
│ │ │ -00198350: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ -00198360: 696e 2e73 7973 7465 6d64 3a0a 2020 2020 in.systemd:.
│ │ │ -00198370: 2020 6e61 6d65 3a20 6170 706f 7274 2e73 name: apport.s
│ │ │ -00198380: 6f63 6b65 740a 2020 2020 2020 656e 6162 ocket. enab
│ │ │ -00198390: 6c65 643a 2066 616c 7365 0a20 2020 2020 led: false.
│ │ │ -001983a0: 2073 7461 7465 3a20 7374 6f70 7065 640a state: stopped.
│ │ │ -001983b0: 2020 2020 2020 6d61 736b 6564 3a20 7472 masked: tr
│ │ │ -001983c0: 7565 0a20 2020 2077 6865 6e3a 2073 6f63 ue. when: soc
│ │ │ -001983d0: 6b65 745f 6669 6c65 5f65 7869 7374 732e ket_file_exists.
│ │ │ -001983e0: 7374 646f 7574 5f6c 696e 6573 2069 7320 stdout_lines is
│ │ │ -001983f0: 7365 6172 6368 2822 6170 706f 7274 2e73 search("apport.s
│ │ │ -00198400: 6f63 6b65 7422 2c20 6d75 6c74 696c 696e ocket", multilin
│ │ │ -00198410: 653d 5472 7565 290a 2020 7461 6773 3a0a e=True). tags:.
│ │ │ -00198420: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ -00198430: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -00198440: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -00198450: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ -00198460: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -00198470: 2020 2d20 7365 7276 6963 655f 6170 706f - service_appo
│ │ │ -00198480: 7274 5f64 6973 6162 6c65 640a 2020 2d20 rt_disabled. -
│ │ │ -00198490: 7370 6563 6961 6c5f 7365 7276 6963 655f special_service_
│ │ │ -001984a0: 626c 6f63 6b0a 2020 2d20 756e 6b6e 6f77 block. - unknow
│ │ │ -001984b0: 6e5f 7365 7665 7269 7479 0a20 2077 6865 n_severity. whe
│ │ │ -001984c0: 6e3a 2027 2261 7070 6f72 7422 2069 6e20 n: '"apport" in
│ │ │ -001984d0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -001984e0: 636b 6167 6573 270a 3c2f 636f 6465 3e3c ckages'.<
│ │ │ +001976b0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ +001976c0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ +00197750: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +00197760: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +00197770: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +00197780: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +00197790: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +001977c0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +001977d0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ +001977e0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ +00197800: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the
│ │ │ +00197810: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts.
│ │ │ +00197820: 2070 6163 6b61 6765 5f66 6163 7473 3a0a package_facts:.
│ │ │ +00197830: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ +00197840: 6f0a 2020 7461 6773 3a0a 2020 2d20 6469 o. tags:. - di
│ │ │ +00197850: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ +00197860: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +00197870: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +00197880: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo
│ │ │ +00197890: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ +001978a0: 7276 6963 655f 6170 706f 7274 5f64 6973 rvice_apport_dis
│ │ │ +001978b0: 6162 6c65 640a 2020 2d20 756e 6b6e 6f77 abled. - unknow
│ │ │ +001978c0: 6e5f 7365 7665 7269 7479 0a0a 2d20 6e61 n_severity..- na
│ │ │ +001978d0: 6d65 3a20 4469 7361 626c 6520 4170 706f me: Disable Appo
│ │ │ +001978e0: 7274 2053 6572 7669 6365 202d 2044 6973 rt Service - Dis
│ │ │ +001978f0: 6162 6c65 2073 6572 7669 6365 2061 7070 able service app
│ │ │ +00197900: 6f72 740a 2020 626c 6f63 6b3a 0a0a 2020 ort. block:..
│ │ │ +00197910: 2d20 6e61 6d65 3a20 4469 7361 626c 6520 - name: Disable
│ │ │ +00197920: 4170 706f 7274 2053 6572 7669 6365 202d Apport Service -
│ │ │ +00197930: 2043 6f6c 6c65 6374 2073 7973 7465 6d64 Collect systemd
│ │ │ +00197940: 2053 6572 7669 6365 7320 5072 6573 656e Services Presen
│ │ │ +00197950: 7420 696e 2074 6865 2053 7973 7465 6d0a t in the System.
│ │ │ +00197960: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ +00197970: 7469 6e2e 636f 6d6d 616e 643a 2073 7973 tin.command: sys
│ │ │ +00197980: 7465 6d63 746c 202d 7120 6c69 7374 2d75 temctl -q list-u
│ │ │ +00197990: 6e69 742d 6669 6c65 7320 2d2d 7479 7065 nit-files --type
│ │ │ +001979a0: 2073 6572 7669 6365 0a20 2020 2072 6567 service. reg
│ │ │ +001979b0: 6973 7465 723a 2073 6572 7669 6365 5f65 ister: service_e
│ │ │ +001979c0: 7869 7374 730a 2020 2020 6368 616e 6765 xists. change
│ │ │ +001979d0: 645f 7768 656e 3a20 6661 6c73 650a 2020 d_when: false.
│ │ │ +001979e0: 2020 6661 696c 6564 5f77 6865 6e3a 2073 failed_when: s
│ │ │ +001979f0: 6572 7669 6365 5f65 7869 7374 732e 7263 ervice_exists.rc
│ │ │ +00197a00: 206e 6f74 2069 6e20 5b30 2c20 315d 0a20 not in [0, 1].
│ │ │ +00197a10: 2020 2063 6865 636b 5f6d 6f64 653a 2066 check_mode: f
│ │ │ +00197a20: 616c 7365 0a0a 2020 2d20 6e61 6d65 3a20 alse.. - name:
│ │ │ +00197a30: 4469 7361 626c 6520 4170 706f 7274 2053 Disable Apport S
│ │ │ +00197a40: 6572 7669 6365 202d 2045 6e73 7572 6520 ervice - Ensure
│ │ │ +00197a50: 6170 706f 7274 2e73 6572 7669 6365 2069 apport.service i
│ │ │ +00197a60: 7320 4d61 736b 6564 0a20 2020 2061 6e73 s Masked. ans
│ │ │ +00197a70: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys
│ │ │ +00197a80: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65 temd:. name
│ │ │ +00197a90: 3a20 6170 706f 7274 2e73 6572 7669 6365 : apport.service
│ │ │ +00197aa0: 0a20 2020 2020 2073 7461 7465 3a20 7374 . state: st
│ │ │ +00197ab0: 6f70 7065 640a 2020 2020 2020 656e 6162 opped. enab
│ │ │ +00197ac0: 6c65 643a 2066 616c 7365 0a20 2020 2020 led: false.
│ │ │ +00197ad0: 206d 6173 6b65 643a 2074 7275 650a 2020 masked: true.
│ │ │ +00197ae0: 2020 7768 656e 3a20 7365 7276 6963 655f when: service_
│ │ │ +00197af0: 6578 6973 7473 2e73 7464 6f75 745f 6c69 exists.stdout_li
│ │ │ +00197b00: 6e65 7320 6973 2073 6561 7263 6828 2261 nes is search("a
│ │ │ +00197b10: 7070 6f72 742e 7365 7276 6963 6522 2c20 pport.service",
│ │ │ +00197b20: 6d75 6c74 696c 696e 653d 5472 7565 290a multiline=True).
│ │ │ +00197b30: 0a20 202d 206e 616d 653a 2055 6e69 7420 . - name: Unit
│ │ │ +00197b40: 536f 636b 6574 2045 7869 7374 7320 2d20 Socket Exists -
│ │ │ +00197b50: 6170 706f 7274 2e73 6f63 6b65 740a 2020 apport.socket.
│ │ │ +00197b60: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +00197b70: 6e2e 636f 6d6d 616e 643a 2073 7973 7465 n.command: syste
│ │ │ +00197b80: 6d63 746c 202d 7120 6c69 7374 2d75 6e69 mctl -q list-uni
│ │ │ +00197b90: 742d 6669 6c65 7320 6170 706f 7274 2e73 t-files apport.s
│ │ │ +00197ba0: 6f63 6b65 740a 2020 2020 7265 6769 7374 ocket. regist
│ │ │ +00197bb0: 6572 3a20 736f 636b 6574 5f66 696c 655f er: socket_file_
│ │ │ +00197bc0: 6578 6973 7473 0a20 2020 2063 6861 6e67 exists. chang
│ │ │ +00197bd0: 6564 5f77 6865 6e3a 2066 616c 7365 0a20 ed_when: false.
│ │ │ +00197be0: 2020 2066 6169 6c65 645f 7768 656e 3a20 failed_when:
│ │ │ +00197bf0: 736f 636b 6574 5f66 696c 655f 6578 6973 socket_file_exis
│ │ │ +00197c00: 7473 2e72 6320 6e6f 7420 696e 205b 302c ts.rc not in [0,
│ │ │ +00197c10: 2031 5d0a 2020 2020 6368 6563 6b5f 6d6f 1]. check_mo
│ │ │ +00197c20: 6465 3a20 6661 6c73 650a 0a20 202d 206e de: false.. - n
│ │ │ +00197c30: 616d 653a 2044 6973 6162 6c65 2041 7070 ame: Disable App
│ │ │ +00197c40: 6f72 7420 5365 7276 6963 6520 2d20 4469 ort Service - Di
│ │ │ +00197c50: 7361 626c 6520 536f 636b 6574 2061 7070 sable Socket app
│ │ │ +00197c60: 6f72 740a 2020 2020 616e 7369 626c 652e ort. ansible.
│ │ │ +00197c70: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd:
│ │ │ +00197c80: 0a20 2020 2020 206e 616d 653a 2061 7070 . name: app
│ │ │ +00197c90: 6f72 742e 736f 636b 6574 0a20 2020 2020 ort.socket.
│ │ │ +00197ca0: 2065 6e61 626c 6564 3a20 6661 6c73 650a enabled: false.
│ │ │ +00197cb0: 2020 2020 2020 7374 6174 653a 2073 746f state: sto
│ │ │ +00197cc0: 7070 6564 0a20 2020 2020 206d 6173 6b65 pped. maske
│ │ │ +00197cd0: 643a 2074 7275 650a 2020 2020 7768 656e d: true. when
│ │ │ +00197ce0: 3a20 736f 636b 6574 5f66 696c 655f 6578 : socket_file_ex
│ │ │ +00197cf0: 6973 7473 2e73 7464 6f75 745f 6c69 6e65 ists.stdout_line
│ │ │ +00197d00: 7320 6973 2073 6561 7263 6828 2261 7070 s is search("app
│ │ │ +00197d10: 6f72 742e 736f 636b 6574 222c 206d 756c ort.socket", mul
│ │ │ +00197d20: 7469 6c69 6e65 3d54 7275 6529 0a20 2074 tiline=True). t
│ │ │ +00197d30: 6167 733a 0a20 202d 2064 6973 6162 6c65 ags:. - disable
│ │ │ +00197d40: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +00197d50: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +00197d60: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +00197d70: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +00197d80: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ +00197d90: 5f61 7070 6f72 745f 6469 7361 626c 6564 _apport_disabled
│ │ │ +00197da0: 0a20 202d 2073 7065 6369 616c 5f73 6572 . - special_ser
│ │ │ +00197db0: 7669 6365 5f62 6c6f 636b 0a20 202d 2075 vice_block. - u
│ │ │ +00197dc0: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a nknown_severity.
│ │ │ +00197dd0: 2020 7768 656e 3a20 2722 6170 706f 7274 when: '"apport
│ │ │ +00197de0: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +00197df0: 7473 2e70 6163 6b61 6765 7327 0a3c 2f63 ts.packages'.
│ │ │ +00197e10: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +00197eb0: 6564 6961 7469 6f6e 204b 7562 6572 6e65 ediation Kuberne
│ │ │ +00197ec0: 7465 7320 736e 6970 7065 7420 e287 b23c tes snippet ...<
│ │ │ +00197ed0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +00197f80: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6d65 tion: me
│ │ │ +00197f90: 6469 756d 3c2f 7464 3e3c 2f74 723e 3c74 dium Reboot: true <
│ │ │ +00197fc0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +00197fd0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ +00197fe0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ +00197ff0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>apiVersion: ma
│ │ │ +00198010: 6368 696e 6563 6f6e 6669 6775 7261 7469 chineconfigurati
│ │ │ +00198020: 6f6e 2e6f 7065 6e73 6869 6674 2e69 6f2f on.openshift.io/
│ │ │ +00198030: 7631 0a6b 696e 643a 204d 6163 6869 6e65 v1.kind: Machine
│ │ │ +00198040: 436f 6e66 6967 0a73 7065 633a 0a20 2063 Config.spec:. c
│ │ │ +00198050: 6f6e 6669 673a 0a20 2020 2069 676e 6974 onfig:. ignit
│ │ │ +00198060: 696f 6e3a 0a20 2020 2020 2076 6572 7369 ion:. versi
│ │ │ +00198070: 6f6e 3a20 332e 312e 300a 2020 2020 7379 on: 3.1.0. sy
│ │ │ +00198080: 7374 656d 643a 0a20 2020 2020 2075 6e69 stemd:. uni
│ │ │ +00198090: 7473 3a0a 2020 2020 2020 2d20 6e61 6d65 ts:. - name
│ │ │ +001980a0: 3a20 6170 706f 7274 2e73 6572 7669 6365 : apport.service
│ │ │ +001980b0: 0a20 2020 2020 2020 2065 6e61 626c 6564 . enabled
│ │ │ +001980c0: 3a20 6661 6c73 650a 2020 2020 2020 2020 : false.
│ │ │ +001980d0: 6d61 736b 3a20 7472 7565 0a20 2020 2020 mask: true.
│ │ │ +001980e0: 202d 206e 616d 653a 2061 7070 6f72 742e - name: apport.
│ │ │ +001980f0: 736f 636b 6574 0a20 2020 2020 2020 2065 socket. e
│ │ │ +00198100: 6e61 626c 6564 3a20 6661 6c73 650a 2020 nabled: false.
│ │ │ +00198110: 2020 2020 2020 6d61 736b 3a20 7472 7565 mask: true
│ │ │ +00198120: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +00198130: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ +001981e0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +001981f0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +001982a0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001982b0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001982c0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001982d0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001982f0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +00198300: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ +00198320: 6e63 6c75 6465 2064 6973 6162 6c65 5f61 nclude disable_a
│ │ │ +00198330: 7070 6f72 740a 0a63 6c61 7373 2064 6973 pport..class dis
│ │ │ +00198340: 6162 6c65 5f61 7070 6f72 7420 7b0a 2020 able_apport {.
│ │ │ +00198350: 7365 7276 6963 6520 7b27 6170 706f 7274 service {'apport
│ │ │ +00198360: 273a 0a20 2020 2065 6e61 626c 6520 3d26 ':. enable =&
│ │ │ +00198370: 6774 3b20 6661 6c73 652c 0a20 2020 2065 gt; false,. e
│ │ │ +00198380: 6e73 7572 6520 3d26 6774 3b20 2773 746f nsure => 'sto
│ │ │ +00198390: 7070 6564 272c 0a20 207d 0a7d 0a3c 2f63 pped',. }.}.
│ │ │ +001983b0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +00198450: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ +00198460: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ +00198470: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[custo
│ │ │ +001984c0: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic
│ │ │ +001984d0: 6573 5d0a 6d61 736b 6564 203d 205b 2261 es].masked = ["a
│ │ │ +001984e0: 7070 6f72 7422 5d0a 3c2f 636f 6465 3e3c pport"].<
│ │ │ 001984f0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediat
│ │ │ -0019a0d0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -0019a0e0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0019a160: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -0019a170: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -0019a180: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -0019a1c0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -0019a1d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -0019a1f0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -0019a200: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
.include
│ │ │ -0019a220: 7265 6d6f 7665 5f61 7661 6869 2d64 6165 remove_avahi-dae
│ │ │ -0019a230: 6d6f 6e0a 0a63 6c61 7373 2072 656d 6f76 mon..class remov
│ │ │ -0019a240: 655f 6176 6168 692d 6461 656d 6f6e 207b e_avahi-daemon {
│ │ │ -0019a250: 0a20 2070 6163 6b61 6765 207b 2027 6176 . package { 'av
│ │ │ -0019a260: 6168 692d 6461 656d 6f6e 273a 0a20 2020 ahi-daemon':.
│ │ │ -0019a270: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p
│ │ │ -0019a280: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
│ │ │ -0019a290: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ -0019a340: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ -0019a350: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ -0019a3e0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -0019a3f0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0019a400: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -0019a410: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -0019a420: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -0019a450: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -0019a460: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -0019a470: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ -0019a490: 6e61 6d65 3a20 2755 6e69 6e73 7461 6c6c name: 'Uninstall
│ │ │ -0019a4a0: 2061 7661 6869 2053 6572 7665 7220 5061 avahi Server Pa
│ │ │ -0019a4b0: 636b 6167 653a 2045 6e73 7572 6520 6176 ckage: Ensure av
│ │ │ -0019a4c0: 6168 692d 6461 656d 6f6e 2069 7320 7265 ahi-daemon is re
│ │ │ -0019a4d0: 6d6f 7665 6427 0a20 2061 6e73 6962 6c65 moved'. ansible
│ │ │ -0019a4e0: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ -0019a4f0: 3a0a 2020 2020 6e61 6d65 3a20 6176 6168 :. name: avah
│ │ │ -0019a500: 692d 6461 656d 6f6e 0a20 2020 2073 7461 i-daemon. sta
│ │ │ -0019a510: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ -0019a520: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ -0019a530: 3533 2d43 4d2d 3628 6129 0a20 202d 204e 53-CM-6(a). - N
│ │ │ -0019a540: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ -0019a550: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ -0019a560: 3533 2d43 4d2d 3728 6229 0a20 202d 2064 53-CM-7(b). - d
│ │ │ -0019a570: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ -0019a580: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -0019a590: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -0019a5a0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -0019a5b0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -0019a5c0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -0019a5d0: 202d 2070 6163 6b61 6765 5f61 7661 6869 - package_avahi
│ │ │ -0019a5e0: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e _removed.
│ │ │ +0019a0d0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ +0019a0e0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +0019a0f0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +0019a100: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +0019a110: 7365 2220 6964 3d22 6964 3533 3922 3e3c se" id="id539"><
│ │ │ +0019a120: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +0019a130: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +0019a140: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +0019a150: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +0019a160: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +0019a170: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +0019a180: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +0019a1b0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +0019a1c0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +0019a1d0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +0019a1f0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +0019a200: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +0019a220: 2755 6e69 6e73 7461 6c6c 2061 7661 6869 'Uninstall avahi
│ │ │ +0019a230: 2053 6572 7665 7220 5061 636b 6167 653a Server Package:
│ │ │ +0019a240: 2045 6e73 7572 6520 6176 6168 692d 6461 Ensure avahi-da
│ │ │ +0019a250: 656d 6f6e 2069 7320 7265 6d6f 7665 6427 emon is removed'
│ │ │ +0019a260: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ +0019a270: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ +0019a280: 6e61 6d65 3a20 6176 6168 692d 6461 656d name: avahi-daem
│ │ │ +0019a290: 6f6e 0a20 2020 2073 7461 7465 3a20 6162 on. state: ab
│ │ │ +0019a2a0: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. -
│ │ │ +0019a2b0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +0019a2c0: 3628 6129 0a20 202d 204e 4953 542d 3830 6(a). - NIST-80
│ │ │ +0019a2d0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d 0-53-CM-7(a). -
│ │ │ +0019a2e0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +0019a2f0: 3728 6229 0a20 202d 2064 6973 6162 6c65 7(b). - disable
│ │ │ +0019a300: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +0019a310: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +0019a320: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +0019a330: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +0019a340: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +0019a350: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +0019a360: 6b61 6765 5f61 7661 6869 5f72 656d 6f76 kage_avahi_remov
│ │ │ +0019a370: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +0019a380: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ +0019a430: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ +0019a440: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +0019a4c0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +0019a4d0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +0019a4e0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +0019a4f0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +0019a500: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +0019a530: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +0019a540: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ +0019a550: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ +0019a560: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ +0019a580: 655f 6176 6168 692d 6461 656d 6f6e 0a0a e_avahi-daemon..
│ │ │ +0019a590: 636c 6173 7320 7265 6d6f 7665 5f61 7661 class remove_ava
│ │ │ +0019a5a0: 6869 2d64 6165 6d6f 6e20 7b0a 2020 7061 hi-daemon {. pa
│ │ │ +0019a5b0: 636b 6167 6520 7b20 2761 7661 6869 2d64 ckage { 'avahi-d
│ │ │ +0019a5c0: 6165 6d6f 6e27 3a0a 2020 2020 656e 7375 aemon':. ensu
│ │ │ +0019a5d0: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged
│ │ │ +0019a5e0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ 0019a5f0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Rem
│ │ │ -0019b760: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ -0019b770: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ -0019b780: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[custo
│ │ │ -0019b7d0: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic
│ │ │ -0019b7e0: 6573 5d0a 6d61 736b 6564 203d 205b 2261 es].masked = ["a
│ │ │ -0019b7f0: 7661 6869 2d64 6165 6d6f 6e22 5d0a 3c2f vahi-daemon"].
│ │ │ -0019b800: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>Re
│ │ │ -0019b8b0: 6d65 6469 6174 696f 6e20 4b75 6265 726e mediation Kubern
│ │ │ -0019b8c0: 6574 6573 2073 6e69 7070 6574 20e2 87b2 etes snippet ...
│ │ │ -0019b8d0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -0019b970: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -0019b980: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6d ption: m
│ │ │ -0019b990: 6564 6975 6d3c 2f74 643e 3c2f 7472 3e3c edium <
│ │ │ -0019b9a0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -0019b9b0: 7468 3e3c 7464 3e74 7275 653c 2f74 643e th> true
│ │ │ -0019b9c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -0019b9d0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ -0019b9e0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ -0019b9f0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
apiVersion: m
│ │ │ -0019ba10: 6163 6869 6e65 636f 6e66 6967 7572 6174 achineconfigurat
│ │ │ -0019ba20: 696f 6e2e 6f70 656e 7368 6966 742e 696f ion.openshift.io
│ │ │ -0019ba30: 2f76 310a 6b69 6e64 3a20 4d61 6368 696e /v1.kind: Machin
│ │ │ -0019ba40: 6543 6f6e 6669 670a 7370 6563 3a0a 2020 eConfig.spec:.
│ │ │ -0019ba50: 636f 6e66 6967 3a0a 2020 2020 6967 6e69 config:. igni
│ │ │ -0019ba60: 7469 6f6e 3a0a 2020 2020 2020 7665 7273 tion:. vers
│ │ │ -0019ba70: 696f 6e3a 2033 2e31 2e30 0a20 2020 2073 ion: 3.1.0. s
│ │ │ -0019ba80: 7973 7465 6d64 3a0a 2020 2020 2020 756e ystemd:. un
│ │ │ -0019ba90: 6974 733a 0a20 2020 2020 202d 206e 616d its:. - nam
│ │ │ -0019baa0: 653a 2061 7661 6869 2d64 6165 6d6f 6e2e e: avahi-daemon.
│ │ │ -0019bab0: 7365 7276 6963 650a 2020 2020 2020 2020 service.
│ │ │ -0019bac0: 656e 6162 6c65 643a 2066 616c 7365 0a20 enabled: false.
│ │ │ -0019bad0: 2020 2020 2020 206d 6173 6b3a 2074 7275 mask: tru
│ │ │ -0019bae0: 650a 2020 2020 2020 2d20 6e61 6d65 3a20 e. - name:
│ │ │ -0019baf0: 6176 6168 692d 6461 656d 6f6e 2e73 6f63 avahi-daemon.soc
│ │ │ -0019bb00: 6b65 740a 2020 2020 2020 2020 656e 6162 ket. enab
│ │ │ -0019bb10: 6c65 643a 2066 616c 7365 0a20 2020 2020 led: false.
│ │ │ -0019bb20: 2020 206d 6173 6b3a 2074 7275 650a 3c2f mask: true.
│ │ │ -0019bb30: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ -0019bbe0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ -0019bbf0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -0019bc00: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -0019bc80: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -0019bca0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -0019bcb0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -0019bcc0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -0019bcd0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -0019bce0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -0019bcf0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -0019bd00: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -0019bd10: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -0019bd30: 7564 6520 6469 7361 626c 655f 6176 6168 ude disable_avah
│ │ │ -0019bd40: 692d 6461 656d 6f6e 0a0a 636c 6173 7320 i-daemon..class
│ │ │ -0019bd50: 6469 7361 626c 655f 6176 6168 692d 6461 disable_avahi-da
│ │ │ -0019bd60: 656d 6f6e 207b 0a20 2073 6572 7669 6365 emon {. service
│ │ │ -0019bd70: 207b 2761 7661 6869 2d64 6165 6d6f 6e27 {'avahi-daemon'
│ │ │ -0019bd80: 3a0a 2020 2020 656e 6162 6c65 203d 2667 :. enable =&g
│ │ │ -0019bd90: 743b 2066 616c 7365 2c0a 2020 2020 656e t; false,. en
│ │ │ -0019bda0: 7375 7265 203d 2667 743b 2027 7374 6f70 sure => 'stop
│ │ │ -0019bdb0: 7065 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ped',. }.}.
<
│ │ │ -0019bdd0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -0019bde0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -0019bdf0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -0019be00: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -0019be10: 6435 3436 2220 7461 6269 6e64 6578 3d22 d546" tabindex="
│ │ │ -0019be20: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -0019be30: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -0019be40: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -0019be50: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -0019be60: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -0019be70: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -0019be80: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -0019be90: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -0019bf10: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -0019bf40: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -0019bf60: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -0019bf70: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -0019bf90: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -0019bfa0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -0019bfc0: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ -0019bfd0: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ -0019bfe0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -0019bff0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ -0019c000: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ -0019c010: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -0019c020: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -0019c030: 434d 2d37 2861 290a 2020 2d20 4e49 5354 CM-7(a). - NIST
│ │ │ -0019c040: 2d38 3030 2d35 332d 434d 2d37 2862 290a -800-53-CM-7(b).
│ │ │ -0019c050: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ -0019c060: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ -0019c070: 322e 322e 340a 2020 2d20 6469 7361 626c 2.2.4. - disabl
│ │ │ -0019c080: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -0019c090: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -0019c0a0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -0019c0b0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -0019c0c0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -0019c0d0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ -0019c0e0: 7276 6963 655f 6176 6168 692d 6461 656d rvice_avahi-daem
│ │ │ -0019c0f0: 6f6e 5f64 6973 6162 6c65 640a 0a2d 206e on_disabled..- n
│ │ │ -0019c100: 616d 653a 2044 6973 6162 6c65 2041 7661 ame: Disable Ava
│ │ │ -0019c110: 6869 2053 6572 7665 7220 536f 6674 7761 hi Server Softwa
│ │ │ -0019c120: 7265 202d 2044 6973 6162 6c65 2073 6572 re - Disable ser
│ │ │ -0019c130: 7669 6365 2061 7661 6869 2d64 6165 6d6f vice avahi-daemo
│ │ │ -0019c140: 6e0a 2020 626c 6f63 6b3a 0a0a 2020 2d20 n. block:.. -
│ │ │ -0019c150: 6e61 6d65 3a20 4469 7361 626c 6520 4176 name: Disable Av
│ │ │ -0019c160: 6168 6920 5365 7276 6572 2053 6f66 7477 ahi Server Softw
│ │ │ -0019c170: 6172 6520 2d20 436f 6c6c 6563 7420 7379 are - Collect sy
│ │ │ -0019c180: 7374 656d 6420 5365 7276 6963 6573 2050 stemd Services P
│ │ │ -0019c190: 7265 7365 6e74 2069 6e20 7468 650a 2020 resent in the.
│ │ │ -0019c1a0: 2020 2020 5379 7374 656d 0a20 2020 2061 System. a
│ │ │ -0019c1b0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63 nsible.builtin.c
│ │ │ -0019c1c0: 6f6d 6d61 6e64 3a20 7379 7374 656d 6374 ommand: systemct
│ │ │ -0019c1d0: 6c20 2d71 206c 6973 742d 756e 6974 2d66 l -q list-unit-f
│ │ │ -0019c1e0: 696c 6573 202d 2d74 7970 6520 7365 7276 iles --type serv
│ │ │ -0019c1f0: 6963 650a 2020 2020 7265 6769 7374 6572 ice. register
│ │ │ -0019c200: 3a20 7365 7276 6963 655f 6578 6973 7473 : service_exists
│ │ │ -0019c210: 0a20 2020 2063 6861 6e67 6564 5f77 6865 . changed_whe
│ │ │ -0019c220: 6e3a 2066 616c 7365 0a20 2020 2066 6169 n: false. fai
│ │ │ -0019c230: 6c65 645f 7768 656e 3a20 7365 7276 6963 led_when: servic
│ │ │ -0019c240: 655f 6578 6973 7473 2e72 6320 6e6f 7420 e_exists.rc not
│ │ │ -0019c250: 696e 205b 302c 2031 5d0a 2020 2020 6368 in [0, 1]. ch
│ │ │ -0019c260: 6563 6b5f 6d6f 6465 3a20 6661 6c73 650a eck_mode: false.
│ │ │ -0019c270: 0a20 202d 206e 616d 653a 2044 6973 6162 . - name: Disab
│ │ │ -0019c280: 6c65 2041 7661 6869 2053 6572 7665 7220 le Avahi Server
│ │ │ -0019c290: 536f 6674 7761 7265 202d 2045 6e73 7572 Software - Ensur
│ │ │ -0019c2a0: 6520 6176 6168 692d 6461 656d 6f6e 2e73 e avahi-daemon.s
│ │ │ -0019c2b0: 6572 7669 6365 2069 7320 4d61 736b 6564 ervice is Masked
│ │ │ -0019c2c0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -0019c2d0: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:.
│ │ │ -0019c2e0: 2020 2020 6e61 6d65 3a20 6176 6168 692d name: avahi-
│ │ │ -0019c2f0: 6461 656d 6f6e 2e73 6572 7669 6365 0a20 daemon.service.
│ │ │ -0019c300: 2020 2020 2073 7461 7465 3a20 7374 6f70 state: stop
│ │ │ -0019c310: 7065 640a 2020 2020 2020 656e 6162 6c65 ped. enable
│ │ │ -0019c320: 643a 2066 616c 7365 0a20 2020 2020 206d d: false. m
│ │ │ -0019c330: 6173 6b65 643a 2074 7275 650a 2020 2020 asked: true.
│ │ │ -0019c340: 7768 656e 3a20 7365 7276 6963 655f 6578 when: service_ex
│ │ │ -0019c350: 6973 7473 2e73 7464 6f75 745f 6c69 6e65 ists.stdout_line
│ │ │ -0019c360: 7320 6973 2073 6561 7263 6828 2261 7661 s is search("ava
│ │ │ -0019c370: 6869 2d64 6165 6d6f 6e2e 7365 7276 6963 hi-daemon.servic
│ │ │ -0019c380: 6522 2c20 6d75 6c74 696c 696e 653d 5472 e", multiline=Tr
│ │ │ -0019c390: 7565 290a 0a20 202d 206e 616d 653a 2055 ue).. - name: U
│ │ │ -0019c3a0: 6e69 7420 536f 636b 6574 2045 7869 7374 nit Socket Exist
│ │ │ -0019c3b0: 7320 2d20 6176 6168 692d 6461 656d 6f6e s - avahi-daemon
│ │ │ -0019c3c0: 2e73 6f63 6b65 740a 2020 2020 616e 7369 .socket. ansi
│ │ │ -0019c3d0: 626c 652e 6275 696c 7469 6e2e 636f 6d6d ble.builtin.comm
│ │ │ -0019c3e0: 616e 643a 2073 7973 7465 6d63 746c 202d and: systemctl -
│ │ │ -0019c3f0: 7120 6c69 7374 2d75 6e69 742d 6669 6c65 q list-unit-file
│ │ │ -0019c400: 7320 6176 6168 692d 6461 656d 6f6e 2e73 s avahi-daemon.s
│ │ │ -0019c410: 6f63 6b65 740a 2020 2020 7265 6769 7374 ocket. regist
│ │ │ -0019c420: 6572 3a20 736f 636b 6574 5f66 696c 655f er: socket_file_
│ │ │ -0019c430: 6578 6973 7473 0a20 2020 2063 6861 6e67 exists. chang
│ │ │ -0019c440: 6564 5f77 6865 6e3a 2066 616c 7365 0a20 ed_when: false.
│ │ │ -0019c450: 2020 2066 6169 6c65 645f 7768 656e 3a20 failed_when:
│ │ │ -0019c460: 736f 636b 6574 5f66 696c 655f 6578 6973 socket_file_exis
│ │ │ -0019c470: 7473 2e72 6320 6e6f 7420 696e 205b 302c ts.rc not in [0,
│ │ │ -0019c480: 2031 5d0a 2020 2020 6368 6563 6b5f 6d6f 1]. check_mo
│ │ │ -0019c490: 6465 3a20 6661 6c73 650a 0a20 202d 206e de: false.. - n
│ │ │ -0019c4a0: 616d 653a 2044 6973 6162 6c65 2041 7661 ame: Disable Ava
│ │ │ -0019c4b0: 6869 2053 6572 7665 7220 536f 6674 7761 hi Server Softwa
│ │ │ -0019c4c0: 7265 202d 2044 6973 6162 6c65 2053 6f63 re - Disable Soc
│ │ │ -0019c4d0: 6b65 7420 6176 6168 692d 6461 656d 6f6e ket avahi-daemon
│ │ │ -0019c4e0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -0019c4f0: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:.
│ │ │ -0019c500: 2020 2020 6e61 6d65 3a20 6176 6168 692d name: avahi-
│ │ │ -0019c510: 6461 656d 6f6e 2e73 6f63 6b65 740a 2020 daemon.socket.
│ │ │ -0019c520: 2020 2020 656e 6162 6c65 643a 2066 616c enabled: fal
│ │ │ -0019c530: 7365 0a20 2020 2020 2073 7461 7465 3a20 se. state:
│ │ │ -0019c540: 7374 6f70 7065 640a 2020 2020 2020 6d61 stopped. ma
│ │ │ -0019c550: 736b 6564 3a20 7472 7565 0a20 2020 2077 sked: true. w
│ │ │ -0019c560: 6865 6e3a 2073 6f63 6b65 745f 6669 6c65 hen: socket_file
│ │ │ -0019c570: 5f65 7869 7374 732e 7374 646f 7574 5f6c _exists.stdout_l
│ │ │ -0019c580: 696e 6573 2069 7320 7365 6172 6368 2822 ines is search("
│ │ │ -0019c590: 6176 6168 692d 6461 656d 6f6e 2e73 6f63 avahi-daemon.soc
│ │ │ -0019c5a0: 6b65 7422 2c20 6d75 6c74 696c 696e 653d ket", multiline=
│ │ │ -0019c5b0: 5472 7565 290a 2020 7461 6773 3a0a 2020 True). tags:.
│ │ │ -0019c5c0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -0019c5d0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8
│ │ │ -0019c5e0: 3030 2d35 332d 434d 2d37 2861 290a 2020 00-53-CM-7(a).
│ │ │ -0019c5f0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -0019c600: 2d37 2862 290a 2020 2d20 5043 492d 4453 -7(b). - PCI-DS
│ │ │ -0019c610: 5376 342d 322e 320a 2020 2d20 5043 492d Sv4-2.2. - PCI-
│ │ │ -0019c620: 4453 5376 342d 322e 322e 340a 2020 2d20 DSSv4-2.2.4. -
│ │ │ -0019c630: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ -0019c640: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -0019c650: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -0019c660: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -0019c670: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -0019c680: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -0019c690: 2020 2d20 7365 7276 6963 655f 6176 6168 - service_avah
│ │ │ -0019c6a0: 692d 6461 656d 6f6e 5f64 6973 6162 6c65 i-daemon_disable
│ │ │ -0019c6b0: 640a 2020 2d20 7370 6563 6961 6c5f 7365 d. - special_se
│ │ │ -0019c6c0: 7276 6963 655f 626c 6f63 6b0a 2020 7768 rvice_block. wh
│ │ │ -0019c6d0: 656e 3a20 2820 2261 7661 6869 2d64 6165 en: ( "avahi-dae
│ │ │ -0019c6e0: 6d6f 6e22 2069 6e20 616e 7369 626c 655f mon" in ansible_
│ │ │ -0019c6f0: 6661 6374 732e 7061 636b 6167 6573 2061 facts.packages a
│ │ │ -0019c700: 6e64 2022 6c69 6e75 782d 6261 7365 2220 nd "linux-base"
│ │ │ -0019c710: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ -0019c720: 2e70 6163 6b61 6765 730a 2020 2020 290a .packages. ).
│ │ │ +0019b760: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ +0019b770: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +0019b780: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +0019b800: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +0019b820: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +0019b830: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +0019b840: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0019b850: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +0019b860: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +0019b870: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +0019b880: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +0019b890: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +0019b8b0: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +0019b8c0: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +0019b8d0: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ +0019b8e0: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ +0019b8f0: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ +0019b900: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +0019b910: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +0019b920: 2d43 4d2d 3728 6129 0a20 202d 204e 4953 -CM-7(a). - NIS
│ │ │ +0019b930: 542d 3830 302d 3533 2d43 4d2d 3728 6229 T-800-53-CM-7(b)
│ │ │ +0019b940: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ +0019b950: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ +0019b960: 2d32 2e32 2e34 0a20 202d 2064 6973 6162 -2.2.4. - disab
│ │ │ +0019b970: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +0019b980: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +0019b990: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +0019b9a0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ +0019b9b0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ +0019b9c0: 6f6f 745f 6e65 6564 6564 0a20 202d 2073 oot_needed. - s
│ │ │ +0019b9d0: 6572 7669 6365 5f61 7661 6869 2d64 6165 ervice_avahi-dae
│ │ │ +0019b9e0: 6d6f 6e5f 6469 7361 626c 6564 0a0a 2d20 mon_disabled..-
│ │ │ +0019b9f0: 6e61 6d65 3a20 4469 7361 626c 6520 4176 name: Disable Av
│ │ │ +0019ba00: 6168 6920 5365 7276 6572 2053 6f66 7477 ahi Server Softw
│ │ │ +0019ba10: 6172 6520 2d20 4469 7361 626c 6520 7365 are - Disable se
│ │ │ +0019ba20: 7276 6963 6520 6176 6168 692d 6461 656d rvice avahi-daem
│ │ │ +0019ba30: 6f6e 0a20 2062 6c6f 636b 3a0a 0a20 202d on. block:.. -
│ │ │ +0019ba40: 206e 616d 653a 2044 6973 6162 6c65 2041 name: Disable A
│ │ │ +0019ba50: 7661 6869 2053 6572 7665 7220 536f 6674 vahi Server Soft
│ │ │ +0019ba60: 7761 7265 202d 2043 6f6c 6c65 6374 2073 ware - Collect s
│ │ │ +0019ba70: 7973 7465 6d64 2053 6572 7669 6365 7320 ystemd Services
│ │ │ +0019ba80: 5072 6573 656e 7420 696e 2074 6865 0a20 Present in the.
│ │ │ +0019ba90: 2020 2020 2053 7973 7465 6d0a 2020 2020 System.
│ │ │ +0019baa0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +0019bab0: 636f 6d6d 616e 643a 2073 7973 7465 6d63 command: systemc
│ │ │ +0019bac0: 746c 202d 7120 6c69 7374 2d75 6e69 742d tl -q list-unit-
│ │ │ +0019bad0: 6669 6c65 7320 2d2d 7479 7065 2073 6572 files --type ser
│ │ │ +0019bae0: 7669 6365 0a20 2020 2072 6567 6973 7465 vice. registe
│ │ │ +0019baf0: 723a 2073 6572 7669 6365 5f65 7869 7374 r: service_exist
│ │ │ +0019bb00: 730a 2020 2020 6368 616e 6765 645f 7768 s. changed_wh
│ │ │ +0019bb10: 656e 3a20 6661 6c73 650a 2020 2020 6661 en: false. fa
│ │ │ +0019bb20: 696c 6564 5f77 6865 6e3a 2073 6572 7669 iled_when: servi
│ │ │ +0019bb30: 6365 5f65 7869 7374 732e 7263 206e 6f74 ce_exists.rc not
│ │ │ +0019bb40: 2069 6e20 5b30 2c20 315d 0a20 2020 2063 in [0, 1]. c
│ │ │ +0019bb50: 6865 636b 5f6d 6f64 653a 2066 616c 7365 heck_mode: false
│ │ │ +0019bb60: 0a0a 2020 2d20 6e61 6d65 3a20 4469 7361 .. - name: Disa
│ │ │ +0019bb70: 626c 6520 4176 6168 6920 5365 7276 6572 ble Avahi Server
│ │ │ +0019bb80: 2053 6f66 7477 6172 6520 2d20 456e 7375 Software - Ensu
│ │ │ +0019bb90: 7265 2061 7661 6869 2d64 6165 6d6f 6e2e re avahi-daemon.
│ │ │ +0019bba0: 7365 7276 6963 6520 6973 204d 6173 6b65 service is Maske
│ │ │ +0019bbb0: 640a 2020 2020 616e 7369 626c 652e 6275 d. ansible.bu
│ │ │ +0019bbc0: 696c 7469 6e2e 7379 7374 656d 643a 0a20 iltin.systemd:.
│ │ │ +0019bbd0: 2020 2020 206e 616d 653a 2061 7661 6869 name: avahi
│ │ │ +0019bbe0: 2d64 6165 6d6f 6e2e 7365 7276 6963 650a -daemon.service.
│ │ │ +0019bbf0: 2020 2020 2020 7374 6174 653a 2073 746f state: sto
│ │ │ +0019bc00: 7070 6564 0a20 2020 2020 2065 6e61 626c pped. enabl
│ │ │ +0019bc10: 6564 3a20 6661 6c73 650a 2020 2020 2020 ed: false.
│ │ │ +0019bc20: 6d61 736b 6564 3a20 7472 7565 0a20 2020 masked: true.
│ │ │ +0019bc30: 2077 6865 6e3a 2073 6572 7669 6365 5f65 when: service_e
│ │ │ +0019bc40: 7869 7374 732e 7374 646f 7574 5f6c 696e xists.stdout_lin
│ │ │ +0019bc50: 6573 2069 7320 7365 6172 6368 2822 6176 es is search("av
│ │ │ +0019bc60: 6168 692d 6461 656d 6f6e 2e73 6572 7669 ahi-daemon.servi
│ │ │ +0019bc70: 6365 222c 206d 756c 7469 6c69 6e65 3d54 ce", multiline=T
│ │ │ +0019bc80: 7275 6529 0a0a 2020 2d20 6e61 6d65 3a20 rue).. - name:
│ │ │ +0019bc90: 556e 6974 2053 6f63 6b65 7420 4578 6973 Unit Socket Exis
│ │ │ +0019bca0: 7473 202d 2061 7661 6869 2d64 6165 6d6f ts - avahi-daemo
│ │ │ +0019bcb0: 6e2e 736f 636b 6574 0a20 2020 2061 6e73 n.socket. ans
│ │ │ +0019bcc0: 6962 6c65 2e62 7569 6c74 696e 2e63 6f6d ible.builtin.com
│ │ │ +0019bcd0: 6d61 6e64 3a20 7379 7374 656d 6374 6c20 mand: systemctl
│ │ │ +0019bce0: 2d71 206c 6973 742d 756e 6974 2d66 696c -q list-unit-fil
│ │ │ +0019bcf0: 6573 2061 7661 6869 2d64 6165 6d6f 6e2e es avahi-daemon.
│ │ │ +0019bd00: 736f 636b 6574 0a20 2020 2072 6567 6973 socket. regis
│ │ │ +0019bd10: 7465 723a 2073 6f63 6b65 745f 6669 6c65 ter: socket_file
│ │ │ +0019bd20: 5f65 7869 7374 730a 2020 2020 6368 616e _exists. chan
│ │ │ +0019bd30: 6765 645f 7768 656e 3a20 6661 6c73 650a ged_when: false.
│ │ │ +0019bd40: 2020 2020 6661 696c 6564 5f77 6865 6e3a failed_when:
│ │ │ +0019bd50: 2073 6f63 6b65 745f 6669 6c65 5f65 7869 socket_file_exi
│ │ │ +0019bd60: 7374 732e 7263 206e 6f74 2069 6e20 5b30 sts.rc not in [0
│ │ │ +0019bd70: 2c20 315d 0a20 2020 2063 6865 636b 5f6d , 1]. check_m
│ │ │ +0019bd80: 6f64 653a 2066 616c 7365 0a0a 2020 2d20 ode: false.. -
│ │ │ +0019bd90: 6e61 6d65 3a20 4469 7361 626c 6520 4176 name: Disable Av
│ │ │ +0019bda0: 6168 6920 5365 7276 6572 2053 6f66 7477 ahi Server Softw
│ │ │ +0019bdb0: 6172 6520 2d20 4469 7361 626c 6520 536f are - Disable So
│ │ │ +0019bdc0: 636b 6574 2061 7661 6869 2d64 6165 6d6f cket avahi-daemo
│ │ │ +0019bdd0: 6e0a 2020 2020 616e 7369 626c 652e 6275 n. ansible.bu
│ │ │ +0019bde0: 696c 7469 6e2e 7379 7374 656d 643a 0a20 iltin.systemd:.
│ │ │ +0019bdf0: 2020 2020 206e 616d 653a 2061 7661 6869 name: avahi
│ │ │ +0019be00: 2d64 6165 6d6f 6e2e 736f 636b 6574 0a20 -daemon.socket.
│ │ │ +0019be10: 2020 2020 2065 6e61 626c 6564 3a20 6661 enabled: fa
│ │ │ +0019be20: 6c73 650a 2020 2020 2020 7374 6174 653a lse. state:
│ │ │ +0019be30: 2073 746f 7070 6564 0a20 2020 2020 206d stopped. m
│ │ │ +0019be40: 6173 6b65 643a 2074 7275 650a 2020 2020 asked: true.
│ │ │ +0019be50: 7768 656e 3a20 736f 636b 6574 5f66 696c when: socket_fil
│ │ │ +0019be60: 655f 6578 6973 7473 2e73 7464 6f75 745f e_exists.stdout_
│ │ │ +0019be70: 6c69 6e65 7320 6973 2073 6561 7263 6828 lines is search(
│ │ │ +0019be80: 2261 7661 6869 2d64 6165 6d6f 6e2e 736f "avahi-daemon.so
│ │ │ +0019be90: 636b 6574 222c 206d 756c 7469 6c69 6e65 cket", multiline
│ │ │ +0019bea0: 3d54 7275 6529 0a20 2074 6167 733a 0a20 =True). tags:.
│ │ │ +0019beb0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +0019bec0: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST-
│ │ │ +0019bed0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20 800-53-CM-7(a).
│ │ │ +0019bee0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +0019bef0: 4d2d 3728 6229 0a20 202d 2050 4349 2d44 M-7(b). - PCI-D
│ │ │ +0019bf00: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI
│ │ │ +0019bf10: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d -DSSv4-2.2.4. -
│ │ │ +0019bf20: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ +0019bf30: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +0019bf40: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +0019bf50: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ +0019bf60: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ +0019bf70: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +0019bf80: 0a20 202d 2073 6572 7669 6365 5f61 7661 . - service_ava
│ │ │ +0019bf90: 6869 2d64 6165 6d6f 6e5f 6469 7361 626c hi-daemon_disabl
│ │ │ +0019bfa0: 6564 0a20 202d 2073 7065 6369 616c 5f73 ed. - special_s
│ │ │ +0019bfb0: 6572 7669 6365 5f62 6c6f 636b 0a20 2077 ervice_block. w
│ │ │ +0019bfc0: 6865 6e3a 2028 2022 6176 6168 692d 6461 hen: ( "avahi-da
│ │ │ +0019bfd0: 656d 6f6e 2220 696e 2061 6e73 6962 6c65 emon" in ansible
│ │ │ +0019bfe0: 5f66 6163 7473 2e70 6163 6b61 6765 7320 _facts.packages
│ │ │ +0019bff0: 616e 6420 226c 696e 7578 2d62 6173 6522 and "linux-base"
│ │ │ +0019c000: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +0019c010: 732e 7061 636b 6167 6573 0a20 2020 2029 s.packages. )
│ │ │ +0019c020: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +0019c030: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Kub
│ │ │ +0019c0e0: 6572 6e65 7465 7320 736e 6970 7065 7420 ernetes snippet
│ │ │ +0019c0f0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +0019c180: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +0019c1a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: medium Reboot
│ │ │ +0019c1d0: 3a3c 2f74 683e 3c74 643e 7472 7565 3c2f : true
│ │ │ +0019c1e0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0019c1f0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +0019c210: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +0019c220: 3c63 6f64 653e 6170 6956 6572 7369 6f6e apiVersion
│ │ │ +0019c230: 3a20 6d61 6368 696e 6563 6f6e 6669 6775 : machineconfigu
│ │ │ +0019c240: 7261 7469 6f6e 2e6f 7065 6e73 6869 6674 ration.openshift
│ │ │ +0019c250: 2e69 6f2f 7631 0a6b 696e 643a 204d 6163 .io/v1.kind: Mac
│ │ │ +0019c260: 6869 6e65 436f 6e66 6967 0a73 7065 633a hineConfig.spec:
│ │ │ +0019c270: 0a20 2063 6f6e 6669 673a 0a20 2020 2069 . config:. i
│ │ │ +0019c280: 676e 6974 696f 6e3a 0a20 2020 2020 2076 gnition:. v
│ │ │ +0019c290: 6572 7369 6f6e 3a20 332e 312e 300a 2020 ersion: 3.1.0.
│ │ │ +0019c2a0: 2020 7379 7374 656d 643a 0a20 2020 2020 systemd:.
│ │ │ +0019c2b0: 2075 6e69 7473 3a0a 2020 2020 2020 2d20 units:. -
│ │ │ +0019c2c0: 6e61 6d65 3a20 6176 6168 692d 6461 656d name: avahi-daem
│ │ │ +0019c2d0: 6f6e 2e73 6572 7669 6365 0a20 2020 2020 on.service.
│ │ │ +0019c2e0: 2020 2065 6e61 626c 6564 3a20 6661 6c73 enabled: fals
│ │ │ +0019c2f0: 650a 2020 2020 2020 2020 6d61 736b 3a20 e. mask:
│ │ │ +0019c300: 7472 7565 0a20 2020 2020 202d 206e 616d true. - nam
│ │ │ +0019c310: 653a 2061 7661 6869 2d64 6165 6d6f 6e2e e: avahi-daemon.
│ │ │ +0019c320: 736f 636b 6574 0a20 2020 2020 2020 2065 socket. e
│ │ │ +0019c330: 6e61 626c 6564 3a20 6661 6c73 650a 2020 nabled: false.
│ │ │ +0019c340: 2020 2020 2020 6d61 736b 3a20 7472 7565 mask: true
│ │ │ +0019c350: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +0019c360: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ +0019c410: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +0019c420: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +0019c4d0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +0019c4e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +0019c4f0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +0019c500: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +0019c520: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +0019c530: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ +0019c550: 6e63 6c75 6465 2064 6973 6162 6c65 5f61 nclude disable_a
│ │ │ +0019c560: 7661 6869 2d64 6165 6d6f 6e0a 0a63 6c61 vahi-daemon..cla
│ │ │ +0019c570: 7373 2064 6973 6162 6c65 5f61 7661 6869 ss disable_avahi
│ │ │ +0019c580: 2d64 6165 6d6f 6e20 7b0a 2020 7365 7276 -daemon {. serv
│ │ │ +0019c590: 6963 6520 7b27 6176 6168 692d 6461 656d ice {'avahi-daem
│ │ │ +0019c5a0: 6f6e 273a 0a20 2020 2065 6e61 626c 6520 on':. enable
│ │ │ +0019c5b0: 3d26 6774 3b20 6661 6c73 652c 0a20 2020 => false,.
│ │ │ +0019c5c0: 2065 6e73 7572 6520 3d26 6774 3b20 2773 ensure => 's
│ │ │ +0019c5d0: 746f 7070 6564 272c 0a20 207d 0a7d 0a3c topped',. }.}.<
│ │ │ +0019c5e0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +0019c690: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui
│ │ │ +0019c6a0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni
│ │ │ +0019c6b0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0019c6c0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +0019c6f0: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573 .[cus
│ │ │ +0019c700: 746f 6d69 7a61 7469 6f6e 732e 7365 7276 tomizations.serv
│ │ │ +0019c710: 6963 6573 5d0a 6d61 736b 6564 203d 205b ices].masked = [
│ │ │ +0019c720: 2261 7661 6869 2d64 6165 6d6f 6e22 5d0a "avahi-daemon"].
│ │ │ 0019c730: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Remediation
│ │ │ -001a88b0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ -001a88c0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ -001a8910: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73 .[customizations
│ │ │ -001a8920: 2e73 6572 7669 6365 735d 0a65 6e61 626c .services].enabl
│ │ │ -001a8930: 6564 203d 205b 2263 726f 6e22 5d0a 3c2f ed = ["cron"].
│ │ │ -001a8940: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ -001a89f0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ -001a8a00: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001a8a10: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -001a8a90: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -001a8ab0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -001a8ac0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -001a8ad0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001a8ae0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -001a8af0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -001a8b00: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001a8b10: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -001a8b20: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001a8b40: 7564 6520 656e 6162 6c65 5f63 726f 6e0a ude enable_cron.
│ │ │ -001a8b50: 0a63 6c61 7373 2065 6e61 626c 655f 6372 .class enable_cr
│ │ │ -001a8b60: 6f6e 207b 0a20 2073 6572 7669 6365 207b on {. service {
│ │ │ -001a8b70: 2763 726f 6e27 3a0a 2020 2020 656e 6162 'cron':. enab
│ │ │ -001a8b80: 6c65 203d 2667 743b 2074 7275 652c 0a20 le => true,.
│ │ │ -001a8b90: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -001a8ba0: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d 'running',. }.}
│ │ │ -001a8bb0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ -001a8bc0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Ans
│ │ │ -001a8c70: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ -001a8c80: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -001a8d20: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -001a8d30: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -001a8d40: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001a8d50: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -001a8d60: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -001a8d70: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -001a8d80: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ -001a8d90: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001a8db0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ -001a8dc0: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ -001a8dd0: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ -001a8de0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ -001a8df0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ -001a8e00: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ -001a8e10: 2861 290a 2020 2d20 656e 6162 6c65 5f73 (a). - enable_s
│ │ │ -001a8e20: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ -001a8e30: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ -001a8e40: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ -001a8e50: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ -001a8e60: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ -001a8e70: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi
│ │ │ -001a8e80: 6365 5f63 726f 6e5f 656e 6162 6c65 640a ce_cron_enabled.
│ │ │ -001a8e90: 0a2d 206e 616d 653a 2045 6e61 626c 6520 .- name: Enable
│ │ │ -001a8ea0: 6372 6f6e 2053 6572 7669 6365 202d 2045 cron Service - E
│ │ │ -001a8eb0: 6e61 626c 6520 7365 7276 6963 6520 6372 nable service cr
│ │ │ -001a8ec0: 6f6e 0a20 2062 6c6f 636b 3a0a 0a20 202d on. block:.. -
│ │ │ -001a8ed0: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -001a8ee0: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -001a8ef0: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ -001a8f00: 7469 6e2e 7061 636b 6167 655f 6661 6374 tin.package_fact
│ │ │ -001a8f10: 733a 0a20 2020 2020 206d 616e 6167 6572 s:. manager
│ │ │ -001a8f20: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65 : auto.. - name
│ │ │ -001a8f30: 3a20 456e 6162 6c65 2063 726f 6e20 5365 : Enable cron Se
│ │ │ -001a8f40: 7276 6963 6520 2d20 456e 6162 6c65 2053 rvice - Enable S
│ │ │ -001a8f50: 6572 7669 6365 2063 726f 6e0a 2020 2020 ervice cron.
│ │ │ -001a8f60: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -001a8f70: 7379 7374 656d 643a 0a20 2020 2020 206e systemd:. n
│ │ │ -001a8f80: 616d 653a 2063 726f 6e0a 2020 2020 2020 ame: cron.
│ │ │ -001a8f90: 656e 6162 6c65 643a 2074 7275 650a 2020 enabled: true.
│ │ │ -001a8fa0: 2020 2020 7374 6174 653a 2073 7461 7274 state: start
│ │ │ -001a8fb0: 6564 0a20 2020 2020 206d 6173 6b65 643a ed. masked:
│ │ │ -001a8fc0: 2066 616c 7365 0a20 2020 2077 6865 6e3a false. when:
│ │ │ -001a8fd0: 0a20 2020 202d 2027 2263 726f 6e22 2069 . - '"cron" i
│ │ │ -001a8fe0: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ -001a8ff0: 7061 636b 6167 6573 270a 2020 7461 6773 packages'. tags
│ │ │ -001a9000: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5
│ │ │ -001a9010: 332d 434d 2d36 2861 290a 2020 2d20 656e 3-CM-6(a). - en
│ │ │ -001a9020: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -001a9030: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -001a9040: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -001a9050: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ -001a9060: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -001a9070: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -001a9080: 2073 6572 7669 6365 5f63 726f 6e5f 656e service_cron_en
│ │ │ -001a9090: 6162 6c65 640a 2020 2d20 7370 6563 6961 abled. - specia
│ │ │ -001a90a0: 6c5f 7365 7276 6963 655f 626c 6f63 6b0a l_service_block.
│ │ │ -001a90b0: 2020 7768 656e 3a20 2722 6c69 6e75 782d when: '"linux-
│ │ │ -001a90c0: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ -001a90d0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +001a88b0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ +001a88c0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +001a8950: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +001a8970: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +001a8990: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +001a89a0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +001a89c0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +001a89d0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +001a89e0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +001a8a00: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +001a8a10: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ +001a8a20: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ +001a8a30: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ +001a8a40: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +001a8a50: 4d2d 3628 6129 0a20 202d 2065 6e61 626c M-6(a). - enabl
│ │ │ +001a8a60: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ +001a8a70: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ +001a8a80: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ +001a8a90: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ +001a8aa0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ +001a8ab0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ +001a8ac0: 7276 6963 655f 6372 6f6e 5f65 6e61 626c rvice_cron_enabl
│ │ │ +001a8ad0: 6564 0a0a 2d20 6e61 6d65 3a20 456e 6162 ed..- name: Enab
│ │ │ +001a8ae0: 6c65 2063 726f 6e20 5365 7276 6963 6520 le cron Service
│ │ │ +001a8af0: 2d20 456e 6162 6c65 2073 6572 7669 6365 - Enable service
│ │ │ +001a8b00: 2063 726f 6e0a 2020 626c 6f63 6b3a 0a0a cron. block:..
│ │ │ +001a8b10: 2020 2d20 6e61 6d65 3a20 4761 7468 6572 - name: Gather
│ │ │ +001a8b20: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ +001a8b30: 7473 0a20 2020 2061 6e73 6962 6c65 2e62 ts. ansible.b
│ │ │ +001a8b40: 7569 6c74 696e 2e70 6163 6b61 6765 5f66 uiltin.package_f
│ │ │ +001a8b50: 6163 7473 3a0a 2020 2020 2020 6d61 6e61 acts:. mana
│ │ │ +001a8b60: 6765 723a 2061 7574 6f0a 0a20 202d 206e ger: auto.. - n
│ │ │ +001a8b70: 616d 653a 2045 6e61 626c 6520 6372 6f6e ame: Enable cron
│ │ │ +001a8b80: 2053 6572 7669 6365 202d 2045 6e61 626c Service - Enabl
│ │ │ +001a8b90: 6520 5365 7276 6963 6520 6372 6f6e 0a20 e Service cron.
│ │ │ +001a8ba0: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ +001a8bb0: 696e 2e73 7973 7465 6d64 3a0a 2020 2020 in.systemd:.
│ │ │ +001a8bc0: 2020 6e61 6d65 3a20 6372 6f6e 0a20 2020 name: cron.
│ │ │ +001a8bd0: 2020 2065 6e61 626c 6564 3a20 7472 7565 enabled: true
│ │ │ +001a8be0: 0a20 2020 2020 2073 7461 7465 3a20 7374 . state: st
│ │ │ +001a8bf0: 6172 7465 640a 2020 2020 2020 6d61 736b arted. mask
│ │ │ +001a8c00: 6564 3a20 6661 6c73 650a 2020 2020 7768 ed: false. wh
│ │ │ +001a8c10: 656e 3a0a 2020 2020 2d20 2722 6372 6f6e en:. - '"cron
│ │ │ +001a8c20: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +001a8c30: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t
│ │ │ +001a8c40: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ +001a8c50: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ +001a8c60: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ +001a8c70: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +001a8c80: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +001a8c90: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ +001a8ca0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +001a8cb0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +001a8cc0: 2020 2d20 7365 7276 6963 655f 6372 6f6e - service_cron
│ │ │ +001a8cd0: 5f65 6e61 626c 6564 0a20 202d 2073 7065 _enabled. - spe
│ │ │ +001a8ce0: 6369 616c 5f73 6572 7669 6365 5f62 6c6f cial_service_blo
│ │ │ +001a8cf0: 636b 0a20 2077 6865 6e3a 2027 226c 696e ck. when: '"lin
│ │ │ +001a8d00: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ +001a8d10: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ +001a8d20: 6573 270a 3c2f 636f 6465 3e3c 2f70 7265 es'.
Remediation
│ │ │ +001a8de0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ +001a8df0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001a8e70: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001a8e80: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001a8e90: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001a8ea0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001a8ee0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001a8ef0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ +001a8f00: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ +001a8f10: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include enable
│ │ │ +001a8f30: 5f63 726f 6e0a 0a63 6c61 7373 2065 6e61 _cron..class ena
│ │ │ +001a8f40: 626c 655f 6372 6f6e 207b 0a20 2073 6572 ble_cron {. ser
│ │ │ +001a8f50: 7669 6365 207b 2763 726f 6e27 3a0a 2020 vice {'cron':.
│ │ │ +001a8f60: 2020 656e 6162 6c65 203d 2667 743b 2074 enable => t
│ │ │ +001a8f70: 7275 652c 0a20 2020 2065 6e73 7572 6520 rue,. ensure
│ │ │ +001a8f80: 3d26 6774 3b20 2772 756e 6e69 6e67 272c => 'running',
│ │ │ +001a8f90: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ +001a8fa0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ +001a9050: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ +001a9060: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ +001a9070: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[customizati
│ │ │ +001a90c0: 6f6e 732e 7365 7276 6963 6573 5d0a 656e ons.services].en
│ │ │ +001a90d0: 6162 6c65 6420 3d20 5b22 6372 6f6e 225d abled = ["cron"]
│ │ │ 001a90e0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 001a90f0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation P
│ │ │ -001c5340: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -001c5350: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001c53d0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001c53e0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001c53f0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001c5400: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001c5410: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001c5440: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001c5450: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001c5460: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001c5470: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ -001c5490: 655f 6e69 730a 0a63 6c61 7373 2072 656d e_nis..class rem
│ │ │ -001c54a0: 6f76 655f 6e69 7320 7b0a 2020 7061 636b ove_nis {. pack
│ │ │ -001c54b0: 6167 6520 7b20 276e 6973 273a 0a20 2020 age { 'nis':.
│ │ │ -001c54c0: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p
│ │ │ -001c54d0: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
│ │ │ -001c54e0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ -001c5590: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ -001c55a0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ -001c5630: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -001c5640: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001c5650: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -001c5660: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -001c5670: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -001c56a0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -001c56b0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -001c56c0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ -001c56e0: 6e61 6d65 3a20 2755 6e69 6e73 7461 6c6c name: 'Uninstall
│ │ │ -001c56f0: 2074 6865 206e 6973 2070 6163 6b61 6765 the nis package
│ │ │ -001c5700: 3a20 456e 7375 7265 206e 6973 2069 7320 : Ensure nis is
│ │ │ -001c5710: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ -001c5720: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -001c5730: 6765 3a0a 2020 2020 6e61 6d65 3a20 6e69 ge:. name: ni
│ │ │ -001c5740: 730a 2020 2020 7374 6174 653a 2061 6273 s. state: abs
│ │ │ -001c5750: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. -
│ │ │ -001c5760: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ -001c5770: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -001c5780: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -001c5790: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73 uption. - low_s
│ │ │ -001c57a0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -001c57b0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -001c57c0: 2070 6163 6b61 6765 5f6e 6973 5f72 656d package_nis_rem
│ │ │ -001c57d0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.Remediation A
│ │ │ +001c5340: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +001c5350: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001c53d0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001c53e0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001c53f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001c5400: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001c5440: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001c5450: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +001c5460: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +001c5470: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: 'Unin
│ │ │ +001c5490: 7374 616c 6c20 7468 6520 6e69 7320 7061 stall the nis pa
│ │ │ +001c54a0: 636b 6167 653a 2045 6e73 7572 6520 6e69 ckage: Ensure ni
│ │ │ +001c54b0: 7320 6973 2072 656d 6f76 6564 270a 2020 s is removed'.
│ │ │ +001c54c0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +001c54d0: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +001c54e0: 653a 206e 6973 0a20 2020 2073 7461 7465 e: nis. state
│ │ │ +001c54f0: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags:
│ │ │ +001c5500: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +001c5510: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +001c5520: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +001c5530: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +001c5540: 6c6f 775f 7365 7665 7269 7479 0a20 202d low_severity. -
│ │ │ +001c5550: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +001c5560: 640a 2020 2d20 7061 636b 6167 655f 6e69 d. - package_ni
│ │ │ +001c5570: 735f 7265 6d6f 7665 640a 3c2f 636f 6465 s_removed.
Remedi
│ │ │ +001c5630: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +001c5640: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001c5650: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001c5680: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001c56d0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001c56e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001c56f0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001c5700: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001c5710: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001c5720: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001c5730: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001c5740: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ +001c5780: 6520 7265 6d6f 7665 5f6e 6973 0a0a 636c e remove_nis..cl
│ │ │ +001c5790: 6173 7320 7265 6d6f 7665 5f6e 6973 207b ass remove_nis {
│ │ │ +001c57a0: 0a20 2070 6163 6b61 6765 207b 2027 6e69 . package { 'ni
│ │ │ +001c57b0: 7327 3a0a 2020 2020 656e 7375 7265 203d s':. ensure =
│ │ │ +001c57c0: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ +001c57d0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remed
│ │ │ -001c72b0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -001c72c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001c7350: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001c7360: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001c7370: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001c7380: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001c7390: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001c73a0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001c73b0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001c73c0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -001c73f0: 7072 653e 3c63 6f64 653e 0a69 6e63 6c75 pre>.inclu
│ │ │ -001c7400: 6465 2072 656d 6f76 655f 6973 632d 6468 de remove_isc-dh
│ │ │ -001c7410: 6370 2d73 6572 7665 720a 0a63 6c61 7373 cp-server..class
│ │ │ -001c7420: 2072 656d 6f76 655f 6973 632d 6468 6370 remove_isc-dhcp
│ │ │ -001c7430: 2d73 6572 7665 7220 7b0a 2020 7061 636b -server {. pack
│ │ │ -001c7440: 6167 6520 7b20 2769 7363 2d64 6863 702d age { 'isc-dhcp-
│ │ │ -001c7450: 7365 7276 6572 273a 0a20 2020 2065 6e73 server':. ens
│ │ │ -001c7460: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge
│ │ │ -001c7470: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.Remedi
│ │ │ -001c7530: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ -001c7540: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001c75d0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001c75e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001c75f0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001c7600: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001c7610: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001c7620: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001c7630: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001c7640: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -001c7670: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -001c7680: 3a20 2755 6e69 6e73 7461 6c6c 2044 4843 : 'Uninstall DHC
│ │ │ -001c7690: 5020 5365 7276 6572 2050 6163 6b61 6765 P Server Package
│ │ │ -001c76a0: 3a20 456e 7375 7265 2069 7363 2d64 6863 : Ensure isc-dhc
│ │ │ -001c76b0: 702d 7365 7276 6572 2069 7320 7265 6d6f p-server is remo
│ │ │ -001c76c0: 7665 6427 0a20 2061 6e73 6962 6c65 2e62 ved'. ansible.b
│ │ │ -001c76d0: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ -001c76e0: 2020 2020 6e61 6d65 3a20 6973 632d 6468 name: isc-dh
│ │ │ -001c76f0: 6370 2d73 6572 7665 720a 2020 2020 7374 cp-server. st
│ │ │ -001c7700: 6174 653a 2061 6273 656e 740a 2020 7461 ate: absent. ta
│ │ │ -001c7710: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -001c7720: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -001c7730: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ -001c7740: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -001c7750: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). -
│ │ │ -001c7760: 5043 492d 4453 5376 342d 322e 320a 2020 PCI-DSSv4-2.2.
│ │ │ -001c7770: 2d20 5043 492d 4453 5376 342d 322e 322e - PCI-DSSv4-2.2.
│ │ │ -001c7780: 340a 2020 2d20 6469 7361 626c 655f 7374 4. - disable_st
│ │ │ -001c7790: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -001c77a0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -001c77b0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -001c77c0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ -001c77d0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -001c77e0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ -001c77f0: 655f 6468 6370 5f72 656d 6f76 6564 0a3c e_dhcp_removed.<
│ │ │ +001c72b0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ +001c72c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +001c7350: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +001c7360: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +001c7380: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +001c73a0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001c73b0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001c73d0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +001c73e0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001c73f0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +001c7400: 653a 2027 556e 696e 7374 616c 6c20 4448 e: 'Uninstall DH
│ │ │ +001c7410: 4350 2053 6572 7665 7220 5061 636b 6167 CP Server Packag
│ │ │ +001c7420: 653a 2045 6e73 7572 6520 6973 632d 6468 e: Ensure isc-dh
│ │ │ +001c7430: 6370 2d73 6572 7665 7220 6973 2072 656d cp-server is rem
│ │ │ +001c7440: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ +001c7450: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ +001c7460: 0a20 2020 206e 616d 653a 2069 7363 2d64 . name: isc-d
│ │ │ +001c7470: 6863 702d 7365 7276 6572 0a20 2020 2073 hcp-server. s
│ │ │ +001c7480: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ +001c7490: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ +001c74a0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ +001c74b0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +001c74c0: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80
│ │ │ +001c74d0: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). -
│ │ │ +001c74e0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2.
│ │ │ +001c74f0: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ +001c7500: 2e34 0a20 202d 2064 6973 6162 6c65 5f73 .4. - disable_s
│ │ │ +001c7510: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +001c7520: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +001c7530: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +001c7540: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +001c7550: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +001c7560: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +001c7570: 6765 5f64 6863 705f 7265 6d6f 7665 640a ge_dhcp_removed.
│ │ │ +001c7580: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +001c7630: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +001c7640: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +001c7650: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +001c76d0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +001c76e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +001c7700: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +001c7710: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +001c7750: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +001c7760: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ +001c7780: 696e 636c 7564 6520 7265 6d6f 7665 5f69 include remove_i
│ │ │ +001c7790: 7363 2d64 6863 702d 7365 7276 6572 0a0a sc-dhcp-server..
│ │ │ +001c77a0: 636c 6173 7320 7265 6d6f 7665 5f69 7363 class remove_isc
│ │ │ +001c77b0: 2d64 6863 702d 7365 7276 6572 207b 0a20 -dhcp-server {.
│ │ │ +001c77c0: 2070 6163 6b61 6765 207b 2027 6973 632d package { 'isc-
│ │ │ +001c77d0: 6468 6370 2d73 6572 7665 7227 3a0a 2020 dhcp-server':.
│ │ │ +001c77e0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +001c77f0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.<
│ │ │ 001c7800: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -001c90c0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -001c90d0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ -001c9160: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -001c9170: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001c9180: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -001c9190: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -001c91a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -001c91d0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -001c91e0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -001c91f0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ -001c9210: 6e63 6c75 6465 2072 656d 6f76 655f 6269 nclude remove_bi
│ │ │ -001c9220: 6e64 390a 0a63 6c61 7373 2072 656d 6f76 nd9..class remov
│ │ │ -001c9230: 655f 6269 6e64 3920 7b0a 2020 7061 636b e_bind9 {. pack
│ │ │ -001c9240: 6167 6520 7b20 2762 696e 6439 273a 0a20 age { 'bind9':.
│ │ │ -001c9250: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -001c9260: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}.
│ │ │ -001c9270: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -001c9320: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ -001c9330: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ -001c9340: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -001c93f0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -001c9400: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001c9410: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -001c9420: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -001c9440: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ -001c9450: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001c9470: 2d20 6e61 6d65 3a20 2755 6e69 6e73 7461 - name: 'Uninsta
│ │ │ -001c9480: 6c6c 2062 696e 6420 5061 636b 6167 653a ll bind Package:
│ │ │ -001c9490: 2045 6e73 7572 6520 6269 6e64 3920 6973 Ensure bind9 is
│ │ │ -001c94a0: 2072 656d 6f76 6564 270a 2020 616e 7369 removed'. ansi
│ │ │ -001c94b0: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ -001c94c0: 6167 653a 0a20 2020 206e 616d 653a 2062 age:. name: b
│ │ │ -001c94d0: 696e 6439 0a20 2020 2073 7461 7465 3a20 ind9. state:
│ │ │ -001c94e0: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ -001c94f0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -001c9500: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST-
│ │ │ -001c9510: 3830 302d 3533 2d43 4d2d 3728 6129 0a20 800-53-CM-7(a).
│ │ │ -001c9520: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -001c9530: 4d2d 3728 6229 0a20 202d 2064 6973 6162 M-7(b). - disab
│ │ │ -001c9540: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -001c9550: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -001c9560: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -001c9570: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269 n. - low_severi
│ │ │ -001c9580: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -001c9590: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -001c95a0: 6167 655f 6269 6e64 5f72 656d 6f76 6564 age_bind_removed
│ │ │ +001c90c0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ +001c90d0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ +001c90e0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +001c9160: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +001c9170: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +001c9190: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +001c91a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +001c91e0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +001c91f0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +001c9210: 206e 616d 653a 2027 556e 696e 7374 616c name: 'Uninstal
│ │ │ +001c9220: 6c20 6269 6e64 2050 6163 6b61 6765 3a20 l bind Package:
│ │ │ +001c9230: 456e 7375 7265 2062 696e 6439 2069 7320 Ensure bind9 is
│ │ │ +001c9240: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ +001c9250: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +001c9260: 6765 3a0a 2020 2020 6e61 6d65 3a20 6269 ge:. name: bi
│ │ │ +001c9270: 6e64 390a 2020 2020 7374 6174 653a 2061 nd9. state: a
│ │ │ +001c9280: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:.
│ │ │ +001c9290: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ +001c92a0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8
│ │ │ +001c92b0: 3030 2d35 332d 434d 2d37 2861 290a 2020 00-53-CM-7(a).
│ │ │ +001c92c0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ +001c92d0: 2d37 2862 290a 2020 2d20 6469 7361 626c -7(b). - disabl
│ │ │ +001c92e0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ +001c92f0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ +001c9300: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ +001c9310: 0a20 202d 206c 6f77 5f73 6576 6572 6974 . - low_severit
│ │ │ +001c9320: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +001c9330: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +001c9340: 6765 5f62 696e 645f 7265 6d6f 7665 640a ge_bind_removed.
│ │ │ +001c9350: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +001c9400: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +001c9410: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +001c9420: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +001c94a0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +001c94b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +001c94d0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +001c94e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +001c9520: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +001c9530: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ +001c9550: 696e 636c 7564 6520 7265 6d6f 7665 5f62 include remove_b
│ │ │ +001c9560: 696e 6439 0a0a 636c 6173 7320 7265 6d6f ind9..class remo
│ │ │ +001c9570: 7665 5f62 696e 6439 207b 0a20 2070 6163 ve_bind9 {. pac
│ │ │ +001c9580: 6b61 6765 207b 2027 6269 6e64 3927 3a0a kage { 'bind9':.
│ │ │ +001c9590: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ +001c95a0: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.}
│ │ │ 001c95b0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 001c95c0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediat
│ │ │ -001caf60: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -001caf70: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001caff0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -001cb000: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -001cb010: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -001cb050: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -001cb060: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -001cb080: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -001cb090: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
.include
│ │ │ -001cb0b0: 7265 6d6f 7665 5f76 7366 7470 640a 0a63 remove_vsftpd..c
│ │ │ -001cb0c0: 6c61 7373 2072 656d 6f76 655f 7673 6674 lass remove_vsft
│ │ │ -001cb0d0: 7064 207b 0a20 2070 6163 6b61 6765 207b pd {. package {
│ │ │ -001cb0e0: 2027 7673 6674 7064 273a 0a20 2020 2065 'vsftpd':. e
│ │ │ -001cb0f0: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ -001cb100: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.
<
│ │ │ -001cb120: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -001cb130: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -001cb140: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -001cb150: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -001cb160: 6436 3435 2220 7461 6269 6e64 6578 3d22 d645" tabindex="
│ │ │ -001cb170: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -001cb180: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -001cb190: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -001cb1a0: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -001cb1b0: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001cb1c0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -001cb1d0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001cb1e0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001cb260: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001cb290: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001cb2b0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001cb2c0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001cb2e0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -001cb2f0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001cb310: 6d65 3a20 2755 6e69 6e73 7461 6c6c 2076 me: 'Uninstall v
│ │ │ -001cb320: 7366 7470 6420 5061 636b 6167 653a 2045 sftpd Package: E
│ │ │ -001cb330: 6e73 7572 6520 7673 6674 7064 2069 7320 nsure vsftpd is
│ │ │ -001cb340: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ -001cb350: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -001cb360: 6765 3a0a 2020 2020 6e61 6d65 3a20 7673 ge:. name: vs
│ │ │ -001cb370: 6674 7064 0a20 2020 2073 7461 7465 3a20 ftpd. state:
│ │ │ -001cb380: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ -001cb390: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -001cb3a0: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST-
│ │ │ -001cb3b0: 3830 302d 3533 2d43 4d2d 370a 2020 2d20 800-53-CM-7. -
│ │ │ -001cb3c0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ -001cb3d0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -001cb3e0: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). -
│ │ │ -001cb3f0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ -001cb400: 2e31 2869 6929 0a20 202d 204e 4953 542d .1(ii). - NIST-
│ │ │ -001cb410: 3830 302d 3533 2d49 412d 3528 3129 2863 800-53-IA-5(1)(c
│ │ │ -001cb420: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -001cb430: 332d 4941 2d35 2831 292e 3128 7629 0a20 3-IA-5(1).1(v).
│ │ │ -001cb440: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ -001cb450: 6567 790a 2020 2d20 6869 6768 5f73 6576 egy. - high_sev
│ │ │ -001cb460: 6572 6974 790a 2020 2d20 6c6f 775f 636f erity. - low_co
│ │ │ -001cb470: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -001cb480: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -001cb490: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -001cb4a0: 0a20 202d 2070 6163 6b61 6765 5f76 7366 . - package_vsf
│ │ │ -001cb4b0: 7470 645f 7265 6d6f 7665 640a 3c2f 636f tpd_removed.
<
│ │ │ +001caf80: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001caf90: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +001cafa0: 7365 2220 6964 3d22 6964 3634 3422 3e3c se" id="id644"><
│ │ │ +001cafb0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +001cafc0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +001cafd0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +001cafe0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +001caff0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +001cb000: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +001cb010: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +001cb040: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +001cb050: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +001cb060: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +001cb080: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +001cb090: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +001cb0b0: 2755 6e69 6e73 7461 6c6c 2076 7366 7470 'Uninstall vsftp
│ │ │ +001cb0c0: 6420 5061 636b 6167 653a 2045 6e73 7572 d Package: Ensur
│ │ │ +001cb0d0: 6520 7673 6674 7064 2069 7320 7265 6d6f e vsftpd is remo
│ │ │ +001cb0e0: 7665 6427 0a20 2061 6e73 6962 6c65 2e62 ved'. ansible.b
│ │ │ +001cb0f0: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ +001cb100: 2020 2020 6e61 6d65 3a20 7673 6674 7064 name: vsftpd
│ │ │ +001cb110: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ +001cb120: 6e74 0a20 2074 6167 733a 0a20 202d 204e nt. tags:. - N
│ │ │ +001cb130: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +001cb140: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +001cb150: 3533 2d43 4d2d 370a 2020 2d20 4e49 5354 53-CM-7. - NIST
│ │ │ +001cb160: 2d38 3030 2d35 332d 434d 2d37 2861 290a -800-53-CM-7(a).
│ │ │ +001cb170: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +001cb180: 434d 2d37 2862 290a 2020 2d20 4e49 5354 CM-7(b). - NIST
│ │ │ +001cb190: 2d38 3030 2d35 332d 434d 2d37 2e31 2869 -800-53-CM-7.1(i
│ │ │ +001cb1a0: 6929 0a20 202d 204e 4953 542d 3830 302d i). - NIST-800-
│ │ │ +001cb1b0: 3533 2d49 412d 3528 3129 2863 290a 2020 53-IA-5(1)(c).
│ │ │ +001cb1c0: 2d20 4e49 5354 2d38 3030 2d35 332d 4941 - NIST-800-53-IA
│ │ │ +001cb1d0: 2d35 2831 292e 3128 7629 0a20 202d 2064 -5(1).1(v). - d
│ │ │ +001cb1e0: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +001cb1f0: 2020 2d20 6869 6768 5f73 6576 6572 6974 - high_severit
│ │ │ +001cb200: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +001cb210: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +001cb220: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r
│ │ │ +001cb230: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001cb240: 2070 6163 6b61 6765 5f76 7366 7470 645f package_vsftpd_
│ │ │ +001cb250: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c removed.<
│ │ │ +001cb260: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre> Remediat
│ │ │ +001cb310: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ +001cb320: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001cb3a0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +001cb3b0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +001cb3c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +001cb400: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +001cb410: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +001cb430: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ +001cb440: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
.include
│ │ │ +001cb460: 7265 6d6f 7665 5f76 7366 7470 640a 0a63 remove_vsftpd..c
│ │ │ +001cb470: 6c61 7373 2072 656d 6f76 655f 7673 6674 lass remove_vsft
│ │ │ +001cb480: 7064 207b 0a20 2070 6163 6b61 6765 207b pd {. package {
│ │ │ +001cb490: 2027 7673 6674 7064 273a 0a20 2020 2065 'vsftpd':. e
│ │ │ +001cb4a0: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ +001cb4b0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.
<
│ │ │ 001cb4d0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ 001cb4e0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ 001cb4f0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ 001cb500: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ 001cb510: 6436 3436 2220 7461 6269 6e64 6578 3d22 d646" tabindex="
│ │ │ 001cb520: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ @@ -117976,94 +117976,94 @@
│ │ │ 001ccd70: 6172 6765 743d 2223 6964 3634 3822 2074 arget="#id648" t
│ │ │ 001ccd80: 6162 696e 6465 783d 2230 2220 726f 6c65 abindex="0" role
│ │ │ 001ccd90: 3d22 6275 7474 6f6e 2220 6172 6961 2d65 ="button" aria-e
│ │ │ 001ccda0: 7870 616e 6465 643d 2266 616c 7365 2220 xpanded="false"
│ │ │ 001ccdb0: 7469 746c 653d 2241 6374 6976 6174 6520 title="Activate
│ │ │ 001ccdc0: 746f 2072 6576 6561 6c22 2068 7265 663d to reveal" href=
│ │ │ 001ccdd0: 2223 2122 3e52 656d 6564 6961 7469 6f6e "#!">Remediation
│ │ │ -001ccde0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -001ccdf0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001cce80: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001ccea0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001ccec0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001cced0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -001ccef0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -001ccf00: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ -001ccf30: 6f76 655f 6170 6163 6865 320a 0a63 6c61 ove_apache2..cla
│ │ │ -001ccf40: 7373 2072 656d 6f76 655f 6170 6163 6865 ss remove_apache
│ │ │ -001ccf50: 3220 7b0a 2020 7061 636b 6167 6520 7b20 2 {. package {
│ │ │ -001ccf60: 2761 7061 6368 6532 273a 0a20 2020 2065 'apache2':. e
│ │ │ -001ccf70: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ -001ccf80: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.
<
│ │ │ -001ccfa0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -001ccfb0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -001ccfc0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -001ccfd0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -001ccfe0: 6436 3439 2220 7461 6269 6e64 6578 3d22 d649" tabindex="
│ │ │ -001ccff0: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -001cd000: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -001cd010: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -001cd020: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -001cd030: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001cd040: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -001cd050: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001cd060: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001cd0e0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001cd110: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001cd130: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001cd140: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001cd160: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -001cd170: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001cd190: 6d65 3a20 2755 6e69 6e73 7461 6c6c 2061 me: 'Uninstall a
│ │ │ -001cd1a0: 7061 6368 6532 2050 6163 6b61 6765 3a20 pache2 Package:
│ │ │ -001cd1b0: 456e 7375 7265 2061 7061 6368 6532 2069 Ensure apache2 i
│ │ │ -001cd1c0: 7320 7265 6d6f 7665 6427 0a20 2061 6e73 s removed'. ans
│ │ │ -001cd1d0: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ -001cd1e0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ -001cd1f0: 6170 6163 6865 320a 2020 2020 7374 6174 apache2. stat
│ │ │ -001cd200: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags
│ │ │ -001cd210: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5
│ │ │ -001cd220: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI
│ │ │ -001cd230: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a
│ │ │ -001cd240: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -001cd250: 332d 434d 2d37 2862 290a 2020 2d20 6469 3-CM-7(b). - di
│ │ │ -001cd260: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ -001cd270: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -001cd280: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -001cd290: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo
│ │ │ -001cd2a0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ -001cd2b0: 636b 6167 655f 6874 7470 645f 7265 6d6f ckage_httpd_remo
│ │ │ -001cd2c0: 7665 640a 2020 2d20 756e 6b6e 6f77 6e5f ved. - unknown_
│ │ │ -001cd2d0: 7365 7665 7269 7479 0a3c 2f63 6f64 653e severity.
│ │ │ +001ccde0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ +001ccdf0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +001cce80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +001ccea0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001cceb0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001ccec0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001cced0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001ccef0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +001ccf20: 636f 6465 3e2d 206e 616d 653a 2027 556e code>- name: 'Un
│ │ │ +001ccf30: 696e 7374 616c 6c20 6170 6163 6865 3220 install apache2
│ │ │ +001ccf40: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ +001ccf50: 6170 6163 6865 3220 6973 2072 656d 6f76 apache2 is remov
│ │ │ +001ccf60: 6564 270a 2020 616e 7369 626c 652e 6275 ed'. ansible.bu
│ │ │ +001ccf70: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ +001ccf80: 2020 206e 616d 653a 2061 7061 6368 6532 name: apache2
│ │ │ +001ccf90: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ +001ccfa0: 6e74 0a20 2074 6167 733a 0a20 202d 204e nt. tags:. - N
│ │ │ +001ccfb0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +001ccfc0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +001ccfd0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N
│ │ │ +001ccfe0: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ +001ccff0: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s
│ │ │ +001cd000: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +001cd010: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +001cd020: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +001cd030: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +001cd040: 6564 0a20 202d 2070 6163 6b61 6765 5f68 ed. - package_h
│ │ │ +001cd050: 7474 7064 5f72 656d 6f76 6564 0a20 202d ttpd_removed. -
│ │ │ +001cd060: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974 unknown_severit
│ │ │ +001cd070: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c y.
<
│ │ │ +001cd080: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu
│ │ │ +001cd130: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ +001cd140: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +001cd1e0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +001cd1f0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +001cd200: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001cd210: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +001cd220: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +001cd230: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +001cd240: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ +001cd250: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +001cd260: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>.include remove
│ │ │ +001cd280: 5f61 7061 6368 6532 0a0a 636c 6173 7320 _apache2..class
│ │ │ +001cd290: 7265 6d6f 7665 5f61 7061 6368 6532 207b remove_apache2 {
│ │ │ +001cd2a0: 0a20 2070 6163 6b61 6765 207b 2027 6170 . package { 'ap
│ │ │ +001cd2b0: 6163 6865 3227 3a0a 2020 2020 656e 7375 ache2':. ensu
│ │ │ +001cd2c0: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged
│ │ │ +001cd2d0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ 001cd2e0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Rem
│ │ │ -001ce670: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -001ce680: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001ce690: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001ce710: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001ce740: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001ce760: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001ce770: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001ce790: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -001ce7a0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ -001ce7c0: 6c75 6465 2072 656d 6f76 655f 6e67 696e lude remove_ngin
│ │ │ -001ce7d0: 780a 0a63 6c61 7373 2072 656d 6f76 655f x..class remove_
│ │ │ -001ce7e0: 6e67 696e 7820 7b0a 2020 7061 636b 6167 nginx {. packag
│ │ │ -001ce7f0: 6520 7b20 276e 6769 6e78 273a 0a20 2020 e { 'nginx':.
│ │ │ -001ce800: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p
│ │ │ -001ce810: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
│ │ │ -001ce820: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ -001ce8d0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ -001ce8e0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ -001ce970: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -001ce980: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001ce990: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -001ce9a0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -001ce9b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -001ce9e0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -001ce9f0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -001cea00: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ -001cea20: 6e61 6d65 3a20 2755 6e69 6e73 7461 6c6c name: 'Uninstall
│ │ │ -001cea30: 206e 6769 6e78 2050 6163 6b61 6765 3a20 nginx Package:
│ │ │ -001cea40: 456e 7375 7265 206e 6769 6e78 2069 7320 Ensure nginx is
│ │ │ -001cea50: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ -001cea60: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -001cea70: 6765 3a0a 2020 2020 6e61 6d65 3a20 6e67 ge:. name: ng
│ │ │ -001cea80: 696e 780a 2020 2020 7374 6174 653a 2061 inx. state: a
│ │ │ -001cea90: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:.
│ │ │ -001ceaa0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -001ceab0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8
│ │ │ -001ceac0: 3030 2d35 332d 434d 2d37 2861 290a 2020 00-53-CM-7(a).
│ │ │ -001cead0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -001ceae0: 2d37 2862 290a 2020 2d20 6469 7361 626c -7(b). - disabl
│ │ │ -001ceaf0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -001ceb00: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -001ceb10: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -001ceb20: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -001ceb30: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ -001ceb40: 655f 6e67 696e 785f 7265 6d6f 7665 640a e_nginx_removed.
│ │ │ -001ceb50: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665 - unknown_seve
│ │ │ -001ceb60: 7269 7479 0a3c 2f63 6f64 653e 3c2f 7072 rity.
│ │ │ +001ce690: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +001ce710: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +001ce730: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +001ce740: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +001ce750: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001ce760: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +001ce770: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +001ce780: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +001ce790: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +001ce7a0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +001ce7c0: 616d 653a 2027 556e 696e 7374 616c 6c20 ame: 'Uninstall
│ │ │ +001ce7d0: 6e67 696e 7820 5061 636b 6167 653a 2045 nginx Package: E
│ │ │ +001ce7e0: 6e73 7572 6520 6e67 696e 7820 6973 2072 nsure nginx is r
│ │ │ +001ce7f0: 656d 6f76 6564 270a 2020 616e 7369 626c emoved'. ansibl
│ │ │ +001ce800: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ +001ce810: 653a 0a20 2020 206e 616d 653a 206e 6769 e:. name: ngi
│ │ │ +001ce820: 6e78 0a20 2020 2073 7461 7465 3a20 6162 nx. state: ab
│ │ │ +001ce830: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. -
│ │ │ +001ce840: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +001ce850: 3628 6129 0a20 202d 204e 4953 542d 3830 6(a). - NIST-80
│ │ │ +001ce860: 302d 3533 2d43 4d2d 3728 6129 0a20 202d 0-53-CM-7(a). -
│ │ │ +001ce870: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +001ce880: 3728 6229 0a20 202d 2064 6973 6162 6c65 7(b). - disable
│ │ │ +001ce890: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +001ce8a0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +001ce8b0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +001ce8c0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +001ce8d0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +001ce8e0: 5f6e 6769 6e78 5f72 656d 6f76 6564 0a20 _nginx_removed.
│ │ │ +001ce8f0: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572 - unknown_sever
│ │ │ +001ce900: 6974 790a 3c2f 636f 6465 3e3c 2f70 7265 ity.
Remediation
│ │ │ +001ce9c0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ +001ce9d0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001cea50: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001cea60: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001cea70: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001cea80: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001ceac0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001cead0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +001ceae0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +001ceaf0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
.include remo
│ │ │ +001ceb10: 7665 5f6e 6769 6e78 0a0a 636c 6173 7320 ve_nginx..class
│ │ │ +001ceb20: 7265 6d6f 7665 5f6e 6769 6e78 207b 0a20 remove_nginx {.
│ │ │ +001ceb30: 2070 6163 6b61 6765 207b 2027 6e67 696e package { 'ngin
│ │ │ +001ceb40: 7827 3a0a 2020 2020 656e 7375 7265 203d x':. ensure =
│ │ │ +001ceb50: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ +001ceb60: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remedia
│ │ │ -001cfe00: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ -001cfe10: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -001cfe20: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -001cfe30: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -001cfe40: 7365 2220 6964 3d22 6964 3635 3622 3e3c se" id="id656"><
│ │ │ -001cfe50: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -001cfe60: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -001cfe70: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -001cfe80: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -001cfe90: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -001cfea0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -001cfeb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -001cfee0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -001cfef0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -001cff00: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -001cff20: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -001cff30: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
.include
│ │ │ -001cff50: 2072 656d 6f76 655f 6379 7275 732d 696d remove_cyrus-im
│ │ │ -001cff60: 6170 640a 0a63 6c61 7373 2072 656d 6f76 apd..class remov
│ │ │ -001cff70: 655f 6379 7275 732d 696d 6170 6420 7b0a e_cyrus-imapd {.
│ │ │ -001cff80: 2020 7061 636b 6167 6520 7b20 2763 7972 package { 'cyr
│ │ │ -001cff90: 7573 2d69 6d61 7064 273a 0a20 2020 2065 us-imapd':. e
│ │ │ -001cffa0: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ -001cffb0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}. <
│ │ │ -001cffd0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -001cffe0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -001cfff0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -001d0000: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -001d0010: 6436 3537 2220 7461 6269 6e64 6578 3d22 d657" tabindex="
│ │ │ -001d0020: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -001d0030: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -001d0040: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -001d0050: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -001d0060: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001d0070: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -001d0080: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001d0090: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001d0110: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001d0140: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001d0160: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001d0170: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001d0190: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -001d01a0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001d01c0: 6d65 3a20 2755 6e69 6e73 7461 6c6c 2063 me: 'Uninstall c
│ │ │ -001d01d0: 7972 7573 2d69 6d61 7064 2050 6163 6b61 yrus-imapd Packa
│ │ │ -001d01e0: 6765 3a20 456e 7375 7265 2063 7972 7573 ge: Ensure cyrus
│ │ │ -001d01f0: 2d69 6d61 7064 2069 7320 7265 6d6f 7665 -imapd is remove
│ │ │ -001d0200: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -001d0210: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -001d0220: 2020 6e61 6d65 3a20 6379 7275 732d 696d name: cyrus-im
│ │ │ -001d0230: 6170 640a 2020 2020 7374 6174 653a 2061 apd. state: a
│ │ │ -001d0240: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:.
│ │ │ -001d0250: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ -001d0260: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ -001d0270: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -001d0280: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_
│ │ │ -001d0290: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001d02a0: 2d20 7061 636b 6167 655f 6379 7275 732d - package_cyrus-
│ │ │ -001d02b0: 696d 6170 645f 7265 6d6f 7665 640a 2020 imapd_removed.
│ │ │ -001d02c0: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269 - unknown_severi
│ │ │ -001d02d0: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e ty.
│ │ │ +001cfe00: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ +001cfe10: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001cfe20: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001cfe50: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001cfea0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001cfeb0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001cfec0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001cfed0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001cfee0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001cfef0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001cff00: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001cff10: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ +001cff50: 2027 556e 696e 7374 616c 6c20 6379 7275 'Uninstall cyru
│ │ │ +001cff60: 732d 696d 6170 6420 5061 636b 6167 653a s-imapd Package:
│ │ │ +001cff70: 2045 6e73 7572 6520 6379 7275 732d 696d Ensure cyrus-im
│ │ │ +001cff80: 6170 6420 6973 2072 656d 6f76 6564 270a apd is removed'.
│ │ │ +001cff90: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +001cffa0: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ +001cffb0: 616d 653a 2063 7972 7573 2d69 6d61 7064 ame: cyrus-imapd
│ │ │ +001cffc0: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ +001cffd0: 6e74 0a20 2074 6167 733a 0a20 202d 2064 nt. tags:. - d
│ │ │ +001cffe0: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +001cfff0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +001d0000: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +001d0010: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ +001d0020: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +001d0030: 6163 6b61 6765 5f63 7972 7573 2d69 6d61 ackage_cyrus-ima
│ │ │ +001d0040: 7064 5f72 656d 6f76 6564 0a20 202d 2075 pd_removed. - u
│ │ │ +001d0050: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a nknown_severity.
│ │ │ +001d0060: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +001d0110: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +001d0120: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +001d0130: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +001d01b0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +001d01c0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +001d01e0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +001d01f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +001d0230: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +001d0240: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ +001d0260: 696e 636c 7564 6520 7265 6d6f 7665 5f63 include remove_c
│ │ │ +001d0270: 7972 7573 2d69 6d61 7064 0a0a 636c 6173 yrus-imapd..clas
│ │ │ +001d0280: 7320 7265 6d6f 7665 5f63 7972 7573 2d69 s remove_cyrus-i
│ │ │ +001d0290: 6d61 7064 207b 0a20 2070 6163 6b61 6765 mapd {. package
│ │ │ +001d02a0: 207b 2027 6379 7275 732d 696d 6170 6427 { 'cyrus-imapd'
│ │ │ +001d02b0: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ +001d02c0: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ +001d02d0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ 001d02e0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 R
│ │ │ -001d1170: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -001d1180: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ -001d1210: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -001d1220: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001d1230: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -001d1240: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -001d1250: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -001d1280: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -001d1290: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -001d12a0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ -001d12c0: 6e63 6c75 6465 2072 656d 6f76 655f 646f nclude remove_do
│ │ │ -001d12d0: 7665 636f 742d 636f 7265 0a0a 636c 6173 vecot-core..clas
│ │ │ -001d12e0: 7320 7265 6d6f 7665 5f64 6f76 6563 6f74 s remove_dovecot
│ │ │ -001d12f0: 2d63 6f72 6520 7b0a 2020 7061 636b 6167 -core {. packag
│ │ │ -001d1300: 6520 7b20 2764 6f76 6563 6f74 2d63 6f72 e { 'dovecot-cor
│ │ │ -001d1310: 6527 3a0a 2020 2020 656e 7375 7265 203d e':. ensure =
│ │ │ -001d1320: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ -001d1330: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.Remediation
│ │ │ -001d13f0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ -001d1400: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -001d1490: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -001d14b0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -001d14c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001d14d0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -001d14e0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -001d1500: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ -001d1530: 636f 6465 3e2d 206e 616d 653a 2027 556e code>- name: 'Un
│ │ │ -001d1540: 696e 7374 616c 6c20 646f 7665 636f 7420 install dovecot
│ │ │ -001d1550: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ -001d1560: 646f 7665 636f 742d 636f 7265 2069 7320 dovecot-core is
│ │ │ -001d1570: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ -001d1580: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -001d1590: 6765 3a0a 2020 2020 6e61 6d65 3a20 646f ge:. name: do
│ │ │ -001d15a0: 7665 636f 742d 636f 7265 0a20 2020 2073 vecot-core. s
│ │ │ -001d15b0: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ -001d15c0: 6167 733a 0a20 202d 2064 6973 6162 6c65 ags:. - disable
│ │ │ -001d15d0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ -001d15e0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -001d15f0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -001d1600: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -001d1610: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -001d1620: 5f64 6f76 6563 6f74 5f72 656d 6f76 6564 _dovecot_removed
│ │ │ -001d1630: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576 . - unknown_sev
│ │ │ -001d1640: 6572 6974 790a 3c2f 636f 6465 3e3c 2f70 erity.
│ │ │ +001d1210: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +001d1220: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +001d1240: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +001d1250: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +001d1290: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +001d12a0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +001d12c0: 206e 616d 653a 2027 556e 696e 7374 616c name: 'Uninstal
│ │ │ +001d12d0: 6c20 646f 7665 636f 7420 5061 636b 6167 l dovecot Packag
│ │ │ +001d12e0: 653a 2045 6e73 7572 6520 646f 7665 636f e: Ensure doveco
│ │ │ +001d12f0: 742d 636f 7265 2069 7320 7265 6d6f 7665 t-core is remove
│ │ │ +001d1300: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ +001d1310: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ +001d1320: 2020 6e61 6d65 3a20 646f 7665 636f 742d name: dovecot-
│ │ │ +001d1330: 636f 7265 0a20 2020 2073 7461 7465 3a20 core. state:
│ │ │ +001d1340: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ +001d1350: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ +001d1360: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +001d1370: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +001d1380: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no
│ │ │ +001d1390: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +001d13a0: 202d 2070 6163 6b61 6765 5f64 6f76 6563 - package_dovec
│ │ │ +001d13b0: 6f74 5f72 656d 6f76 6564 0a20 202d 2075 ot_removed. - u
│ │ │ +001d13c0: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a nknown_severity.
│ │ │ +001d13d0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +001d1480: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +001d1490: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +001d14a0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +001d1520: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +001d1530: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +001d1550: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +001d1560: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +001d15a0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +001d15b0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ +001d15d0: 696e 636c 7564 6520 7265 6d6f 7665 5f64 include remove_d
│ │ │ +001d15e0: 6f76 6563 6f74 2d63 6f72 650a 0a63 6c61 ovecot-core..cla
│ │ │ +001d15f0: 7373 2072 656d 6f76 655f 646f 7665 636f ss remove_doveco
│ │ │ +001d1600: 742d 636f 7265 207b 0a20 2070 6163 6b61 t-core {. packa
│ │ │ +001d1610: 6765 207b 2027 646f 7665 636f 742d 636f ge { 'dovecot-co
│ │ │ +001d1620: 7265 273a 0a20 2020 2065 6e73 7572 6520 re':. ensure
│ │ │ +001d1630: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ +001d1640: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Rem
│ │ │ -001d2cb0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -001d2cc0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001d2cd0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001d2d50: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001d2d80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001d2da0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001d2db0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001d2dd0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -001d2de0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ -001d2e00: 6c75 6465 2072 656d 6f76 655f 6c64 6170 lude remove_ldap
│ │ │ -001d2e10: 2d75 7469 6c73 0a0a 636c 6173 7320 7265 -utils..class re
│ │ │ -001d2e20: 6d6f 7665 5f6c 6461 702d 7574 696c 7320 move_ldap-utils
│ │ │ -001d2e30: 7b0a 2020 7061 636b 6167 6520 7b20 276c {. package { 'l
│ │ │ -001d2e40: 6461 702d 7574 696c 7327 3a0a 2020 2020 dap-utils':.
│ │ │ -001d2e50: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ -001d2e60: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ -001d2e80: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -001d2f20: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -001d2f30: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001d2f40: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -001d2fc0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -001d2fe0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -001d2ff0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -001d3000: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001d3010: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -001d3020: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -001d3030: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001d3040: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -001d3050: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ -001d3070: 616d 653a 2027 456e 7375 7265 204c 4441 ame: 'Ensure LDA
│ │ │ -001d3080: 5020 636c 6965 6e74 2069 7320 6e6f 7420 P client is not
│ │ │ -001d3090: 696e 7374 616c 6c65 643a 2045 6e73 7572 installed: Ensur
│ │ │ -001d30a0: 6520 6c64 6170 2d75 7469 6c73 2069 7320 e ldap-utils is
│ │ │ -001d30b0: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ -001d30c0: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -001d30d0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6c64 ge:. name: ld
│ │ │ -001d30e0: 6170 2d75 7469 6c73 0a20 2020 2073 7461 ap-utils. sta
│ │ │ -001d30f0: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ -001d3100: 733a 0a20 202d 2064 6973 6162 6c65 5f73 s:. - disable_s
│ │ │ -001d3110: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ -001d3120: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ -001d3130: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ -001d3140: 2d20 6c6f 775f 7365 7665 7269 7479 0a20 - low_severity.
│ │ │ -001d3150: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -001d3160: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ -001d3170: 6f70 656e 6c64 6170 2d63 6c69 656e 7473 openldap-clients
│ │ │ -001d3180: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e _removed.
│ │ │ +001d2cb0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ +001d2cc0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +001d2cd0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +001d2d50: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +001d2d70: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +001d2d80: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +001d2d90: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001d2da0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +001d2db0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +001d2dc0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +001d2dd0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +001d2de0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +001d2e00: 616d 653a 2027 456e 7375 7265 204c 4441 ame: 'Ensure LDA
│ │ │ +001d2e10: 5020 636c 6965 6e74 2069 7320 6e6f 7420 P client is not
│ │ │ +001d2e20: 696e 7374 616c 6c65 643a 2045 6e73 7572 installed: Ensur
│ │ │ +001d2e30: 6520 6c64 6170 2d75 7469 6c73 2069 7320 e ldap-utils is
│ │ │ +001d2e40: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ +001d2e50: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +001d2e60: 6765 3a0a 2020 2020 6e61 6d65 3a20 6c64 ge:. name: ld
│ │ │ +001d2e70: 6170 2d75 7469 6c73 0a20 2020 2073 7461 ap-utils. sta
│ │ │ +001d2e80: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ +001d2e90: 733a 0a20 202d 2064 6973 6162 6c65 5f73 s:. - disable_s
│ │ │ +001d2ea0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +001d2eb0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +001d2ec0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +001d2ed0: 2d20 6c6f 775f 7365 7665 7269 7479 0a20 - low_severity.
│ │ │ +001d2ee0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +001d2ef0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ +001d2f00: 6f70 656e 6c64 6170 2d63 6c69 656e 7473 openldap-clients
│ │ │ +001d2f10: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e _removed.
│ │ │ +001d2f20: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +001d2fd0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ +001d2fe0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +001d2ff0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001d3000: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +001d3010: 7365 2220 6964 3d22 6964 3636 3522 3e3c se" id="id665"><
│ │ │ +001d3020: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +001d3030: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +001d3040: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +001d3050: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +001d3060: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +001d3070: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +001d3080: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +001d30b0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +001d30c0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +001d30d0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +001d30f0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +001d3100: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
.include
│ │ │ +001d3120: 2072 656d 6f76 655f 6c64 6170 2d75 7469 remove_ldap-uti
│ │ │ +001d3130: 6c73 0a0a 636c 6173 7320 7265 6d6f 7665 ls..class remove
│ │ │ +001d3140: 5f6c 6461 702d 7574 696c 7320 7b0a 2020 _ldap-utils {.
│ │ │ +001d3150: 7061 636b 6167 6520 7b20 276c 6461 702d package { 'ldap-
│ │ │ +001d3160: 7574 696c 7327 3a0a 2020 2020 656e 7375 utils':. ensu
│ │ │ +001d3170: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged
│ │ │ +001d3180: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ 001d3190: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063 Reme
│ │ │ -001d4670: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ -001d4680: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -001d4710: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -001d4720: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -001d4740: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001d4760: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001d4770: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001d4790: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -001d47a0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001d47b0: 3c70 7265 3e3c 636f 6465 3e0a 696e 636c .incl
│ │ │ -001d47c0: 7564 6520 7265 6d6f 7665 5f73 6c61 7064 ude remove_slapd
│ │ │ -001d47d0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f73 ..class remove_s
│ │ │ -001d47e0: 6c61 7064 207b 0a20 2070 6163 6b61 6765 lapd {. package
│ │ │ -001d47f0: 207b 2027 736c 6170 6427 3a0a 2020 2020 { 'slapd':.
│ │ │ -001d4800: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ -001d4810: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ -001d4830: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -001d48d0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -001d48e0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001d48f0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -001d4970: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -001d4990: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -001d49a0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -001d49b0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001d49c0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -001d49d0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -001d49e0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001d49f0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -001d4a00: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ -001d4a20: 616d 653a 2027 556e 696e 7374 616c 6c20 ame: 'Uninstall
│ │ │ -001d4a30: 6f70 656e 6c64 6170 2d73 6572 7665 7273 openldap-servers
│ │ │ -001d4a40: 2050 6163 6b61 6765 3a20 456e 7375 7265 Package: Ensure
│ │ │ -001d4a50: 2073 6c61 7064 2069 7320 7265 6d6f 7665 slapd is remove
│ │ │ -001d4a60: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -001d4a70: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -001d4a80: 2020 6e61 6d65 3a20 736c 6170 640a 2020 name: slapd.
│ │ │ -001d4a90: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ -001d4aa0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ -001d4ab0: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -001d4ac0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -001d4ad0: 434d 2d37 2861 290a 2020 2d20 4e49 5354 CM-7(a). - NIST
│ │ │ -001d4ae0: 2d38 3030 2d35 332d 434d 2d37 2862 290a -800-53-CM-7(b).
│ │ │ -001d4af0: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ -001d4b00: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -001d4b10: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -001d4b20: 6469 7372 7570 7469 6f6e 0a20 202d 206c disruption. - l
│ │ │ -001d4b30: 6f77 5f73 6576 6572 6974 790a 2020 2d20 ow_severity. -
│ │ │ -001d4b40: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -001d4b50: 0a20 202d 2070 6163 6b61 6765 5f6f 7065 . - package_ope
│ │ │ -001d4b60: 6e6c 6461 702d 7365 7276 6572 735f 7265 nldap-servers_re
│ │ │ -001d4b70: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.<
│ │ │ +001d4690: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001d4710: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001d4740: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001d4760: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001d4770: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001d4790: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001d47a0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001d47c0: 6d65 3a20 2755 6e69 6e73 7461 6c6c 206f me: 'Uninstall o
│ │ │ +001d47d0: 7065 6e6c 6461 702d 7365 7276 6572 7320 penldap-servers
│ │ │ +001d47e0: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ +001d47f0: 736c 6170 6420 6973 2072 656d 6f76 6564 slapd is removed
│ │ │ +001d4800: 270a 2020 616e 7369 626c 652e 6275 696c '. ansible.buil
│ │ │ +001d4810: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ +001d4820: 206e 616d 653a 2073 6c61 7064 0a20 2020 name: slapd.
│ │ │ +001d4830: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ +001d4840: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ +001d4850: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ +001d4860: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +001d4870: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST-
│ │ │ +001d4880: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b).
│ │ │ +001d4890: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ +001d48a0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +001d48b0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +001d48c0: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f isruption. - lo
│ │ │ +001d48d0: 775f 7365 7665 7269 7479 0a20 202d 206e w_severity. - n
│ │ │ +001d48e0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +001d48f0: 2020 2d20 7061 636b 6167 655f 6f70 656e - package_open
│ │ │ +001d4900: 6c64 6170 2d73 6572 7665 7273 5f72 656d ldap-servers_rem
│ │ │ +001d4910: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
Remediation
│ │ │ +001d49d0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ +001d49e0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +001d4a70: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +001d4a90: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +001d4ab0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +001d4ac0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +001d4ae0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +001d4af0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ +001d4b20: 6f76 655f 736c 6170 640a 0a63 6c61 7373 ove_slapd..class
│ │ │ +001d4b30: 2072 656d 6f76 655f 736c 6170 6420 7b0a remove_slapd {.
│ │ │ +001d4b40: 2020 7061 636b 6167 6520 7b20 2773 6c61 package { 'sla
│ │ │ +001d4b50: 7064 273a 0a20 2020 2065 6e73 7572 6520 pd':. ensure
│ │ │ +001d4b60: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ +001d4b70: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediatio
│ │ │ -001d8f10: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -001d8f20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -001d8fb0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -001d8fd0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -001d8fe0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001d8ff0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -001d9000: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -001d9020: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ -001d9050: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ -001d9060: 6d6f 7665 5f72 7063 6269 6e64 0a0a 636c move_rpcbind..cl
│ │ │ -001d9070: 6173 7320 7265 6d6f 7665 5f72 7063 6269 ass remove_rpcbi
│ │ │ -001d9080: 6e64 207b 0a20 2070 6163 6b61 6765 207b nd {. package {
│ │ │ -001d9090: 2027 7270 6362 696e 6427 3a0a 2020 2020 'rpcbind':.
│ │ │ -001d90a0: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ -001d90b0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ -001d90d0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -001d9170: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -001d9180: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001d9190: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -001d9210: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -001d9230: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -001d9240: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -001d9250: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001d9260: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -001d9270: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -001d9280: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001d9290: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -001d92a0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ -001d92c0: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ -001d92d0: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ -001d92e0: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ -001d92f0: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ -001d9300: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ -001d9310: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -001d9320: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -001d9330: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -001d9340: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665 ion. - low_seve
│ │ │ -001d9350: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -001d9360: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ -001d9370: 636b 6167 655f 7270 6362 696e 645f 7265 ckage_rpcbind_re
│ │ │ -001d9380: 6d6f 7665 640a 0a2d 206e 616d 653a 2027 moved..- name: '
│ │ │ -001d9390: 556e 696e 7374 616c 6c20 7270 6362 696e Uninstall rpcbin
│ │ │ -001d93a0: 6420 5061 636b 6167 653a 2045 6e73 7572 d Package: Ensur
│ │ │ -001d93b0: 6520 7270 6362 696e 6420 6973 2072 656d e rpcbind is rem
│ │ │ -001d93c0: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ -001d93d0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -001d93e0: 0a20 2020 206e 616d 653a 2072 7063 6269 . name: rpcbi
│ │ │ -001d93f0: 6e64 0a20 2020 2073 7461 7465 3a20 6162 nd. state: ab
│ │ │ -001d9400: 7365 6e74 0a20 2077 6865 6e3a 2027 226c sent. when: '"l
│ │ │ -001d9410: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ -001d9420: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ -001d9430: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ -001d9440: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ -001d9450: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ -001d9460: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -001d9470: 7372 7570 7469 6f6e 0a20 202d 206c 6f77 sruption. - low
│ │ │ -001d9480: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -001d9490: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -001d94a0: 202d 2070 6163 6b61 6765 5f72 7063 6269 - package_rpcbi
│ │ │ -001d94b0: 6e64 5f72 656d 6f76 6564 0a3c 2f63 6f64 nd_removed.
<
│ │ │ +001d8fa0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +001d8fb0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +001d8fc0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001d8fd0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +001d8fe0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +001d9000: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001d9010: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001d9020: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +001d9040: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +001d9050: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761 - name: Ga
│ │ │ +001d9060: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ +001d9070: 2066 6163 7473 0a20 2070 6163 6b61 6765 facts. package
│ │ │ +001d9080: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61 _facts:. mana
│ │ │ +001d9090: 6765 723a 2061 7574 6f0a 2020 7461 6773 ger: auto. tags
│ │ │ +001d90a0: 3a0a 2020 2d20 6469 7361 626c 655f 7374 :. - disable_st
│ │ │ +001d90b0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +001d90c0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +001d90d0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +001d90e0: 206c 6f77 5f73 6576 6572 6974 790a 2020 low_severity.
│ │ │ +001d90f0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +001d9100: 6564 0a20 202d 2070 6163 6b61 6765 5f72 ed. - package_r
│ │ │ +001d9110: 7063 6269 6e64 5f72 656d 6f76 6564 0a0a pcbind_removed..
│ │ │ +001d9120: 2d20 6e61 6d65 3a20 2755 6e69 6e73 7461 - name: 'Uninsta
│ │ │ +001d9130: 6c6c 2072 7063 6269 6e64 2050 6163 6b61 ll rpcbind Packa
│ │ │ +001d9140: 6765 3a20 456e 7375 7265 2072 7063 6269 ge: Ensure rpcbi
│ │ │ +001d9150: 6e64 2069 7320 7265 6d6f 7665 6427 0a20 nd is removed'.
│ │ │ +001d9160: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +001d9170: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ +001d9180: 6d65 3a20 7270 6362 696e 640a 2020 2020 me: rpcbind.
│ │ │ +001d9190: 7374 6174 653a 2061 6273 656e 740a 2020 state: absent.
│ │ │ +001d91a0: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba
│ │ │ +001d91b0: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ +001d91c0: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ +001d91d0: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab
│ │ │ +001d91e0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +001d91f0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +001d9200: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +001d9210: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269 n. - low_severi
│ │ │ +001d9220: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +001d9230: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ +001d9240: 6167 655f 7270 6362 696e 645f 7265 6d6f age_rpcbind_remo
│ │ │ +001d9250: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265 ved.
Remediation
│ │ │ +001d9310: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ +001d9320: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001d93a0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001d93b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001d93c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001d93d0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001d9410: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001d9420: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +001d9430: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +001d9440: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
.include remo
│ │ │ +001d9460: 7665 5f72 7063 6269 6e64 0a0a 636c 6173 ve_rpcbind..clas
│ │ │ +001d9470: 7320 7265 6d6f 7665 5f72 7063 6269 6e64 s remove_rpcbind
│ │ │ +001d9480: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ +001d9490: 7270 6362 696e 6427 3a0a 2020 2020 656e rpcbind':. en
│ │ │ +001d94a0: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ +001d94b0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Re
│ │ │ -001da100: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ -001da110: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001da120: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -001da1a0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -001da1c0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -001da1d0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -001da1e0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001da1f0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -001da200: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -001da210: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001da220: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -001da230: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ -001da250: 636c 7564 6520 7265 6d6f 7665 5f6e 6673 clude remove_nfs
│ │ │ -001da260: 2d6b 6572 6e65 6c2d 7365 7276 6572 0a0a -kernel-server..
│ │ │ -001da270: 636c 6173 7320 7265 6d6f 7665 5f6e 6673 class remove_nfs
│ │ │ -001da280: 2d6b 6572 6e65 6c2d 7365 7276 6572 207b -kernel-server {
│ │ │ -001da290: 0a20 2070 6163 6b61 6765 207b 2027 6e66 . package { 'nf
│ │ │ -001da2a0: 732d 6b65 726e 656c 2d73 6572 7665 7227 s-kernel-server'
│ │ │ -001da2b0: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ -001da2c0: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ -001da2d0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -001da2e0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation A
│ │ │ -001da390: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ -001da3a0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -001da420: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -001da430: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001da440: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -001da450: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -001da490: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -001da4a0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ -001da4b0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ -001da4c0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: 'Unin
│ │ │ -001da4e0: 7374 616c 6c20 6e66 732d 6b65 726e 656c stall nfs-kernel
│ │ │ -001da4f0: 2d73 6572 7665 7220 5061 636b 6167 653a -server Package:
│ │ │ -001da500: 2045 6e73 7572 6520 6e66 732d 6b65 726e Ensure nfs-kern
│ │ │ -001da510: 656c 2d73 6572 7665 7220 6973 2072 656d el-server is rem
│ │ │ -001da520: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ -001da530: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -001da540: 0a20 2020 206e 616d 653a 206e 6673 2d6b . name: nfs-k
│ │ │ -001da550: 6572 6e65 6c2d 7365 7276 6572 0a20 2020 ernel-server.
│ │ │ -001da560: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ -001da570: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab
│ │ │ -001da580: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -001da590: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -001da5a0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -001da5b0: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269 n. - low_severi
│ │ │ -001da5c0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -001da5d0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -001da5e0: 6167 655f 6e66 732d 6b65 726e 656c 2d73 age_nfs-kernel-s
│ │ │ -001da5f0: 6572 7665 725f 7265 6d6f 7665 640a 3c2f erver_removed.
│ │ │ +001da100: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ +001da110: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ +001da1a0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +001da1b0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001da1c0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +001da1d0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +001da1e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +001da210: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +001da220: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ +001da230: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ +001da250: 6e61 6d65 3a20 2755 6e69 6e73 7461 6c6c name: 'Uninstall
│ │ │ +001da260: 206e 6673 2d6b 6572 6e65 6c2d 7365 7276 nfs-kernel-serv
│ │ │ +001da270: 6572 2050 6163 6b61 6765 3a20 456e 7375 er Package: Ensu
│ │ │ +001da280: 7265 206e 6673 2d6b 6572 6e65 6c2d 7365 re nfs-kernel-se
│ │ │ +001da290: 7276 6572 2069 7320 7265 6d6f 7665 6427 rver is removed'
│ │ │ +001da2a0: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ +001da2b0: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ +001da2c0: 6e61 6d65 3a20 6e66 732d 6b65 726e 656c name: nfs-kernel
│ │ │ +001da2d0: 2d73 6572 7665 720a 2020 2020 7374 6174 -server. stat
│ │ │ +001da2e0: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags
│ │ │ +001da2f0: 3a0a 2020 2d20 6469 7361 626c 655f 7374 :. - disable_st
│ │ │ +001da300: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +001da310: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +001da320: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +001da330: 206c 6f77 5f73 6576 6572 6974 790a 2020 low_severity.
│ │ │ +001da340: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +001da350: 6564 0a20 202d 2070 6163 6b61 6765 5f6e ed. - package_n
│ │ │ +001da360: 6673 2d6b 6572 6e65 6c2d 7365 7276 6572 fs-kernel-server
│ │ │ +001da370: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e _removed.
│ │ │ +001da380: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +001da430: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ +001da440: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +001da450: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001da460: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +001da470: 7365 2220 6964 3d22 6964 3638 3022 3e3c se" id="id680"><
│ │ │ +001da480: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +001da490: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +001da4a0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +001da4b0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +001da4c0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +001da4d0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +001da4e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +001da510: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +001da520: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +001da530: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +001da550: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +001da560: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
.include
│ │ │ +001da580: 2072 656d 6f76 655f 6e66 732d 6b65 726e remove_nfs-kern
│ │ │ +001da590: 656c 2d73 6572 7665 720a 0a63 6c61 7373 el-server..class
│ │ │ +001da5a0: 2072 656d 6f76 655f 6e66 732d 6b65 726e remove_nfs-kern
│ │ │ +001da5b0: 656c 2d73 6572 7665 7220 7b0a 2020 7061 el-server {. pa
│ │ │ +001da5c0: 636b 6167 6520 7b20 276e 6673 2d6b 6572 ckage { 'nfs-ker
│ │ │ +001da5d0: 6e65 6c2d 7365 7276 6572 273a 0a20 2020 nel-server':.
│ │ │ +001da5e0: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p
│ │ │ +001da5f0: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
│ │ │ 001da600: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code> Remediation
│ │ │ -001dc5f0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ -001dc600: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ -001dc650: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61 .[[packages]].na
│ │ │ -001dc660: 6d65 203d 2022 7379 7374 656d 642d 7469 me = "systemd-ti
│ │ │ -001dc670: 6d65 7379 6e63 6422 0a76 6572 7369 6f6e mesyncd".version
│ │ │ -001dc680: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f = "*".
│ │ │ -001dc690: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ -001dc740: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -001dc750: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001dc7d0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001dc7e0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001dc7f0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001dc800: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001dc810: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001dc830: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001dc840: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001dc850: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -001dc880: 636f 6465 3e69 6e63 6c75 6465 2069 6e73 code>include ins
│ │ │ -001dc890: 7461 6c6c 5f73 7973 7465 6d64 2d74 696d tall_systemd-tim
│ │ │ -001dc8a0: 6573 796e 6364 0a0a 636c 6173 7320 696e esyncd..class in
│ │ │ -001dc8b0: 7374 616c 6c5f 7379 7374 656d 642d 7469 stall_systemd-ti
│ │ │ -001dc8c0: 6d65 7379 6e63 6420 7b0a 2020 7061 636b mesyncd {. pack
│ │ │ -001dc8d0: 6167 6520 7b20 2773 7973 7465 6d64 2d74 age { 'systemd-t
│ │ │ -001dc8e0: 696d 6573 796e 6364 273a 0a20 2020 2065 imesyncd':. e
│ │ │ -001dc8f0: 6e73 7572 6520 3d26 6774 3b20 2769 6e73 nsure => 'ins
│ │ │ -001dc900: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c talled',. }.}.<
│ │ │ -001dc910: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>R
│ │ │ -001dc9c0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -001dc9d0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -001dc9e0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -001dca60: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -001dca70: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -001dca90: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -001dcaa0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -001dcae0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ -001dcaf0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ -001dcb10: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the
│ │ │ -001dcb20: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts.
│ │ │ -001dcb30: 2070 6163 6b61 6765 5f66 6163 7473 3a0a package_facts:.
│ │ │ -001dcb40: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ -001dcb50: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49 o. tags:. - NI
│ │ │ -001dcb60: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ -001dcb70: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ -001dcb80: 712d 3130 2e34 0a20 202d 2065 6e61 626c q-10.4. - enabl
│ │ │ -001dcb90: 655f 7374 7261 7465 6779 0a20 202d 2068 e_strategy. - h
│ │ │ -001dcba0: 6967 685f 7365 7665 7269 7479 0a20 202d igh_severity. -
│ │ │ -001dcbb0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -001dcbc0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -001dcbd0: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74 on. - no_reboot
│ │ │ -001dcbe0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -001dcbf0: 6167 655f 7469 6d65 7379 6e63 645f 696e age_timesyncd_in
│ │ │ -001dcc00: 7374 616c 6c65 640a 0a2d 206e 616d 653a stalled..- name:
│ │ │ -001dcc10: 2045 6e73 7572 6520 7379 7374 656d 642d Ensure systemd-
│ │ │ -001dcc20: 7469 6d65 7379 6e63 6420 6973 2069 6e73 timesyncd is ins
│ │ │ -001dcc30: 7461 6c6c 6564 0a20 2061 6e73 6962 6c65 talled. ansible
│ │ │ -001dcc40: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ -001dcc50: 3a0a 2020 2020 6e61 6d65 3a20 7379 7374 :. name: syst
│ │ │ -001dcc60: 656d 642d 7469 6d65 7379 6e63 640a 2020 emd-timesyncd.
│ │ │ -001dcc70: 2020 7374 6174 653a 2070 7265 7365 6e74 state: present
│ │ │ -001dcc80: 0a20 2077 6865 6e3a 2027 226c 696e 7578 . when: '"linux
│ │ │ -001dcc90: 2d62 6173 6522 2069 6e20 616e 7369 626c -base" in ansibl
│ │ │ -001dcca0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -001dccb0: 270a 2020 7461 6773 3a0a 2020 2d20 4e49 '. tags:. - NI
│ │ │ -001dccc0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ -001dccd0: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ -001dcce0: 712d 3130 2e34 0a20 202d 2065 6e61 626c q-10.4. - enabl
│ │ │ -001dccf0: 655f 7374 7261 7465 6779 0a20 202d 2068 e_strategy. - h
│ │ │ -001dcd00: 6967 685f 7365 7665 7269 7479 0a20 202d igh_severity. -
│ │ │ -001dcd10: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -001dcd20: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -001dcd30: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74 on. - no_reboot
│ │ │ -001dcd40: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -001dcd50: 6167 655f 7469 6d65 7379 6e63 645f 696e age_timesyncd_in
│ │ │ -001dcd60: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c stalled.<
│ │ │ +001dc5f0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ +001dc600: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +001dc690: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +001dc6b0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +001dc6d0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +001dc6e0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +001dc700: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +001dc710: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +001dc720: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +001dc740: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +001dc750: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ +001dc760: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ +001dc770: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ +001dc780: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +001dc790: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ +001dc7a0: 5353 2d52 6571 2d31 302e 340a 2020 2d20 SS-Req-10.4. -
│ │ │ +001dc7b0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ +001dc7c0: 2020 2d20 6869 6768 5f73 6576 6572 6974 - high_severit
│ │ │ +001dc7d0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +001dc7e0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +001dc7f0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r
│ │ │ +001dc800: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001dc810: 2070 6163 6b61 6765 5f74 696d 6573 796e package_timesyn
│ │ │ +001dc820: 6364 5f69 6e73 7461 6c6c 6564 0a0a 2d20 cd_installed..-
│ │ │ +001dc830: 6e61 6d65 3a20 456e 7375 7265 2073 7973 name: Ensure sys
│ │ │ +001dc840: 7465 6d64 2d74 696d 6573 796e 6364 2069 temd-timesyncd i
│ │ │ +001dc850: 7320 696e 7374 616c 6c65 640a 2020 616e s installed. an
│ │ │ +001dc860: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +001dc870: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ +001dc880: 2073 7973 7465 6d64 2d74 696d 6573 796e systemd-timesyn
│ │ │ +001dc890: 6364 0a20 2020 2073 7461 7465 3a20 7072 cd. state: pr
│ │ │ +001dc8a0: 6573 656e 740a 2020 7768 656e 3a20 2722 esent. when: '"
│ │ │ +001dc8b0: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ +001dc8c0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +001dc8d0: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ +001dc8e0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +001dc8f0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ +001dc900: 5353 2d52 6571 2d31 302e 340a 2020 2d20 SS-Req-10.4. -
│ │ │ +001dc910: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ +001dc920: 2020 2d20 6869 6768 5f73 6576 6572 6974 - high_severit
│ │ │ +001dc930: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +001dc940: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +001dc950: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r
│ │ │ +001dc960: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001dc970: 2070 6163 6b61 6765 5f74 696d 6573 796e package_timesyn
│ │ │ +001dc980: 6364 5f69 6e73 7461 6c6c 6564 0a3c 2f63 cd_installed.
│ │ │ +001dc9a0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +001dca40: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +001dca50: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001dca60: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001dcae0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001dcb10: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001dcb30: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001dcb40: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001dcb60: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ +001dcb70: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001dcb80: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ +001dcb90: 6465 2069 6e73 7461 6c6c 5f73 7973 7465 de install_syste
│ │ │ +001dcba0: 6d64 2d74 696d 6573 796e 6364 0a0a 636c md-timesyncd..cl
│ │ │ +001dcbb0: 6173 7320 696e 7374 616c 6c5f 7379 7374 ass install_syst
│ │ │ +001dcbc0: 656d 642d 7469 6d65 7379 6e63 6420 7b0a emd-timesyncd {.
│ │ │ +001dcbd0: 2020 7061 636b 6167 6520 7b20 2773 7973 package { 'sys
│ │ │ +001dcbe0: 7465 6d64 2d74 696d 6573 796e 6364 273a temd-timesyncd':
│ │ │ +001dcbf0: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +001dcc00: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20 ; 'installed',.
│ │ │ +001dcc10: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediation
│ │ │ +001dccd0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri
│ │ │ +001dcce0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
│ │ │ +001dccf0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
.[[packages]].n
│ │ │ +001dcd40: 616d 6520 3d20 2273 7973 7465 6d64 2d74 ame = "systemd-t
│ │ │ +001dcd50: 696d 6573 796e 6364 220a 7665 7273 696f imesyncd".versio
│ │ │ +001dcd60: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c n = "*".<
│ │ │ 001dcd70: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediation OSB
│ │ │ -001ddb20: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ -001ddb30: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ....[c
│ │ │ -001ddb80: 7573 746f 6d69 7a61 7469 6f6e 732e 7365 ustomizations.se
│ │ │ -001ddb90: 7276 6963 6573 5d0a 656e 6162 6c65 6420 rvices].enabled
│ │ │ -001ddba0: 3d20 5b22 6368 726f 6e79 225d 0a3c 2f63 = ["chrony"].
│ │ │ -001ddbc0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -001ddc60: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -001ddc70: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001ddc80: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001ddd00: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001ddd30: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001ddd50: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001ddd60: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001ddd80: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ -001ddd90: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001ddda0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ -001dddb0: 6465 2065 6e61 626c 655f 6368 726f 6e79 de enable_chrony
│ │ │ -001dddc0: 0a0a 636c 6173 7320 656e 6162 6c65 5f63 ..class enable_c
│ │ │ -001dddd0: 6872 6f6e 7920 7b0a 2020 7365 7276 6963 hrony {. servic
│ │ │ -001ddde0: 6520 7b27 6368 726f 6e79 273a 0a20 2020 e {'chrony':.
│ │ │ -001dddf0: 2065 6e61 626c 6520 3d26 6774 3b20 7472 enable => tr
│ │ │ -001dde00: 7565 2c0a 2020 2020 656e 7375 7265 203d ue,. ensure =
│ │ │ -001dde10: 2667 743b 2027 7275 6e6e 696e 6727 2c0a > 'running',.
│ │ │ -001dde20: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediatio
│ │ │ -001ddee0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ -001ddef0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001ddf70: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001ddf80: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001ddf90: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001ddfa0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001ddfb0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001ddfd0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001ddfe0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001ddff0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -001de020: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ -001de030: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ -001de040: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ -001de050: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ -001de060: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ -001de070: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ -001de080: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -001de090: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -001de0a0: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ -001de0b0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ -001de0c0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -001de0d0: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ -001de0e0: 6368 726f 6e79 645f 656e 6162 6c65 640a chronyd_enabled.
│ │ │ -001de0f0: 0a2d 206e 616d 653a 2054 6865 2043 6872 .- name: The Chr
│ │ │ -001de100: 6f6e 7964 2073 6572 7669 6365 2069 7320 onyd service is
│ │ │ -001de110: 656e 6162 6c65 6420 2d20 456e 6162 6c65 enabled - Enable
│ │ │ -001de120: 2073 6572 7669 6365 2063 6872 6f6e 790a service chrony.
│ │ │ -001de130: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61 block:.. - na
│ │ │ -001de140: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ -001de150: 6163 6b61 6765 2066 6163 7473 0a20 2020 ackage facts.
│ │ │ -001de160: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -001de170: 2e70 6163 6b61 6765 5f66 6163 7473 3a0a .package_facts:.
│ │ │ -001de180: 2020 2020 2020 6d61 6e61 6765 723a 2061 manager: a
│ │ │ -001de190: 7574 6f0a 0a20 202d 206e 616d 653a 2054 uto.. - name: T
│ │ │ -001de1a0: 6865 2043 6872 6f6e 7964 2073 6572 7669 he Chronyd servi
│ │ │ -001de1b0: 6365 2069 7320 656e 6162 6c65 6420 2d20 ce is enabled -
│ │ │ -001de1c0: 456e 6162 6c65 2053 6572 7669 6365 2063 Enable Service c
│ │ │ -001de1d0: 6872 6f6e 790a 2020 2020 616e 7369 626c hrony. ansibl
│ │ │ -001de1e0: 652e 6275 696c 7469 6e2e 7379 7374 656d e.builtin.system
│ │ │ -001de1f0: 643a 0a20 2020 2020 206e 616d 653a 2063 d:. name: c
│ │ │ -001de200: 6872 6f6e 790a 2020 2020 2020 656e 6162 hrony. enab
│ │ │ -001de210: 6c65 643a 2074 7275 650a 2020 2020 2020 led: true.
│ │ │ -001de220: 7374 6174 653a 2073 7461 7274 6564 0a20 state: started.
│ │ │ -001de230: 2020 2020 206d 6173 6b65 643a 2066 616c masked: fal
│ │ │ -001de240: 7365 0a20 2020 2077 6865 6e3a 0a20 2020 se. when:.
│ │ │ -001de250: 202d 2027 2263 6872 6f6e 7922 2069 6e20 - '"chrony" in
│ │ │ -001de260: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -001de270: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:.
│ │ │ -001de280: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat
│ │ │ -001de290: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ -001de2a0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -001de2b0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ -001de2c0: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ -001de2d0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -001de2e0: 6564 0a20 202d 2073 6572 7669 6365 5f63 ed. - service_c
│ │ │ -001de2f0: 6872 6f6e 7964 5f65 6e61 626c 6564 0a20 hronyd_enabled.
│ │ │ -001de300: 202d 2073 7065 6369 616c 5f73 6572 7669 - special_servi
│ │ │ -001de310: 6365 5f62 6c6f 636b 0a20 2077 6865 6e3a ce_block. when:
│ │ │ -001de320: 0a20 202d 2027 226c 696e 7578 2d62 6173 . - '"linux-bas
│ │ │ -001de330: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ -001de340: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ -001de350: 2d20 2722 6368 726f 6e79 2220 696e 2061 - '"chrony" in a
│ │ │ -001de360: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -001de370: 6b61 6765 7327 0a3c 2f63 6f64 653e 3c2f kages'.
│ │ │ +001ddb10: 3e52 656d 6564 6961 7469 6f6e 2041 6e73 >Remediation Ans
│ │ │ +001ddb20: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ +001ddb30: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +001ddbd0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +001ddbe0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +001ddbf0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001ddc00: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +001ddc10: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +001ddc20: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +001ddc30: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ +001ddc40: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001ddc60: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ +001ddc70: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ +001ddc80: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ +001ddc90: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ +001ddca0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ +001ddcb0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ +001ddcc0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +001ddcd0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +001ddce0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +001ddcf0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +001ddd00: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +001ddd10: 202d 2073 6572 7669 6365 5f63 6872 6f6e - service_chron
│ │ │ +001ddd20: 7964 5f65 6e61 626c 6564 0a0a 2d20 6e61 yd_enabled..- na
│ │ │ +001ddd30: 6d65 3a20 5468 6520 4368 726f 6e79 6420 me: The Chronyd
│ │ │ +001ddd40: 7365 7276 6963 6520 6973 2065 6e61 626c service is enabl
│ │ │ +001ddd50: 6564 202d 2045 6e61 626c 6520 7365 7276 ed - Enable serv
│ │ │ +001ddd60: 6963 6520 6368 726f 6e79 0a20 2062 6c6f ice chrony. blo
│ │ │ +001ddd70: 636b 3a0a 0a20 202d 206e 616d 653a 2047 ck:.. - name: G
│ │ │ +001ddd80: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ +001ddd90: 6520 6661 6374 730a 2020 2020 616e 7369 e facts. ansi
│ │ │ +001ddda0: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ +001dddb0: 6167 655f 6661 6374 733a 0a20 2020 2020 age_facts:.
│ │ │ +001dddc0: 206d 616e 6167 6572 3a20 6175 746f 0a0a manager: auto..
│ │ │ +001dddd0: 2020 2d20 6e61 6d65 3a20 5468 6520 4368 - name: The Ch
│ │ │ +001ddde0: 726f 6e79 6420 7365 7276 6963 6520 6973 ronyd service is
│ │ │ +001dddf0: 2065 6e61 626c 6564 202d 2045 6e61 626c enabled - Enabl
│ │ │ +001dde00: 6520 5365 7276 6963 6520 6368 726f 6e79 e Service chrony
│ │ │ +001dde10: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ +001dde20: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:.
│ │ │ +001dde30: 2020 2020 6e61 6d65 3a20 6368 726f 6e79 name: chrony
│ │ │ +001dde40: 0a20 2020 2020 2065 6e61 626c 6564 3a20 . enabled:
│ │ │ +001dde50: 7472 7565 0a20 2020 2020 2073 7461 7465 true. state
│ │ │ +001dde60: 3a20 7374 6172 7465 640a 2020 2020 2020 : started.
│ │ │ +001dde70: 6d61 736b 6564 3a20 6661 6c73 650a 2020 masked: false.
│ │ │ +001dde80: 2020 7768 656e 3a0a 2020 2020 2d20 2722 when:. - '"
│ │ │ +001dde90: 6368 726f 6e79 2220 696e 2061 6e73 6962 chrony" in ansib
│ │ │ +001ddea0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ +001ddeb0: 7327 0a20 2074 6167 733a 0a20 202d 2065 s'. tags:. - e
│ │ │ +001ddec0: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ +001dded0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +001ddee0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +001ddef0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ +001ddf00: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +001ddf10: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +001ddf20: 2d20 7365 7276 6963 655f 6368 726f 6e79 - service_chrony
│ │ │ +001ddf30: 645f 656e 6162 6c65 640a 2020 2d20 7370 d_enabled. - sp
│ │ │ +001ddf40: 6563 6961 6c5f 7365 7276 6963 655f 626c ecial_service_bl
│ │ │ +001ddf50: 6f63 6b0a 2020 7768 656e 3a0a 2020 2d20 ock. when:. -
│ │ │ +001ddf60: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in
│ │ │ +001ddf70: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +001ddf80: 6163 6b61 6765 7327 0a20 202d 2027 2263 ackages'. - '"c
│ │ │ +001ddf90: 6872 6f6e 7922 2069 6e20 616e 7369 626c hrony" in ansibl
│ │ │ +001ddfa0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ +001ddfb0: 270a 3c2f 636f 6465 3e3c 2f70 7265 3e3c '.
<
│ │ │ +001ddfc0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu
│ │ │ +001de070: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ +001de080: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +001de120: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +001de130: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +001de140: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001de150: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +001de160: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +001de170: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +001de180: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ +001de190: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001de1b0: 696e 636c 7564 6520 656e 6162 6c65 5f63 include enable_c
│ │ │ +001de1c0: 6872 6f6e 790a 0a63 6c61 7373 2065 6e61 hrony..class ena
│ │ │ +001de1d0: 626c 655f 6368 726f 6e79 207b 0a20 2073 ble_chrony {. s
│ │ │ +001de1e0: 6572 7669 6365 207b 2763 6872 6f6e 7927 ervice {'chrony'
│ │ │ +001de1f0: 3a0a 2020 2020 656e 6162 6c65 203d 2667 :. enable =&g
│ │ │ +001de200: 743b 2074 7275 652c 0a20 2020 2065 6e73 t; true,. ens
│ │ │ +001de210: 7572 6520 3d26 6774 3b20 2772 756e 6e69 ure => 'runni
│ │ │ +001de220: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ng',. }.}.
Remed
│ │ │ +001de2e0: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ +001de2f0: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ +001de300: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[customi
│ │ │ +001de350: 7a61 7469 6f6e 732e 7365 7276 6963 6573 zations.services
│ │ │ +001de360: 5d0a 656e 6162 6c65 6420 3d20 5b22 6368 ].enabled = ["ch
│ │ │ +001de370: 726f 6e79 225d 0a3c 2f63 6f64 653e 3c2f rony"].
│ │ │ 001de380: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediation O
│ │ │ -001df690: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint
│ │ │ -001df6a0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001df6b0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.
│ │ │ -001df6f0: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e [customizations.
│ │ │ -001df700: 7365 7276 6963 6573 5d0a 656e 6162 6c65 services].enable
│ │ │ -001df710: 6420 3d20 5b22 6e74 7022 5d0a 3c2f 636f d = ["ntp"].
<
│ │ │ -001df730: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -001df740: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -001df750: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -001df760: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -001df770: 6436 3934 2220 7461 6269 6e64 6578 3d22 d694" tabindex="
│ │ │ -001df780: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -001df790: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -001df7a0: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -001df7b0: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -001df7c0: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001df7d0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ -001df7e0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -001df870: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -001df880: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -001df8a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001df8c0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001df8d0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001df8f0: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ -001df910: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ
│ │ │ -001df920: 6520 656e 6162 6c65 5f6e 7470 0a0a 636c e enable_ntp..cl
│ │ │ -001df930: 6173 7320 656e 6162 6c65 5f6e 7470 207b ass enable_ntp {
│ │ │ -001df940: 0a20 2073 6572 7669 6365 207b 276e 7470 . service {'ntp
│ │ │ -001df950: 273a 0a20 2020 2065 6e61 626c 6520 3d26 ':. enable =&
│ │ │ -001df960: 6774 3b20 7472 7565 2c0a 2020 2020 656e gt; true,. en
│ │ │ -001df970: 7375 7265 203d 2667 743b 2027 7275 6e6e sure => 'runn
│ │ │ -001df980: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f ing',. }.}.<
│ │ │ -001df9a0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -001df9b0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -001df9c0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -001df9d0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -001df9e0: 6436 3935 2220 7461 6269 6e64 6578 3d22 d695" tabindex="
│ │ │ -001df9f0: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -001dfa00: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -001dfa10: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -001dfa20: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -001dfa30: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001dfa40: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -001dfa50: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001dfa60: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001dfae0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001dfb10: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001dfb30: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001dfb40: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001dfb60: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ -001dfb70: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001dfb80: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -001dfb90: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ -001dfba0: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ -001dfbb0: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ -001dfbc0: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ -001dfbd0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ -001dfbe0: 3830 302d 3533 2d41 552d 3828 3129 2861 800-53-AU-8(1)(a
│ │ │ -001dfbf0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -001dfc00: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC
│ │ │ -001dfc10: 492d 4453 532d 5265 712d 3130 2e34 0a20 I-DSS-Req-10.4.
│ │ │ -001dfc20: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10.
│ │ │ -001dfc30: 360a 2020 2d20 5043 492d 4453 5376 342d 6. - PCI-DSSv4-
│ │ │ -001dfc40: 3130 2e36 2e31 0a20 202d 2065 6e61 626c 10.6.1. - enabl
│ │ │ -001dfc50: 655f 7374 7261 7465 6779 0a20 202d 2068 e_strategy. - h
│ │ │ -001dfc60: 6967 685f 7365 7665 7269 7479 0a20 202d igh_severity. -
│ │ │ -001dfc70: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -001dfc80: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -001dfc90: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74 on. - no_reboot
│ │ │ -001dfca0: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv
│ │ │ -001dfcb0: 6963 655f 6e74 705f 656e 6162 6c65 640a ice_ntp_enabled.
│ │ │ -001dfcc0: 0a2d 206e 616d 653a 2045 6e61 626c 6520 .- name: Enable
│ │ │ -001dfcd0: 7468 6520 4e54 5020 4461 656d 6f6e 202d the NTP Daemon -
│ │ │ -001dfce0: 2045 6e61 626c 6520 7365 7276 6963 6520 Enable service
│ │ │ -001dfcf0: 6e74 700a 2020 626c 6f63 6b3a 0a0a 2020 ntp. block:..
│ │ │ -001dfd00: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ -001dfd10: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ -001dfd20: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -001dfd30: 6c74 696e 2e70 6163 6b61 6765 5f66 6163 ltin.package_fac
│ │ │ -001dfd40: 7473 3a0a 2020 2020 2020 6d61 6e61 6765 ts:. manage
│ │ │ -001dfd50: 723a 2061 7574 6f0a 0a20 202d 206e 616d r: auto.. - nam
│ │ │ -001dfd60: 653a 2045 6e61 626c 6520 7468 6520 4e54 e: Enable the NT
│ │ │ -001dfd70: 5020 4461 656d 6f6e 202d 2045 6e61 626c P Daemon - Enabl
│ │ │ -001dfd80: 6520 5365 7276 6963 6520 6e74 700a 2020 e Service ntp.
│ │ │ -001dfd90: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -001dfda0: 6e2e 7379 7374 656d 643a 0a20 2020 2020 n.systemd:.
│ │ │ -001dfdb0: 206e 616d 653a 206e 7470 0a20 2020 2020 name: ntp.
│ │ │ -001dfdc0: 2065 6e61 626c 6564 3a20 7472 7565 0a20 enabled: true.
│ │ │ -001dfdd0: 2020 2020 2073 7461 7465 3a20 7374 6172 state: star
│ │ │ -001dfde0: 7465 640a 2020 2020 2020 6d61 736b 6564 ted. masked
│ │ │ -001dfdf0: 3a20 6661 6c73 650a 2020 2020 7768 656e : false. when
│ │ │ -001dfe00: 3a0a 2020 2020 2d20 2722 6e74 7022 2069 :. - '"ntp" i
│ │ │ -001dfe10: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ -001dfe20: 7061 636b 6167 6573 270a 2020 7461 6773 packages'. tags
│ │ │ -001dfe30: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5
│ │ │ -001dfe40: 332d 4155 2d38 2831 2928 6129 0a20 202d 3-AU-8(1)(a). -
│ │ │ -001dfe50: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -001dfe60: 3628 6129 0a20 202d 2050 4349 2d44 5353 6(a). - PCI-DSS
│ │ │ -001dfe70: 2d52 6571 2d31 302e 340a 2020 2d20 5043 -Req-10.4. - PC
│ │ │ -001dfe80: 492d 4453 5376 342d 3130 2e36 0a20 202d I-DSSv4-10.6. -
│ │ │ -001dfe90: 2050 4349 2d44 5353 7634 2d31 302e 362e PCI-DSSv4-10.6.
│ │ │ -001dfea0: 310a 2020 2d20 656e 6162 6c65 5f73 7472 1. - enable_str
│ │ │ -001dfeb0: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s
│ │ │ -001dfec0: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_
│ │ │ -001dfed0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ -001dfee0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ -001dfef0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -001dff00: 6564 0a20 202d 2073 6572 7669 6365 5f6e ed. - service_n
│ │ │ -001dff10: 7470 5f65 6e61 626c 6564 0a20 202d 2073 tp_enabled. - s
│ │ │ -001dff20: 7065 6369 616c 5f73 6572 7669 6365 5f62 pecial_service_b
│ │ │ -001dff30: 6c6f 636b 0a20 2077 6865 6e3a 0a20 202d lock. when:. -
│ │ │ -001dff40: 2027 226c 696e 7578 2d62 6173 6522 2069 '"linux-base" i
│ │ │ -001dff50: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ -001dff60: 7061 636b 6167 6573 270a 2020 2d20 2722 packages'. - '"
│ │ │ -001dff70: 6e74 7022 2069 6e20 616e 7369 626c 655f ntp" in ansible_
│ │ │ -001dff80: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ +001df680: 2122 3e52 656d 6564 6961 7469 6f6e 2041 !">Remediation A
│ │ │ +001df690: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +001df6a0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001df720: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001df730: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001df740: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001df750: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001df790: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001df7a0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ +001df7b0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ +001df7c0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ +001df7e0: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ +001df7f0: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ +001df800: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ +001df810: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ +001df820: 2d20 4e49 5354 2d38 3030 2d35 332d 4155 - NIST-800-53-AU
│ │ │ +001df830: 2d38 2831 2928 6129 0a20 202d 204e 4953 -8(1)(a). - NIS
│ │ │ +001df840: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +001df850: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ +001df860: 2d31 302e 340a 2020 2d20 5043 492d 4453 -10.4. - PCI-DS
│ │ │ +001df870: 5376 342d 3130 2e36 0a20 202d 2050 4349 Sv4-10.6. - PCI
│ │ │ +001df880: 2d44 5353 7634 2d31 302e 362e 310a 2020 -DSSv4-10.6.1.
│ │ │ +001df890: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ +001df8a0: 790a 2020 2d20 6869 6768 5f73 6576 6572 y. - high_sever
│ │ │ +001df8b0: 6974 790a 2020 2d20 6c6f 775f 636f 6d70 ity. - low_comp
│ │ │ +001df8c0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +001df8d0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no
│ │ │ +001df8e0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +001df8f0: 202d 2073 6572 7669 6365 5f6e 7470 5f65 - service_ntp_e
│ │ │ +001df900: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20 nabled..- name:
│ │ │ +001df910: 456e 6162 6c65 2074 6865 204e 5450 2044 Enable the NTP D
│ │ │ +001df920: 6165 6d6f 6e20 2d20 456e 6162 6c65 2073 aemon - Enable s
│ │ │ +001df930: 6572 7669 6365 206e 7470 0a20 2062 6c6f ervice ntp. blo
│ │ │ +001df940: 636b 3a0a 0a20 202d 206e 616d 653a 2047 ck:.. - name: G
│ │ │ +001df950: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ +001df960: 6520 6661 6374 730a 2020 2020 616e 7369 e facts. ansi
│ │ │ +001df970: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ +001df980: 6167 655f 6661 6374 733a 0a20 2020 2020 age_facts:.
│ │ │ +001df990: 206d 616e 6167 6572 3a20 6175 746f 0a0a manager: auto..
│ │ │ +001df9a0: 2020 2d20 6e61 6d65 3a20 456e 6162 6c65 - name: Enable
│ │ │ +001df9b0: 2074 6865 204e 5450 2044 6165 6d6f 6e20 the NTP Daemon
│ │ │ +001df9c0: 2d20 456e 6162 6c65 2053 6572 7669 6365 - Enable Service
│ │ │ +001df9d0: 206e 7470 0a20 2020 2061 6e73 6962 6c65 ntp. ansible
│ │ │ +001df9e0: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd
│ │ │ +001df9f0: 3a0a 2020 2020 2020 6e61 6d65 3a20 6e74 :. name: nt
│ │ │ +001dfa00: 700a 2020 2020 2020 656e 6162 6c65 643a p. enabled:
│ │ │ +001dfa10: 2074 7275 650a 2020 2020 2020 7374 6174 true. stat
│ │ │ +001dfa20: 653a 2073 7461 7274 6564 0a20 2020 2020 e: started.
│ │ │ +001dfa30: 206d 6173 6b65 643a 2066 616c 7365 0a20 masked: false.
│ │ │ +001dfa40: 2020 2077 6865 6e3a 0a20 2020 202d 2027 when:. - '
│ │ │ +001dfa50: 226e 7470 2220 696e 2061 6e73 6962 6c65 "ntp" in ansible
│ │ │ +001dfa60: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +001dfa70: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ +001dfa80: 542d 3830 302d 3533 2d41 552d 3828 3129 T-800-53-AU-8(1)
│ │ │ +001dfa90: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ +001dfaa0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ +001dfab0: 5043 492d 4453 532d 5265 712d 3130 2e34 PCI-DSS-Req-10.4
│ │ │ +001dfac0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ +001dfad0: 302e 360a 2020 2d20 5043 492d 4453 5376 0.6. - PCI-DSSv
│ │ │ +001dfae0: 342d 3130 2e36 2e31 0a20 202d 2065 6e61 4-10.6.1. - ena
│ │ │ +001dfaf0: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +001dfb00: 2068 6967 685f 7365 7665 7269 7479 0a20 high_severity.
│ │ │ +001dfb10: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +001dfb20: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +001dfb30: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo
│ │ │ +001dfb40: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ +001dfb50: 7276 6963 655f 6e74 705f 656e 6162 6c65 rvice_ntp_enable
│ │ │ +001dfb60: 640a 2020 2d20 7370 6563 6961 6c5f 7365 d. - special_se
│ │ │ +001dfb70: 7276 6963 655f 626c 6f63 6b0a 2020 7768 rvice_block. wh
│ │ │ +001dfb80: 656e 3a0a 2020 2d20 2722 6c69 6e75 782d en:. - '"linux-
│ │ │ +001dfb90: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ +001dfba0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +001dfbb0: 0a20 202d 2027 226e 7470 2220 696e 2061 . - '"ntp" in a
│ │ │ +001dfbc0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +001dfbd0: 6b61 6765 7327 0a3c 2f63 6f64 653e 3c2f kages'.
│ │ │ +001dfbe0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ +001dfc90: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +001dfca0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +001dfd20: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +001dfd30: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +001dfd40: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001dfd50: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +001dfd60: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +001dfd80: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001dfd90: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001dfda0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +001dfdd0: 636f 6465 3e69 6e63 6c75 6465 2065 6e61 code>include ena
│ │ │ +001dfde0: 626c 655f 6e74 700a 0a63 6c61 7373 2065 ble_ntp..class e
│ │ │ +001dfdf0: 6e61 626c 655f 6e74 7020 7b0a 2020 7365 nable_ntp {. se
│ │ │ +001dfe00: 7276 6963 6520 7b27 6e74 7027 3a0a 2020 rvice {'ntp':.
│ │ │ +001dfe10: 2020 656e 6162 6c65 203d 2667 743b 2074 enable => t
│ │ │ +001dfe20: 7275 652c 0a20 2020 2065 6e73 7572 6520 rue,. ensure
│ │ │ +001dfe30: 3d26 6774 3b20 2772 756e 6e69 6e67 272c => 'running',
│ │ │ +001dfe40: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ +001dfe50: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ +001dff00: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ +001dff10: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ +001dff20: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[customizati
│ │ │ +001dff70: 6f6e 732e 7365 7276 6963 6573 5d0a 656e ons.services].en
│ │ │ +001dff80: 6162 6c65 6420 3d20 5b22 6e74 7022 5d0a abled = ["ntp"].
│ │ │ 001dff90: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Remediatio
│ │ │ -001e1280: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr
│ │ │ -001e1290: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...<
│ │ │ -001e12a0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[customizatio
│ │ │ -001e12f0: 6e73 2e73 6572 7669 6365 735d 0a65 6e61 ns.services].ena
│ │ │ -001e1300: 626c 6564 203d 205b 2273 7973 7465 6d64 bled = ["systemd
│ │ │ -001e1310: 2d74 696d 6573 796e 6364 225d 0a3c 2f63 -timesyncd"].
│ │ │ -001e1330: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -001e13d0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -001e13e0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001e13f0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001e1470: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001e14a0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001e14c0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001e14d0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001e14f0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ -001e1500: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001e1510: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ -001e1520: 6465 2065 6e61 626c 655f 7379 7374 656d de enable_system
│ │ │ -001e1530: 642d 7469 6d65 7379 6e63 640a 0a63 6c61 d-timesyncd..cla
│ │ │ -001e1540: 7373 2065 6e61 626c 655f 7379 7374 656d ss enable_system
│ │ │ -001e1550: 642d 7469 6d65 7379 6e63 6420 7b0a 2020 d-timesyncd {.
│ │ │ -001e1560: 7365 7276 6963 6520 7b27 7379 7374 656d service {'system
│ │ │ -001e1570: 642d 7469 6d65 7379 6e63 6427 3a0a 2020 d-timesyncd':.
│ │ │ -001e1580: 2020 656e 6162 6c65 203d 2667 743b 2074 enable => t
│ │ │ -001e1590: 7275 652c 0a20 2020 2065 6e73 7572 6520 rue,. ensure
│ │ │ -001e15a0: 3d26 6774 3b20 2772 756e 6e69 6e67 272c => 'running',
│ │ │ -001e15b0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -001e15c0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ -001e1670: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ -001e1680: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001e1700: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -001e1710: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -001e1720: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -001e1760: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -001e1770: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -001e1790: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -001e17a0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -001e17b0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761 - name: Ga
│ │ │ -001e17c0: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ -001e17d0: 2066 6163 7473 0a20 2070 6163 6b61 6765 facts. package
│ │ │ -001e17e0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61 _facts:. mana
│ │ │ -001e17f0: 6765 723a 2061 7574 6f0a 2020 7461 6773 ger: auto. tags
│ │ │ -001e1800: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5
│ │ │ -001e1810: 332d 4155 2d38 2831 2928 6129 0a20 202d 3-AU-8(1)(a). -
│ │ │ -001e1820: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -001e1830: 3628 6129 0a20 202d 2050 4349 2d44 5353 6(a). - PCI-DSS
│ │ │ -001e1840: 2d52 6571 2d31 302e 340a 2020 2d20 5043 -Req-10.4. - PC
│ │ │ -001e1850: 492d 4453 5376 342d 3130 2e36 0a20 202d I-DSSv4-10.6. -
│ │ │ -001e1860: 2050 4349 2d44 5353 7634 2d31 302e 362e PCI-DSSv4-10.6.
│ │ │ -001e1870: 310a 2020 2d20 656e 6162 6c65 5f73 7472 1. - enable_str
│ │ │ -001e1880: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s
│ │ │ -001e1890: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_
│ │ │ -001e18a0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ -001e18b0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ -001e18c0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -001e18d0: 6564 0a20 202d 2073 6572 7669 6365 5f74 ed. - service_t
│ │ │ -001e18e0: 696d 6573 796e 6364 5f65 6e61 626c 6564 imesyncd_enabled
│ │ │ -001e18f0: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65 ..- name: Enable
│ │ │ -001e1900: 2073 7973 7465 6d64 5f74 696d 6573 796e systemd_timesyn
│ │ │ -001e1910: 6364 2053 6572 7669 6365 202d 2045 6e61 cd Service - Ena
│ │ │ -001e1920: 626c 6520 7365 7276 6963 6520 7379 7374 ble service syst
│ │ │ -001e1930: 656d 642d 7469 6d65 7379 6e63 640a 2020 emd-timesyncd.
│ │ │ -001e1940: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 block:.. - name
│ │ │ -001e1950: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ -001e1960: 6b61 6765 2066 6163 7473 0a20 2020 2061 kage facts. a
│ │ │ -001e1970: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -001e1980: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -001e1990: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ -001e19a0: 6f0a 0a20 202d 206e 616d 653a 2045 6e61 o.. - name: Ena
│ │ │ -001e19b0: 626c 6520 7379 7374 656d 645f 7469 6d65 ble systemd_time
│ │ │ -001e19c0: 7379 6e63 6420 5365 7276 6963 6520 2d20 syncd Service -
│ │ │ -001e19d0: 456e 6162 6c65 2053 6572 7669 6365 2073 Enable Service s
│ │ │ -001e19e0: 7973 7465 6d64 2d74 696d 6573 796e 6364 ystemd-timesyncd
│ │ │ -001e19f0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -001e1a00: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:.
│ │ │ -001e1a10: 2020 2020 6e61 6d65 3a20 7379 7374 656d name: system
│ │ │ -001e1a20: 642d 7469 6d65 7379 6e63 640a 2020 2020 d-timesyncd.
│ │ │ -001e1a30: 2020 656e 6162 6c65 643a 2074 7275 650a enabled: true.
│ │ │ -001e1a40: 2020 2020 2020 7374 6174 653a 2073 7461 state: sta
│ │ │ -001e1a50: 7274 6564 0a20 2020 2020 206d 6173 6b65 rted. maske
│ │ │ -001e1a60: 643a 2066 616c 7365 0a20 2020 2077 6865 d: false. whe
│ │ │ -001e1a70: 6e3a 0a20 2020 202d 2027 2273 7973 7465 n:. - '"syste
│ │ │ -001e1a80: 6d64 2220 696e 2061 6e73 6962 6c65 5f66 md" in ansible_f
│ │ │ -001e1a90: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ -001e1aa0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ -001e1ab0: 3830 302d 3533 2d41 552d 3828 3129 2861 800-53-AU-8(1)(a
│ │ │ -001e1ac0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -001e1ad0: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC
│ │ │ -001e1ae0: 492d 4453 532d 5265 712d 3130 2e34 0a20 I-DSS-Req-10.4.
│ │ │ -001e1af0: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10.
│ │ │ -001e1b00: 360a 2020 2d20 5043 492d 4453 5376 342d 6. - PCI-DSSv4-
│ │ │ -001e1b10: 3130 2e36 2e31 0a20 202d 2065 6e61 626c 10.6.1. - enabl
│ │ │ -001e1b20: 655f 7374 7261 7465 6779 0a20 202d 2068 e_strategy. - h
│ │ │ -001e1b30: 6967 685f 7365 7665 7269 7479 0a20 202d igh_severity. -
│ │ │ -001e1b40: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -001e1b50: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -001e1b60: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74 on. - no_reboot
│ │ │ -001e1b70: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv
│ │ │ -001e1b80: 6963 655f 7469 6d65 7379 6e63 645f 656e ice_timesyncd_en
│ │ │ -001e1b90: 6162 6c65 640a 2020 2d20 7370 6563 6961 abled. - specia
│ │ │ -001e1ba0: 6c5f 7365 7276 6963 655f 626c 6f63 6b0a l_service_block.
│ │ │ -001e1bb0: 2020 7768 656e 3a0a 2020 2d20 2722 6c69 when:. - '"li
│ │ │ -001e1bc0: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ -001e1bd0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -001e1be0: 6765 7327 0a20 202d 2028 206e 6f74 2028 ges'. - ( not (
│ │ │ -001e1bf0: 2022 6368 726f 6e79 2220 696e 2061 6e73 "chrony" in ans
│ │ │ -001e1c00: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -001e1c10: 6765 7320 2920 616e 6420 6e6f 7420 2820 ges ) and not (
│ │ │ -001e1c20: 226e 7470 2220 696e 2061 6e73 6962 6c65 "ntp" in ansible
│ │ │ -001e1c30: 5f66 6163 7473 2e70 6163 6b61 6765 730a _facts.packages.
│ │ │ -001e1c40: 2020 2020 2920 290a 3c2f 636f 6465 3e3c ) ).<
│ │ │ +001e1280: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ +001e1290: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +001e1310: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +001e1320: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +001e1330: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001e1340: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +001e1350: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +001e1370: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001e1380: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001e1390: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +001e13c0: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ +001e13d0: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ +001e13e0: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ +001e13f0: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ +001e1400: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ +001e1410: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +001e1420: 2d41 552d 3828 3129 2861 290a 2020 2d20 -AU-8(1)(a). -
│ │ │ +001e1430: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ +001e1440: 2861 290a 2020 2d20 5043 492d 4453 532d (a). - PCI-DSS-
│ │ │ +001e1450: 5265 712d 3130 2e34 0a20 202d 2050 4349 Req-10.4. - PCI
│ │ │ +001e1460: 2d44 5353 7634 2d31 302e 360a 2020 2d20 -DSSv4-10.6. -
│ │ │ +001e1470: 5043 492d 4453 5376 342d 3130 2e36 2e31 PCI-DSSv4-10.6.1
│ │ │ +001e1480: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ +001e1490: 7465 6779 0a20 202d 2068 6967 685f 7365 tegy. - high_se
│ │ │ +001e14a0: 7665 7269 7479 0a20 202d 206c 6f77 5f63 verity. - low_c
│ │ │ +001e14b0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +001e14c0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +001e14d0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +001e14e0: 640a 2020 2d20 7365 7276 6963 655f 7469 d. - service_ti
│ │ │ +001e14f0: 6d65 7379 6e63 645f 656e 6162 6c65 640a mesyncd_enabled.
│ │ │ +001e1500: 0a2d 206e 616d 653a 2045 6e61 626c 6520 .- name: Enable
│ │ │ +001e1510: 7379 7374 656d 645f 7469 6d65 7379 6e63 systemd_timesync
│ │ │ +001e1520: 6420 5365 7276 6963 6520 2d20 456e 6162 d Service - Enab
│ │ │ +001e1530: 6c65 2073 6572 7669 6365 2073 7973 7465 le service syste
│ │ │ +001e1540: 6d64 2d74 696d 6573 796e 6364 0a20 2062 md-timesyncd. b
│ │ │ +001e1550: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a lock:.. - name:
│ │ │ +001e1560: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ +001e1570: 6167 6520 6661 6374 730a 2020 2020 616e age facts. an
│ │ │ +001e1580: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +001e1590: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ +001e15a0: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ +001e15b0: 0a0a 2020 2d20 6e61 6d65 3a20 456e 6162 .. - name: Enab
│ │ │ +001e15c0: 6c65 2073 7973 7465 6d64 5f74 696d 6573 le systemd_times
│ │ │ +001e15d0: 796e 6364 2053 6572 7669 6365 202d 2045 yncd Service - E
│ │ │ +001e15e0: 6e61 626c 6520 5365 7276 6963 6520 7379 nable Service sy
│ │ │ +001e15f0: 7374 656d 642d 7469 6d65 7379 6e63 640a stemd-timesyncd.
│ │ │ +001e1600: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ +001e1610: 7469 6e2e 7379 7374 656d 643a 0a20 2020 tin.systemd:.
│ │ │ +001e1620: 2020 206e 616d 653a 2073 7973 7465 6d64 name: systemd
│ │ │ +001e1630: 2d74 696d 6573 796e 6364 0a20 2020 2020 -timesyncd.
│ │ │ +001e1640: 2065 6e61 626c 6564 3a20 7472 7565 0a20 enabled: true.
│ │ │ +001e1650: 2020 2020 2073 7461 7465 3a20 7374 6172 state: star
│ │ │ +001e1660: 7465 640a 2020 2020 2020 6d61 736b 6564 ted. masked
│ │ │ +001e1670: 3a20 6661 6c73 650a 2020 2020 7768 656e : false. when
│ │ │ +001e1680: 3a0a 2020 2020 2d20 2722 7379 7374 656d :. - '"system
│ │ │ +001e1690: 6422 2069 6e20 616e 7369 626c 655f 6661 d" in ansible_fa
│ │ │ +001e16a0: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ +001e16b0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ +001e16c0: 3030 2d35 332d 4155 2d38 2831 2928 6129 00-53-AU-8(1)(a)
│ │ │ +001e16d0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +001e16e0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349 -CM-6(a). - PCI
│ │ │ +001e16f0: 2d44 5353 2d52 6571 2d31 302e 340a 2020 -DSS-Req-10.4.
│ │ │ +001e1700: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6
│ │ │ +001e1710: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ +001e1720: 302e 362e 310a 2020 2d20 656e 6162 6c65 0.6.1. - enable
│ │ │ +001e1730: 5f73 7472 6174 6567 790a 2020 2d20 6869 _strategy. - hi
│ │ │ +001e1740: 6768 5f73 6576 6572 6974 790a 2020 2d20 gh_severity. -
│ │ │ +001e1750: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +001e1760: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +001e1770: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ +001e1780: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi
│ │ │ +001e1790: 6365 5f74 696d 6573 796e 6364 5f65 6e61 ce_timesyncd_ena
│ │ │ +001e17a0: 626c 6564 0a20 202d 2073 7065 6369 616c bled. - special
│ │ │ +001e17b0: 5f73 6572 7669 6365 5f62 6c6f 636b 0a20 _service_block.
│ │ │ +001e17c0: 2077 6865 6e3a 0a20 202d 2027 226c 696e when:. - '"lin
│ │ │ +001e17d0: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ +001e17e0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ +001e17f0: 6573 270a 2020 2d20 2820 6e6f 7420 2820 es'. - ( not (
│ │ │ +001e1800: 2263 6872 6f6e 7922 2069 6e20 616e 7369 "chrony" in ansi
│ │ │ +001e1810: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ +001e1820: 6573 2029 2061 6e64 206e 6f74 2028 2022 es ) and not ( "
│ │ │ +001e1830: 6e74 7022 2069 6e20 616e 7369 626c 655f ntp" in ansible_
│ │ │ +001e1840: 6661 6374 732e 7061 636b 6167 6573 0a20 facts.packages.
│ │ │ +001e1850: 2020 2029 2029 0a3c 2f63 6f64 653e 3c2f ) ).
│ │ │ +001e1860: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ +001e1910: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +001e1920: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +001e19a0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +001e19b0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +001e19c0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001e19d0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +001e19e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +001e1a00: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001e1a10: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001e1a20: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +001e1a50: 636f 6465 3e69 6e63 6c75 6465 2065 6e61 code>include ena
│ │ │ +001e1a60: 626c 655f 7379 7374 656d 642d 7469 6d65 ble_systemd-time
│ │ │ +001e1a70: 7379 6e63 640a 0a63 6c61 7373 2065 6e61 syncd..class ena
│ │ │ +001e1a80: 626c 655f 7379 7374 656d 642d 7469 6d65 ble_systemd-time
│ │ │ +001e1a90: 7379 6e63 6420 7b0a 2020 7365 7276 6963 syncd {. servic
│ │ │ +001e1aa0: 6520 7b27 7379 7374 656d 642d 7469 6d65 e {'systemd-time
│ │ │ +001e1ab0: 7379 6e63 6427 3a0a 2020 2020 656e 6162 syncd':. enab
│ │ │ +001e1ac0: 6c65 203d 2667 743b 2074 7275 652c 0a20 le => true,.
│ │ │ +001e1ad0: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ +001e1ae0: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d 'running',. }.}
│ │ │ +001e1af0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +001e1b00: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation OSB
│ │ │ +001e1bb0: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ +001e1bc0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ....[c
│ │ │ +001e1c10: 7573 746f 6d69 7a61 7469 6f6e 732e 7365 ustomizations.se
│ │ │ +001e1c20: 7276 6963 6573 5d0a 656e 6162 6c65 6420 rvices].enabled
│ │ │ +001e1c30: 3d20 5b22 7379 7374 656d 642d 7469 6d65 = ["systemd-time
│ │ │ +001e1c40: 7379 6e63 6422 5d0a 3c2f 636f 6465 3e3c syncd"].<
│ │ │ 001e1c50: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed
│ │ │ -001e63c0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -001e63d0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001e6460: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001e6470: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001e6480: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001e6490: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001e64a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001e64b0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001e64c0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001e64d0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -001e6500: 7072 653e 3c63 6f64 653e 0a69 6e63 6c75 pre>.inclu
│ │ │ -001e6510: 6465 2072 656d 6f76 655f 7273 682d 636c de remove_rsh-cl
│ │ │ -001e6520: 6965 6e74 0a0a 636c 6173 7320 7265 6d6f ient..class remo
│ │ │ -001e6530: 7665 5f72 7368 2d63 6c69 656e 7420 7b0a ve_rsh-client {.
│ │ │ -001e6540: 2020 7061 636b 6167 6520 7b20 2772 7368 package { 'rsh
│ │ │ -001e6550: 2d63 6c69 656e 7427 3a0a 2020 2020 656e -client':. en
│ │ │ -001e6560: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ -001e6570: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.Remed
│ │ │ -001e6630: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -001e6640: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -001e66d0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -001e66e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -001e6700: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001e6720: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001e6730: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001e6750: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -001e6760: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001e6770: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -001e6780: 653a 2027 556e 696e 7374 616c 6c20 7273 e: 'Uninstall rs
│ │ │ -001e6790: 6820 5061 636b 6167 653a 2045 6e73 7572 h Package: Ensur
│ │ │ -001e67a0: 6520 7273 682d 636c 6965 6e74 2069 7320 e rsh-client is
│ │ │ -001e67b0: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ -001e67c0: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -001e67d0: 6765 3a0a 2020 2020 6e61 6d65 3a20 7273 ge:. name: rs
│ │ │ -001e67e0: 682d 636c 6965 6e74 0a20 2020 2073 7461 h-client. sta
│ │ │ -001e67f0: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ -001e6800: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ -001e6810: 3137 312d 332e 312e 3133 0a20 202d 2050 171-3.1.13. - P
│ │ │ -001e6820: 4349 2d44 5353 7634 2d32 2e32 0a20 202d CI-DSSv4-2.2. -
│ │ │ -001e6830: 2050 4349 2d44 5353 7634 2d32 2e32 2e34 PCI-DSSv4-2.2.4
│ │ │ -001e6840: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ -001e6850: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -001e6860: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -001e6870: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -001e6880: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -001e6890: 0a20 202d 2070 6163 6b61 6765 5f72 7368 . - package_rsh
│ │ │ -001e68a0: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk
│ │ │ -001e68b0: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.
│ │ │ +001e63c0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ +001e63d0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +001e6460: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +001e6470: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +001e6490: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +001e64b0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001e64c0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001e64e0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +001e64f0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001e6500: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +001e6510: 653a 2027 556e 696e 7374 616c 6c20 7273 e: 'Uninstall rs
│ │ │ +001e6520: 6820 5061 636b 6167 653a 2045 6e73 7572 h Package: Ensur
│ │ │ +001e6530: 6520 7273 682d 636c 6965 6e74 2069 7320 e rsh-client is
│ │ │ +001e6540: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ +001e6550: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +001e6560: 6765 3a0a 2020 2020 6e61 6d65 3a20 7273 ge:. name: rs
│ │ │ +001e6570: 682d 636c 6965 6e74 0a20 2020 2073 7461 h-client. sta
│ │ │ +001e6580: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ +001e6590: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ +001e65a0: 3137 312d 332e 312e 3133 0a20 202d 2050 171-3.1.13. - P
│ │ │ +001e65b0: 4349 2d44 5353 7634 2d32 2e32 0a20 202d CI-DSSv4-2.2. -
│ │ │ +001e65c0: 2050 4349 2d44 5353 7634 2d32 2e32 2e34 PCI-DSSv4-2.2.4
│ │ │ +001e65d0: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +001e65e0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +001e65f0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +001e6600: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +001e6610: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +001e6620: 0a20 202d 2070 6163 6b61 6765 5f72 7368 . - package_rsh
│ │ │ +001e6630: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk
│ │ │ +001e6640: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.
│ │ │ +001e6650: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +001e6700: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ +001e6710: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +001e6720: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +001e67a0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +001e67c0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +001e67d0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +001e67e0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001e67f0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +001e6800: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +001e6810: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +001e6820: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +001e6830: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ +001e6850: 636c 7564 6520 7265 6d6f 7665 5f72 7368 clude remove_rsh
│ │ │ +001e6860: 2d63 6c69 656e 740a 0a63 6c61 7373 2072 -client..class r
│ │ │ +001e6870: 656d 6f76 655f 7273 682d 636c 6965 6e74 emove_rsh-client
│ │ │ +001e6880: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ +001e6890: 7273 682d 636c 6965 6e74 273a 0a20 2020 rsh-client':.
│ │ │ +001e68a0: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p
│ │ │ +001e68b0: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
│ │ │ 001e68c0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Rem
│ │ │ -001e8c70: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -001e8c80: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001e8c90: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001e8d10: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001e8d40: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001e8d60: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001e8d70: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001e8d90: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -001e8da0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ -001e8dc0: 6c75 6465 2072 656d 6f76 655f 7461 6c6b lude remove_talk
│ │ │ -001e8dd0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f74 ..class remove_t
│ │ │ -001e8de0: 616c 6b20 7b0a 2020 7061 636b 6167 6520 alk {. package
│ │ │ -001e8df0: 7b20 2774 616c 6b27 3a0a 2020 2020 656e { 'talk':. en
│ │ │ -001e8e00: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ -001e8e10: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -001e8ed0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -001e8ee0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -001e8f70: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -001e8f80: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -001e8fa0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001e8fc0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001e8fd0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001e8ff0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -001e9000: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001e9010: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -001e9020: 653a 2027 556e 696e 7374 616c 6c20 7461 e: 'Uninstall ta
│ │ │ -001e9030: 6c6b 2050 6163 6b61 6765 3a20 456e 7375 lk Package: Ensu
│ │ │ -001e9040: 7265 2074 616c 6b20 6973 2072 656d 6f76 re talk is remov
│ │ │ -001e9050: 6564 270a 2020 616e 7369 626c 652e 6275 ed'. ansible.bu
│ │ │ -001e9060: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ -001e9070: 2020 206e 616d 653a 2074 616c 6b0a 2020 name: talk.
│ │ │ -001e9080: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ -001e9090: 2020 7461 6773 3a0a 2020 2d20 5043 492d tags:. - PCI-
│ │ │ -001e90a0: 4453 5376 342d 322e 320a 2020 2d20 5043 DSSv4-2.2. - PC
│ │ │ -001e90b0: 492d 4453 5376 342d 322e 322e 340a 2020 I-DSSv4-2.2.4.
│ │ │ -001e90c0: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ -001e90d0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ -001e90e0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -001e90f0: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ -001e9100: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ -001e9110: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -001e9120: 640a 2020 2d20 7061 636b 6167 655f 7461 d. - package_ta
│ │ │ -001e9130: 6c6b 5f72 656d 6f76 6564 0a3c 2f63 6f64 lk_removed.
│ │ │ +001e8c90: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +001e8d10: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +001e8d30: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +001e8d40: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +001e8d50: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001e8d60: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +001e8d70: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +001e8d80: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +001e8d90: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +001e8da0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +001e8dc0: 616d 653a 2027 556e 696e 7374 616c 6c20 ame: 'Uninstall
│ │ │ +001e8dd0: 7461 6c6b 2050 6163 6b61 6765 3a20 456e talk Package: En
│ │ │ +001e8de0: 7375 7265 2074 616c 6b20 6973 2072 656d sure talk is rem
│ │ │ +001e8df0: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ +001e8e00: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ +001e8e10: 0a20 2020 206e 616d 653a 2074 616c 6b0a . name: talk.
│ │ │ +001e8e20: 2020 2020 7374 6174 653a 2061 6273 656e state: absen
│ │ │ +001e8e30: 740a 2020 7461 6773 3a0a 2020 2d20 5043 t. tags:. - PC
│ │ │ +001e8e40: 492d 4453 5376 342d 322e 320a 2020 2d20 I-DSSv4-2.2. -
│ │ │ +001e8e50: 5043 492d 4453 5376 342d 322e 322e 340a PCI-DSSv4-2.2.4.
│ │ │ +001e8e60: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ +001e8e70: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +001e8e80: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +001e8e90: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +001e8ea0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +001e8eb0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +001e8ec0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ +001e8ed0: 7461 6c6b 5f72 656d 6f76 6564 0a3c 2f63 talk_removed.
│ │ │ +001e8ef0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +001e8f90: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +001e8fa0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001e8fb0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001e9030: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001e9060: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001e9080: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001e9090: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001e90b0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001e90c0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ +001e90e0: 6c75 6465 2072 656d 6f76 655f 7461 6c6b lude remove_talk
│ │ │ +001e90f0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f74 ..class remove_t
│ │ │ +001e9100: 616c 6b20 7b0a 2020 7061 636b 6167 6520 alk {. package
│ │ │ +001e9110: 7b20 2774 616c 6b27 3a0a 2020 2020 656e { 'talk':. en
│ │ │ +001e9120: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ +001e9130: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remedia
│ │ │ -001ea3a0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ -001ea3b0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -001ea3c0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -001ea3d0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -001ea3e0: 7365 2220 6964 3d22 6964 3731 3922 3e3c se" id="id719"><
│ │ │ -001ea3f0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -001ea400: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -001ea410: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -001ea420: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -001ea430: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -001ea440: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -001ea450: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -001ea480: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -001ea490: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -001ea4a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -001ea4c0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -001ea4d0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
.include
│ │ │ -001ea4f0: 2072 656d 6f76 655f 7465 6c6e 6574 0a0a remove_telnet..
│ │ │ -001ea500: 636c 6173 7320 7265 6d6f 7665 5f74 656c class remove_tel
│ │ │ -001ea510: 6e65 7420 7b0a 2020 7061 636b 6167 6520 net {. package
│ │ │ -001ea520: 7b20 2774 656c 6e65 7427 3a0a 2020 2020 { 'telnet':.
│ │ │ -001ea530: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ -001ea540: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ -001ea560: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -001ea600: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -001ea610: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001ea620: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -001ea6a0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -001ea6c0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -001ea6d0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -001ea6e0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001ea6f0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -001ea700: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -001ea710: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001ea720: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -001ea730: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ -001ea750: 616d 653a 2027 5265 6d6f 7665 2074 656c ame: 'Remove tel
│ │ │ -001ea760: 6e65 7420 436c 6965 6e74 733a 2045 6e73 net Clients: Ens
│ │ │ -001ea770: 7572 6520 7465 6c6e 6574 2069 7320 7265 ure telnet is re
│ │ │ -001ea780: 6d6f 7665 6427 0a20 2061 6e73 6962 6c65 moved'. ansible
│ │ │ -001ea790: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ -001ea7a0: 3a0a 2020 2020 6e61 6d65 3a20 7465 6c6e :. name: teln
│ │ │ -001ea7b0: 6574 0a20 2020 2073 7461 7465 3a20 6162 et. state: ab
│ │ │ -001ea7c0: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. -
│ │ │ -001ea7d0: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ -001ea7e0: 312e 3133 0a20 202d 2050 4349 2d44 5353 1.13. - PCI-DSS
│ │ │ -001ea7f0: 7634 2d32 2e32 0a20 202d 2050 4349 2d44 v4-2.2. - PCI-D
│ │ │ -001ea800: 5353 7634 2d32 2e32 2e34 0a20 202d 2064 SSv4-2.2.4. - d
│ │ │ -001ea810: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ -001ea820: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -001ea830: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -001ea840: 7074 696f 6e0a 2020 2d20 6c6f 775f 7365 ption. - low_se
│ │ │ -001ea850: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -001ea860: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -001ea870: 7061 636b 6167 655f 7465 6c6e 6574 5f72 package_telnet_r
│ │ │ -001ea880: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f emoved.
│ │ │ +001ea3a0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ +001ea3b0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001ea3c0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001ea3f0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001ea440: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001ea450: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001ea460: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001ea470: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001ea480: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001ea490: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001ea4a0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001ea4b0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ +001ea4f0: 2027 5265 6d6f 7665 2074 656c 6e65 7420 'Remove telnet
│ │ │ +001ea500: 436c 6965 6e74 733a 2045 6e73 7572 6520 Clients: Ensure
│ │ │ +001ea510: 7465 6c6e 6574 2069 7320 7265 6d6f 7665 telnet is remove
│ │ │ +001ea520: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ +001ea530: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ +001ea540: 2020 6e61 6d65 3a20 7465 6c6e 6574 0a20 name: telnet.
│ │ │ +001ea550: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ +001ea560: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ +001ea570: 542d 3830 302d 3137 312d 332e 312e 3133 T-800-171-3.1.13
│ │ │ +001ea580: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ +001ea590: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ +001ea5a0: 2d32 2e32 2e34 0a20 202d 2064 6973 6162 -2.2.4. - disab
│ │ │ +001ea5b0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +001ea5c0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +001ea5d0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +001ea5e0: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269 n. - low_severi
│ │ │ +001ea5f0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +001ea600: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ +001ea610: 6167 655f 7465 6c6e 6574 5f72 656d 6f76 age_telnet_remov
│ │ │ +001ea620: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +001ea630: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation P
│ │ │ +001ea6e0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ +001ea6f0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +001ea770: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +001ea780: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001ea790: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +001ea7a0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +001ea7b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +001ea7e0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +001ea7f0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ +001ea800: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ +001ea810: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ +001ea830: 655f 7465 6c6e 6574 0a0a 636c 6173 7320 e_telnet..class
│ │ │ +001ea840: 7265 6d6f 7665 5f74 656c 6e65 7420 7b0a remove_telnet {.
│ │ │ +001ea850: 2020 7061 636b 6167 6520 7b20 2774 656c package { 'tel
│ │ │ +001ea860: 6e65 7427 3a0a 2020 2020 656e 7375 7265 net':. ensure
│ │ │ +001ea870: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ +001ea880: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ 001ea890: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediation Pup
│ │ │ -001eb3a0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ -001eb3b0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -001eb460: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -001eb470: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001eb480: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -001eb490: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -001eb4b0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ -001eb4c0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001eb4e0: 0a69 6e63 6c75 6465 2072 656d 6f76 655f .include remove_
│ │ │ -001eb4f0: 7273 796e 630a 0a63 6c61 7373 2072 656d rsync..class rem
│ │ │ -001eb500: 6f76 655f 7273 796e 6320 7b0a 2020 7061 ove_rsync {. pa
│ │ │ -001eb510: 636b 6167 6520 7b20 2772 7379 6e63 273a ckage { 'rsync':
│ │ │ -001eb520: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -001eb530: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ -001eb540: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -001eb550: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -001eb600: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -001eb610: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001eb690: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001eb6a0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001eb6b0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001eb6c0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001eb6d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001eb700: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001eb710: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001eb720: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001eb730: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: 'Unins
│ │ │ -001eb750: 7461 6c6c 2072 7379 6e63 2050 6163 6b61 tall rsync Packa
│ │ │ -001eb760: 6765 3a20 456e 7375 7265 2072 7379 6e63 ge: Ensure rsync
│ │ │ -001eb770: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ -001eb780: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -001eb790: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ -001eb7a0: 3a20 7273 796e 630a 2020 2020 7374 6174 : rsync. stat
│ │ │ -001eb7b0: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags
│ │ │ -001eb7c0: 3a0a 2020 2d20 6469 7361 626c 655f 7374 :. - disable_st
│ │ │ -001eb7d0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -001eb7e0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -001eb7f0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -001eb800: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ -001eb810: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -001eb820: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ -001eb830: 655f 7273 796e 635f 7265 6d6f 7665 640a e_rsync_removed.
│ │ │ +001eb390: 3e52 656d 6564 6961 7469 6f6e 2041 6e73 >Remediation Ans
│ │ │ +001eb3a0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ +001eb3b0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +001eb450: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +001eb460: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +001eb470: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001eb480: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +001eb490: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +001eb4a0: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +001eb4b0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ +001eb4c0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +001eb4d0: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: 'Uninst
│ │ │ +001eb4f0: 616c 6c20 7273 796e 6320 5061 636b 6167 all rsync Packag
│ │ │ +001eb500: 653a 2045 6e73 7572 6520 7273 796e 6320 e: Ensure rsync
│ │ │ +001eb510: 6973 2072 656d 6f76 6564 270a 2020 616e is removed'. an
│ │ │ +001eb520: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +001eb530: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ +001eb540: 2072 7379 6e63 0a20 2020 2073 7461 7465 rsync. state
│ │ │ +001eb550: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags:
│ │ │ +001eb560: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +001eb570: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +001eb580: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +001eb590: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +001eb5a0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +001eb5b0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +001eb5c0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +001eb5d0: 5f72 7379 6e63 5f72 656d 6f76 6564 0a3c _rsync_removed.<
│ │ │ +001eb5e0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +001eb690: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +001eb6a0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ +001eb730: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +001eb740: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001eb750: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +001eb760: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +001eb770: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +001eb7a0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +001eb7b0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ +001eb7c0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ +001eb7e0: 6e63 6c75 6465 2072 656d 6f76 655f 7273 nclude remove_rs
│ │ │ +001eb7f0: 796e 630a 0a63 6c61 7373 2072 656d 6f76 ync..class remov
│ │ │ +001eb800: 655f 7273 796e 6320 7b0a 2020 7061 636b e_rsync {. pack
│ │ │ +001eb810: 6167 6520 7b20 2772 7379 6e63 273a 0a20 age { 'rsync':.
│ │ │ +001eb820: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ +001eb830: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}.
│ │ │ 001eb840: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Remed
│ │ │ -001ecb60: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -001ecb70: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001ecc00: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001ecc10: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001ecc20: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001ecc30: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001ecc40: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001ecc50: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001ecc60: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001ecc70: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -001ecca0: 7072 653e 3c63 6f64 653e 0a69 6e63 6c75 pre>.inclu
│ │ │ -001eccb0: 6465 2072 656d 6f76 655f 7371 7569 640a de remove_squid.
│ │ │ -001eccc0: 0a63 6c61 7373 2072 656d 6f76 655f 7371 .class remove_sq
│ │ │ -001eccd0: 7569 6420 7b0a 2020 7061 636b 6167 6520 uid {. package
│ │ │ -001ecce0: 7b20 2773 7175 6964 273a 0a20 2020 2065 { 'squid':. e
│ │ │ -001eccf0: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ -001ecd00: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.<
│ │ │ -001ecd20: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -001ecd30: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -001ecd40: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -001ecd50: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -001ecd60: 6437 3238 2220 7461 6269 6e64 6578 3d22 d728" tabindex="
│ │ │ -001ecd70: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -001ecd80: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -001ecd90: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -001ecda0: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -001ecdb0: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001ecdc0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -001ecdd0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001ecde0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001ece60: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001ece90: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001eceb0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001ecec0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001ecee0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -001ecef0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001ecf10: 6d65 3a20 2755 6e69 6e73 7461 6c6c 2073 me: 'Uninstall s
│ │ │ -001ecf20: 7175 6964 2050 6163 6b61 6765 3a20 456e quid Package: En
│ │ │ -001ecf30: 7375 7265 2073 7175 6964 2069 7320 7265 sure squid is re
│ │ │ -001ecf40: 6d6f 7665 6427 0a20 2061 6e73 6962 6c65 moved'. ansible
│ │ │ -001ecf50: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ -001ecf60: 3a0a 2020 2020 6e61 6d65 3a20 7371 7569 :. name: squi
│ │ │ -001ecf70: 640a 2020 2020 7374 6174 653a 2061 6273 d. state: abs
│ │ │ -001ecf80: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. -
│ │ │ -001ecf90: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ -001ecfa0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -001ecfb0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -001ecfc0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re
│ │ │ -001ecfd0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -001ecfe0: 7061 636b 6167 655f 7371 7569 645f 7265 package_squid_re
│ │ │ -001ecff0: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77 moved. - unknow
│ │ │ -001ed000: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64 n_severity.Comp
│ │ │ +001ecc00: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +001ecc10: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +001ecc30: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +001ecc50: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001ecc60: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001ecc80: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +001ecc90: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001ecca0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +001eccb0: 653a 2027 556e 696e 7374 616c 6c20 7371 e: 'Uninstall sq
│ │ │ +001eccc0: 7569 6420 5061 636b 6167 653a 2045 6e73 uid Package: Ens
│ │ │ +001eccd0: 7572 6520 7371 7569 6420 6973 2072 656d ure squid is rem
│ │ │ +001ecce0: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ +001eccf0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ +001ecd00: 0a20 2020 206e 616d 653a 2073 7175 6964 . name: squid
│ │ │ +001ecd10: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ +001ecd20: 6e74 0a20 2074 6167 733a 0a20 202d 2064 nt. tags:. - d
│ │ │ +001ecd30: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +001ecd40: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +001ecd50: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +001ecd60: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ +001ecd70: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +001ecd80: 6163 6b61 6765 5f73 7175 6964 5f72 656d ackage_squid_rem
│ │ │ +001ecd90: 6f76 6564 0a20 202d 2075 6e6b 6e6f 776e oved. - unknown
│ │ │ +001ecda0: 5f73 6576 6572 6974 790a 3c2f 636f 6465 _severity.
Remedi
│ │ │ +001ece60: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +001ece70: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001ece80: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001eceb0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001ecf00: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001ecf10: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001ecf20: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001ecf30: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001ecf40: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001ecf50: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001ecf60: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001ecf70: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ +001ecfb0: 6520 7265 6d6f 7665 5f73 7175 6964 0a0a e remove_squid..
│ │ │ +001ecfc0: 636c 6173 7320 7265 6d6f 7665 5f73 7175 class remove_squ
│ │ │ +001ecfd0: 6964 207b 0a20 2070 6163 6b61 6765 207b id {. package {
│ │ │ +001ecfe0: 2027 7371 7569 6427 3a0a 2020 2020 656e 'squid':. en
│ │ │ +001ecff0: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ +001ed000: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -001ee440: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -001ee450: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001ee4e0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001ee4f0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001ee500: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001ee510: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001ee520: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001ee530: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001ee540: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001ee550: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -001ee580: 7072 653e 3c63 6f64 653e 0a69 6e63 6c75 pre>.inclu
│ │ │ -001ee590: 6465 2072 656d 6f76 655f 7361 6d62 610a de remove_samba.
│ │ │ -001ee5a0: 0a63 6c61 7373 2072 656d 6f76 655f 7361 .class remove_sa
│ │ │ -001ee5b0: 6d62 6120 7b0a 2020 7061 636b 6167 6520 mba {. package
│ │ │ -001ee5c0: 7b20 2773 616d 6261 273a 0a20 2020 2065 { 'samba':. e
│ │ │ -001ee5d0: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ -001ee5e0: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.<
│ │ │ -001ee600: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -001ee610: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -001ee620: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -001ee630: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -001ee640: 6437 3332 2220 7461 6269 6e64 6578 3d22 d732" tabindex="
│ │ │ -001ee650: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -001ee660: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -001ee670: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -001ee680: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -001ee690: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001ee6a0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -001ee6b0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001ee6c0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001ee740: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001ee770: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001ee790: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001ee7a0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001ee7c0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -001ee7d0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001ee7f0: 6d65 3a20 2755 6e69 6e73 7461 6c6c 2053 me: 'Uninstall S
│ │ │ -001ee800: 616d 6261 2050 6163 6b61 6765 3a20 456e amba Package: En
│ │ │ -001ee810: 7375 7265 2073 616d 6261 2069 7320 7265 sure samba is re
│ │ │ -001ee820: 6d6f 7665 6427 0a20 2061 6e73 6962 6c65 moved'. ansible
│ │ │ -001ee830: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ -001ee840: 3a0a 2020 2020 6e61 6d65 3a20 7361 6d62 :. name: samb
│ │ │ -001ee850: 610a 2020 2020 7374 6174 653a 2061 6273 a. state: abs
│ │ │ -001ee860: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. -
│ │ │ -001ee870: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ -001ee880: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -001ee890: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -001ee8a0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re
│ │ │ -001ee8b0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -001ee8c0: 7061 636b 6167 655f 7361 6d62 615f 7265 package_samba_re
│ │ │ -001ee8d0: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77 moved. - unknow
│ │ │ -001ee8e0: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64 n_severity.Comp
│ │ │ +001ee4e0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +001ee4f0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +001ee510: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +001ee530: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001ee540: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001ee560: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +001ee570: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001ee580: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +001ee590: 653a 2027 556e 696e 7374 616c 6c20 5361 e: 'Uninstall Sa
│ │ │ +001ee5a0: 6d62 6120 5061 636b 6167 653a 2045 6e73 mba Package: Ens
│ │ │ +001ee5b0: 7572 6520 7361 6d62 6120 6973 2072 656d ure samba is rem
│ │ │ +001ee5c0: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ +001ee5d0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ +001ee5e0: 0a20 2020 206e 616d 653a 2073 616d 6261 . name: samba
│ │ │ +001ee5f0: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ +001ee600: 6e74 0a20 2074 6167 733a 0a20 202d 2064 nt. tags:. - d
│ │ │ +001ee610: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +001ee620: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +001ee630: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +001ee640: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ +001ee650: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +001ee660: 6163 6b61 6765 5f73 616d 6261 5f72 656d ackage_samba_rem
│ │ │ +001ee670: 6f76 6564 0a20 202d 2075 6e6b 6e6f 776e oved. - unknown
│ │ │ +001ee680: 5f73 6576 6572 6974 790a 3c2f 636f 6465 _severity.
Remedi
│ │ │ +001ee740: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +001ee750: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001ee760: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001ee790: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001ee7e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001ee7f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001ee800: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001ee810: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001ee820: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001ee830: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001ee840: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001ee850: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ +001ee890: 6520 7265 6d6f 7665 5f73 616d 6261 0a0a e remove_samba..
│ │ │ +001ee8a0: 636c 6173 7320 7265 6d6f 7665 5f73 616d class remove_sam
│ │ │ +001ee8b0: 6261 207b 0a20 2070 6163 6b61 6765 207b ba {. package {
│ │ │ +001ee8c0: 2027 7361 6d62 6127 3a0a 2020 2020 656e 'samba':. en
│ │ │ +001ee8d0: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ +001ee8e0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
│ │ │ -001efcf0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ -001efd00: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ -001efd10: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -001efd90: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -001efda0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -001efdc0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -001efdd0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -001efe10: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ -001efe20: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ -001efe40: 696e 636c 7564 6520 7265 6d6f 7665 5f73 include remove_s
│ │ │ -001efe50: 6e6d 700a 0a63 6c61 7373 2072 656d 6f76 nmp..class remov
│ │ │ -001efe60: 655f 736e 6d70 207b 0a20 2070 6163 6b61 e_snmp {. packa
│ │ │ -001efe70: 6765 207b 2027 736e 6d70 273a 0a20 2020 ge { 'snmp':.
│ │ │ -001efe80: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p
│ │ │ -001efe90: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
│ │ │ -001efea0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ -001eff50: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ -001eff60: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ -001efff0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -001f0000: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001f0010: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -001f0020: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -001f0030: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -001f0060: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -001f0070: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -001f0080: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ -001f00a0: 6e61 6d65 3a20 2755 6e69 6e73 7461 6c6c name: 'Uninstall
│ │ │ -001f00b0: 206e 6574 2d73 6e6d 7020 5061 636b 6167 net-snmp Packag
│ │ │ -001f00c0: 653a 2045 6e73 7572 6520 736e 6d70 2069 e: Ensure snmp i
│ │ │ -001f00d0: 7320 7265 6d6f 7665 6427 0a20 2061 6e73 s removed'. ans
│ │ │ -001f00e0: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ -001f00f0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ -001f0100: 736e 6d70 0a20 2020 2073 7461 7465 3a20 snmp. state:
│ │ │ -001f0110: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ -001f0120: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ -001f0130: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ -001f0140: 2e32 2e34 0a20 202d 2064 6973 6162 6c65 .2.4. - disable
│ │ │ -001f0150: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ -001f0160: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -001f0170: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -001f0180: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -001f0190: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -001f01a0: 5f6e 6574 2d73 6e6d 705f 7265 6d6f 7665 _net-snmp_remove
│ │ │ -001f01b0: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365 d. - unknown_se
│ │ │ -001f01c0: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f verity.
│ │ │ +001efcf0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ +001efd00: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ +001efd10: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +001efdc0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001efdd0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001efde0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001efdf0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001efe10: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ +001efe20: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001efe40: 2d20 6e61 6d65 3a20 2755 6e69 6e73 7461 - name: 'Uninsta
│ │ │ +001efe50: 6c6c 206e 6574 2d73 6e6d 7020 5061 636b ll net-snmp Pack
│ │ │ +001efe60: 6167 653a 2045 6e73 7572 6520 736e 6d70 age: Ensure snmp
│ │ │ +001efe70: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ +001efe80: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ +001efe90: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ +001efea0: 3a20 736e 6d70 0a20 2020 2073 7461 7465 : snmp. state
│ │ │ +001efeb0: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags:
│ │ │ +001efec0: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ +001efed0: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ +001efee0: 2d32 2e32 2e34 0a20 202d 2064 6973 6162 -2.2.4. - disab
│ │ │ +001efef0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +001eff00: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +001eff10: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +001eff20: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ +001eff30: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +001eff40: 6765 5f6e 6574 2d73 6e6d 705f 7265 6d6f ge_net-snmp_remo
│ │ │ +001eff50: 7665 640a 2020 2d20 756e 6b6e 6f77 6e5f ved. - unknown_
│ │ │ +001eff60: 7365 7665 7269 7479 0a3c 2f63 6f64 653e severity.
│ │ │ +001eff70: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +001f0020: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ +001f0030: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +001f0040: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001f0050: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +001f0060: 7365 2220 6964 3d22 6964 3733 3622 3e3c se" id="id736"><
│ │ │ +001f0070: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +001f0080: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +001f0090: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +001f00a0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +001f00b0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +001f00c0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +001f00d0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +001f0100: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +001f0110: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +001f0120: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +001f0140: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +001f0150: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
.include
│ │ │ +001f0170: 2072 656d 6f76 655f 736e 6d70 0a0a 636c remove_snmp..cl
│ │ │ +001f0180: 6173 7320 7265 6d6f 7665 5f73 6e6d 7020 ass remove_snmp
│ │ │ +001f0190: 7b0a 2020 7061 636b 6167 6520 7b20 2773 {. package { 's
│ │ │ +001f01a0: 6e6d 7027 3a0a 2020 2020 656e 7375 7265 nmp':. ensure
│ │ │ +001f01b0: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ +001f01c0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ 001f01d0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre> Remediation P
│ │ │ -002201e0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -002201f0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
include ssh_
│ │ │ -00220240: 7072 6976 6174 655f 6b65 795f 7065 726d private_key_perm
│ │ │ -00220250: 730a 0a63 6c61 7373 2073 7368 5f70 7269 s..class ssh_pri
│ │ │ -00220260: 7661 7465 5f6b 6579 5f70 6572 6d73 207b vate_key_perms {
│ │ │ -00220270: 0a20 2065 7865 6320 7b20 2773 7368 645f . exec { 'sshd_
│ │ │ -00220280: 7072 6976 5f6b 6579 273a 0a20 2020 2063 priv_key':. c
│ │ │ -00220290: 6f6d 6d61 6e64 203d 2667 743b 2022 6368 ommand => "ch
│ │ │ -002202a0: 6d6f 6420 3036 3430 202f 6574 632f 7373 mod 0640 /etc/ss
│ │ │ -002202b0: 682f 2a5f 6b65 7922 2c0a 2020 2020 7061 h/*_key",. pa
│ │ │ -002202c0: 7468 2020 2020 3d26 6774 3b20 272f 6269 th => '/bi
│ │ │ -002202d0: 6e3a 2f75 7372 2f62 696e 270a 2020 7d0a n:/usr/bin'. }.
│ │ │ -002202e0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -002202f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -002203a0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -002203b0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -00220430: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -00220440: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00220450: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -00220460: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -00220470: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -002204a0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -002204b0: 7465 6779 3a3c 2f74 683e 3c74 643e 636f tegy: co
│ │ │ -002204c0: 6e66 6967 7572 653c 2f74 643e 3c2f 7472 nfigure
- name: Gath
│ │ │ -002204f0: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ -00220500: 6163 7473 0a20 2070 6163 6b61 6765 5f66 acts. package_f
│ │ │ -00220510: 6163 7473 3a0a 2020 2020 6d61 6e61 6765 acts:. manage
│ │ │ -00220520: 723a 2061 7574 6f0a 2020 7461 6773 3a0a r: auto. tags:.
│ │ │ -00220530: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171
│ │ │ -00220540: 2d33 2e31 2e31 330a 2020 2d20 4e49 5354 -3.1.13. - NIST
│ │ │ -00220550: 2d38 3030 2d31 3731 2d33 2e31 332e 3130 -800-171-3.13.10
│ │ │ -00220560: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00220570: 2d41 432d 3137 2861 290a 2020 2d20 4e49 -AC-17(a). - NI
│ │ │ -00220580: 5354 2d38 3030 2d35 332d 4143 2d36 2831 ST-800-53-AC-6(1
│ │ │ -00220590: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -002205a0: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC
│ │ │ -002205b0: 492d 4453 532d 5265 712d 322e 322e 340a I-DSS-Req-2.2.4.
│ │ │ -002205c0: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ -002205d0: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ -002205e0: 322e 322e 360a 2020 2d20 636f 6e66 6967 2.2.6. - config
│ │ │ -002205f0: 7572 655f 7374 7261 7465 6779 0a20 202d ure_strategy. -
│ │ │ -00220600: 2066 696c 655f 7065 726d 6973 7369 6f6e file_permission
│ │ │ -00220610: 735f 7373 6864 5f70 7269 7661 7465 5f6b s_sshd_private_k
│ │ │ -00220620: 6579 0a20 202d 206c 6f77 5f63 6f6d 706c ey. - low_compl
│ │ │ -00220630: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -00220640: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ -00220650: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ -00220660: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -00220670: 640a 0a2d 206e 616d 653a 2046 696e 6420 d..- name: Find
│ │ │ -00220680: 726f 6f74 3a72 6f6f 742d 6f77 6e65 6420 root:root-owned
│ │ │ -00220690: 6b65 7973 0a20 2061 6e73 6962 6c65 2e62 keys. ansible.b
│ │ │ -002206a0: 7569 6c74 696e 2e63 6f6d 6d61 6e64 3a20 uiltin.command:
│ │ │ -002206b0: 6669 6e64 202d 4820 2f65 7463 2f73 7368 find -H /etc/ssh
│ │ │ -002206c0: 2f20 2d6d 6178 6465 7074 6820 3120 2d75 / -maxdepth 1 -u
│ │ │ -002206d0: 7365 7220 726f 6f74 202d 7265 6765 7820 ser root -regex
│ │ │ -002206e0: 222e 2a5f 6b65 7924 220a 2020 2020 2d74 ".*_key$". -t
│ │ │ -002206f0: 7970 6520 6620 2d67 726f 7570 2072 6f6f ype f -group roo
│ │ │ -00220700: 7420 2d70 6572 6d20 2f75 2b78 732c 672b t -perm /u+xs,g+
│ │ │ -00220710: 7877 7273 2c6f 2b78 7772 740a 2020 7265 xwrs,o+xwrt. re
│ │ │ -00220720: 6769 7374 6572 3a20 726f 6f74 5f6f 776e gister: root_own
│ │ │ -00220730: 6564 5f6b 6579 730a 2020 6368 616e 6765 ed_keys. change
│ │ │ -00220740: 645f 7768 656e 3a20 6661 6c73 650a 2020 d_when: false.
│ │ │ -00220750: 6661 696c 6564 5f77 6865 6e3a 2066 616c failed_when: fal
│ │ │ -00220760: 7365 0a20 2063 6865 636b 5f6d 6f64 653a se. check_mode:
│ │ │ -00220770: 2066 616c 7365 0a20 2077 6865 6e3a 2027 false. when: '
│ │ │ -00220780: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ -00220790: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -002207a0: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:.
│ │ │ -002207b0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171
│ │ │ -002207c0: 2d33 2e31 2e31 330a 2020 2d20 4e49 5354 -3.1.13. - NIST
│ │ │ -002207d0: 2d38 3030 2d31 3731 2d33 2e31 332e 3130 -800-171-3.13.10
│ │ │ -002207e0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -002207f0: 2d41 432d 3137 2861 290a 2020 2d20 4e49 -AC-17(a). - NI
│ │ │ -00220800: 5354 2d38 3030 2d35 332d 4143 2d36 2831 ST-800-53-AC-6(1
│ │ │ -00220810: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -00220820: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC
│ │ │ -00220830: 492d 4453 532d 5265 712d 322e 322e 340a I-DSS-Req-2.2.4.
│ │ │ -00220840: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ -00220850: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ -00220860: 322e 322e 360a 2020 2d20 636f 6e66 6967 2.2.6. - config
│ │ │ -00220870: 7572 655f 7374 7261 7465 6779 0a20 202d ure_strategy. -
│ │ │ -00220880: 2066 696c 655f 7065 726d 6973 7369 6f6e file_permission
│ │ │ -00220890: 735f 7373 6864 5f70 7269 7661 7465 5f6b s_sshd_private_k
│ │ │ -002208a0: 6579 0a20 202d 206c 6f77 5f63 6f6d 706c ey. - low_compl
│ │ │ -002208b0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -002208c0: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ -002208d0: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ -002208e0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -002208f0: 640a 0a2d 206e 616d 653a 2053 6574 2070 d..- name: Set p
│ │ │ -00220900: 6572 6d69 7373 696f 6e73 2066 6f72 2072 ermissions for r
│ │ │ -00220910: 6f6f 743a 726f 6f74 2d6f 776e 6564 206b oot:root-owned k
│ │ │ -00220920: 6579 730a 2020 616e 7369 626c 652e 6275 eys. ansible.bu
│ │ │ -00220930: 696c 7469 6e2e 6669 6c65 3a0a 2020 2020 iltin.file:.
│ │ │ -00220940: 7061 7468 3a20 277b 7b20 6974 656d 207d path: '{{ item }
│ │ │ -00220950: 7d27 0a20 2020 206d 6f64 653a 2075 2d78 }'. mode: u-x
│ │ │ -00220960: 732c 672d 7877 7273 2c6f 2d78 7772 740a s,g-xwrs,o-xwrt.
│ │ │ -00220970: 2020 2020 7374 6174 653a 2066 696c 650a state: file.
│ │ │ -00220980: 2020 7769 7468 5f69 7465 6d73 3a0a 2020 with_items:.
│ │ │ -00220990: 2d20 277b 7b20 726f 6f74 5f6f 776e 6564 - '{{ root_owned
│ │ │ -002209a0: 5f6b 6579 732e 7374 646f 7574 5f6c 696e _keys.stdout_lin
│ │ │ -002209b0: 6573 207d 7d27 0a20 2077 6865 6e3a 2027 es }}'. when: '
│ │ │ -002209c0: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ -002209d0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -002209e0: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:.
│ │ │ -002209f0: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171
│ │ │ -00220a00: 2d33 2e31 2e31 330a 2020 2d20 4e49 5354 -3.1.13. - NIST
│ │ │ -00220a10: 2d38 3030 2d31 3731 2d33 2e31 332e 3130 -800-171-3.13.10
│ │ │ -00220a20: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00220a30: 2d41 432d 3137 2861 290a 2020 2d20 4e49 -AC-17(a). - NI
│ │ │ -00220a40: 5354 2d38 3030 2d35 332d 4143 2d36 2831 ST-800-53-AC-6(1
│ │ │ -00220a50: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -00220a60: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC
│ │ │ -00220a70: 492d 4453 532d 5265 712d 322e 322e 340a I-DSS-Req-2.2.4.
│ │ │ -00220a80: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ -00220a90: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ -00220aa0: 322e 322e 360a 2020 2d20 636f 6e66 6967 2.2.6. - config
│ │ │ -00220ab0: 7572 655f 7374 7261 7465 6779 0a20 202d ure_strategy. -
│ │ │ -00220ac0: 2066 696c 655f 7065 726d 6973 7369 6f6e file_permission
│ │ │ -00220ad0: 735f 7373 6864 5f70 7269 7661 7465 5f6b s_sshd_private_k
│ │ │ -00220ae0: 6579 0a20 202d 206c 6f77 5f63 6f6d 706c ey. - low_compl
│ │ │ -00220af0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -00220b00: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ -00220b10: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ -00220b20: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -00220b30: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.
<
│ │ │ +002201d0: 2122 3e52 656d 6564 6961 7469 6f6e 2041 !">Remediation A
│ │ │ +002201e0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +002201f0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +00220270: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +00220280: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00220290: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +002202a0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +002202e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +002202f0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e63 ategy: c
│ │ │ +00220300: 6f6e 6669 6775 7265 3c2f 7464 3e3c 2f74 onfigure
<
│ │ │ +00220320: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ +00220330: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ +00220340: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ +00220350: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ +00220360: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ +00220370: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17
│ │ │ +00220380: 312d 332e 312e 3133 0a20 202d 204e 4953 1-3.1.13. - NIS
│ │ │ +00220390: 542d 3830 302d 3137 312d 332e 3133 2e31 T-800-171-3.13.1
│ │ │ +002203a0: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +002203b0: 332d 4143 2d31 3728 6129 0a20 202d 204e 3-AC-17(a). - N
│ │ │ +002203c0: 4953 542d 3830 302d 3533 2d41 432d 3628 IST-800-53-AC-6(
│ │ │ +002203d0: 3129 0a20 202d 204e 4953 542d 3830 302d 1). - NIST-800-
│ │ │ +002203e0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ +002203f0: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34 CI-DSS-Req-2.2.4
│ │ │ +00220400: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ +00220410: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ +00220420: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669 -2.2.6. - confi
│ │ │ +00220430: 6775 7265 5f73 7472 6174 6567 790a 2020 gure_strategy.
│ │ │ +00220440: 2d20 6669 6c65 5f70 6572 6d69 7373 696f - file_permissio
│ │ │ +00220450: 6e73 5f73 7368 645f 7072 6976 6174 655f ns_sshd_private_
│ │ │ +00220460: 6b65 790a 2020 2d20 6c6f 775f 636f 6d70 key. - low_comp
│ │ │ +00220470: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +00220480: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ +00220490: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +002204a0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +002204b0: 6564 0a0a 2d20 6e61 6d65 3a20 4669 6e64 ed..- name: Find
│ │ │ +002204c0: 2072 6f6f 743a 726f 6f74 2d6f 776e 6564 root:root-owned
│ │ │ +002204d0: 206b 6579 730a 2020 616e 7369 626c 652e keys. ansible.
│ │ │ +002204e0: 6275 696c 7469 6e2e 636f 6d6d 616e 643a builtin.command:
│ │ │ +002204f0: 2066 696e 6420 2d48 202f 6574 632f 7373 find -H /etc/ss
│ │ │ +00220500: 682f 202d 6d61 7864 6570 7468 2031 202d h/ -maxdepth 1 -
│ │ │ +00220510: 7573 6572 2072 6f6f 7420 2d72 6567 6578 user root -regex
│ │ │ +00220520: 2022 2e2a 5f6b 6579 2422 0a20 2020 202d ".*_key$". -
│ │ │ +00220530: 7479 7065 2066 202d 6772 6f75 7020 726f type f -group ro
│ │ │ +00220540: 6f74 202d 7065 726d 202f 752b 7873 2c67 ot -perm /u+xs,g
│ │ │ +00220550: 2b78 7772 732c 6f2b 7877 7274 0a20 2072 +xwrs,o+xwrt. r
│ │ │ +00220560: 6567 6973 7465 723a 2072 6f6f 745f 6f77 egister: root_ow
│ │ │ +00220570: 6e65 645f 6b65 7973 0a20 2063 6861 6e67 ned_keys. chang
│ │ │ +00220580: 6564 5f77 6865 6e3a 2066 616c 7365 0a20 ed_when: false.
│ │ │ +00220590: 2066 6169 6c65 645f 7768 656e 3a20 6661 failed_when: fa
│ │ │ +002205a0: 6c73 650a 2020 6368 6563 6b5f 6d6f 6465 lse. check_mode
│ │ │ +002205b0: 3a20 6661 6c73 650a 2020 7768 656e 3a20 : false. when:
│ │ │ +002205c0: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in
│ │ │ +002205d0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +002205e0: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ +002205f0: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17
│ │ │ +00220600: 312d 332e 312e 3133 0a20 202d 204e 4953 1-3.1.13. - NIS
│ │ │ +00220610: 542d 3830 302d 3137 312d 332e 3133 2e31 T-800-171-3.13.1
│ │ │ +00220620: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +00220630: 332d 4143 2d31 3728 6129 0a20 202d 204e 3-AC-17(a). - N
│ │ │ +00220640: 4953 542d 3830 302d 3533 2d41 432d 3628 IST-800-53-AC-6(
│ │ │ +00220650: 3129 0a20 202d 204e 4953 542d 3830 302d 1). - NIST-800-
│ │ │ +00220660: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ +00220670: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34 CI-DSS-Req-2.2.4
│ │ │ +00220680: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ +00220690: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ +002206a0: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669 -2.2.6. - confi
│ │ │ +002206b0: 6775 7265 5f73 7472 6174 6567 790a 2020 gure_strategy.
│ │ │ +002206c0: 2d20 6669 6c65 5f70 6572 6d69 7373 696f - file_permissio
│ │ │ +002206d0: 6e73 5f73 7368 645f 7072 6976 6174 655f ns_sshd_private_
│ │ │ +002206e0: 6b65 790a 2020 2d20 6c6f 775f 636f 6d70 key. - low_comp
│ │ │ +002206f0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +00220700: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ +00220710: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +00220720: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +00220730: 6564 0a0a 2d20 6e61 6d65 3a20 5365 7420 ed..- name: Set
│ │ │ +00220740: 7065 726d 6973 7369 6f6e 7320 666f 7220 permissions for
│ │ │ +00220750: 726f 6f74 3a72 6f6f 742d 6f77 6e65 6420 root:root-owned
│ │ │ +00220760: 6b65 7973 0a20 2061 6e73 6962 6c65 2e62 keys. ansible.b
│ │ │ +00220770: 7569 6c74 696e 2e66 696c 653a 0a20 2020 uiltin.file:.
│ │ │ +00220780: 2070 6174 683a 2027 7b7b 2069 7465 6d20 path: '{{ item
│ │ │ +00220790: 7d7d 270a 2020 2020 6d6f 6465 3a20 752d }}'. mode: u-
│ │ │ +002207a0: 7873 2c67 2d78 7772 732c 6f2d 7877 7274 xs,g-xwrs,o-xwrt
│ │ │ +002207b0: 0a20 2020 2073 7461 7465 3a20 6669 6c65 . state: file
│ │ │ +002207c0: 0a20 2077 6974 685f 6974 656d 733a 0a20 . with_items:.
│ │ │ +002207d0: 202d 2027 7b7b 2072 6f6f 745f 6f77 6e65 - '{{ root_owne
│ │ │ +002207e0: 645f 6b65 7973 2e73 7464 6f75 745f 6c69 d_keys.stdout_li
│ │ │ +002207f0: 6e65 7320 7d7d 270a 2020 7768 656e 3a20 nes }}'. when:
│ │ │ +00220800: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in
│ │ │ +00220810: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +00220820: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ +00220830: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17
│ │ │ +00220840: 312d 332e 312e 3133 0a20 202d 204e 4953 1-3.1.13. - NIS
│ │ │ +00220850: 542d 3830 302d 3137 312d 332e 3133 2e31 T-800-171-3.13.1
│ │ │ +00220860: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +00220870: 332d 4143 2d31 3728 6129 0a20 202d 204e 3-AC-17(a). - N
│ │ │ +00220880: 4953 542d 3830 302d 3533 2d41 432d 3628 IST-800-53-AC-6(
│ │ │ +00220890: 3129 0a20 202d 204e 4953 542d 3830 302d 1). - NIST-800-
│ │ │ +002208a0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ +002208b0: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34 CI-DSS-Req-2.2.4
│ │ │ +002208c0: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ +002208d0: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ +002208e0: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669 -2.2.6. - confi
│ │ │ +002208f0: 6775 7265 5f73 7472 6174 6567 790a 2020 gure_strategy.
│ │ │ +00220900: 2d20 6669 6c65 5f70 6572 6d69 7373 696f - file_permissio
│ │ │ +00220910: 6e73 5f73 7368 645f 7072 6976 6174 655f ns_sshd_private_
│ │ │ +00220920: 6b65 790a 2020 2d20 6c6f 775f 636f 6d70 key. - low_comp
│ │ │ +00220930: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +00220940: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ +00220950: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +00220960: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +00220970: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +00220980: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ +00220a30: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ +00220a40: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
include ssh_
│ │ │ +00220a90: 7072 6976 6174 655f 6b65 795f 7065 726d private_key_perm
│ │ │ +00220aa0: 730a 0a63 6c61 7373 2073 7368 5f70 7269 s..class ssh_pri
│ │ │ +00220ab0: 7661 7465 5f6b 6579 5f70 6572 6d73 207b vate_key_perms {
│ │ │ +00220ac0: 0a20 2065 7865 6320 7b20 2773 7368 645f . exec { 'sshd_
│ │ │ +00220ad0: 7072 6976 5f6b 6579 273a 0a20 2020 2063 priv_key':. c
│ │ │ +00220ae0: 6f6d 6d61 6e64 203d 2667 743b 2022 6368 ommand => "ch
│ │ │ +00220af0: 6d6f 6420 3036 3430 202f 6574 632f 7373 mod 0640 /etc/ss
│ │ │ +00220b00: 682f 2a5f 6b65 7922 2c0a 2020 2020 7061 h/*_key",. pa
│ │ │ +00220b10: 7468 2020 2020 3d26 6774 3b20 272f 6269 th => '/bi
│ │ │ +00220b20: 6e3a 2f75 7372 2f62 696e 270a 2020 7d0a n:/usr/bin'. }.
│ │ │ +00220b30: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ 00220b40: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediati
│ │ │ -00221fa0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -00221fb0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
include
│ │ │ -00222000: 7373 685f 7075 626c 6963 5f6b 6579 5f70 ssh_public_key_p
│ │ │ -00222010: 6572 6d73 0a0a 636c 6173 7320 7373 685f erms..class ssh_
│ │ │ -00222020: 7075 626c 6963 5f6b 6579 5f70 6572 6d73 public_key_perms
│ │ │ -00222030: 207b 0a20 2065 7865 6320 7b20 2773 7368 {. exec { 'ssh
│ │ │ -00222040: 645f 7075 625f 6b65 7927 3a0a 2020 2020 d_pub_key':.
│ │ │ -00222050: 636f 6d6d 616e 6420 3d26 6774 3b20 2263 command => "c
│ │ │ -00222060: 686d 6f64 2030 3634 3420 2f65 7463 2f73 hmod 0644 /etc/s
│ │ │ -00222070: 7368 2f2a 2e70 7562 222c 0a20 2020 2070 sh/*.pub",. p
│ │ │ -00222080: 6174 6820 2020 203d 2667 743b 2027 2f62 ath => '/b
│ │ │ -00222090: 696e 3a2f 7573 722f 6269 6e27 0a20 207d in:/usr/bin'. }
│ │ │ -002220a0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -002220b0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation A
│ │ │ -00222160: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ -00222170: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -002221f0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -00222200: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -00222210: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -00222220: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -00222260: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -00222270: 6174 6567 793a 3c2f 7468 3e3c 7464 3e63 ategy: c
│ │ │ -00222280: 6f6e 6669 6775 7265 3c2f 7464 3e3c 2f74 onfigure
<
│ │ │ -002222a0: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ -002222b0: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ -002222c0: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ -002222d0: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ -002222e0: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ -002222f0: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17
│ │ │ -00222300: 312d 332e 312e 3133 0a20 202d 204e 4953 1-3.1.13. - NIS
│ │ │ -00222310: 542d 3830 302d 3137 312d 332e 3133 2e31 T-800-171-3.13.1
│ │ │ -00222320: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ -00222330: 332d 4143 2d31 3728 6129 0a20 202d 204e 3-AC-17(a). - N
│ │ │ -00222340: 4953 542d 3830 302d 3533 2d41 432d 3628 IST-800-53-AC-6(
│ │ │ -00222350: 3129 0a20 202d 204e 4953 542d 3830 302d 1). - NIST-800-
│ │ │ -00222360: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ -00222370: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34 CI-DSS-Req-2.2.4
│ │ │ -00222380: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ -00222390: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ -002223a0: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669 -2.2.6. - confi
│ │ │ -002223b0: 6775 7265 5f73 7472 6174 6567 790a 2020 gure_strategy.
│ │ │ -002223c0: 2d20 6669 6c65 5f70 6572 6d69 7373 696f - file_permissio
│ │ │ -002223d0: 6e73 5f73 7368 645f 7075 625f 6b65 790a ns_sshd_pub_key.
│ │ │ -002223e0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -002223f0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -00222400: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -00222410: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -00222420: 5f72 6562 6f6f 745f 6e65 6564 6564 0a0a _reboot_needed..
│ │ │ -00222430: 2d20 6e61 6d65 3a20 4669 6e64 202f 6574 - name: Find /et
│ │ │ -00222440: 632f 7373 682f 2066 696c 6528 7329 0a20 c/ssh/ file(s).
│ │ │ -00222450: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -00222460: 2e63 6f6d 6d61 6e64 3a20 6669 6e64 202d .command: find -
│ │ │ -00222470: 5020 2f65 7463 2f73 7368 2f20 2d6d 6178 P /etc/ssh/ -max
│ │ │ -00222480: 6465 7074 6820 3120 2d70 6572 6d20 2f75 depth 1 -perm /u
│ │ │ -00222490: 2b78 732c 672b 7877 732c 6f2b 7877 7420 +xs,g+xws,o+xwt
│ │ │ -002224a0: 202d 7479 7065 0a20 2020 2066 202d 7265 -type. f -re
│ │ │ -002224b0: 6765 7874 7970 6520 706f 7369 782d 6578 gextype posix-ex
│ │ │ -002224c0: 7465 6e64 6564 202d 7265 6765 7820 225e tended -regex "^
│ │ │ -002224d0: 2e2a 5c2e 7075 6224 220a 2020 7265 6769 .*\.pub$". regi
│ │ │ -002224e0: 7374 6572 3a20 6669 6c65 735f 666f 756e ster: files_foun
│ │ │ -002224f0: 640a 2020 6368 616e 6765 645f 7768 656e d. changed_when
│ │ │ -00222500: 3a20 6661 6c73 650a 2020 6661 696c 6564 : false. failed
│ │ │ -00222510: 5f77 6865 6e3a 2066 616c 7365 0a20 2063 _when: false. c
│ │ │ -00222520: 6865 636b 5f6d 6f64 653a 2066 616c 7365 heck_mode: false
│ │ │ -00222530: 0a20 2077 6865 6e3a 2027 226c 696e 7578 . when: '"linux
│ │ │ -00222540: 2d62 6173 6522 2069 6e20 616e 7369 626c -base" in ansibl
│ │ │ -00222550: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -00222560: 270a 2020 7461 6773 3a0a 2020 2d20 4e49 '. tags:. - NI
│ │ │ -00222570: 5354 2d38 3030 2d31 3731 2d33 2e31 2e31 ST-800-171-3.1.1
│ │ │ -00222580: 330a 2020 2d20 4e49 5354 2d38 3030 2d31 3. - NIST-800-1
│ │ │ -00222590: 3731 2d33 2e31 332e 3130 0a20 202d 204e 71-3.13.10. - N
│ │ │ -002225a0: 4953 542d 3830 302d 3533 2d41 432d 3137 IST-800-53-AC-17
│ │ │ -002225b0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -002225c0: 2d35 332d 4143 2d36 2831 290a 2020 2d20 -53-AC-6(1). -
│ │ │ -002225d0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ -002225e0: 2861 290a 2020 2d20 5043 492d 4453 532d (a). - PCI-DSS-
│ │ │ -002225f0: 5265 712d 322e 322e 340a 2020 2d20 5043 Req-2.2.4. - PC
│ │ │ -00222600: 492d 4453 5376 342d 322e 320a 2020 2d20 I-DSSv4-2.2. -
│ │ │ -00222610: 5043 492d 4453 5376 342d 322e 322e 360a PCI-DSSv4-2.2.6.
│ │ │ -00222620: 2020 2d20 636f 6e66 6967 7572 655f 7374 - configure_st
│ │ │ -00222630: 7261 7465 6779 0a20 202d 2066 696c 655f rategy. - file_
│ │ │ -00222640: 7065 726d 6973 7369 6f6e 735f 7373 6864 permissions_sshd
│ │ │ -00222650: 5f70 7562 5f6b 6579 0a20 202d 206c 6f77 _pub_key. - low
│ │ │ -00222660: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -00222670: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -00222680: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -00222690: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -002226a0: 5f6e 6565 6465 640a 0a2d 206e 616d 653a _needed..- name:
│ │ │ -002226b0: 2053 6574 2070 6572 6d69 7373 696f 6e73 Set permissions
│ │ │ -002226c0: 2066 6f72 202f 6574 632f 7373 682f 2066 for /etc/ssh/ f
│ │ │ -002226d0: 696c 6528 7329 0a20 2061 6e73 6962 6c65 ile(s). ansible
│ │ │ -002226e0: 2e62 7569 6c74 696e 2e66 696c 653a 0a20 .builtin.file:.
│ │ │ -002226f0: 2020 2070 6174 683a 2027 7b7b 2069 7465 path: '{{ ite
│ │ │ -00222700: 6d20 7d7d 270a 2020 2020 6d6f 6465 3a20 m }}'. mode:
│ │ │ -00222710: 752d 7873 2c67 2d78 7773 2c6f 2d78 7774 u-xs,g-xws,o-xwt
│ │ │ -00222720: 0a20 2020 2073 7461 7465 3a20 6669 6c65 . state: file
│ │ │ -00222730: 0a20 2077 6974 685f 6974 656d 733a 0a20 . with_items:.
│ │ │ -00222740: 202d 2027 7b7b 2066 696c 6573 5f66 6f75 - '{{ files_fou
│ │ │ -00222750: 6e64 2e73 7464 6f75 745f 6c69 6e65 7320 nd.stdout_lines
│ │ │ -00222760: 7d7d 270a 2020 7768 656e 3a20 2722 6c69 }}'. when: '"li
│ │ │ -00222770: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ -00222780: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -00222790: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ -002227a0: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ -002227b0: 312e 3133 0a20 202d 204e 4953 542d 3830 1.13. - NIST-80
│ │ │ -002227c0: 302d 3137 312d 332e 3133 2e31 300a 2020 0-171-3.13.10.
│ │ │ -002227d0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ -002227e0: 2d31 3728 6129 0a20 202d 204e 4953 542d -17(a). - NIST-
│ │ │ -002227f0: 3830 302d 3533 2d41 432d 3628 3129 0a20 800-53-AC-6(1).
│ │ │ -00222800: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -00222810: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ -00222820: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d SS-Req-2.2.4. -
│ │ │ -00222830: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2.
│ │ │ -00222840: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ -00222850: 2e36 0a20 202d 2063 6f6e 6669 6775 7265 .6. - configure
│ │ │ -00222860: 5f73 7472 6174 6567 790a 2020 2d20 6669 _strategy. - fi
│ │ │ -00222870: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73 le_permissions_s
│ │ │ -00222880: 7368 645f 7075 625f 6b65 790a 2020 2d20 shd_pub_key. -
│ │ │ -00222890: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -002228a0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -002228b0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ -002228c0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ -002228d0: 6f6f 745f 6e65 6564 6564 0a3c 2f63 6f64 oot_needed.
│ │ │ +00222030: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +00222040: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +00222050: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +00222090: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +002220a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +002220c0: 7464 3e63 6f6e 6669 6775 7265 3c2f 7464 td>configure
- name:
│ │ │ +002220f0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ +00222100: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ +00222110: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ +00222120: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ +00222130: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ +00222140: 302d 3137 312d 332e 312e 3133 0a20 202d 0-171-3.1.13. -
│ │ │ +00222150: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ +00222160: 3133 2e31 300a 2020 2d20 4e49 5354 2d38 13.10. - NIST-8
│ │ │ +00222170: 3030 2d35 332d 4143 2d31 3728 6129 0a20 00-53-AC-17(a).
│ │ │ +00222180: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ +00222190: 432d 3628 3129 0a20 202d 204e 4953 542d C-6(1). - NIST-
│ │ │ +002221a0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ +002221b0: 202d 2050 4349 2d44 5353 2d52 6571 2d32 - PCI-DSS-Req-2
│ │ │ +002221c0: 2e32 2e34 0a20 202d 2050 4349 2d44 5353 .2.4. - PCI-DSS
│ │ │ +002221d0: 7634 2d32 2e32 0a20 202d 2050 4349 2d44 v4-2.2. - PCI-D
│ │ │ +002221e0: 5353 7634 2d32 2e32 2e36 0a20 202d 2063 SSv4-2.2.6. - c
│ │ │ +002221f0: 6f6e 6669 6775 7265 5f73 7472 6174 6567 onfigure_strateg
│ │ │ +00222200: 790a 2020 2d20 6669 6c65 5f70 6572 6d69 y. - file_permi
│ │ │ +00222210: 7373 696f 6e73 5f73 7368 645f 7075 625f ssions_sshd_pub_
│ │ │ +00222220: 6b65 790a 2020 2d20 6c6f 775f 636f 6d70 key. - low_comp
│ │ │ +00222230: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +00222240: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ +00222250: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +00222260: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +00222270: 6564 0a0a 2d20 6e61 6d65 3a20 4669 6e64 ed..- name: Find
│ │ │ +00222280: 202f 6574 632f 7373 682f 2066 696c 6528 /etc/ssh/ file(
│ │ │ +00222290: 7329 0a20 2061 6e73 6962 6c65 2e62 7569 s). ansible.bui
│ │ │ +002222a0: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 6669 ltin.command: fi
│ │ │ +002222b0: 6e64 202d 5020 2f65 7463 2f73 7368 2f20 nd -P /etc/ssh/
│ │ │ +002222c0: 2d6d 6178 6465 7074 6820 3120 2d70 6572 -maxdepth 1 -per
│ │ │ +002222d0: 6d20 2f75 2b78 732c 672b 7877 732c 6f2b m /u+xs,g+xws,o+
│ │ │ +002222e0: 7877 7420 202d 7479 7065 0a20 2020 2066 xwt -type. f
│ │ │ +002222f0: 202d 7265 6765 7874 7970 6520 706f 7369 -regextype posi
│ │ │ +00222300: 782d 6578 7465 6e64 6564 202d 7265 6765 x-extended -rege
│ │ │ +00222310: 7820 225e 2e2a 5c2e 7075 6224 220a 2020 x "^.*\.pub$".
│ │ │ +00222320: 7265 6769 7374 6572 3a20 6669 6c65 735f register: files_
│ │ │ +00222330: 666f 756e 640a 2020 6368 616e 6765 645f found. changed_
│ │ │ +00222340: 7768 656e 3a20 6661 6c73 650a 2020 6661 when: false. fa
│ │ │ +00222350: 696c 6564 5f77 6865 6e3a 2066 616c 7365 iled_when: false
│ │ │ +00222360: 0a20 2063 6865 636b 5f6d 6f64 653a 2066 . check_mode: f
│ │ │ +00222370: 616c 7365 0a20 2077 6865 6e3a 2027 226c alse. when: '"l
│ │ │ +00222380: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ +00222390: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +002223a0: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ +002223b0: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3
│ │ │ +002223c0: 2e31 2e31 330a 2020 2d20 4e49 5354 2d38 .1.13. - NIST-8
│ │ │ +002223d0: 3030 2d31 3731 2d33 2e31 332e 3130 0a20 00-171-3.13.10.
│ │ │ +002223e0: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ +002223f0: 432d 3137 2861 290a 2020 2d20 4e49 5354 C-17(a). - NIST
│ │ │ +00222400: 2d38 3030 2d35 332d 4143 2d36 2831 290a -800-53-AC-6(1).
│ │ │ +00222410: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +00222420: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ +00222430: 4453 532d 5265 712d 322e 322e 340a 2020 DSS-Req-2.2.4.
│ │ │ +00222440: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2.
│ │ │ +00222450: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ +00222460: 322e 360a 2020 2d20 636f 6e66 6967 7572 2.6. - configur
│ │ │ +00222470: 655f 7374 7261 7465 6779 0a20 202d 2066 e_strategy. - f
│ │ │ +00222480: 696c 655f 7065 726d 6973 7369 6f6e 735f ile_permissions_
│ │ │ +00222490: 7373 6864 5f70 7562 5f6b 6579 0a20 202d sshd_pub_key. -
│ │ │ +002224a0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +002224b0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +002224c0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ +002224d0: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ +002224e0: 626f 6f74 5f6e 6565 6465 640a 0a2d 206e boot_needed..- n
│ │ │ +002224f0: 616d 653a 2053 6574 2070 6572 6d69 7373 ame: Set permiss
│ │ │ +00222500: 696f 6e73 2066 6f72 202f 6574 632f 7373 ions for /etc/ss
│ │ │ +00222510: 682f 2066 696c 6528 7329 0a20 2061 6e73 h/ file(s). ans
│ │ │ +00222520: 6962 6c65 2e62 7569 6c74 696e 2e66 696c ible.builtin.fil
│ │ │ +00222530: 653a 0a20 2020 2070 6174 683a 2027 7b7b e:. path: '{{
│ │ │ +00222540: 2069 7465 6d20 7d7d 270a 2020 2020 6d6f item }}'. mo
│ │ │ +00222550: 6465 3a20 752d 7873 2c67 2d78 7773 2c6f de: u-xs,g-xws,o
│ │ │ +00222560: 2d78 7774 0a20 2020 2073 7461 7465 3a20 -xwt. state:
│ │ │ +00222570: 6669 6c65 0a20 2077 6974 685f 6974 656d file. with_item
│ │ │ +00222580: 733a 0a20 202d 2027 7b7b 2066 696c 6573 s:. - '{{ files
│ │ │ +00222590: 5f66 6f75 6e64 2e73 7464 6f75 745f 6c69 _found.stdout_li
│ │ │ +002225a0: 6e65 7320 7d7d 270a 2020 7768 656e 3a20 nes }}'. when:
│ │ │ +002225b0: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in
│ │ │ +002225c0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +002225d0: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ +002225e0: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17
│ │ │ +002225f0: 312d 332e 312e 3133 0a20 202d 204e 4953 1-3.1.13. - NIS
│ │ │ +00222600: 542d 3830 302d 3137 312d 332e 3133 2e31 T-800-171-3.13.1
│ │ │ +00222610: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +00222620: 332d 4143 2d31 3728 6129 0a20 202d 204e 3-AC-17(a). - N
│ │ │ +00222630: 4953 542d 3830 302d 3533 2d41 432d 3628 IST-800-53-AC-6(
│ │ │ +00222640: 3129 0a20 202d 204e 4953 542d 3830 302d 1). - NIST-800-
│ │ │ +00222650: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ +00222660: 4349 2d44 5353 2d52 6571 2d32 2e32 2e34 CI-DSS-Req-2.2.4
│ │ │ +00222670: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ +00222680: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ +00222690: 2d32 2e32 2e36 0a20 202d 2063 6f6e 6669 -2.2.6. - confi
│ │ │ +002226a0: 6775 7265 5f73 7472 6174 6567 790a 2020 gure_strategy.
│ │ │ +002226b0: 2d20 6669 6c65 5f70 6572 6d69 7373 696f - file_permissio
│ │ │ +002226c0: 6e73 5f73 7368 645f 7075 625f 6b65 790a ns_sshd_pub_key.
│ │ │ +002226d0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +002226e0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +002226f0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +00222700: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +00222710: 5f72 6562 6f6f 745f 6e65 6564 6564 0a3c _reboot_needed.<
│ │ │ +00222720: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>R
│ │ │ +002227d0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +002227e0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ +00222830: 696e 636c 7564 6520 7373 685f 7075 626c include ssh_publ
│ │ │ +00222840: 6963 5f6b 6579 5f70 6572 6d73 0a0a 636c ic_key_perms..cl
│ │ │ +00222850: 6173 7320 7373 685f 7075 626c 6963 5f6b ass ssh_public_k
│ │ │ +00222860: 6579 5f70 6572 6d73 207b 0a20 2065 7865 ey_perms {. exe
│ │ │ +00222870: 6320 7b20 2773 7368 645f 7075 625f 6b65 c { 'sshd_pub_ke
│ │ │ +00222880: 7927 3a0a 2020 2020 636f 6d6d 616e 6420 y':. command
│ │ │ +00222890: 3d26 6774 3b20 2263 686d 6f64 2030 3634 => "chmod 064
│ │ │ +002228a0: 3420 2f65 7463 2f73 7368 2f2a 2e70 7562 4 /etc/ssh/*.pub
│ │ │ +002228b0: 222c 0a20 2020 2070 6174 6820 2020 203d ",. path =
│ │ │ +002228c0: 2667 743b 2027 2f62 696e 3a2f 7573 722f > '/bin:/usr/
│ │ │ +002228d0: 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:
│ │ │ │ @@ -181,14 +164,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -809,27 +809,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:
│ │ │ │ @@ -863,14 +850,27 @@
│ │ │ │ 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 ]];
│ │ │ │ @@ -1586,31 +1586,14 @@
│ │ │ │ _i_s_m 1382, 1384, 1386
│ │ │ │ _n_i_s_t CM-6(a)
│ │ │ │ _o_s_p_p FMT_MOF_EXT.1
│ │ │ │ References: _o_s_-_s_r_g SRG-OS-000324-GPOS-00125
│ │ │ │ _a_n_s_s_i R33
│ │ │ │ _c_i_s 5.3.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 = "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:
│ │ │ │ @@ -1637,14 +1620,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -5309,31 +5309,14 @@
│ │ │ │ attacks on the system.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_pam_pwquality_installed
│ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00225
│ │ │ │ References: _c_i_s 5.4.1
│ │ │ │ _s_t_i_g_i_d UBTU-22-215010
│ │ │ │ _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:
│ │ │ │ @@ -5356,14 +5339,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}' 'libpam-runtime' 2>/dev/null | grep -
│ │ │ │ @@ -7594,31 +7594,14 @@
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_apparmor_installed
│ │ │ │ _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: _a_n_s_s_i R45
│ │ │ │ _c_i_s 1.6.1.1
│ │ │ │ _s_t_i_g_i_d UBTU-22-431010
│ │ │ │ _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
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -7629,14 +7612,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
│ │ │ │ @@ -8155,31 +8155,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:
│ │ │ │ @@ -8200,14 +8183,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -8226,31 +8226,14 @@
│ │ │ │ Rationale: determine cause of failure and any information necessary to return to operations with
│ │ │ │ least disruption to system processes.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_systemd-journald_enabled
│ │ │ │ _n_i_s_t SC-24
│ │ │ │ References: _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:
│ │ │ │ @@ -8285,14 +8268,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_systemd-journald_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -9022,31 +9022,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)
│ │ │ │ _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:
│ │ │ │ @@ -9069,14 +9052,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -9106,31 +9106,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
│ │ │ │ _c_i_s 4.2.2.2
│ │ │ │ _s_t_i_g_i_d UBTU-22-652010
│ │ │ │ _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:
│ │ │ │ @@ -9169,14 +9152,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_rsyslog_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -9674,31 +9674,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:
│ │ │ │ @@ -9723,14 +9706,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 ( ! (systemctl is-active nftables &>/dev/null) && ! (systemctl is-active ufw &>/dev/null) &&
│ │ │ │ @@ -9746,27 +9746,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:
│ │ │ │ @@ -9787,14 +9774,27 @@
│ │ │ │ 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}' 'ufw' 2>/dev/null | grep -q '^installed$';
│ │ │ │ @@ -15074,31 +15074,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:
│ │ │ │ @@ -15123,14 +15106,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 ( ! (systemctl is-active iptables &>/dev/null) && ! (systemctl is-active ufw &>/dev/null) &&
│ │ │ │ @@ -15147,31 +15147,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:
│ │ │ │ @@ -15205,14 +15188,31 @@
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_nftables_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: ( "nftables" in ansible_facts.packages and "linux-base" in ansible_facts.packages
│ │ │ │ )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'nftables' 2>/dev/null | grep -
│ │ │ │ @@ -15737,27 +15737,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, 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:
│ │ │ │ @@ -15778,14 +15765,27 @@
│ │ │ │ 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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -15809,31 +15809,14 @@
│ │ │ │ Rationale: The ufw service must be enabled and running in order for ufw to protect the system
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_ufw_enabled
│ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115
│ │ │ │ References: _c_i_s 3.5.1.3
│ │ │ │ _s_t_i_g_i_d UBTU-22-251020
│ │ │ │ _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:
│ │ │ │ @@ -15870,14 +15853,31 @@
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_ufw_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - ( "ufw" in ansible_facts.packages and "linux-base" in ansible_facts.packages )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -22879,50 +22879,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:
│ │ │ │ @@ -22972,14 +22936,50 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_apport_disabled
│ │ │ │ - special_service_block
│ │ │ │ - unknown_severity
│ │ │ │ when: '"apport" in ansible_facts.packages'
│ │ │ │ +_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}' 'apport' 2>/dev/null | grep -
│ │ │ │ @@ -23031,27 +23031,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.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: 'Uninstall avahi Server Package: Ensure avahi-daemon is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -23063,14 +23050,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -23099,50 +23099,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:
│ │ │ │ @@ -23204,14 +23168,50 @@
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_avahi-daemon_disabled
│ │ │ │ - special_service_block
│ │ │ │ when: ( "avahi-daemon" in ansible_facts.packages and "linux-base" in ansible_facts.packages
│ │ │ │ )
│ │ │ │ +_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}' 'avahi-daemon' 2>/dev/null | grep -
│ │ │ │ @@ -23999,31 +23999,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:
│ │ │ │ @@ -24058,14 +24041,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_cron_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -25906,27 +25906,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: 'Uninstall the nis package: Ensure nis is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -25935,14 +25922,27 @@
│ │ │ │ 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
│ │ │ │ @@ -25984,27 +25984,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
│ │ │ │ _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.2.4
│ │ │ │ _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: 'Uninstall DHCP Server Package: Ensure isc-dhcp-server is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26018,14 +26005,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -26061,27 +26061,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.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: 'Uninstall bind Package: Ensure bind9 is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26093,14 +26080,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -26139,27 +26139,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: 'Uninstall vsftpd Package: Ensure vsftpd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26175,14 +26162,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -26222,27 +26222,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: 'Uninstall apache2 Package: Ensure apache2 is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26254,14 +26241,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -26290,27 +26290,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: 'Uninstall nginx Package: Ensure nginx is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26322,14 +26309,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -26350,27 +26350,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: 'Uninstall cyrus-imapd Package: Ensure cyrus-imapd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26379,14 +26366,27 @@
│ │ │ │ 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
│ │ │ │ @@ -26404,27 +26404,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: 'Uninstall dovecot Package: Ensure dovecot-core is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26433,14 +26420,27 @@
│ │ │ │ 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
│ │ │ │ @@ -26471,27 +26471,14 @@
│ │ │ │ command:
│ │ │ │ $ apt-get remove ldap-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 client is not installed: Ensure ldap-utils is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26500,14 +26487,27 @@
│ │ │ │ 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
│ │ │ │ @@ -26538,27 +26538,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.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: 'Uninstall openldap-servers Package: Ensure slapd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26570,14 +26557,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -26695,27 +26695,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:
│ │ │ │ @@ -26736,14 +26723,27 @@
│ │ │ │ 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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -26765,27 +26765,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: 'Uninstall nfs-kernel-server Package: Ensure nfs-kernel-server is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -26794,14 +26781,27 @@
│ │ │ │ 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
│ │ │ │ @@ -26867,31 +26867,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
│ │ │ │ _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)
│ │ │ │ _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:
│ │ │ │ @@ -26916,14 +26899,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -26943,31 +26943,14 @@
│ │ │ │ Rationale: If chrony is in use on the system proper configuration is vital to ensuring time
│ │ │ │ synchronization is working properly.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_chronyd_enabled
│ │ │ │ _i_s_m 0988, 1405
│ │ │ │ References: _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:
│ │ │ │ @@ -27002,14 +26985,31 @@
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_chronyd_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - '"chrony" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -27045,31 +27045,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:
│ │ │ │ @@ -27114,14 +27097,31 @@
│ │ │ │ - low_disruption
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_ntp_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - '"ntp" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -27156,31 +27156,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:
│ │ │ │ @@ -27226,14 +27209,31 @@
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_timesyncd_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - ( not ( "chrony" in ansible_facts.packages ) and not ( "ntp" in ansible_facts.packages
│ │ │ │ ) )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -27406,27 +27406,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
│ │ │ │ _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.3.2
│ │ │ │ _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: 'Uninstall rsh Package: Ensure rsh-client is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27438,14 +27425,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -27512,27 +27512,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: _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.3.3
│ │ │ │ _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: 'Uninstall talk Package: Ensure talk is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27543,14 +27530,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -27575,27 +27575,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
│ │ │ │ _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.3.4
│ │ │ │ _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: 'Remove telnet Clients: Ensure telnet is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27607,14 +27594,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -27630,27 +27630,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: 'Uninstall rsync Package: Ensure rsync is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27659,14 +27646,27 @@
│ │ │ │ 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
│ │ │ │ @@ -27690,27 +27690,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: 'Uninstall squid Package: Ensure squid is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27719,14 +27706,27 @@
│ │ │ │ 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
│ │ │ │ @@ -27752,27 +27752,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: 'Uninstall Samba Package: Ensure samba is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27781,14 +27768,27 @@
│ │ │ │ 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
│ │ │ │ @@ -27814,27 +27814,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: 'Uninstall net-snmp Package: Ensure snmp is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27845,14 +27832,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -31163,23 +31163,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
│ │ │ │ _a_n_s_s_i R50
│ │ │ │ _c_i_s 5.2.2
│ │ │ │ _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:
│ │ │ │ @@ -31243,14 +31234,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
│ │ │ │ @@ -31290,23 +31290,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
│ │ │ │ _a_n_s_s_i R50
│ │ │ │ _c_i_s 5.2.3
│ │ │ │ _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:
│ │ │ │ @@ -31370,14 +31361,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}' 'linux-base' 2>/dev/null | grep -
│ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2204-guide-cis_level2_server.html
│ │ │ @@ -15135,137 +15135,137 @@
│ │ │ 0003b1e0: 2d74 6172 6765 743d 2223 6964 3822 2074 -target="#id8" t
│ │ │ 0003b1f0: 6162 696e 6465 783d 2230 2220 726f 6c65 abindex="0" role
│ │ │ 0003b200: 3d22 6275 7474 6f6e 2220 6172 6961 2d65 ="button" aria-e
│ │ │ 0003b210: 7870 616e 6465 643d 2266 616c 7365 2220 xpanded="false"
│ │ │ 0003b220: 7469 746c 653d 2241 6374 6976 6174 6520 title="Activate
│ │ │ 0003b230: 746f 2072 6576 6561 6c22 2068 7265 663d to reveal" href=
│ │ │ 0003b240: 2223 2122 3e52 656d 6564 6961 7469 6f6e "#!">Remediation
│ │ │ -0003b250: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri
│ │ │ -0003b260: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
│ │ │ -0003b270: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
.
│ │ │ -0003b2b0: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d [[packages]].nam
│ │ │ -0003b2c0: 6520 3d20 2261 6964 6522 0a76 6572 7369 e = "aide".versi
│ │ │ -0003b2d0: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e on = "*".
│ │ │ -0003b2e0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remediati
│ │ │ -0003b390: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -0003b3a0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
Complexity:
│ │ │ -0003b430: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -0003b450: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -0003b470: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -0003b480: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -0003b4a0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -0003b4b0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -0003b4c0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -0003b4e0: 6c6c 5f61 6964 650a 0a63 6c61 7373 2069 ll_aide..class i
│ │ │ -0003b4f0: 6e73 7461 6c6c 5f61 6964 6520 7b0a 2020 nstall_aide {.
│ │ │ -0003b500: 7061 636b 6167 6520 7b20 2761 6964 6527 package { 'aide'
│ │ │ -0003b510: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ -0003b520: 743b 2027 696e 7374 616c 6c65 6427 2c0a t; 'installed',.
│ │ │ -0003b530: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediation
│ │ │ -0003b5f0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ -0003b600: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity:
│ │ │ -0003b690: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -0003b6b0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -0003b6d0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -0003b6e0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -0003b700: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -0003b710: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -0003b720: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -0003b740: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ -0003b750: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ -0003b760: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ -0003b770: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ -0003b780: 202d 2043 4a49 532d 352e 3130 2e31 2e33 - CJIS-5.10.1.3
│ │ │ -0003b790: 0a20 202d 2044 4953 412d 5354 4947 2d55 . - DISA-STIG-U
│ │ │ -0003b7a0: 4254 552d 3232 2d36 3531 3031 300a 2020 BTU-22-651010.
│ │ │ -0003b7b0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -0003b7c0: 2d36 2861 290a 2020 2d20 5043 492d 4453 -6(a). - PCI-DS
│ │ │ -0003b7d0: 532d 5265 712d 3131 2e35 0a20 202d 2050 S-Req-11.5. - P
│ │ │ -0003b7e0: 4349 2d44 5353 7634 2d31 312e 352e 320a CI-DSSv4-11.5.2.
│ │ │ -0003b7f0: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat
│ │ │ -0003b800: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ -0003b810: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -0003b820: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ -0003b830: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ -0003b840: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -0003b850: 6564 0a20 202d 2070 6163 6b61 6765 5f61 ed. - package_a
│ │ │ -0003b860: 6964 655f 696e 7374 616c 6c65 640a 0a2d ide_installed..-
│ │ │ -0003b870: 206e 616d 653a 2045 6e73 7572 6520 6169 name: Ensure ai
│ │ │ -0003b880: 6465 2069 7320 696e 7374 616c 6c65 640a de is installed.
│ │ │ -0003b890: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -0003b8a0: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ -0003b8b0: 616d 653a 2061 6964 650a 2020 2020 7374 ame: aide. st
│ │ │ -0003b8c0: 6174 653a 2070 7265 7365 6e74 0a20 2077 ate: present. w
│ │ │ -0003b8d0: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas
│ │ │ -0003b8e0: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ -0003b8f0: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ -0003b900: 7461 6773 3a0a 2020 2d20 434a 4953 2d35 tags:. - CJIS-5
│ │ │ -0003b910: 2e31 302e 312e 330a 2020 2d20 4449 5341 .10.1.3. - DISA
│ │ │ -0003b920: 2d53 5449 472d 5542 5455 2d32 322d 3635 -STIG-UBTU-22-65
│ │ │ -0003b930: 3130 3130 0a20 202d 204e 4953 542d 3830 1010. - NIST-80
│ │ │ -0003b940: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -0003b950: 2050 4349 2d44 5353 2d52 6571 2d31 312e PCI-DSS-Req-11.
│ │ │ -0003b960: 350a 2020 2d20 5043 492d 4453 5376 342d 5. - PCI-DSSv4-
│ │ │ -0003b970: 3131 2e35 2e32 0a20 202d 2065 6e61 626c 11.5.2. - enabl
│ │ │ -0003b980: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -0003b990: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -0003b9a0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -0003b9b0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -0003b9c0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -0003b9d0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ -0003b9e0: 636b 6167 655f 6169 6465 5f69 6e73 7461 ckage_aide_insta
│ │ │ -0003b9f0: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled.
│ │ │ +0003b2e0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +0003b2f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +0003b300: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +0003b310: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +0003b350: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +0003b360: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ +0003b370: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ +0003b380: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ +0003b3a0: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ +0003b3b0: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ +0003b3c0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ +0003b3d0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ +0003b3e0: 2d20 434a 4953 2d35 2e31 302e 312e 330a - CJIS-5.10.1.3.
│ │ │ +0003b3f0: 2020 2d20 4449 5341 2d53 5449 472d 5542 - DISA-STIG-UB
│ │ │ +0003b400: 5455 2d32 322d 3635 3130 3130 0a20 202d TU-22-651010. -
│ │ │ +0003b410: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +0003b420: 3628 6129 0a20 202d 2050 4349 2d44 5353 6(a). - PCI-DSS
│ │ │ +0003b430: 2d52 6571 2d31 312e 350a 2020 2d20 5043 -Req-11.5. - PC
│ │ │ +0003b440: 492d 4453 5376 342d 3131 2e35 2e32 0a20 I-DSSv4-11.5.2.
│ │ │ +0003b450: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ +0003b460: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +0003b470: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +0003b480: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +0003b490: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ +0003b4a0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +0003b4b0: 640a 2020 2d20 7061 636b 6167 655f 6169 d. - package_ai
│ │ │ +0003b4c0: 6465 5f69 6e73 7461 6c6c 6564 0a0a 2d20 de_installed..-
│ │ │ +0003b4d0: 6e61 6d65 3a20 456e 7375 7265 2061 6964 name: Ensure aid
│ │ │ +0003b4e0: 6520 6973 2069 6e73 7461 6c6c 6564 0a20 e is installed.
│ │ │ +0003b4f0: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +0003b500: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ +0003b510: 6d65 3a20 6169 6465 0a20 2020 2073 7461 me: aide. sta
│ │ │ +0003b520: 7465 3a20 7072 6573 656e 740a 2020 7768 te: present. wh
│ │ │ +0003b530: 656e 3a20 2722 6c69 6e75 782d 6261 7365 en: '"linux-base
│ │ │ +0003b540: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +0003b550: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t
│ │ │ +0003b560: 6167 733a 0a20 202d 2043 4a49 532d 352e ags:. - CJIS-5.
│ │ │ +0003b570: 3130 2e31 2e33 0a20 202d 2044 4953 412d 10.1.3. - DISA-
│ │ │ +0003b580: 5354 4947 2d55 4254 552d 3232 2d36 3531 STIG-UBTU-22-651
│ │ │ +0003b590: 3031 300a 2020 2d20 4e49 5354 2d38 3030 010. - NIST-800
│ │ │ +0003b5a0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ +0003b5b0: 5043 492d 4453 532d 5265 712d 3131 2e35 PCI-DSS-Req-11.5
│ │ │ +0003b5c0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ +0003b5d0: 312e 352e 320a 2020 2d20 656e 6162 6c65 1.5.2. - enable
│ │ │ +0003b5e0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +0003b5f0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +0003b600: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +0003b610: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +0003b620: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +0003b630: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +0003b640: 6b61 6765 5f61 6964 655f 696e 7374 616c kage_aide_instal
│ │ │ +0003b650: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
Remediation Pu
│ │ │ +0003b710: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ +0003b720: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +0003b7a0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +0003b7b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +0003b7d0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +0003b7e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +0003b820: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ +0003b830: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e in
│ │ │ +0003b850: 636c 7564 6520 696e 7374 616c 6c5f 6169 clude install_ai
│ │ │ +0003b860: 6465 0a0a 636c 6173 7320 696e 7374 616c de..class instal
│ │ │ +0003b870: 6c5f 6169 6465 207b 0a20 2070 6163 6b61 l_aide {. packa
│ │ │ +0003b880: 6765 207b 2027 6169 6465 273a 0a20 2020 ge { 'aide':.
│ │ │ +0003b890: 2065 6e73 7572 6520 3d26 6774 3b20 2769 ensure => 'i
│ │ │ +0003b8a0: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d nstalled',. }.}
│ │ │ +0003b8b0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +0003b8c0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>
│ │ │ +0003b960: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu
│ │ │ +0003b970: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn
│ │ │ +0003b980: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
│ │ │ +0003b9c0: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061 .[[pa
│ │ │ +0003b9d0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20 ckages]].name =
│ │ │ +0003b9e0: 2261 6964 6522 0a76 6572 7369 6f6e 203d "aide".version =
│ │ │ +0003b9f0: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
Remedi
│ │ │ -000435f0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -00043600: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00043610: 3c64 6976 2063 6c61 7373 3d22 7061 6e65 <
│ │ │ -00043640: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -00043650: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -00043660: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -00043670: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -00043680: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -00043690: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -000436a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -000436d0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -000436e0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -000436f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -00043710: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -00043720: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
.include
│ │ │ -00043740: 2072 656d 6f76 655f 7072 656c 696e 6b0a remove_prelink.
│ │ │ -00043750: 0a63 6c61 7373 2072 656d 6f76 655f 7072 .class remove_pr
│ │ │ -00043760: 656c 696e 6b20 7b0a 2020 7061 636b 6167 elink {. packag
│ │ │ -00043770: 6520 7b20 2770 7265 6c69 6e6b 273a 0a20 e { 'prelink':.
│ │ │ -00043780: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -00043790: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}.
│ │ │ -000437a0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64 R
│ │ │ -00043850: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -00043860: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -00043870: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
C
│ │ │ -000438f0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -00043900: 7464 3e6d 6564 6975 6d3c 2f74 643e 3c2f td>medium
│ │ │ -00043910: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -00043920: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -00043930: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00043940: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -00043950: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -00043960: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -00043970: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ -00043980: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -00043990: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: Check I
│ │ │ -000439b0: 6620 5072 656c 696e 6b65 6420 4973 2049 f Prelinked Is I
│ │ │ -000439c0: 6e73 7461 6c6c 6564 0a20 2061 6e73 6962 nstalled. ansib
│ │ │ -000439d0: 6c65 2e62 7569 6c74 696e 2e73 7461 743a le.builtin.stat:
│ │ │ -000439e0: 0a20 2020 2070 6174 683a 202f 7573 722f . path: /usr/
│ │ │ -000439f0: 7362 696e 2f70 7265 6c69 6e6b 0a20 2020 sbin/prelink.
│ │ │ -00043a00: 2067 6574 5f63 6865 636b 7375 6d3a 2066 get_checksum: f
│ │ │ -00043a10: 616c 7365 0a20 2072 6567 6973 7465 723a alse. register:
│ │ │ -00043a20: 2070 7265 6c69 6e6b 0a20 2074 6167 733a prelink. tags:
│ │ │ -00043a30: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ -00043a40: 6174 6567 790a 2020 2d20 6c6f 775f 6469 ategy. - low_di
│ │ │ -00043a50: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ -00043a60: 6975 6d5f 636f 6d70 6c65 7869 7479 0a20 ium_complexity.
│ │ │ -00043a70: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -00043a80: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -00043a90: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -00043aa0: 6167 655f 7072 656c 696e 6b5f 7265 6d6f age_prelink_remo
│ │ │ -00043ab0: 7665 640a 0a2d 206e 616d 653a 2052 6573 ved..- name: Res
│ │ │ -00043ac0: 746f 7265 2050 7265 6c69 6e6b 6564 2042 tore Prelinked B
│ │ │ -00043ad0: 696e 6172 6965 730a 2020 616e 7369 626c inaries. ansibl
│ │ │ -00043ae0: 652e 6275 696c 7469 6e2e 636f 6d6d 616e e.builtin.comman
│ │ │ -00043af0: 643a 0a20 2020 2063 6d64 3a20 7072 656c d:. cmd: prel
│ │ │ -00043b00: 696e 6b20 2d75 610a 2020 7768 656e 3a20 ink -ua. when:
│ │ │ -00043b10: 7072 656c 696e 6b2e 7374 6174 2e65 7869 prelink.stat.exi
│ │ │ -00043b20: 7374 730a 2020 7461 6773 3a0a 2020 2d20 sts. tags:. -
│ │ │ -00043b30: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ -00043b40: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -00043b50: 696f 6e0a 2020 2d20 6d65 6469 756d 5f63 ion. - medium_c
│ │ │ -00043b60: 6f6d 706c 6578 6974 790a 2020 2d20 6d65 omplexity. - me
│ │ │ -00043b70: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ -00043b80: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -00043b90: 6564 0a20 202d 2070 6163 6b61 6765 5f70 ed. - package_p
│ │ │ -00043ba0: 7265 6c69 6e6b 5f72 656d 6f76 6564 0a0a relink_removed..
│ │ │ -00043bb0: 2d20 6e61 6d65 3a20 456e 7375 7265 2070 - name: Ensure p
│ │ │ -00043bc0: 7265 6c69 6e6b 2069 7320 5265 6d6f 7665 relink is Remove
│ │ │ -00043bd0: 640a 2020 616e 7369 626c 652e 6275 696c d. ansible.buil
│ │ │ -00043be0: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ -00043bf0: 206e 616d 653a 2070 7265 6c69 6e6b 0a20 name: prelink.
│ │ │ -00043c00: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ -00043c10: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ -00043c20: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -00043c30: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -00043c40: 0a20 202d 206d 6564 6975 6d5f 636f 6d70 . - medium_comp
│ │ │ -00043c50: 6c65 7869 7479 0a20 202d 206d 6564 6975 lexity. - mediu
│ │ │ -00043c60: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -00043c70: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -00043c80: 2020 2d20 7061 636b 6167 655f 7072 656c - package_prel
│ │ │ -00043c90: 696e 6b5f 7265 6d6f 7665 640a 3c2f 636f ink_removed.
│ │ │ +00043640: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +00043690: 7869 7479 3a3c 2f74 683e 3c74 643e 6d65 xity: me
│ │ │ +000436a0: 6469 756d 3c2f 7464 3e3c 2f74 723e 3c74 dium Disruption
│ │ │ +000436c0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +000436e0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +000436f0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +00043710: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +00043720: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +00043740: 6d65 3a20 4368 6563 6b20 4966 2050 7265 me: Check If Pre
│ │ │ +00043750: 6c69 6e6b 6564 2049 7320 496e 7374 616c linked Is Instal
│ │ │ +00043760: 6c65 640a 2020 616e 7369 626c 652e 6275 led. ansible.bu
│ │ │ +00043770: 696c 7469 6e2e 7374 6174 3a0a 2020 2020 iltin.stat:.
│ │ │ +00043780: 7061 7468 3a20 2f75 7372 2f73 6269 6e2f path: /usr/sbin/
│ │ │ +00043790: 7072 656c 696e 6b0a 2020 2020 6765 745f prelink. get_
│ │ │ +000437a0: 6368 6563 6b73 756d 3a20 6661 6c73 650a checksum: false.
│ │ │ +000437b0: 2020 7265 6769 7374 6572 3a20 7072 656c register: prel
│ │ │ +000437c0: 696e 6b0a 2020 7461 6773 3a0a 2020 2d20 ink. tags:. -
│ │ │ +000437d0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ +000437e0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +000437f0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f63 ion. - medium_c
│ │ │ +00043800: 6f6d 706c 6578 6974 790a 2020 2d20 6d65 omplexity. - me
│ │ │ +00043810: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +00043820: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +00043830: 6564 0a20 202d 2070 6163 6b61 6765 5f70 ed. - package_p
│ │ │ +00043840: 7265 6c69 6e6b 5f72 656d 6f76 6564 0a0a relink_removed..
│ │ │ +00043850: 2d20 6e61 6d65 3a20 5265 7374 6f72 6520 - name: Restore
│ │ │ +00043860: 5072 656c 696e 6b65 6420 4269 6e61 7269 Prelinked Binari
│ │ │ +00043870: 6573 0a20 2061 6e73 6962 6c65 2e62 7569 es. ansible.bui
│ │ │ +00043880: 6c74 696e 2e63 6f6d 6d61 6e64 3a0a 2020 ltin.command:.
│ │ │ +00043890: 2020 636d 643a 2070 7265 6c69 6e6b 202d cmd: prelink -
│ │ │ +000438a0: 7561 0a20 2077 6865 6e3a 2070 7265 6c69 ua. when: preli
│ │ │ +000438b0: 6e6b 2e73 7461 742e 6578 6973 7473 0a20 nk.stat.exists.
│ │ │ +000438c0: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab
│ │ │ +000438d0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +000438e0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +000438f0: 202d 206d 6564 6975 6d5f 636f 6d70 6c65 - medium_comple
│ │ │ +00043900: 7869 7479 0a20 202d 206d 6564 6975 6d5f xity. - medium_
│ │ │ +00043910: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +00043920: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +00043930: 2d20 7061 636b 6167 655f 7072 656c 696e - package_prelin
│ │ │ +00043940: 6b5f 7265 6d6f 7665 640a 0a2d 206e 616d k_removed..- nam
│ │ │ +00043950: 653a 2045 6e73 7572 6520 7072 656c 696e e: Ensure prelin
│ │ │ +00043960: 6b20 6973 2052 656d 6f76 6564 0a20 2061 k is Removed. a
│ │ │ +00043970: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ +00043980: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ +00043990: 3a20 7072 656c 696e 6b0a 2020 2020 7374 : prelink. st
│ │ │ +000439a0: 6174 653a 2061 6273 656e 740a 2020 7461 ate: absent. ta
│ │ │ +000439b0: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_
│ │ │ +000439c0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +000439d0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +000439e0: 6d65 6469 756d 5f63 6f6d 706c 6578 6974 medium_complexit
│ │ │ +000439f0: 790a 2020 2d20 6d65 6469 756d 5f73 6576 y. - medium_sev
│ │ │ +00043a00: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ +00043a10: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +00043a20: 6163 6b61 6765 5f70 7265 6c69 6e6b 5f72 ackage_prelink_r
│ │ │ +00043a30: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f emoved.
│ │ │ +00043a40: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediatio
│ │ │ +00043af0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +00043b00: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity:
│ │ │ +00043b90: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +00043bb0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +00043bd0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +00043be0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +00043c00: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +00043c10: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ +00043c40: 6f76 655f 7072 656c 696e 6b0a 0a63 6c61 ove_prelink..cla
│ │ │ +00043c50: 7373 2072 656d 6f76 655f 7072 656c 696e ss remove_prelin
│ │ │ +00043c60: 6b20 7b0a 2020 7061 636b 6167 6520 7b20 k {. package {
│ │ │ +00043c70: 2770 7265 6c69 6e6b 273a 0a20 2020 2065 'prelink':. e
│ │ │ +00043c80: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ +00043c90: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.
<
│ │ │ 00043cb0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ 00043cc0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ 00043cd0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ 00043ce0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ 00043cf0: 6432 3422 2074 6162 696e 6465 783d 2230 d24" tabindex="0
│ │ │ 00043d00: 2220 726f 6c65 3d22 6275 7474 6f6e 2220 " role="button"
│ │ │ @@ -22561,113 +22561,113 @@
│ │ │ 00058200: 7461 2d74 6172 6765 743d 2223 6964 3436 ta-target="#id46
│ │ │ 00058210: 2220 7461 6269 6e64 6578 3d22 3022 2072 " tabindex="0" r
│ │ │ 00058220: 6f6c 653d 2262 7574 746f 6e22 2061 7269 ole="button" ari
│ │ │ 00058230: 612d 6578 7061 6e64 6564 3d22 6661 6c73 a-expanded="fals
│ │ │ 00058240: 6522 2074 6974 6c65 3d22 4163 7469 7661 e" title="Activa
│ │ │ 00058250: 7465 2074 6f20 7265 7665 616c 2220 6872 te to reveal" hr
│ │ │ 00058260: 6566 3d22 2321 223e 5265 6d65 6469 6174 ef="#!">Remediat
│ │ │ -00058270: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -00058280: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
<
│ │ │ -00058300: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -00058310: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -00058320: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00058330: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -00058340: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -00058360: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -00058370: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00058380: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -000583a0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -000583b0: 3c63 6f64 653e 0a69 6e63 6c75 6465 2072 .include r
│ │ │ -000583c0: 656d 6f76 655f 6764 6d33 0a0a 636c 6173 emove_gdm3..clas
│ │ │ -000583d0: 7320 7265 6d6f 7665 5f67 646d 3320 7b0a s remove_gdm3 {.
│ │ │ -000583e0: 2020 7061 636b 6167 6520 7b20 2767 646d package { 'gdm
│ │ │ -000583f0: 3327 3a0a 2020 2020 656e 7375 7265 203d 3':. ensure =
│ │ │ -00058400: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ -00058410: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediation
│ │ │ -000584d0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -000584e0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -00058560: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -00058570: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -00058580: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -00058590: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -000585d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -000585e0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ -000585f0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ -00058600: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -00058620: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ -00058630: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ -00058640: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ -00058650: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ -00058660: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -00058670: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST-
│ │ │ -00058680: 3830 302d 3533 2d43 4d2d 3728 6129 0a20 800-53-CM-7(a).
│ │ │ -00058690: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -000586a0: 4d2d 3728 6229 0a20 202d 2064 6973 6162 M-7(b). - disab
│ │ │ -000586b0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -000586c0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -000586d0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -000586e0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ -000586f0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ -00058700: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -00058710: 6163 6b61 6765 5f67 646d 5f72 656d 6f76 ackage_gdm_remov
│ │ │ -00058720: 6564 0a0a 2d20 6e61 6d65 3a20 2752 656d ed..- name: 'Rem
│ │ │ -00058730: 6f76 6520 7468 6520 4744 4d20 5061 636b ove the GDM Pack
│ │ │ -00058740: 6167 6520 4772 6f75 703a 2045 6e73 7572 age Group: Ensur
│ │ │ -00058750: 6520 6764 6d33 2069 7320 7265 6d6f 7665 e gdm3 is remove
│ │ │ -00058760: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -00058770: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -00058780: 2020 6e61 6d65 3a20 6764 6d33 0a20 2020 name: gdm3.
│ │ │ -00058790: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ -000587a0: 2077 6865 6e3a 2027 2267 646d 3322 2069 when: '"gdm3" i
│ │ │ -000587b0: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ -000587c0: 7061 636b 6167 6573 270a 2020 7461 6773 packages'. tags
│ │ │ -000587d0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5
│ │ │ -000587e0: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI
│ │ │ -000587f0: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a
│ │ │ -00058800: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -00058810: 332d 434d 2d37 2862 290a 2020 2d20 6469 3-CM-7(b). - di
│ │ │ -00058820: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ -00058830: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -00058840: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -00058850: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -00058860: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -00058870: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -00058880: 2d20 7061 636b 6167 655f 6764 6d5f 7265 - package_gdm_re
│ │ │ -00058890: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.
<
│ │ │ +00058290: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +000582a0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +000582b0: 7365 2220 6964 3d22 6964 3436 223e 3c74 se" id="id46">
│ │ │ +00058300: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +00058310: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +00058320: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +00058360: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +00058370: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +00058390: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ +000583a0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +000583c0: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ +000583d0: 6520 6661 6374 730a 2020 7061 636b 6167 e facts. packag
│ │ │ +000583e0: 655f 6661 6374 733a 0a20 2020 206d 616e e_facts:. man
│ │ │ +000583f0: 6167 6572 3a20 6175 746f 0a20 2074 6167 ager: auto. tag
│ │ │ +00058400: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ +00058410: 3533 2d43 4d2d 3628 6129 0a20 202d 204e 53-CM-6(a). - N
│ │ │ +00058420: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ +00058430: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +00058440: 3533 2d43 4d2d 3728 6229 0a20 202d 2064 53-CM-7(b). - d
│ │ │ +00058450: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +00058460: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +00058470: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +00058480: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +00058490: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +000584a0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +000584b0: 202d 2070 6163 6b61 6765 5f67 646d 5f72 - package_gdm_r
│ │ │ +000584c0: 656d 6f76 6564 0a0a 2d20 6e61 6d65 3a20 emoved..- name:
│ │ │ +000584d0: 2752 656d 6f76 6520 7468 6520 4744 4d20 'Remove the GDM
│ │ │ +000584e0: 5061 636b 6167 6520 4772 6f75 703a 2045 Package Group: E
│ │ │ +000584f0: 6e73 7572 6520 6764 6d33 2069 7320 7265 nsure gdm3 is re
│ │ │ +00058500: 6d6f 7665 6427 0a20 2061 6e73 6962 6c65 moved'. ansible
│ │ │ +00058510: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +00058520: 3a0a 2020 2020 6e61 6d65 3a20 6764 6d33 :. name: gdm3
│ │ │ +00058530: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ +00058540: 6e74 0a20 2077 6865 6e3a 2027 2267 646d nt. when: '"gdm
│ │ │ +00058550: 3322 2069 6e20 616e 7369 626c 655f 6661 3" in ansible_fa
│ │ │ +00058560: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ +00058570: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ +00058580: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ +00058590: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ +000585a0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8
│ │ │ +000585b0: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b).
│ │ │ +000585c0: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ +000585d0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +000585e0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +000585f0: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +00058600: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ +00058610: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +00058620: 640a 2020 2d20 7061 636b 6167 655f 6764 d. - package_gd
│ │ │ +00058630: 6d5f 7265 6d6f 7665 640a 3c2f 636f 6465 m_removed.
Remedia
│ │ │ +000586f0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ +00058700: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +00058710: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +00058720: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +00058730: 7365 2220 6964 3d22 6964 3437 223e 3c74 se" id="id47">
│ │ │ +00058780: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +00058790: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +000587a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +000587e0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +000587f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +00058810: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ +00058820: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
.include
│ │ │ +00058840: 7265 6d6f 7665 5f67 646d 330a 0a63 6c61 remove_gdm3..cla
│ │ │ +00058850: 7373 2072 656d 6f76 655f 6764 6d33 207b ss remove_gdm3 {
│ │ │ +00058860: 0a20 2070 6163 6b61 6765 207b 2027 6764 . package { 'gd
│ │ │ +00058870: 6d33 273a 0a20 2020 2065 6e73 7572 6520 m3':. ensure
│ │ │ +00058880: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ +00058890: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediati
│ │ │ -0005ae70: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ -0005ae80: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ -0005ae90: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[[packages]].
│ │ │ -0005aee0: 6e61 6d65 203d 2022 7375 646f 220a 7665 name = "sudo".ve
│ │ │ -0005aef0: 7273 696f 6e20 3d20 222a 220a 3c2f 636f rsion = "*".
<
│ │ │ -0005af10: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -0005af20: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -0005af30: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -0005af40: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -0005af50: 6435 3322 2074 6162 696e 6465 783d 2230 d53" tabindex="0
│ │ │ -0005af60: 2220 726f 6c65 3d22 6275 7474 6f6e 2220 " role="button"
│ │ │ -0005af70: 6172 6961 2d65 7870 616e 6465 643d 2266 aria-expanded="f
│ │ │ -0005af80: 616c 7365 2220 7469 746c 653d 2241 6374 alse" title="Act
│ │ │ -0005af90: 6976 6174 6520 746f 2072 6576 6561 6c22 ivate to reveal"
│ │ │ -0005afa0: 2068 7265 663d 2223 2122 3e52 656d 6564 href="#!">Remed
│ │ │ -0005afb0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -0005afc0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
│ │ │ -0005b000: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -0005b050: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -0005b060: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -0005b070: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -0005b080: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -0005b090: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -0005b0a0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -0005b0b0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -0005b0c0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -0005b0e0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ -0005b100: 696e 7374 616c 6c5f 7375 646f 0a0a 636c install_sudo..cl
│ │ │ -0005b110: 6173 7320 696e 7374 616c 6c5f 7375 646f ass install_sudo
│ │ │ -0005b120: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ -0005b130: 7375 646f 273a 0a20 2020 2065 6e73 7572 sudo':. ensur
│ │ │ -0005b140: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install
│ │ │ -0005b150: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}. Remedi
│ │ │ -0005b210: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ -0005b220: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
│ │ │ -0005b260: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -0005b2b0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -0005b2c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -0005b2d0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -0005b2e0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -0005b2f0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -0005b300: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -0005b310: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -0005b320: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -0005b340: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -0005b360: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ -0005b370: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ -0005b380: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ -0005b390: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ -0005b3a0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -0005b3b0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -0005b3c0: 5043 492d 4453 5376 342d 322e 320a 2020 PCI-DSSv4-2.2.
│ │ │ -0005b3d0: 2d20 5043 492d 4453 5376 342d 322e 322e - PCI-DSSv4-2.2.
│ │ │ -0005b3e0: 360a 2020 2d20 656e 6162 6c65 5f73 7472 6. - enable_str
│ │ │ -0005b3f0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -0005b400: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -0005b410: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -0005b420: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -0005b430: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -0005b440: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -0005b450: 5f73 7564 6f5f 696e 7374 616c 6c65 640a _sudo_installed.
│ │ │ -0005b460: 0a2d 206e 616d 653a 2045 6e73 7572 6520 .- name: Ensure
│ │ │ -0005b470: 7375 646f 2069 7320 696e 7374 616c 6c65 sudo is installe
│ │ │ -0005b480: 640a 2020 616e 7369 626c 652e 6275 696c d. ansible.buil
│ │ │ -0005b490: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ -0005b4a0: 206e 616d 653a 2073 7564 6f0a 2020 2020 name: sudo.
│ │ │ -0005b4b0: 7374 6174 653a 2070 7265 7365 6e74 0a20 state: present.
│ │ │ -0005b4c0: 2077 6865 6e3a 2027 226c 696e 7578 2d62 when: '"linux-b
│ │ │ -0005b4d0: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_
│ │ │ -0005b4e0: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ -0005b4f0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ -0005b500: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -0005b510: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ -0005b520: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ -0005b530: 322e 322e 360a 2020 2d20 656e 6162 6c65 2.2.6. - enable
│ │ │ -0005b540: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ -0005b550: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -0005b560: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -0005b570: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ -0005b580: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -0005b590: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ -0005b5a0: 6b61 6765 5f73 7564 6f5f 696e 7374 616c kage_sudo_instal
│ │ │ -0005b5b0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
<
│ │ │ +0005af00: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +0005af10: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +0005af20: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0005af30: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +0005af40: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +0005af60: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +0005af70: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0005af80: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +0005afb0: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ +0005afc0: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ +0005afd0: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ +0005afe0: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ +0005aff0: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ +0005b000: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +0005b010: 2d43 4d2d 3628 6129 0a20 202d 2050 4349 -CM-6(a). - PCI
│ │ │ +0005b020: 2d44 5353 7634 2d32 2e32 0a20 202d 2050 -DSSv4-2.2. - P
│ │ │ +0005b030: 4349 2d44 5353 7634 2d32 2e32 2e36 0a20 CI-DSSv4-2.2.6.
│ │ │ +0005b040: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ +0005b050: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +0005b060: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +0005b070: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +0005b080: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ +0005b090: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +0005b0a0: 640a 2020 2d20 7061 636b 6167 655f 7375 d. - package_su
│ │ │ +0005b0b0: 646f 5f69 6e73 7461 6c6c 6564 0a0a 2d20 do_installed..-
│ │ │ +0005b0c0: 6e61 6d65 3a20 456e 7375 7265 2073 7564 name: Ensure sud
│ │ │ +0005b0d0: 6f20 6973 2069 6e73 7461 6c6c 6564 0a20 o is installed.
│ │ │ +0005b0e0: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +0005b0f0: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ +0005b100: 6d65 3a20 7375 646f 0a20 2020 2073 7461 me: sudo. sta
│ │ │ +0005b110: 7465 3a20 7072 6573 656e 740a 2020 7768 te: present. wh
│ │ │ +0005b120: 656e 3a20 2722 6c69 6e75 782d 6261 7365 en: '"linux-base
│ │ │ +0005b130: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +0005b140: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t
│ │ │ +0005b150: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ +0005b160: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ +0005b170: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2.
│ │ │ +0005b180: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ +0005b190: 2e36 0a20 202d 2065 6e61 626c 655f 7374 .6. - enable_st
│ │ │ +0005b1a0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +0005b1b0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +0005b1c0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +0005b1d0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +0005b1e0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +0005b1f0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ +0005b200: 655f 7375 646f 5f69 6e73 7461 6c6c 6564 e_sudo_installed
│ │ │ +0005b210: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +0005b220: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>
│ │ │ +0005b2c0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +0005b2d0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +0005b2e0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
C
│ │ │ +0005b360: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +0005b370: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +0005b380: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +0005b390: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +0005b3a0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +0005b3d0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +0005b3e0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ +0005b3f0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c inc
│ │ │ +0005b410: 6c75 6465 2069 6e73 7461 6c6c 5f73 7564 lude install_sud
│ │ │ +0005b420: 6f0a 0a63 6c61 7373 2069 6e73 7461 6c6c o..class install
│ │ │ +0005b430: 5f73 7564 6f20 7b0a 2020 7061 636b 6167 _sudo {. packag
│ │ │ +0005b440: 6520 7b20 2773 7564 6f27 3a0a 2020 2020 e { 'sudo':.
│ │ │ +0005b450: 656e 7375 7265 203d 2667 743b 2027 696e ensure => 'in
│ │ │ +0005b460: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a stalled',. }.}.
│ │ │ +0005b470: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
R
│ │ │ +0005b520: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui
│ │ │ +0005b530: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni
│ │ │ +0005b540: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +0005b550: 3c64 6976 2063 6c61 7373 3d22 7061 6e65 <
│ │ │ +0005b580: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac
│ │ │ +0005b590: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = "
│ │ │ +0005b5a0: 7375 646f 220a 7665 7273 696f 6e20 3d20 sudo".version =
│ │ │ +0005b5b0: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".Rem
│ │ │ -00097d00: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ -00097d10: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ -00097d20: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[[pack
│ │ │ -00097d70: 6167 6573 5d5d 0a6e 616d 6520 3d20 226c ages]].name = "l
│ │ │ -00097d80: 6962 7061 6d2d 7077 7175 616c 6974 7922 ibpam-pwquality"
│ │ │ -00097d90: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c .version = "*".<
│ │ │ -00097da0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>R
│ │ │ -00097e50: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -00097e60: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ -00097ef0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -00097f00: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -00097f10: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -00097f20: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -00097f30: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -00097f60: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -00097f70: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ -00097f80: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c inc
│ │ │ -00097fa0: 6c75 6465 2069 6e73 7461 6c6c 5f6c 6962 lude install_lib
│ │ │ -00097fb0: 7061 6d2d 7077 7175 616c 6974 790a 0a63 pam-pwquality..c
│ │ │ -00097fc0: 6c61 7373 2069 6e73 7461 6c6c 5f6c 6962 lass install_lib
│ │ │ -00097fd0: 7061 6d2d 7077 7175 616c 6974 7920 7b0a pam-pwquality {.
│ │ │ -00097fe0: 2020 7061 636b 6167 6520 7b20 276c 6962 package { 'lib
│ │ │ -00097ff0: 7061 6d2d 7077 7175 616c 6974 7927 3a0a pam-pwquality':.
│ │ │ -00098000: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ -00098010: 2027 696e 7374 616c 6c65 6427 2c0a 2020 'installed',.
│ │ │ -00098020: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediation
│ │ │ -000980e0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -000980f0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -00098180: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -000981a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -000981c0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -000981d0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -000981f0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -00098200: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -00098210: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -00098230: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ -00098240: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ -00098250: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ -00098260: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ -00098270: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT
│ │ │ -00098280: 552d 3232 2d32 3135 3031 300a 2020 2d20 U-22-215010. -
│ │ │ -00098290: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -000982a0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -000982b0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -000982c0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -000982d0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -000982e0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -000982f0: 202d 2070 6163 6b61 6765 5f70 616d 5f70 - package_pam_p
│ │ │ -00098300: 7771 7561 6c69 7479 5f69 6e73 7461 6c6c wquality_install
│ │ │ -00098310: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu
│ │ │ -00098320: 7265 206c 6962 7061 6d2d 7077 7175 616c re libpam-pwqual
│ │ │ -00098330: 6974 7920 6973 2069 6e73 7461 6c6c 6564 ity is installed
│ │ │ -00098340: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ -00098350: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ -00098360: 6e61 6d65 3a20 6c69 6270 616d 2d70 7771 name: libpam-pwq
│ │ │ -00098370: 7561 6c69 7479 0a20 2020 2073 7461 7465 uality. state
│ │ │ -00098380: 3a20 7072 6573 656e 740a 2020 7768 656e : present. when
│ │ │ -00098390: 3a20 2722 6c69 6270 616d 2d72 756e 7469 : '"libpam-runti
│ │ │ -000983a0: 6d65 2220 696e 2061 6e73 6962 6c65 5f66 me" in ansible_f
│ │ │ -000983b0: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ -000983c0: 2074 6167 733a 0a20 202d 2044 4953 412d tags:. - DISA-
│ │ │ -000983d0: 5354 4947 2d55 4254 552d 3232 2d32 3135 STIG-UBTU-22-215
│ │ │ -000983e0: 3031 300a 2020 2d20 656e 6162 6c65 5f73 010. - enable_s
│ │ │ -000983f0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ -00098400: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ -00098410: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ -00098420: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ -00098430: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ -00098440: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ -00098450: 6765 5f70 616d 5f70 7771 7561 6c69 7479 ge_pam_pwquality
│ │ │ -00098460: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64 _installed.
│ │ │ +00097d20: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +00097da0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +00097dc0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +00097dd0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +00097de0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00097df0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +00097e00: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +00097e10: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +00097e20: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +00097e30: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +00097e50: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +00097e60: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ +00097e70: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ +00097e80: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +00097e90: 2020 7461 6773 3a0a 2020 2d20 4449 5341 tags:. - DISA
│ │ │ +00097ea0: 2d53 5449 472d 5542 5455 2d32 322d 3231 -STIG-UBTU-22-21
│ │ │ +00097eb0: 3530 3130 0a20 202d 2065 6e61 626c 655f 5010. - enable_
│ │ │ +00097ec0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +00097ed0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +00097ee0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +00097ef0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +00097f00: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +00097f10: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ +00097f20: 6167 655f 7061 6d5f 7077 7175 616c 6974 age_pam_pwqualit
│ │ │ +00097f30: 795f 696e 7374 616c 6c65 640a 0a2d 206e y_installed..- n
│ │ │ +00097f40: 616d 653a 2045 6e73 7572 6520 6c69 6270 ame: Ensure libp
│ │ │ +00097f50: 616d 2d70 7771 7561 6c69 7479 2069 7320 am-pwquality is
│ │ │ +00097f60: 696e 7374 616c 6c65 640a 2020 616e 7369 installed. ansi
│ │ │ +00097f70: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ +00097f80: 6167 653a 0a20 2020 206e 616d 653a 206c age:. name: l
│ │ │ +00097f90: 6962 7061 6d2d 7077 7175 616c 6974 790a ibpam-pwquality.
│ │ │ +00097fa0: 2020 2020 7374 6174 653a 2070 7265 7365 state: prese
│ │ │ +00097fb0: 6e74 0a20 2077 6865 6e3a 2027 226c 6962 nt. when: '"lib
│ │ │ +00097fc0: 7061 6d2d 7275 6e74 696d 6522 2069 6e20 pam-runtime" in
│ │ │ +00097fd0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ +00097fe0: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:.
│ │ │ +00097ff0: 2020 2d20 4449 5341 2d53 5449 472d 5542 - DISA-STIG-UB
│ │ │ +00098000: 5455 2d32 322d 3231 3530 3130 0a20 202d TU-22-215010. -
│ │ │ +00098010: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ +00098020: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +00098030: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +00098040: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ +00098050: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +00098060: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +00098070: 2020 2d20 7061 636b 6167 655f 7061 6d5f - package_pam_
│ │ │ +00098080: 7077 7175 616c 6974 795f 696e 7374 616c pwquality_instal
│ │ │ +00098090: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
Remediation
│ │ │ +00098150: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ +00098160: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +000981e0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +000981f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00098200: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +00098210: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +00098250: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +00098260: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ +00098270: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ +00098280: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include instal
│ │ │ +000982a0: 6c5f 6c69 6270 616d 2d70 7771 7561 6c69 l_libpam-pwquali
│ │ │ +000982b0: 7479 0a0a 636c 6173 7320 696e 7374 616c ty..class instal
│ │ │ +000982c0: 6c5f 6c69 6270 616d 2d70 7771 7561 6c69 l_libpam-pwquali
│ │ │ +000982d0: 7479 207b 0a20 2070 6163 6b61 6765 207b ty {. package {
│ │ │ +000982e0: 2027 6c69 6270 616d 2d70 7771 7561 6c69 'libpam-pwquali
│ │ │ +000982f0: 7479 273a 0a20 2020 2065 6e73 7572 6520 ty':. ensure
│ │ │ +00098300: 3d26 6774 3b20 2769 6e73 7461 6c6c 6564 => 'installed
│ │ │ +00098310: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ +00098320: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +000983d0: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu
│ │ │ +000983e0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet .
│ │ │ +000983f0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
<
│ │ │ +00098430: 636f 6465 3e0a 5b5b 7061 636b 6167 6573 code>.[[packages
│ │ │ +00098440: 5d5d 0a6e 616d 6520 3d20 226c 6962 7061 ]].name = "libpa
│ │ │ +00098450: 6d2d 7077 7175 616c 6974 7922 0a76 6572 m-pwquality".ver
│ │ │ +00098460: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64 sion = "*".
Remediation
│ │ │ -000c8100: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ -000c8110: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ -000c8160: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61 .[[packages]].na
│ │ │ -000c8170: 6d65 203d 2022 6170 7061 726d 6f72 220a me = "apparmor".
│ │ │ -000c8180: 7665 7273 696f 6e20 3d20 222a 220a 3c2f version = "*".
│ │ │ -000c8190: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ -000c8240: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ -000c8250: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -000c8260: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -000c82e0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -000c8300: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -000c8310: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -000c8320: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000c8330: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -000c8340: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -000c8350: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -000c8360: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -000c8370: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -000c8390: 7564 6520 696e 7374 616c 6c5f 6170 7061 ude install_appa
│ │ │ -000c83a0: 726d 6f72 0a0a 636c 6173 7320 696e 7374 rmor..class inst
│ │ │ -000c83b0: 616c 6c5f 6170 7061 726d 6f72 207b 0a20 all_apparmor {.
│ │ │ -000c83c0: 2070 6163 6b61 6765 207b 2027 6170 7061 package { 'appa
│ │ │ -000c83d0: 726d 6f72 273a 0a20 2020 2065 6e73 7572 rmor':. ensur
│ │ │ -000c83e0: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install
│ │ │ -000c83f0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -000c84b0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -000c84c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -000c8550: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -000c8560: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -000c8580: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -000c85a0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -000c85b0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -000c85d0: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ -000c85f0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -000c8600: 3a20 456e 7375 7265 2061 7070 6172 6d6f : Ensure apparmo
│ │ │ -000c8610: 7220 6973 2069 6e73 7461 6c6c 6564 0a20 r is installed.
│ │ │ -000c8620: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -000c8630: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -000c8640: 6d65 3a20 6170 7061 726d 6f72 0a20 2020 me: apparmor.
│ │ │ -000c8650: 2073 7461 7465 3a20 7072 6573 656e 740a state: present.
│ │ │ -000c8660: 2020 7768 656e 3a20 616e 7369 626c 655f when: ansible_
│ │ │ -000c8670: 7669 7274 7561 6c69 7a61 7469 6f6e 5f74 virtualization_t
│ │ │ -000c8680: 7970 6520 6e6f 7420 696e 205b 2264 6f63 ype not in ["doc
│ │ │ -000c8690: 6b65 7222 2c20 226c 7863 222c 2022 6f70 ker", "lxc", "op
│ │ │ -000c86a0: 656e 767a 222c 2022 706f 646d 616e 222c envz", "podman",
│ │ │ -000c86b0: 2022 636f 6e74 6169 6e65 7222 5d0a 2020 "container"].
│ │ │ -000c86c0: 7461 6773 3a0a 2020 2d20 4449 5341 2d53 tags:. - DISA-S
│ │ │ -000c86d0: 5449 472d 5542 5455 2d32 322d 3433 3130 TIG-UBTU-22-4310
│ │ │ -000c86e0: 3130 0a20 202d 2065 6e61 626c 655f 7374 10. - enable_st
│ │ │ -000c86f0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -000c8700: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -000c8710: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -000c8720: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ -000c8730: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -000c8740: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ -000c8750: 655f 6170 7061 726d 6f72 5f69 6e73 7461 e_apparmor_insta
│ │ │ -000c8760: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled.
Complexity:
│ │ │ +000c81a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +000c81c0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +000c81e0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +000c81f0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +000c8210: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +000c8220: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +000c8230: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Ensur
│ │ │ +000c8250: 6520 6170 7061 726d 6f72 2069 7320 696e e apparmor is in
│ │ │ +000c8260: 7374 616c 6c65 640a 2020 616e 7369 626c stalled. ansibl
│ │ │ +000c8270: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ +000c8280: 653a 0a20 2020 206e 616d 653a 2061 7070 e:. name: app
│ │ │ +000c8290: 6172 6d6f 720a 2020 2020 7374 6174 653a armor. state:
│ │ │ +000c82a0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a present. when:
│ │ │ +000c82b0: 2061 6e73 6962 6c65 5f76 6972 7475 616c ansible_virtual
│ │ │ +000c82c0: 697a 6174 696f 6e5f 7479 7065 206e 6f74 ization_type not
│ │ │ +000c82d0: 2069 6e20 5b22 646f 636b 6572 222c 2022 in ["docker", "
│ │ │ +000c82e0: 6c78 6322 2c20 226f 7065 6e76 7a22 2c20 lxc", "openvz",
│ │ │ +000c82f0: 2270 6f64 6d61 6e22 2c20 2263 6f6e 7461 "podman", "conta
│ │ │ +000c8300: 696e 6572 225d 0a20 2074 6167 733a 0a20 iner"]. tags:.
│ │ │ +000c8310: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT
│ │ │ +000c8320: 552d 3232 2d34 3331 3031 300a 2020 2d20 U-22-431010. -
│ │ │ +000c8330: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ +000c8340: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +000c8350: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +000c8360: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +000c8370: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +000c8380: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +000c8390: 202d 2070 6163 6b61 6765 5f61 7070 6172 - package_appar
│ │ │ +000c83a0: 6d6f 725f 696e 7374 616c 6c65 640a 3c2f mor_installed.
│ │ │ +000c83b0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +000c8460: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ +000c8470: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +000c8480: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +000c8500: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +000c8520: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +000c8530: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +000c8540: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000c8550: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +000c8560: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +000c8570: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +000c8580: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +000c8590: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +000c85b0: 7564 6520 696e 7374 616c 6c5f 6170 7061 ude install_appa
│ │ │ +000c85c0: 726d 6f72 0a0a 636c 6173 7320 696e 7374 rmor..class inst
│ │ │ +000c85d0: 616c 6c5f 6170 7061 726d 6f72 207b 0a20 all_apparmor {.
│ │ │ +000c85e0: 2070 6163 6b61 6765 207b 2027 6170 7061 package { 'appa
│ │ │ +000c85f0: 726d 6f72 273a 0a20 2020 2065 6e73 7572 rmor':. ensur
│ │ │ +000c8600: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install
│ │ │ +000c8610: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ +000c86d0: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ +000c86e0: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ +000c86f0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[[packag
│ │ │ +000c8740: 6573 5d5d 0a6e 616d 6520 3d20 2261 7070 es]].name = "app
│ │ │ +000c8750: 6172 6d6f 7222 0a76 6572 7369 6f6e 203d armor".version =
│ │ │ +000c8760: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
R
│ │ │ -000d46b0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui
│ │ │ -000d46c0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni
│ │ │ -000d46d0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000d46e0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -000d4710: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061 .[[pa
│ │ │ -000d4720: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20 ckages]].name =
│ │ │ -000d4730: 2273 7973 7465 6d64 2d6a 6f75 726e 616c "systemd-journal
│ │ │ -000d4740: 2d72 656d 6f74 6522 0a76 6572 7369 6f6e -remote".version
│ │ │ -000d4750: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f = "*".
│ │ │ -000d4760: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ -000d4810: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -000d4820: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -000d48a0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -000d48b0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -000d48c0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000d48d0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -000d48e0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -000d4900: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -000d4910: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000d4920: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -000d4950: 636f 6465 3e69 6e63 6c75 6465 2069 6e73 code>include ins
│ │ │ -000d4960: 7461 6c6c 5f73 7973 7465 6d64 2d6a 6f75 tall_systemd-jou
│ │ │ -000d4970: 726e 616c 2d72 656d 6f74 650a 0a63 6c61 rnal-remote..cla
│ │ │ -000d4980: 7373 2069 6e73 7461 6c6c 5f73 7973 7465 ss install_syste
│ │ │ -000d4990: 6d64 2d6a 6f75 726e 616c 2d72 656d 6f74 md-journal-remot
│ │ │ -000d49a0: 6520 7b0a 2020 7061 636b 6167 6520 7b20 e {. package {
│ │ │ -000d49b0: 2773 7973 7465 6d64 2d6a 6f75 726e 616c 'systemd-journal
│ │ │ -000d49c0: 2d72 656d 6f74 6527 3a0a 2020 2020 656e -remote':. en
│ │ │ -000d49d0: 7375 7265 203d 2667 743b 2027 696e 7374 sure => 'inst
│ │ │ -000d49e0: 616c 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f alled',. }.}.
│ │ │ -000d49f0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>Re
│ │ │ -000d4aa0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ -000d4ab0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ -000d4b40: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -000d4b50: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -000d4b60: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -000d4b70: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -000d4b80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -000d4bb0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -000d4bc0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ -000d4bd0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ -000d4bf0: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ -000d4c00: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ -000d4c10: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ -000d4c20: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ -000d4c30: 0a20 2074 6167 733a 0a20 202d 2065 6e61 . tags:. - ena
│ │ │ -000d4c40: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -000d4c50: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -000d4c60: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -000d4c70: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -000d4c80: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -000d4c90: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -000d4ca0: 7061 636b 6167 655f 7379 7374 656d 642d package_systemd-
│ │ │ -000d4cb0: 6a6f 7572 6e61 6c2d 7265 6d6f 7465 5f69 journal-remote_i
│ │ │ -000d4cc0: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65 nstalled..- name
│ │ │ -000d4cd0: 3a20 456e 7375 7265 2073 7973 7465 6d64 : Ensure systemd
│ │ │ -000d4ce0: 2d6a 6f75 726e 616c 2d72 656d 6f74 6520 -journal-remote
│ │ │ -000d4cf0: 6973 2069 6e73 7461 6c6c 6564 0a20 2061 is installed. a
│ │ │ -000d4d00: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -000d4d10: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ -000d4d20: 3a20 7379 7374 656d 642d 6a6f 7572 6e61 : systemd-journa
│ │ │ -000d4d30: 6c2d 7265 6d6f 7465 0a20 2020 2073 7461 l-remote. sta
│ │ │ -000d4d40: 7465 3a20 7072 6573 656e 740a 2020 7768 te: present. wh
│ │ │ -000d4d50: 656e 3a20 2722 6c69 6e75 782d 6261 7365 en: '"linux-base
│ │ │ -000d4d60: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ -000d4d70: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t
│ │ │ -000d4d80: 6167 733a 0a20 202d 2065 6e61 626c 655f ags:. - enable_
│ │ │ -000d4d90: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -000d4da0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -000d4db0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -000d4dc0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -000d4dd0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -000d4de0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -000d4df0: 6167 655f 7379 7374 656d 642d 6a6f 7572 age_systemd-jour
│ │ │ -000d4e00: 6e61 6c2d 7265 6d6f 7465 5f69 6e73 7461 nal-remote_insta
│ │ │ -000d4e10: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled.
│ │ │ +000d4750: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +000d4760: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +000d4780: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +000d4790: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +000d47d0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ +000d47e0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ +000d4800: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the
│ │ │ +000d4810: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts.
│ │ │ +000d4820: 2070 6163 6b61 6765 5f66 6163 7473 3a0a package_facts:.
│ │ │ +000d4830: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ +000d4840: 6f0a 2020 7461 6773 3a0a 2020 2d20 656e o. tags:. - en
│ │ │ +000d4850: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +000d4860: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +000d4870: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +000d4880: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +000d4890: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +000d48a0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +000d48b0: 2070 6163 6b61 6765 5f73 7973 7465 6d64 package_systemd
│ │ │ +000d48c0: 2d6a 6f75 726e 616c 2d72 656d 6f74 655f -journal-remote_
│ │ │ +000d48d0: 696e 7374 616c 6c65 640a 0a2d 206e 616d installed..- nam
│ │ │ +000d48e0: 653a 2045 6e73 7572 6520 7379 7374 656d e: Ensure system
│ │ │ +000d48f0: 642d 6a6f 7572 6e61 6c2d 7265 6d6f 7465 d-journal-remote
│ │ │ +000d4900: 2069 7320 696e 7374 616c 6c65 640a 2020 is installed.
│ │ │ +000d4910: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +000d4920: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +000d4930: 653a 2073 7973 7465 6d64 2d6a 6f75 726e e: systemd-journ
│ │ │ +000d4940: 616c 2d72 656d 6f74 650a 2020 2020 7374 al-remote. st
│ │ │ +000d4950: 6174 653a 2070 7265 7365 6e74 0a20 2077 ate: present. w
│ │ │ +000d4960: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas
│ │ │ +000d4970: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ +000d4980: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ +000d4990: 7461 6773 3a0a 2020 2d20 656e 6162 6c65 tags:. - enable
│ │ │ +000d49a0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +000d49b0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +000d49c0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +000d49d0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +000d49e0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +000d49f0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +000d4a00: 6b61 6765 5f73 7973 7465 6d64 2d6a 6f75 kage_systemd-jou
│ │ │ +000d4a10: 726e 616c 2d72 656d 6f74 655f 696e 7374 rnal-remote_inst
│ │ │ +000d4a20: 616c 6c65 640a 3c2f 636f 6465 3e3c 2f70 alled.Remediatio
│ │ │ +000d4ae0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +000d4af0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +000d4b80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +000d4ba0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +000d4bb0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +000d4bc0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +000d4bd0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +000d4bf0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include inst
│ │ │ +000d4c30: 616c 6c5f 7379 7374 656d 642d 6a6f 7572 all_systemd-jour
│ │ │ +000d4c40: 6e61 6c2d 7265 6d6f 7465 0a0a 636c 6173 nal-remote..clas
│ │ │ +000d4c50: 7320 696e 7374 616c 6c5f 7379 7374 656d s install_system
│ │ │ +000d4c60: 642d 6a6f 7572 6e61 6c2d 7265 6d6f 7465 d-journal-remote
│ │ │ +000d4c70: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ +000d4c80: 7379 7374 656d 642d 6a6f 7572 6e61 6c2d systemd-journal-
│ │ │ +000d4c90: 7265 6d6f 7465 273a 0a20 2020 2065 6e73 remote':. ens
│ │ │ +000d4ca0: 7572 6520 3d26 6774 3b20 2769 6e73 7461 ure => 'insta
│ │ │ +000d4cb0: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63 lled',. }.}.
│ │ │ +000d4cd0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +000d4d70: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ +000d4d80: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ +000d4d90: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[[pack
│ │ │ +000d4de0: 6167 6573 5d5d 0a6e 616d 6520 3d20 2273 ages]].name = "s
│ │ │ +000d4df0: 7973 7465 6d64 2d6a 6f75 726e 616c 2d72 ystemd-journal-r
│ │ │ +000d4e00: 656d 6f74 6522 0a76 6572 7369 6f6e 203d emote".version =
│ │ │ +000d4e10: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".Remediation
│ │ │ -000d5b60: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ -000d5b70: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ -000d5bc0: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73 .[customizations
│ │ │ -000d5bd0: 2e73 6572 7669 6365 735d 0a65 6e61 626c .services].enabl
│ │ │ -000d5be0: 6564 203d 205b 2273 7973 7465 6d64 2d6a ed = ["systemd-j
│ │ │ -000d5bf0: 6f75 726e 616c 6422 5d0a 3c2f 636f 6465 ournald"].
Remedi
│ │ │ -000d5cb0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -000d5cc0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000d5cd0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -000d5d00: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -000d5d50: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -000d5d60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -000d5d70: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -000d5d80: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -000d5d90: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -000d5da0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -000d5db0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -000d5dc0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -000d5de0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ -000d5e00: 656e 6162 6c65 5f73 7973 7465 6d64 2d6a enable_systemd-j
│ │ │ -000d5e10: 6f75 726e 616c 640a 0a63 6c61 7373 2065 ournald..class e
│ │ │ -000d5e20: 6e61 626c 655f 7379 7374 656d 642d 6a6f nable_systemd-jo
│ │ │ -000d5e30: 7572 6e61 6c64 207b 0a20 2073 6572 7669 urnald {. servi
│ │ │ -000d5e40: 6365 207b 2773 7973 7465 6d64 2d6a 6f75 ce {'systemd-jou
│ │ │ -000d5e50: 726e 616c 6427 3a0a 2020 2020 656e 6162 rnald':. enab
│ │ │ -000d5e60: 6c65 203d 2667 743b 2074 7275 652c 0a20 le => true,.
│ │ │ -000d5e70: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -000d5e80: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d 'running',. }.}
│ │ │ -000d5e90: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ -000d5ea0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Ans
│ │ │ -000d5f50: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ -000d5f60: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -000d6000: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -000d6010: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -000d6020: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -000d6030: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -000d6040: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -000d6050: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -000d6060: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ -000d6070: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -000d6090: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ -000d60a0: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ -000d60b0: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ -000d60c0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ -000d60d0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ -000d60e0: 4e49 5354 2d38 3030 2d35 332d 5343 2d32 NIST-800-53-SC-2
│ │ │ -000d60f0: 340a 2020 2d20 656e 6162 6c65 5f73 7472 4. - enable_str
│ │ │ -000d6100: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -000d6110: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -000d6120: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -000d6130: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -000d6140: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -000d6150: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ -000d6160: 5f73 7973 7465 6d64 2d6a 6f75 726e 616c _systemd-journal
│ │ │ -000d6170: 645f 656e 6162 6c65 640a 0a2d 206e 616d d_enabled..- nam
│ │ │ -000d6180: 653a 2045 6e61 626c 6520 7379 7374 656d e: Enable system
│ │ │ -000d6190: 642d 6a6f 7572 6e61 6c64 2053 6572 7669 d-journald Servi
│ │ │ -000d61a0: 6365 202d 2045 6e61 626c 6520 7365 7276 ce - Enable serv
│ │ │ -000d61b0: 6963 6520 7379 7374 656d 642d 6a6f 7572 ice systemd-jour
│ │ │ -000d61c0: 6e61 6c64 0a20 2062 6c6f 636b 3a0a 0a20 nald. block:..
│ │ │ -000d61d0: 202d 206e 616d 653a 2047 6174 6865 7220 - name: Gather
│ │ │ -000d61e0: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ -000d61f0: 730a 2020 2020 616e 7369 626c 652e 6275 s. ansible.bu
│ │ │ -000d6200: 696c 7469 6e2e 7061 636b 6167 655f 6661 iltin.package_fa
│ │ │ -000d6210: 6374 733a 0a20 2020 2020 206d 616e 6167 cts:. manag
│ │ │ -000d6220: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61 er: auto.. - na
│ │ │ -000d6230: 6d65 3a20 456e 6162 6c65 2073 7973 7465 me: Enable syste
│ │ │ -000d6240: 6d64 2d6a 6f75 726e 616c 6420 5365 7276 md-journald Serv
│ │ │ -000d6250: 6963 6520 2d20 456e 6162 6c65 2053 6572 ice - Enable Ser
│ │ │ -000d6260: 7669 6365 2073 7973 7465 6d64 2d6a 6f75 vice systemd-jou
│ │ │ -000d6270: 726e 616c 640a 2020 2020 616e 7369 626c rnald. ansibl
│ │ │ -000d6280: 652e 6275 696c 7469 6e2e 7379 7374 656d e.builtin.system
│ │ │ -000d6290: 643a 0a20 2020 2020 206e 616d 653a 2073 d:. name: s
│ │ │ -000d62a0: 7973 7465 6d64 2d6a 6f75 726e 616c 640a ystemd-journald.
│ │ │ -000d62b0: 2020 2020 2020 656e 6162 6c65 643a 2074 enabled: t
│ │ │ -000d62c0: 7275 650a 2020 2020 2020 7374 6174 653a rue. state:
│ │ │ -000d62d0: 2073 7461 7274 6564 0a20 2020 2020 206d started. m
│ │ │ -000d62e0: 6173 6b65 643a 2066 616c 7365 0a20 2020 asked: false.
│ │ │ -000d62f0: 2077 6865 6e3a 0a20 2020 202d 2027 2273 when:. - '"s
│ │ │ -000d6300: 7973 7465 6d64 2220 696e 2061 6e73 6962 ystemd" in ansib
│ │ │ -000d6310: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ -000d6320: 7327 0a20 2074 6167 733a 0a20 202d 204e s'. tags:. - N
│ │ │ -000d6330: 4953 542d 3830 302d 3533 2d53 432d 3234 IST-800-53-SC-24
│ │ │ -000d6340: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ -000d6350: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -000d6360: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -000d6370: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ -000d6380: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ -000d6390: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -000d63a0: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ -000d63b0: 7379 7374 656d 642d 6a6f 7572 6e61 6c64 systemd-journald
│ │ │ -000d63c0: 5f65 6e61 626c 6564 0a20 202d 2073 7065 _enabled. - spe
│ │ │ -000d63d0: 6369 616c 5f73 6572 7669 6365 5f62 6c6f cial_service_blo
│ │ │ -000d63e0: 636b 0a20 2077 6865 6e3a 2027 226c 696e ck. when: '"lin
│ │ │ -000d63f0: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ -000d6400: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -000d6410: 6573 270a 3c2f 636f 6465 3e3c 2f70 7265 es'.
Complexity:
│ │ │ +000d5c00: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +000d5c20: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +000d5c40: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +000d5c50: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +000d5c70: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +000d5c80: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +000d5c90: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +000d5cb0: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +000d5cc0: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ +000d5cd0: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ +000d5ce0: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ +000d5cf0: 202d 204e 4953 542d 3830 302d 3533 2d53 - NIST-800-53-S
│ │ │ +000d5d00: 432d 3234 0a20 202d 2065 6e61 626c 655f C-24. - enable_
│ │ │ +000d5d10: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +000d5d20: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +000d5d30: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +000d5d40: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +000d5d50: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +000d5d60: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv
│ │ │ +000d5d70: 6963 655f 7379 7374 656d 642d 6a6f 7572 ice_systemd-jour
│ │ │ +000d5d80: 6e61 6c64 5f65 6e61 626c 6564 0a0a 2d20 nald_enabled..-
│ │ │ +000d5d90: 6e61 6d65 3a20 456e 6162 6c65 2073 7973 name: Enable sys
│ │ │ +000d5da0: 7465 6d64 2d6a 6f75 726e 616c 6420 5365 temd-journald Se
│ │ │ +000d5db0: 7276 6963 6520 2d20 456e 6162 6c65 2073 rvice - Enable s
│ │ │ +000d5dc0: 6572 7669 6365 2073 7973 7465 6d64 2d6a ervice systemd-j
│ │ │ +000d5dd0: 6f75 726e 616c 640a 2020 626c 6f63 6b3a ournald. block:
│ │ │ +000d5de0: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468 .. - name: Gath
│ │ │ +000d5df0: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ +000d5e00: 6163 7473 0a20 2020 2061 6e73 6962 6c65 acts. ansible
│ │ │ +000d5e10: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +000d5e20: 5f66 6163 7473 3a0a 2020 2020 2020 6d61 _facts:. ma
│ │ │ +000d5e30: 6e61 6765 723a 2061 7574 6f0a 0a20 202d nager: auto.. -
│ │ │ +000d5e40: 206e 616d 653a 2045 6e61 626c 6520 7379 name: Enable sy
│ │ │ +000d5e50: 7374 656d 642d 6a6f 7572 6e61 6c64 2053 stemd-journald S
│ │ │ +000d5e60: 6572 7669 6365 202d 2045 6e61 626c 6520 ervice - Enable
│ │ │ +000d5e70: 5365 7276 6963 6520 7379 7374 656d 642d Service systemd-
│ │ │ +000d5e80: 6a6f 7572 6e61 6c64 0a20 2020 2061 6e73 journald. ans
│ │ │ +000d5e90: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys
│ │ │ +000d5ea0: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65 temd:. name
│ │ │ +000d5eb0: 3a20 7379 7374 656d 642d 6a6f 7572 6e61 : systemd-journa
│ │ │ +000d5ec0: 6c64 0a20 2020 2020 2065 6e61 626c 6564 ld. enabled
│ │ │ +000d5ed0: 3a20 7472 7565 0a20 2020 2020 2073 7461 : true. sta
│ │ │ +000d5ee0: 7465 3a20 7374 6172 7465 640a 2020 2020 te: started.
│ │ │ +000d5ef0: 2020 6d61 736b 6564 3a20 6661 6c73 650a masked: false.
│ │ │ +000d5f00: 2020 2020 7768 656e 3a0a 2020 2020 2d20 when:. -
│ │ │ +000d5f10: 2722 7379 7374 656d 6422 2069 6e20 616e '"systemd" in an
│ │ │ +000d5f20: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +000d5f30: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ +000d5f40: 2d20 4e49 5354 2d38 3030 2d35 332d 5343 - NIST-800-53-SC
│ │ │ +000d5f50: 2d32 340a 2020 2d20 656e 6162 6c65 5f73 -24. - enable_s
│ │ │ +000d5f60: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +000d5f70: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +000d5f80: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +000d5f90: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +000d5fa0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +000d5fb0: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi
│ │ │ +000d5fc0: 6365 5f73 7973 7465 6d64 2d6a 6f75 726e ce_systemd-journ
│ │ │ +000d5fd0: 616c 645f 656e 6162 6c65 640a 2020 2d20 ald_enabled. -
│ │ │ +000d5fe0: 7370 6563 6961 6c5f 7365 7276 6963 655f special_service_
│ │ │ +000d5ff0: 626c 6f63 6b0a 2020 7768 656e 3a20 2722 block. when: '"
│ │ │ +000d6000: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ +000d6010: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +000d6020: 6b61 6765 7327 0a3c 2f63 6f64 653e 3c2f kages'.
│ │ │ +000d6030: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ +000d60e0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +000d60f0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +000d6170: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +000d6180: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +000d6190: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000d61a0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +000d61b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +000d61d0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +000d61e0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000d61f0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +000d6220: 636f 6465 3e69 6e63 6c75 6465 2065 6e61 code>include ena
│ │ │ +000d6230: 626c 655f 7379 7374 656d 642d 6a6f 7572 ble_systemd-jour
│ │ │ +000d6240: 6e61 6c64 0a0a 636c 6173 7320 656e 6162 nald..class enab
│ │ │ +000d6250: 6c65 5f73 7973 7465 6d64 2d6a 6f75 726e le_systemd-journ
│ │ │ +000d6260: 616c 6420 7b0a 2020 7365 7276 6963 6520 ald {. service
│ │ │ +000d6270: 7b27 7379 7374 656d 642d 6a6f 7572 6e61 {'systemd-journa
│ │ │ +000d6280: 6c64 273a 0a20 2020 2065 6e61 626c 6520 ld':. enable
│ │ │ +000d6290: 3d26 6774 3b20 7472 7565 2c0a 2020 2020 => true,.
│ │ │ +000d62a0: 656e 7375 7265 203d 2667 743b 2027 7275 ensure => 'ru
│ │ │ +000d62b0: 6e6e 696e 6727 2c0a 2020 7d0a 7d0a 3c2f nning',. }.}.
│ │ │ +000d62c0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>Re
│ │ │ +000d6370: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ +000d6380: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ +000d6390: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +000d63a0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +000d63b0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +000d63c0: 7365 2220 6964 3d22 6964 3235 3022 3e3c se" id="id250"><
│ │ │ +000d63d0: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust
│ │ │ +000d63e0: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi
│ │ │ +000d63f0: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [
│ │ │ +000d6400: 2273 7973 7465 6d64 2d6a 6f75 726e 616c "systemd-journal
│ │ │ +000d6410: 6422 5d0a 3c2f 636f 6465 3e3c 2f70 7265 d"].Remediation OSB
│ │ │ -000e1760: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ -000e1770: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ....[[
│ │ │ -000e17c0: 7061 636b 6167 6573 5d5d 0a6e 616d 6520 packages]].name
│ │ │ -000e17d0: 3d20 2272 7379 736c 6f67 220a 7665 7273 = "rsyslog".vers
│ │ │ -000e17e0: 696f 6e20 3d20 222a 220a 3c2f 636f 6465 ion = "*".
Remedi
│ │ │ -000e18a0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -000e18b0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -000e18c0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -000e18f0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -000e1940: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -000e1950: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -000e1960: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -000e1970: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -000e1980: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -000e1990: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -000e19a0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -000e19b0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -000e19d0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ -000e19f0: 696e 7374 616c 6c5f 7273 7973 6c6f 670a install_rsyslog.
│ │ │ -000e1a00: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f72 .class install_r
│ │ │ -000e1a10: 7379 736c 6f67 207b 0a20 2070 6163 6b61 syslog {. packa
│ │ │ -000e1a20: 6765 207b 2027 7273 7973 6c6f 6727 3a0a ge { 'rsyslog':.
│ │ │ -000e1a30: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ -000e1a40: 2027 696e 7374 616c 6c65 6427 2c0a 2020 'installed',.
│ │ │ -000e1a50: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}. Remediation
│ │ │ -000e1b10: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -000e1b20: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -000e1bb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -000e1bd0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -000e1bf0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -000e1c00: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -000e1c20: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -000e1c30: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -000e1c40: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -000e1c60: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ -000e1c70: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ -000e1c80: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ -000e1c90: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ -000e1ca0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -000e1cb0: 4d2d 3628 6129 0a20 202d 2065 6e61 626c M-6(a). - enabl
│ │ │ -000e1cc0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -000e1cd0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -000e1ce0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -000e1cf0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -000e1d00: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -000e1d10: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ -000e1d20: 636b 6167 655f 7273 7973 6c6f 675f 696e ckage_rsyslog_in
│ │ │ -000e1d30: 7374 616c 6c65 640a 0a2d 206e 616d 653a stalled..- name:
│ │ │ -000e1d40: 2045 6e73 7572 6520 7273 7973 6c6f 6720 Ensure rsyslog
│ │ │ -000e1d50: 6973 2069 6e73 7461 6c6c 6564 0a20 2061 is installed. a
│ │ │ -000e1d60: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -000e1d70: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ -000e1d80: 3a20 7273 7973 6c6f 670a 2020 2020 7374 : rsyslog. st
│ │ │ -000e1d90: 6174 653a 2070 7265 7365 6e74 0a20 2077 ate: present. w
│ │ │ -000e1da0: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas
│ │ │ -000e1db0: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ -000e1dc0: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ -000e1dd0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ -000e1de0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ -000e1df0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ -000e1e00: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -000e1e10: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -000e1e20: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ -000e1e30: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ -000e1e40: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -000e1e50: 0a20 202d 2070 6163 6b61 6765 5f72 7379 . - package_rsy
│ │ │ -000e1e60: 736c 6f67 5f69 6e73 7461 6c6c 6564 0a3c slog_installed.<
│ │ │ +000e1750: 3e52 656d 6564 6961 7469 6f6e 2041 6e73 >Remediation Ans
│ │ │ +000e1760: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ +000e1770: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +000e1810: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +000e1820: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +000e1830: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +000e1840: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +000e1850: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +000e1860: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +000e1870: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ +000e1880: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +000e18a0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ +000e18b0: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ +000e18c0: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ +000e18d0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ +000e18e0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ +000e18f0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ +000e1900: 2861 290a 2020 2d20 656e 6162 6c65 5f73 (a). - enable_s
│ │ │ +000e1910: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +000e1920: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +000e1930: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +000e1940: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +000e1950: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +000e1960: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +000e1970: 6765 5f72 7379 736c 6f67 5f69 6e73 7461 ge_rsyslog_insta
│ │ │ +000e1980: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e lled..- name: En
│ │ │ +000e1990: 7375 7265 2072 7379 736c 6f67 2069 7320 sure rsyslog is
│ │ │ +000e19a0: 696e 7374 616c 6c65 640a 2020 616e 7369 installed. ansi
│ │ │ +000e19b0: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ +000e19c0: 6167 653a 0a20 2020 206e 616d 653a 2072 age:. name: r
│ │ │ +000e19d0: 7379 736c 6f67 0a20 2020 2073 7461 7465 syslog. state
│ │ │ +000e19e0: 3a20 7072 6573 656e 740a 2020 7768 656e : present. when
│ │ │ +000e19f0: 3a20 2722 6c69 6e75 782d 6261 7365 2220 : '"linux-base"
│ │ │ +000e1a00: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ +000e1a10: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag
│ │ │ +000e1a20: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ +000e1a30: 3533 2d43 4d2d 3628 6129 0a20 202d 2065 53-CM-6(a). - e
│ │ │ +000e1a40: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ +000e1a50: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +000e1a60: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +000e1a70: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ +000e1a80: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +000e1a90: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +000e1aa0: 2d20 7061 636b 6167 655f 7273 7973 6c6f - package_rsyslo
│ │ │ +000e1ab0: 675f 696e 7374 616c 6c65 640a 3c2f 636f g_installed.
<
│ │ │ +000e1ad0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +000e1ae0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +000e1af0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +000e1b00: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +000e1b10: 6432 3638 2220 7461 6269 6e64 6578 3d22 d268" tabindex="
│ │ │ +000e1b20: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ +000e1b30: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ +000e1b40: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ +000e1b50: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ +000e1b60: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ +000e1b70: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ +000e1b80: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +000e1c10: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +000e1c20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +000e1c40: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +000e1c60: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +000e1c70: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +000e1c90: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ +000e1cb0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ
│ │ │ +000e1cc0: 6520 696e 7374 616c 6c5f 7273 7973 6c6f e install_rsyslo
│ │ │ +000e1cd0: 670a 0a63 6c61 7373 2069 6e73 7461 6c6c g..class install
│ │ │ +000e1ce0: 5f72 7379 736c 6f67 207b 0a20 2070 6163 _rsyslog {. pac
│ │ │ +000e1cf0: 6b61 6765 207b 2027 7273 7973 6c6f 6727 kage { 'rsyslog'
│ │ │ +000e1d00: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ +000e1d10: 743b 2027 696e 7374 616c 6c65 6427 2c0a t; 'installed',.
│ │ │ +000e1d20: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Remediatio
│ │ │ +000e1de0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr
│ │ │ +000e1df0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...<
│ │ │ +000e1e00: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[[packages]].
│ │ │ +000e1e50: 6e61 6d65 203d 2022 7273 7973 6c6f 6722 name = "rsyslog"
│ │ │ +000e1e60: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c .version = "*".<
│ │ │ 000e1e70: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remed
│ │ │ -000e3170: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ -000e3180: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ -000e3190: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[customi
│ │ │ -000e31e0: 7a61 7469 6f6e 732e 7365 7276 6963 6573 zations.services
│ │ │ -000e31f0: 5d0a 656e 6162 6c65 6420 3d20 5b22 7273 ].enabled = ["rs
│ │ │ -000e3200: 7973 6c6f 6722 5d0a 3c2f 636f 6465 3e3c yslog"].<
│ │ │ -000e3210: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ -000e32c0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -000e32d0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -000e3350: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -000e3360: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -000e3370: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -000e33b0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -000e33c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -000e33e0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -000e33f0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -000e3400: 3c63 6f64 653e 696e 636c 7564 6520 656e include en
│ │ │ -000e3410: 6162 6c65 5f72 7379 736c 6f67 0a0a 636c able_rsyslog..cl
│ │ │ -000e3420: 6173 7320 656e 6162 6c65 5f72 7379 736c ass enable_rsysl
│ │ │ -000e3430: 6f67 207b 0a20 2073 6572 7669 6365 207b og {. service {
│ │ │ -000e3440: 2772 7379 736c 6f67 273a 0a20 2020 2065 'rsyslog':. e
│ │ │ -000e3450: 6e61 626c 6520 3d26 6774 3b20 7472 7565 nable => true
│ │ │ -000e3460: 2c0a 2020 2020 656e 7375 7265 203d 2667 ,. ensure =&g
│ │ │ -000e3470: 743b 2027 7275 6e6e 696e 6727 2c0a 2020 t; 'running',.
│ │ │ -000e3480: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediation
│ │ │ -000e3540: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -000e3550: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -000e35e0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -000e3600: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -000e3620: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -000e3630: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -000e3650: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -000e3660: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -000e3670: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -000e3690: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ -000e36a0: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ -000e36b0: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ -000e36c0: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ -000e36d0: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT
│ │ │ -000e36e0: 552d 3232 2d36 3532 3031 300a 2020 2d20 U-22-652010. -
│ │ │ -000e36f0: 4e49 5354 2d38 3030 2d35 332d 4155 2d34 NIST-800-53-AU-4
│ │ │ -000e3700: 2831 290a 2020 2d20 4e49 5354 2d38 3030 (1). - NIST-800
│ │ │ -000e3710: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -000e3720: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -000e3730: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -000e3740: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -000e3750: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -000e3760: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -000e3770: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -000e3780: 202d 2073 6572 7669 6365 5f72 7379 736c - service_rsysl
│ │ │ -000e3790: 6f67 5f65 6e61 626c 6564 0a0a 2d20 6e61 og_enabled..- na
│ │ │ -000e37a0: 6d65 3a20 456e 6162 6c65 2072 7379 736c me: Enable rsysl
│ │ │ -000e37b0: 6f67 2053 6572 7669 6365 202d 2045 6e61 og Service - Ena
│ │ │ -000e37c0: 626c 6520 7365 7276 6963 6520 7273 7973 ble service rsys
│ │ │ -000e37d0: 6c6f 670a 2020 626c 6f63 6b3a 0a0a 2020 log. block:..
│ │ │ -000e37e0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ -000e37f0: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ -000e3800: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -000e3810: 6c74 696e 2e70 6163 6b61 6765 5f66 6163 ltin.package_fac
│ │ │ -000e3820: 7473 3a0a 2020 2020 2020 6d61 6e61 6765 ts:. manage
│ │ │ -000e3830: 723a 2061 7574 6f0a 0a20 202d 206e 616d r: auto.. - nam
│ │ │ -000e3840: 653a 2045 6e61 626c 6520 7273 7973 6c6f e: Enable rsyslo
│ │ │ -000e3850: 6720 5365 7276 6963 6520 2d20 456e 6162 g Service - Enab
│ │ │ -000e3860: 6c65 2053 6572 7669 6365 2072 7379 736c le Service rsysl
│ │ │ -000e3870: 6f67 0a20 2020 2061 6e73 6962 6c65 2e62 og. ansible.b
│ │ │ -000e3880: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a uiltin.systemd:.
│ │ │ -000e3890: 2020 2020 2020 6e61 6d65 3a20 7273 7973 name: rsys
│ │ │ -000e38a0: 6c6f 670a 2020 2020 2020 656e 6162 6c65 log. enable
│ │ │ -000e38b0: 643a 2074 7275 650a 2020 2020 2020 7374 d: true. st
│ │ │ -000e38c0: 6174 653a 2073 7461 7274 6564 0a20 2020 ate: started.
│ │ │ -000e38d0: 2020 206d 6173 6b65 643a 2066 616c 7365 masked: false
│ │ │ -000e38e0: 0a20 2020 2077 6865 6e3a 0a20 2020 202d . when:. -
│ │ │ -000e38f0: 2027 2272 7379 736c 6f67 2220 696e 2061 '"rsyslog" in a
│ │ │ -000e3900: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -000e3910: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ -000e3920: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT
│ │ │ -000e3930: 552d 3232 2d36 3532 3031 300a 2020 2d20 U-22-652010. -
│ │ │ -000e3940: 4e49 5354 2d38 3030 2d35 332d 4155 2d34 NIST-800-53-AU-4
│ │ │ -000e3950: 2831 290a 2020 2d20 4e49 5354 2d38 3030 (1). - NIST-800
│ │ │ -000e3960: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -000e3970: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -000e3980: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -000e3990: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -000e39a0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -000e39b0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -000e39c0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -000e39d0: 202d 2073 6572 7669 6365 5f72 7379 736c - service_rsysl
│ │ │ -000e39e0: 6f67 5f65 6e61 626c 6564 0a20 202d 2073 og_enabled. - s
│ │ │ -000e39f0: 7065 6369 616c 5f73 6572 7669 6365 5f62 pecial_service_b
│ │ │ -000e3a00: 6c6f 636b 0a20 2077 6865 6e3a 2027 226c lock. when: '"l
│ │ │ -000e3a10: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ -000e3a20: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ -000e3a30: 6167 6573 270a 3c2f 636f 6465 3e3c 2f70 ages'.Comp
│ │ │ +000e3210: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +000e3220: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +000e3240: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +000e3260: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +000e3270: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +000e3290: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ +000e32b0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ +000e32c0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ +000e32d0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ +000e32e0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ +000e32f0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ +000e3300: 7461 6773 3a0a 2020 2d20 4449 5341 2d53 tags:. - DISA-S
│ │ │ +000e3310: 5449 472d 5542 5455 2d32 322d 3635 3230 TIG-UBTU-22-6520
│ │ │ +000e3320: 3130 0a20 202d 204e 4953 542d 3830 302d 10. - NIST-800-
│ │ │ +000e3330: 3533 2d41 552d 3428 3129 0a20 202d 204e 53-AU-4(1). - N
│ │ │ +000e3340: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +000e3350: 6129 0a20 202d 2065 6e61 626c 655f 7374 a). - enable_st
│ │ │ +000e3360: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +000e3370: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +000e3380: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +000e3390: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +000e33a0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +000e33b0: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic
│ │ │ +000e33c0: 655f 7273 7973 6c6f 675f 656e 6162 6c65 e_rsyslog_enable
│ │ │ +000e33d0: 640a 0a2d 206e 616d 653a 2045 6e61 626c d..- name: Enabl
│ │ │ +000e33e0: 6520 7273 7973 6c6f 6720 5365 7276 6963 e rsyslog Servic
│ │ │ +000e33f0: 6520 2d20 456e 6162 6c65 2073 6572 7669 e - Enable servi
│ │ │ +000e3400: 6365 2072 7379 736c 6f67 0a20 2062 6c6f ce rsyslog. blo
│ │ │ +000e3410: 636b 3a0a 0a20 202d 206e 616d 653a 2047 ck:.. - name: G
│ │ │ +000e3420: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ +000e3430: 6520 6661 6374 730a 2020 2020 616e 7369 e facts. ansi
│ │ │ +000e3440: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ +000e3450: 6167 655f 6661 6374 733a 0a20 2020 2020 age_facts:.
│ │ │ +000e3460: 206d 616e 6167 6572 3a20 6175 746f 0a0a manager: auto..
│ │ │ +000e3470: 2020 2d20 6e61 6d65 3a20 456e 6162 6c65 - name: Enable
│ │ │ +000e3480: 2072 7379 736c 6f67 2053 6572 7669 6365 rsyslog Service
│ │ │ +000e3490: 202d 2045 6e61 626c 6520 5365 7276 6963 - Enable Servic
│ │ │ +000e34a0: 6520 7273 7973 6c6f 670a 2020 2020 616e e rsyslog. an
│ │ │ +000e34b0: 7369 626c 652e 6275 696c 7469 6e2e 7379 sible.builtin.sy
│ │ │ +000e34c0: 7374 656d 643a 0a20 2020 2020 206e 616d stemd:. nam
│ │ │ +000e34d0: 653a 2072 7379 736c 6f67 0a20 2020 2020 e: rsyslog.
│ │ │ +000e34e0: 2065 6e61 626c 6564 3a20 7472 7565 0a20 enabled: true.
│ │ │ +000e34f0: 2020 2020 2073 7461 7465 3a20 7374 6172 state: star
│ │ │ +000e3500: 7465 640a 2020 2020 2020 6d61 736b 6564 ted. masked
│ │ │ +000e3510: 3a20 6661 6c73 650a 2020 2020 7768 656e : false. when
│ │ │ +000e3520: 3a0a 2020 2020 2d20 2722 7273 7973 6c6f :. - '"rsyslo
│ │ │ +000e3530: 6722 2069 6e20 616e 7369 626c 655f 6661 g" in ansible_fa
│ │ │ +000e3540: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ +000e3550: 7461 6773 3a0a 2020 2d20 4449 5341 2d53 tags:. - DISA-S
│ │ │ +000e3560: 5449 472d 5542 5455 2d32 322d 3635 3230 TIG-UBTU-22-6520
│ │ │ +000e3570: 3130 0a20 202d 204e 4953 542d 3830 302d 10. - NIST-800-
│ │ │ +000e3580: 3533 2d41 552d 3428 3129 0a20 202d 204e 53-AU-4(1). - N
│ │ │ +000e3590: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +000e35a0: 6129 0a20 202d 2065 6e61 626c 655f 7374 a). - enable_st
│ │ │ +000e35b0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +000e35c0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +000e35d0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +000e35e0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +000e35f0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +000e3600: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic
│ │ │ +000e3610: 655f 7273 7973 6c6f 675f 656e 6162 6c65 e_rsyslog_enable
│ │ │ +000e3620: 640a 2020 2d20 7370 6563 6961 6c5f 7365 d. - special_se
│ │ │ +000e3630: 7276 6963 655f 626c 6f63 6b0a 2020 7768 rvice_block. wh
│ │ │ +000e3640: 656e 3a20 2722 6c69 6e75 782d 6261 7365 en: '"linux-base
│ │ │ +000e3650: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +000e3660: 7473 2e70 6163 6b61 6765 7327 0a3c 2f63 ts.packages'.
│ │ │ +000e3680: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +000e3720: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +000e3730: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +000e3740: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +000e37c0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +000e37f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +000e3810: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +000e3820: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +000e3840: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ +000e3850: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +000e3860: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ +000e3870: 6465 2065 6e61 626c 655f 7273 7973 6c6f de enable_rsyslo
│ │ │ +000e3880: 670a 0a63 6c61 7373 2065 6e61 626c 655f g..class enable_
│ │ │ +000e3890: 7273 7973 6c6f 6720 7b0a 2020 7365 7276 rsyslog {. serv
│ │ │ +000e38a0: 6963 6520 7b27 7273 7973 6c6f 6727 3a0a ice {'rsyslog':.
│ │ │ +000e38b0: 2020 2020 656e 6162 6c65 203d 2667 743b enable =>
│ │ │ +000e38c0: 2074 7275 652c 0a20 2020 2065 6e73 7572 true,. ensur
│ │ │ +000e38d0: 6520 3d26 6774 3b20 2772 756e 6e69 6e67 e => 'running
│ │ │ +000e38e0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ +000e38f0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +000e39a0: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu
│ │ │ +000e39b0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet .
│ │ │ +000e39c0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
<
│ │ │ +000e3a00: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61 code>.[customiza
│ │ │ +000e3a10: 7469 6f6e 732e 7365 7276 6963 6573 5d0a tions.services].
│ │ │ +000e3a20: 656e 6162 6c65 6420 3d20 5b22 7273 7973 enabled = ["rsys
│ │ │ +000e3a30: 6c6f 6722 5d0a 3c2f 636f 6465 3e3c 2f70 log"].
Rem
│ │ │ -000ede30: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ -000ede40: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ -000ede50: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[[pack
│ │ │ -000edea0: 6167 6573 5d5d 0a6e 616d 6520 3d20 2269 ages]].name = "i
│ │ │ -000edeb0: 7074 6162 6c65 7322 0a76 6572 7369 6f6e ptables".version
│ │ │ -000edec0: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f = "*".
│ │ │ -000eded0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ -000edf80: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -000edf90: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -000ee010: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -000ee020: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -000ee030: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000ee040: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -000ee050: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -000ee070: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -000ee080: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000ee090: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -000ee0c0: 636f 6465 3e69 6e63 6c75 6465 2069 6e73 code>include ins
│ │ │ -000ee0d0: 7461 6c6c 5f69 7074 6162 6c65 730a 0a63 tall_iptables..c
│ │ │ -000ee0e0: 6c61 7373 2069 6e73 7461 6c6c 5f69 7074 lass install_ipt
│ │ │ -000ee0f0: 6162 6c65 7320 7b0a 2020 7061 636b 6167 ables {. packag
│ │ │ -000ee100: 6520 7b20 2769 7074 6162 6c65 7327 3a0a e { 'iptables':.
│ │ │ -000ee110: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ -000ee120: 2027 696e 7374 616c 6c65 6427 2c0a 2020 'installed',.
│ │ │ -000ee130: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.Remediation
│ │ │ -000ee1f0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -000ee200: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -000ee290: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -000ee2b0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -000ee2d0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -000ee2e0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -000ee300: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -000ee310: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -000ee320: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -000ee340: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ -000ee350: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ -000ee360: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ -000ee370: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ -000ee380: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -000ee390: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ -000ee3a0: 5353 2d52 6571 2d31 2e34 2e31 0a20 202d SS-Req-1.4.1. -
│ │ │ -000ee3b0: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -000ee3c0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -000ee3d0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -000ee3e0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -000ee3f0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -000ee400: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -000ee410: 2020 2d20 7061 636b 6167 655f 6970 7461 - package_ipta
│ │ │ -000ee420: 626c 6573 5f69 6e73 7461 6c6c 6564 0a0a bles_installed..
│ │ │ -000ee430: 2d20 6e61 6d65 3a20 456e 7375 7265 2069 - name: Ensure i
│ │ │ -000ee440: 7074 6162 6c65 7320 6973 2069 6e73 7461 ptables is insta
│ │ │ -000ee450: 6c6c 6564 0a20 2061 6e73 6962 6c65 2e62 lled. ansible.b
│ │ │ -000ee460: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ -000ee470: 2020 2020 6e61 6d65 3a20 6970 7461 626c name: iptabl
│ │ │ -000ee480: 6573 0a20 2020 2073 7461 7465 3a20 7072 es. state: pr
│ │ │ -000ee490: 6573 656e 740a 2020 7768 656e 3a20 2820 esent. when: (
│ │ │ -000ee4a0: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ -000ee4b0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -000ee4c0: 636b 6167 6573 2029 0a20 2074 6167 733a ckages ). tags:
│ │ │ -000ee4d0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -000ee4e0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349 -CM-6(a). - PCI
│ │ │ -000ee4f0: 2d44 5353 2d52 6571 2d31 2e34 2e31 0a20 -DSS-Req-1.4.1.
│ │ │ -000ee500: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ -000ee510: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ -000ee520: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -000ee530: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ -000ee540: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ -000ee550: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -000ee560: 640a 2020 2d20 7061 636b 6167 655f 6970 d. - package_ip
│ │ │ -000ee570: 7461 626c 6573 5f69 6e73 7461 6c6c 6564 tables_installed
│ │ │ +000ede30: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ +000ede40: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +000ede50: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +000eded0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +000edef0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +000edf00: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +000edf10: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000edf20: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +000edf30: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +000edf40: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +000edf50: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +000edf60: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +000edf80: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +000edf90: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ +000edfa0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ +000edfb0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +000edfc0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ +000edfd0: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ +000edfe0: 2020 2d20 5043 492d 4453 532d 5265 712d - PCI-DSS-Req-
│ │ │ +000edff0: 312e 342e 310a 2020 2d20 656e 6162 6c65 1.4.1. - enable
│ │ │ +000ee000: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +000ee010: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +000ee020: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +000ee030: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +000ee040: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +000ee050: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +000ee060: 6b61 6765 5f69 7074 6162 6c65 735f 696e kage_iptables_in
│ │ │ +000ee070: 7374 616c 6c65 640a 0a2d 206e 616d 653a stalled..- name:
│ │ │ +000ee080: 2045 6e73 7572 6520 6970 7461 626c 6573 Ensure iptables
│ │ │ +000ee090: 2069 7320 696e 7374 616c 6c65 640a 2020 is installed.
│ │ │ +000ee0a0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +000ee0b0: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +000ee0c0: 653a 2069 7074 6162 6c65 730a 2020 2020 e: iptables.
│ │ │ +000ee0d0: 7374 6174 653a 2070 7265 7365 6e74 0a20 state: present.
│ │ │ +000ee0e0: 2077 6865 6e3a 2028 2022 6c69 6e75 782d when: ( "linux-
│ │ │ +000ee0f0: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ +000ee100: 5f66 6163 7473 2e70 6163 6b61 6765 7320 _facts.packages
│ │ │ +000ee110: 290a 2020 7461 6773 3a0a 2020 2d20 4e49 ). tags:. - NI
│ │ │ +000ee120: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ +000ee130: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ +000ee140: 712d 312e 342e 310a 2020 2d20 656e 6162 q-1.4.1. - enab
│ │ │ +000ee150: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +000ee160: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +000ee170: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +000ee180: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ +000ee190: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ +000ee1a0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +000ee1b0: 6163 6b61 6765 5f69 7074 6162 6c65 735f ackage_iptables_
│ │ │ +000ee1c0: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.
Remedi
│ │ │ +000ee280: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +000ee290: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +000ee2a0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +000ee2d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +000ee320: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +000ee330: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +000ee340: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +000ee350: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +000ee360: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +000ee370: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +000ee380: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +000ee390: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ +000ee3b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ +000ee3d0: 696e 7374 616c 6c5f 6970 7461 626c 6573 install_iptables
│ │ │ +000ee3e0: 0a0a 636c 6173 7320 696e 7374 616c 6c5f ..class install_
│ │ │ +000ee3f0: 6970 7461 626c 6573 207b 0a20 2070 6163 iptables {. pac
│ │ │ +000ee400: 6b61 6765 207b 2027 6970 7461 626c 6573 kage { 'iptables
│ │ │ +000ee410: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ +000ee420: 6774 3b20 2769 6e73 7461 6c6c 6564 272c gt; 'installed',
│ │ │ +000ee430: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ +000ee440: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre> Remediati
│ │ │ +000ee4f0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ +000ee500: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ +000ee510: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[[packages]]
│ │ │ +000ee560: 0a6e 616d 6520 3d20 2269 7074 6162 6c65 .name = "iptable
│ │ │ +000ee570: 7322 0a76 6572 7369 6f6e 203d 2022 2a22 s".version = "*"
│ │ │ 000ee580: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 000ee590: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediati
│ │ │ -000ef180: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -000ef190: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -000ef210: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -000ef220: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -000ef230: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000ef240: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -000ef250: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -000ef270: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -000ef280: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000ef290: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -000ef2b0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -000ef2c0: 3c63 6f64 653e 0a69 6e63 6c75 6465 2072 .include r
│ │ │ -000ef2d0: 656d 6f76 655f 6970 7461 626c 6573 2d70 emove_iptables-p
│ │ │ -000ef2e0: 6572 7369 7374 656e 740a 0a63 6c61 7373 ersistent..class
│ │ │ -000ef2f0: 2072 656d 6f76 655f 6970 7461 626c 6573 remove_iptables
│ │ │ -000ef300: 2d70 6572 7369 7374 656e 7420 7b0a 2020 -persistent {.
│ │ │ -000ef310: 7061 636b 6167 6520 7b20 2769 7074 6162 package { 'iptab
│ │ │ -000ef320: 6c65 732d 7065 7273 6973 7465 6e74 273a les-persistent':
│ │ │ -000ef330: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -000ef340: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ -000ef350: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -000ef360: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -000ef410: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -000ef420: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -000ef4a0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -000ef4b0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -000ef4c0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -000ef4d0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -000ef4e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -000ef510: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -000ef520: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -000ef530: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -000ef540: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ -000ef560: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ -000ef570: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ -000ef580: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ -000ef590: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ -000ef5a0: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ -000ef5b0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ -000ef5c0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -000ef5d0: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ -000ef5e0: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ -000ef5f0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -000ef600: 640a 2020 2d20 7061 636b 6167 655f 6970 d. - package_ip
│ │ │ -000ef610: 7461 626c 6573 2d70 6572 7369 7374 656e tables-persisten
│ │ │ -000ef620: 745f 7265 6d6f 7665 640a 0a2d 206e 616d t_removed..- nam
│ │ │ -000ef630: 653a 2027 5265 6d6f 7665 2069 7074 6162 e: 'Remove iptab
│ │ │ -000ef640: 6c65 732d 7065 7273 6973 7465 6e74 2050 les-persistent P
│ │ │ -000ef650: 6163 6b61 6765 3a20 456e 7375 7265 2069 ackage: Ensure i
│ │ │ -000ef660: 7074 6162 6c65 732d 7065 7273 6973 7465 ptables-persiste
│ │ │ -000ef670: 6e74 2069 7320 7265 6d6f 7665 6427 0a20 nt is removed'.
│ │ │ -000ef680: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -000ef690: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -000ef6a0: 6d65 3a20 6970 7461 626c 6573 2d70 6572 me: iptables-per
│ │ │ -000ef6b0: 7369 7374 656e 740a 2020 2020 7374 6174 sistent. stat
│ │ │ -000ef6c0: 653a 2061 6273 656e 740a 2020 7768 656e e: absent. when
│ │ │ -000ef6d0: 3a20 2722 7566 7722 2069 6e20 616e 7369 : '"ufw" in ansi
│ │ │ -000ef6e0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -000ef6f0: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. -
│ │ │ -000ef700: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ -000ef710: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -000ef720: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -000ef730: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -000ef740: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -000ef750: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -000ef760: 2020 2d20 7061 636b 6167 655f 6970 7461 - package_ipta
│ │ │ -000ef770: 626c 6573 2d70 6572 7369 7374 656e 745f bles-persistent_
│ │ │ -000ef780: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c removed.<
│ │ │ +000ef180: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ +000ef190: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +000ef210: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +000ef220: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +000ef230: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +000ef270: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +000ef280: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +000ef2a0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ +000ef2b0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +000ef2d0: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ +000ef2e0: 6520 6661 6374 730a 2020 7061 636b 6167 e facts. packag
│ │ │ +000ef2f0: 655f 6661 6374 733a 0a20 2020 206d 616e e_facts:. man
│ │ │ +000ef300: 6167 6572 3a20 6175 746f 0a20 2074 6167 ager: auto. tag
│ │ │ +000ef310: 733a 0a20 202d 2064 6973 6162 6c65 5f73 s:. - disable_s
│ │ │ +000ef320: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +000ef330: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +000ef340: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +000ef350: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +000ef360: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +000ef370: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +000ef380: 6765 5f69 7074 6162 6c65 732d 7065 7273 ge_iptables-pers
│ │ │ +000ef390: 6973 7465 6e74 5f72 656d 6f76 6564 0a0a istent_removed..
│ │ │ +000ef3a0: 2d20 6e61 6d65 3a20 2752 656d 6f76 6520 - name: 'Remove
│ │ │ +000ef3b0: 6970 7461 626c 6573 2d70 6572 7369 7374 iptables-persist
│ │ │ +000ef3c0: 656e 7420 5061 636b 6167 653a 2045 6e73 ent Package: Ens
│ │ │ +000ef3d0: 7572 6520 6970 7461 626c 6573 2d70 6572 ure iptables-per
│ │ │ +000ef3e0: 7369 7374 656e 7420 6973 2072 656d 6f76 sistent is remov
│ │ │ +000ef3f0: 6564 270a 2020 616e 7369 626c 652e 6275 ed'. ansible.bu
│ │ │ +000ef400: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ +000ef410: 2020 206e 616d 653a 2069 7074 6162 6c65 name: iptable
│ │ │ +000ef420: 732d 7065 7273 6973 7465 6e74 0a20 2020 s-persistent.
│ │ │ +000ef430: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ +000ef440: 2077 6865 6e3a 2027 2275 6677 2220 696e when: '"ufw" in
│ │ │ +000ef450: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +000ef460: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ +000ef470: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +000ef480: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +000ef490: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +000ef4a0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +000ef4b0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +000ef4c0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +000ef4d0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +000ef4e0: 5f69 7074 6162 6c65 732d 7065 7273 6973 _iptables-persis
│ │ │ +000ef4f0: 7465 6e74 5f72 656d 6f76 6564 0a3c 2f63 tent_removed.
│ │ │ +000ef510: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +000ef5b0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +000ef5c0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +000ef5d0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +000ef650: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +000ef680: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +000ef6a0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +000ef6b0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +000ef6d0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +000ef6e0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ +000ef700: 6c75 6465 2072 656d 6f76 655f 6970 7461 lude remove_ipta
│ │ │ +000ef710: 626c 6573 2d70 6572 7369 7374 656e 740a bles-persistent.
│ │ │ +000ef720: 0a63 6c61 7373 2072 656d 6f76 655f 6970 .class remove_ip
│ │ │ +000ef730: 7461 626c 6573 2d70 6572 7369 7374 656e tables-persisten
│ │ │ +000ef740: 7420 7b0a 2020 7061 636b 6167 6520 7b20 t {. package {
│ │ │ +000ef750: 2769 7074 6162 6c65 732d 7065 7273 6973 'iptables-persis
│ │ │ +000ef760: 7465 6e74 273a 0a20 2020 2065 6e73 7572 tent':. ensur
│ │ │ +000ef770: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ +000ef780: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ 000ef790: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remed
│ │ │ -001336b0: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ -001336c0: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ -001336d0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[[packag
│ │ │ -00133720: 6573 5d5d 0a6e 616d 6520 3d20 226e 6674 es]].name = "nft
│ │ │ -00133730: 6162 6c65 7322 0a76 6572 7369 6f6e 203d ables".version =
│ │ │ -00133740: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
Remediation
│ │ │ -00133800: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -00133810: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001338a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001338c0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001338e0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001338f0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -00133910: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -00133920: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -00133930: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ -00133950: 6c6c 5f6e 6674 6162 6c65 730a 0a63 6c61 ll_nftables..cla
│ │ │ -00133960: 7373 2069 6e73 7461 6c6c 5f6e 6674 6162 ss install_nftab
│ │ │ -00133970: 6c65 7320 7b0a 2020 7061 636b 6167 6520 les {. package
│ │ │ -00133980: 7b20 276e 6674 6162 6c65 7327 3a0a 2020 { 'nftables':.
│ │ │ -00133990: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ -001339a0: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a installed',. }.
│ │ │ -001339b0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -001339c0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -00133a70: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -00133a80: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -00133b00: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -00133b10: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00133b20: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -00133b30: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -00133b40: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -00133b70: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -00133b80: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -00133b90: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -00133ba0: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: Gather
│ │ │ -00133bc0: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ -00133bd0: 730a 2020 7061 636b 6167 655f 6661 6374 s. package_fact
│ │ │ -00133be0: 733a 0a20 2020 206d 616e 6167 6572 3a20 s:. manager:
│ │ │ -00133bf0: 6175 746f 0a20 2074 6167 733a 0a20 202d auto. tags:. -
│ │ │ -00133c00: 2050 4349 2d44 5353 7634 2d31 2e32 0a20 PCI-DSSv4-1.2.
│ │ │ -00133c10: 202d 2050 4349 2d44 5353 7634 2d31 2e32 - PCI-DSSv4-1.2
│ │ │ -00133c20: 2e31 0a20 202d 2065 6e61 626c 655f 7374 .1. - enable_st
│ │ │ -00133c30: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -00133c40: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -00133c50: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -00133c60: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ -00133c70: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -00133c80: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ -00133c90: 655f 6e66 7461 626c 6573 5f69 6e73 7461 e_nftables_insta
│ │ │ -00133ca0: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e lled..- name: En
│ │ │ -00133cb0: 7375 7265 206e 6674 6162 6c65 7320 6973 sure nftables is
│ │ │ -00133cc0: 2069 6e73 7461 6c6c 6564 0a20 2061 6e73 installed. ans
│ │ │ -00133cd0: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ -00133ce0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ -00133cf0: 6e66 7461 626c 6573 0a20 2020 2073 7461 nftables. sta
│ │ │ -00133d00: 7465 3a20 7072 6573 656e 740a 2020 7768 te: present. wh
│ │ │ -00133d10: 656e 3a20 2820 226c 696e 7578 2d62 6173 en: ( "linux-bas
│ │ │ -00133d20: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ -00133d30: 6374 732e 7061 636b 6167 6573 2029 0a20 cts.packages ).
│ │ │ -00133d40: 2074 6167 733a 0a20 202d 2050 4349 2d44 tags:. - PCI-D
│ │ │ -00133d50: 5353 7634 2d31 2e32 0a20 202d 2050 4349 SSv4-1.2. - PCI
│ │ │ -00133d60: 2d44 5353 7634 2d31 2e32 2e31 0a20 202d -DSSv4-1.2.1. -
│ │ │ -00133d70: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -00133d80: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -00133d90: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -00133da0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -00133db0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -00133dc0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -00133dd0: 2020 2d20 7061 636b 6167 655f 6e66 7461 - package_nfta
│ │ │ -00133de0: 626c 6573 5f69 6e73 7461 6c6c 6564 0a3c bles_installed.<
│ │ │ +001336b0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ +001336c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +00133750: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +00133760: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +00133780: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +001337a0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001337b0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001337d0: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ +001337f0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ +00133800: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ +00133810: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ +00133820: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ +00133830: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ +00133840: 7461 6773 3a0a 2020 2d20 5043 492d 4453 tags:. - PCI-DS
│ │ │ +00133850: 5376 342d 312e 320a 2020 2d20 5043 492d Sv4-1.2. - PCI-
│ │ │ +00133860: 4453 5376 342d 312e 322e 310a 2020 2d20 DSSv4-1.2.1. -
│ │ │ +00133870: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ +00133880: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +00133890: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +001338a0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +001338b0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +001338c0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +001338d0: 202d 2070 6163 6b61 6765 5f6e 6674 6162 - package_nftab
│ │ │ +001338e0: 6c65 735f 696e 7374 616c 6c65 640a 0a2d les_installed..-
│ │ │ +001338f0: 206e 616d 653a 2045 6e73 7572 6520 6e66 name: Ensure nf
│ │ │ +00133900: 7461 626c 6573 2069 7320 696e 7374 616c tables is instal
│ │ │ +00133910: 6c65 640a 2020 616e 7369 626c 652e 6275 led. ansible.bu
│ │ │ +00133920: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ +00133930: 2020 206e 616d 653a 206e 6674 6162 6c65 name: nftable
│ │ │ +00133940: 730a 2020 2020 7374 6174 653a 2070 7265 s. state: pre
│ │ │ +00133950: 7365 6e74 0a20 2077 6865 6e3a 2028 2022 sent. when: ( "
│ │ │ +00133960: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ +00133970: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +00133980: 6b61 6765 7320 290a 2020 7461 6773 3a0a kages ). tags:.
│ │ │ +00133990: 2020 2d20 5043 492d 4453 5376 342d 312e - PCI-DSSv4-1.
│ │ │ +001339a0: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ +001339b0: 312e 322e 310a 2020 2d20 656e 6162 6c65 1.2.1. - enable
│ │ │ +001339c0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +001339d0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +001339e0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +001339f0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +00133a00: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +00133a10: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +00133a20: 6b61 6765 5f6e 6674 6162 6c65 735f 696e kage_nftables_in
│ │ │ +00133a30: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c stalled.<
│ │ │ +00133a40: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediat
│ │ │ +00133af0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ +00133b00: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +00133b80: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +00133b90: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +00133ba0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +00133be0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +00133bf0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +00133c10: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +00133c20: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +00133c30: 3c63 6f64 653e 696e 636c 7564 6520 696e include in
│ │ │ +00133c40: 7374 616c 6c5f 6e66 7461 626c 6573 0a0a stall_nftables..
│ │ │ +00133c50: 636c 6173 7320 696e 7374 616c 6c5f 6e66 class install_nf
│ │ │ +00133c60: 7461 626c 6573 207b 0a20 2070 6163 6b61 tables {. packa
│ │ │ +00133c70: 6765 207b 2027 6e66 7461 626c 6573 273a ge { 'nftables':
│ │ │ +00133c80: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +00133c90: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20 ; 'installed',.
│ │ │ +00133ca0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediation
│ │ │ +00133d60: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri
│ │ │ +00133d70: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
│ │ │ +00133d80: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
.[[packages]].n
│ │ │ +00133dd0: 616d 6520 3d20 226e 6674 6162 6c65 7322 ame = "nftables"
│ │ │ +00133de0: 0a76 6572 7369 6f6e 203d 2022 2a22 0a3c .version = "*".<
│ │ │ 00133df0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediatio
│ │ │ -00134a60: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr
│ │ │ -00134a70: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...<
│ │ │ -00134a80: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[customizatio
│ │ │ -00134ad0: 6e73 2e73 6572 7669 6365 735d 0a65 6e61 ns.services].ena
│ │ │ -00134ae0: 626c 6564 203d 205b 226e 6674 6162 6c65 bled = ["nftable
│ │ │ -00134af0: 7322 5d0a 3c2f 636f 6465 3e3c 2f70 7265 s"].
Remediation
│ │ │ -00134bb0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ -00134bc0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -00134c40: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -00134c50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -00134c60: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -00134c70: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -00134cb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -00134cc0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ -00134cd0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ -00134ce0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include enable
│ │ │ -00134d00: 5f6e 6674 6162 6c65 730a 0a63 6c61 7373 _nftables..class
│ │ │ -00134d10: 2065 6e61 626c 655f 6e66 7461 626c 6573 enable_nftables
│ │ │ -00134d20: 207b 0a20 2073 6572 7669 6365 207b 276e {. service {'n
│ │ │ -00134d30: 6674 6162 6c65 7327 3a0a 2020 2020 656e ftables':. en
│ │ │ -00134d40: 6162 6c65 203d 2667 743b 2074 7275 652c able => true,
│ │ │ -00134d50: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -00134d60: 3b20 2772 756e 6e69 6e67 272c 0a20 207d ; 'running',. }
│ │ │ -00134d70: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -00134d80: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation A
│ │ │ -00134e30: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ -00134e40: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -00134ec0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -00134ed0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -00134ee0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -00134ef0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -00134f30: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -00134f40: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ -00134f50: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ -00134f60: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ -00134f80: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ -00134f90: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ -00134fa0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ -00134fb0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ -00134fc0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ -00134fd0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -00134fe0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -00134ff0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ -00135000: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ -00135010: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -00135020: 0a20 202d 2073 6572 7669 6365 5f6e 6674 . - service_nft
│ │ │ -00135030: 6162 6c65 735f 656e 6162 6c65 640a 0a2d ables_enabled..-
│ │ │ -00135040: 206e 616d 653a 2056 6572 6966 7920 6e66 name: Verify nf
│ │ │ -00135050: 7461 626c 6573 2053 6572 7669 6365 2069 tables Service i
│ │ │ -00135060: 7320 456e 6162 6c65 6420 2d20 456e 6162 s Enabled - Enab
│ │ │ -00135070: 6c65 2073 6572 7669 6365 206e 6674 6162 le service nftab
│ │ │ -00135080: 6c65 730a 2020 626c 6f63 6b3a 0a0a 2020 les. block:..
│ │ │ -00135090: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ -001350a0: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ -001350b0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -001350c0: 6c74 696e 2e70 6163 6b61 6765 5f66 6163 ltin.package_fac
│ │ │ -001350d0: 7473 3a0a 2020 2020 2020 6d61 6e61 6765 ts:. manage
│ │ │ -001350e0: 723a 2061 7574 6f0a 0a20 202d 206e 616d r: auto.. - nam
│ │ │ -001350f0: 653a 2056 6572 6966 7920 6e66 7461 626c e: Verify nftabl
│ │ │ -00135100: 6573 2053 6572 7669 6365 2069 7320 456e es Service is En
│ │ │ -00135110: 6162 6c65 6420 2d20 456e 6162 6c65 2053 abled - Enable S
│ │ │ -00135120: 6572 7669 6365 206e 6674 6162 6c65 730a ervice nftables.
│ │ │ -00135130: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ -00135140: 7469 6e2e 7379 7374 656d 643a 0a20 2020 tin.systemd:.
│ │ │ -00135150: 2020 206e 616d 653a 206e 6674 6162 6c65 name: nftable
│ │ │ -00135160: 730a 2020 2020 2020 656e 6162 6c65 643a s. enabled:
│ │ │ -00135170: 2074 7275 650a 2020 2020 2020 7374 6174 true. stat
│ │ │ -00135180: 653a 2073 7461 7274 6564 0a20 2020 2020 e: started.
│ │ │ -00135190: 206d 6173 6b65 643a 2066 616c 7365 0a20 masked: false.
│ │ │ -001351a0: 2020 2077 6865 6e3a 0a20 2020 202d 2027 when:. - '
│ │ │ -001351b0: 226e 6674 6162 6c65 7322 2069 6e20 616e "nftables" in an
│ │ │ -001351c0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ -001351d0: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ -001351e0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ -001351f0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -00135200: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -00135210: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ -00135220: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ -00135230: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -00135240: 0a20 202d 2073 6572 7669 6365 5f6e 6674 . - service_nft
│ │ │ -00135250: 6162 6c65 735f 656e 6162 6c65 640a 2020 ables_enabled.
│ │ │ -00135260: 2d20 7370 6563 6961 6c5f 7365 7276 6963 - special_servic
│ │ │ -00135270: 655f 626c 6f63 6b0a 2020 7768 656e 3a20 e_block. when:
│ │ │ -00135280: 2820 226e 6674 6162 6c65 7322 2069 6e20 ( "nftables" in
│ │ │ -00135290: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -001352a0: 636b 6167 6573 2061 6e64 2022 6c69 6e75 ckages and "linu
│ │ │ -001352b0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ -001352c0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ -001352d0: 730a 2020 2020 290a 3c2f 636f 6465 3e3c s. ).<
│ │ │ +00134a60: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ +00134a70: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +00134af0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +00134b00: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +00134b10: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00134b20: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +00134b30: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +00134b50: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +00134b60: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00134b70: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +00134ba0: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ +00134bb0: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ +00134bc0: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ +00134bd0: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ +00134be0: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ +00134bf0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ +00134c00: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +00134c10: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +00134c20: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +00134c30: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +00134c40: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +00134c50: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ +00134c60: 6e66 7461 626c 6573 5f65 6e61 626c 6564 nftables_enabled
│ │ │ +00134c70: 0a0a 2d20 6e61 6d65 3a20 5665 7269 6679 ..- name: Verify
│ │ │ +00134c80: 206e 6674 6162 6c65 7320 5365 7276 6963 nftables Servic
│ │ │ +00134c90: 6520 6973 2045 6e61 626c 6564 202d 2045 e is Enabled - E
│ │ │ +00134ca0: 6e61 626c 6520 7365 7276 6963 6520 6e66 nable service nf
│ │ │ +00134cb0: 7461 626c 6573 0a20 2062 6c6f 636b 3a0a tables. block:.
│ │ │ +00134cc0: 0a20 202d 206e 616d 653a 2047 6174 6865 . - name: Gathe
│ │ │ +00134cd0: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +00134ce0: 6374 730a 2020 2020 616e 7369 626c 652e cts. ansible.
│ │ │ +00134cf0: 6275 696c 7469 6e2e 7061 636b 6167 655f builtin.package_
│ │ │ +00134d00: 6661 6374 733a 0a20 2020 2020 206d 616e facts:. man
│ │ │ +00134d10: 6167 6572 3a20 6175 746f 0a0a 2020 2d20 ager: auto.. -
│ │ │ +00134d20: 6e61 6d65 3a20 5665 7269 6679 206e 6674 name: Verify nft
│ │ │ +00134d30: 6162 6c65 7320 5365 7276 6963 6520 6973 ables Service is
│ │ │ +00134d40: 2045 6e61 626c 6564 202d 2045 6e61 626c Enabled - Enabl
│ │ │ +00134d50: 6520 5365 7276 6963 6520 6e66 7461 626c e Service nftabl
│ │ │ +00134d60: 6573 0a20 2020 2061 6e73 6962 6c65 2e62 es. ansible.b
│ │ │ +00134d70: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a uiltin.systemd:.
│ │ │ +00134d80: 2020 2020 2020 6e61 6d65 3a20 6e66 7461 name: nfta
│ │ │ +00134d90: 626c 6573 0a20 2020 2020 2065 6e61 626c bles. enabl
│ │ │ +00134da0: 6564 3a20 7472 7565 0a20 2020 2020 2073 ed: true. s
│ │ │ +00134db0: 7461 7465 3a20 7374 6172 7465 640a 2020 tate: started.
│ │ │ +00134dc0: 2020 2020 6d61 736b 6564 3a20 6661 6c73 masked: fals
│ │ │ +00134dd0: 650a 2020 2020 7768 656e 3a0a 2020 2020 e. when:.
│ │ │ +00134de0: 2d20 2722 6e66 7461 626c 6573 2220 696e - '"nftables" in
│ │ │ +00134df0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +00134e00: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ +00134e10: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ +00134e20: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +00134e30: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +00134e40: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +00134e50: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +00134e60: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +00134e70: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ +00134e80: 6e66 7461 626c 6573 5f65 6e61 626c 6564 nftables_enabled
│ │ │ +00134e90: 0a20 202d 2073 7065 6369 616c 5f73 6572 . - special_ser
│ │ │ +00134ea0: 7669 6365 5f62 6c6f 636b 0a20 2077 6865 vice_block. whe
│ │ │ +00134eb0: 6e3a 2028 2022 6e66 7461 626c 6573 2220 n: ( "nftables"
│ │ │ +00134ec0: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ +00134ed0: 2e70 6163 6b61 6765 7320 616e 6420 226c .packages and "l
│ │ │ +00134ee0: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ +00134ef0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +00134f00: 6167 6573 0a20 2020 2029 0a3c 2f63 6f64 ages. ).
Remed
│ │ │ +00134fc0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ +00134fd0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +00135060: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +00135070: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00135080: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +00135090: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001350a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +001350b0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +001350c0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +001350d0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
include
│ │ │ +00135110: 2065 6e61 626c 655f 6e66 7461 626c 6573 enable_nftables
│ │ │ +00135120: 0a0a 636c 6173 7320 656e 6162 6c65 5f6e ..class enable_n
│ │ │ +00135130: 6674 6162 6c65 7320 7b0a 2020 7365 7276 ftables {. serv
│ │ │ +00135140: 6963 6520 7b27 6e66 7461 626c 6573 273a ice {'nftables':
│ │ │ +00135150: 0a20 2020 2065 6e61 626c 6520 3d26 6774 . enable =>
│ │ │ +00135160: 3b20 7472 7565 2c0a 2020 2020 656e 7375 ; true,. ensu
│ │ │ +00135170: 7265 203d 2667 743b 2027 7275 6e6e 696e re => 'runnin
│ │ │ +00135180: 6727 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 g',. }.}.
Remedi
│ │ │ +00135240: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ +00135250: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ +00135260: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001352a0: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a .[customiz
│ │ │ +001352b0: 6174 696f 6e73 2e73 6572 7669 6365 735d ations.services]
│ │ │ +001352c0: 0a65 6e61 626c 6564 203d 205b 226e 6674 .enabled = ["nft
│ │ │ +001352d0: 6162 6c65 7322 5d0a 3c2f 636f 6465 3e3c ables"].<
│ │ │ 001352e0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
R
│ │ │ -0013ddc0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -0013ddd0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ -0013de60: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -0013de70: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0013de80: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -0013de90: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -0013dea0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -0013ded0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -0013dee0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -0013def0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ -0013df10: 6e63 6c75 6465 2072 656d 6f76 655f 7566 nclude remove_uf
│ │ │ -0013df20: 770a 0a63 6c61 7373 2072 656d 6f76 655f w..class remove_
│ │ │ -0013df30: 7566 7720 7b0a 2020 7061 636b 6167 6520 ufw {. package
│ │ │ -0013df40: 7b20 2775 6677 273a 0a20 2020 2065 6e73 { 'ufw':. ens
│ │ │ -0013df50: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge
│ │ │ -0013df60: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remedi
│ │ │ -0013e020: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ -0013e030: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -0013e0c0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -0013e0d0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -0013e0e0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -0013e0f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -0013e100: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -0013e110: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -0013e120: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -0013e130: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -0013e160: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -0013e170: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ -0013e180: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ -0013e190: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ -0013e1a0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ -0013e1b0: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl
│ │ │ -0013e1c0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -0013e1d0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -0013e1e0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -0013e1f0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -0013e200: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -0013e210: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ -0013e220: 636b 6167 655f 7566 775f 7265 6d6f 7665 ckage_ufw_remove
│ │ │ -0013e230: 640a 0a2d 206e 616d 653a 2027 5265 6d6f d..- name: 'Remo
│ │ │ -0013e240: 7665 2075 6677 2050 6163 6b61 6765 3a20 ve ufw Package:
│ │ │ -0013e250: 456e 7375 7265 2075 6677 2069 7320 7265 Ensure ufw is re
│ │ │ -0013e260: 6d6f 7665 6427 0a20 2061 6e73 6962 6c65 moved'. ansible
│ │ │ -0013e270: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ -0013e280: 3a0a 2020 2020 6e61 6d65 3a20 7566 770a :. name: ufw.
│ │ │ -0013e290: 2020 2020 7374 6174 653a 2061 6273 656e state: absen
│ │ │ -0013e2a0: 740a 2020 7768 656e 3a20 2722 6c69 6e75 t. when: '"linu
│ │ │ -0013e2b0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ -0013e2c0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ -0013e2d0: 7327 0a20 2074 6167 733a 0a20 202d 2064 s'. tags:. - d
│ │ │ -0013e2e0: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ -0013e2f0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -0013e300: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -0013e310: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -0013e320: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -0013e330: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -0013e340: 202d 2070 6163 6b61 6765 5f75 6677 5f72 - package_ufw_r
│ │ │ -0013e350: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f emoved.
│ │ │ +0013ddc0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ +0013ddd0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ +0013dde0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +0013de60: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +0013de70: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +0013de90: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +0013dea0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +0013dee0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +0013def0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +0013df10: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ +0013df20: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ +0013df30: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ +0013df40: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ +0013df50: 746f 0a20 2074 6167 733a 0a20 202d 2064 to. tags:. - d
│ │ │ +0013df60: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +0013df70: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +0013df80: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +0013df90: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +0013dfa0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +0013dfb0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +0013dfc0: 202d 2070 6163 6b61 6765 5f75 6677 5f72 - package_ufw_r
│ │ │ +0013dfd0: 656d 6f76 6564 0a0a 2d20 6e61 6d65 3a20 emoved..- name:
│ │ │ +0013dfe0: 2752 656d 6f76 6520 7566 7720 5061 636b 'Remove ufw Pack
│ │ │ +0013dff0: 6167 653a 2045 6e73 7572 6520 7566 7720 age: Ensure ufw
│ │ │ +0013e000: 6973 2072 656d 6f76 6564 270a 2020 616e is removed'. an
│ │ │ +0013e010: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +0013e020: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ +0013e030: 2075 6677 0a20 2020 2073 7461 7465 3a20 ufw. state:
│ │ │ +0013e040: 6162 7365 6e74 0a20 2077 6865 6e3a 2027 absent. when: '
│ │ │ +0013e050: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ +0013e060: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ +0013e070: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:.
│ │ │ +0013e080: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ +0013e090: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +0013e0a0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +0013e0b0: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +0013e0c0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +0013e0d0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +0013e0e0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ +0013e0f0: 7566 775f 7265 6d6f 7665 640a 3c2f 636f ufw_removed.
<
│ │ │ +0013e110: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +0013e120: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +0013e130: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +0013e140: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +0013e150: 6433 3931 2220 7461 6269 6e64 6578 3d22 d391" tabindex="
│ │ │ +0013e160: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ +0013e170: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ +0013e180: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ +0013e190: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ +0013e1a0: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ +0013e1b0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ +0013e1c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +0013e250: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +0013e260: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +0013e280: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +0013e2a0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +0013e2b0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +0013e2d0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +0013e2e0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +0013e2f0: 3c70 7265 3e3c 636f 6465 3e0a 696e 636c .incl
│ │ │ +0013e300: 7564 6520 7265 6d6f 7665 5f75 6677 0a0a ude remove_ufw..
│ │ │ +0013e310: 636c 6173 7320 7265 6d6f 7665 5f75 6677 class remove_ufw
│ │ │ +0013e320: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ +0013e330: 7566 7727 3a0a 2020 2020 656e 7375 7265 ufw':. ensure
│ │ │ +0013e340: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ +0013e350: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ 0013e360: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediation
│ │ │ -0013f0a0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ -0013f0b0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ -0013f100: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73 .[customizations
│ │ │ -0013f110: 2e73 6572 7669 6365 735d 0a65 6e61 626c .services].enabl
│ │ │ -0013f120: 6564 203d 205b 2275 6677 225d 0a3c 2f63 ed = ["ufw"].
│ │ │ -0013f140: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -0013f1e0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -0013f1f0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -0013f200: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -0013f280: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -0013f2b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -0013f2d0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -0013f2e0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -0013f300: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ -0013f310: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -0013f320: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ -0013f330: 6465 2065 6e61 626c 655f 7566 770a 0a63 de enable_ufw..c
│ │ │ -0013f340: 6c61 7373 2065 6e61 626c 655f 7566 7720 lass enable_ufw
│ │ │ -0013f350: 7b0a 2020 7365 7276 6963 6520 7b27 7566 {. service {'uf
│ │ │ -0013f360: 7727 3a0a 2020 2020 656e 6162 6c65 203d w':. enable =
│ │ │ -0013f370: 2667 743b 2074 7275 652c 0a20 2020 2065 > true,. e
│ │ │ -0013f380: 6e73 7572 6520 3d26 6774 3b20 2772 756e nsure => 'run
│ │ │ -0013f390: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63 ning',. }.}.
│ │ │ -0013f3b0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -0013f450: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -0013f460: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -0013f470: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -0013f4f0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -0013f510: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -0013f520: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -0013f530: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -0013f540: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -0013f550: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -0013f560: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -0013f570: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -0013f580: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -0013f5a0: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ -0013f5b0: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ -0013f5c0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -0013f5d0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ -0013f5e0: 2020 7461 6773 3a0a 2020 2d20 4449 5341 tags:. - DISA
│ │ │ -0013f5f0: 2d53 5449 472d 5542 5455 2d32 322d 3235 -STIG-UBTU-22-25
│ │ │ -0013f600: 3130 3230 0a20 202d 2065 6e61 626c 655f 1020. - enable_
│ │ │ -0013f610: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -0013f620: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -0013f630: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -0013f640: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -0013f650: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -0013f660: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv
│ │ │ -0013f670: 6963 655f 7566 775f 656e 6162 6c65 640a ice_ufw_enabled.
│ │ │ -0013f680: 0a2d 206e 616d 653a 2056 6572 6966 7920 .- name: Verify
│ │ │ -0013f690: 7566 7720 456e 6162 6c65 6420 2d20 456e ufw Enabled - En
│ │ │ -0013f6a0: 6162 6c65 2073 6572 7669 6365 2075 6677 able service ufw
│ │ │ -0013f6b0: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e . block:.. - n
│ │ │ -0013f6c0: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ -0013f6d0: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ -0013f6e0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -0013f6f0: 6e2e 7061 636b 6167 655f 6661 6374 733a n.package_facts:
│ │ │ -0013f700: 0a20 2020 2020 206d 616e 6167 6572 3a20 . manager:
│ │ │ -0013f710: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20 auto.. - name:
│ │ │ -0013f720: 5665 7269 6679 2075 6677 2045 6e61 626c Verify ufw Enabl
│ │ │ -0013f730: 6564 202d 2045 6e61 626c 6520 5365 7276 ed - Enable Serv
│ │ │ -0013f740: 6963 6520 7566 770a 2020 2020 616e 7369 ice ufw. ansi
│ │ │ -0013f750: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst
│ │ │ -0013f760: 656d 643a 0a20 2020 2020 206e 616d 653a emd:. name:
│ │ │ -0013f770: 2075 6677 0a20 2020 2020 2065 6e61 626c ufw. enabl
│ │ │ -0013f780: 6564 3a20 7472 7565 0a20 2020 2020 2073 ed: true. s
│ │ │ -0013f790: 7461 7465 3a20 7374 6172 7465 640a 2020 tate: started.
│ │ │ -0013f7a0: 2020 2020 6d61 736b 6564 3a20 6661 6c73 masked: fals
│ │ │ -0013f7b0: 650a 2020 2020 7768 656e 3a0a 2020 2020 e. when:.
│ │ │ -0013f7c0: 2d20 2722 7566 7722 2069 6e20 616e 7369 - '"ufw" in ansi
│ │ │ -0013f7d0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -0013f7e0: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. -
│ │ │ -0013f7f0: 4449 5341 2d53 5449 472d 5542 5455 2d32 DISA-STIG-UBTU-2
│ │ │ -0013f800: 322d 3235 3130 3230 0a20 202d 2065 6e61 2-251020. - ena
│ │ │ -0013f810: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -0013f820: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -0013f830: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -0013f840: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -0013f850: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -0013f860: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -0013f870: 7365 7276 6963 655f 7566 775f 656e 6162 service_ufw_enab
│ │ │ -0013f880: 6c65 640a 2020 2d20 7370 6563 6961 6c5f led. - special_
│ │ │ -0013f890: 7365 7276 6963 655f 626c 6f63 6b0a 2020 service_block.
│ │ │ -0013f8a0: 7768 656e 3a0a 2020 2d20 2722 6c69 6e75 when:. - '"linu
│ │ │ -0013f8b0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ -0013f8c0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ -0013f8d0: 7327 0a20 202d 2028 2022 7566 7722 2069 s'. - ( "ufw" i
│ │ │ -0013f8e0: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ -0013f8f0: 7061 636b 6167 6573 2061 6e64 2022 6c69 packages and "li
│ │ │ -0013f900: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ -0013f910: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -0013f920: 6765 7320 290a 3c2f 636f 6465 3e3c 2f70 ges ).
Complexity:
│ │ │ +0013f140: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +0013f160: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +0013f180: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +0013f190: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +0013f1b0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +0013f1c0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +0013f1d0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +0013f1f0: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +0013f200: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ +0013f210: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ +0013f220: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ +0013f230: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT
│ │ │ +0013f240: 552d 3232 2d32 3531 3032 300a 2020 2d20 U-22-251020. -
│ │ │ +0013f250: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ +0013f260: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +0013f270: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +0013f280: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +0013f290: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +0013f2a0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +0013f2b0: 202d 2073 6572 7669 6365 5f75 6677 5f65 - service_ufw_e
│ │ │ +0013f2c0: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20 nabled..- name:
│ │ │ +0013f2d0: 5665 7269 6679 2075 6677 2045 6e61 626c Verify ufw Enabl
│ │ │ +0013f2e0: 6564 202d 2045 6e61 626c 6520 7365 7276 ed - Enable serv
│ │ │ +0013f2f0: 6963 6520 7566 770a 2020 626c 6f63 6b3a ice ufw. block:
│ │ │ +0013f300: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468 .. - name: Gath
│ │ │ +0013f310: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ +0013f320: 6163 7473 0a20 2020 2061 6e73 6962 6c65 acts. ansible
│ │ │ +0013f330: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +0013f340: 5f66 6163 7473 3a0a 2020 2020 2020 6d61 _facts:. ma
│ │ │ +0013f350: 6e61 6765 723a 2061 7574 6f0a 0a20 202d nager: auto.. -
│ │ │ +0013f360: 206e 616d 653a 2056 6572 6966 7920 7566 name: Verify uf
│ │ │ +0013f370: 7720 456e 6162 6c65 6420 2d20 456e 6162 w Enabled - Enab
│ │ │ +0013f380: 6c65 2053 6572 7669 6365 2075 6677 0a20 le Service ufw.
│ │ │ +0013f390: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ +0013f3a0: 696e 2e73 7973 7465 6d64 3a0a 2020 2020 in.systemd:.
│ │ │ +0013f3b0: 2020 6e61 6d65 3a20 7566 770a 2020 2020 name: ufw.
│ │ │ +0013f3c0: 2020 656e 6162 6c65 643a 2074 7275 650a enabled: true.
│ │ │ +0013f3d0: 2020 2020 2020 7374 6174 653a 2073 7461 state: sta
│ │ │ +0013f3e0: 7274 6564 0a20 2020 2020 206d 6173 6b65 rted. maske
│ │ │ +0013f3f0: 643a 2066 616c 7365 0a20 2020 2077 6865 d: false. whe
│ │ │ +0013f400: 6e3a 0a20 2020 202d 2027 2275 6677 2220 n:. - '"ufw"
│ │ │ +0013f410: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ +0013f420: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag
│ │ │ +0013f430: 733a 0a20 202d 2044 4953 412d 5354 4947 s:. - DISA-STIG
│ │ │ +0013f440: 2d55 4254 552d 3232 2d32 3531 3032 300a -UBTU-22-251020.
│ │ │ +0013f450: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat
│ │ │ +0013f460: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +0013f470: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +0013f480: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ +0013f490: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +0013f4a0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +0013f4b0: 6564 0a20 202d 2073 6572 7669 6365 5f75 ed. - service_u
│ │ │ +0013f4c0: 6677 5f65 6e61 626c 6564 0a20 202d 2073 fw_enabled. - s
│ │ │ +0013f4d0: 7065 6369 616c 5f73 6572 7669 6365 5f62 pecial_service_b
│ │ │ +0013f4e0: 6c6f 636b 0a20 2077 6865 6e3a 0a20 202d lock. when:. -
│ │ │ +0013f4f0: 2027 226c 696e 7578 2d62 6173 6522 2069 '"linux-base" i
│ │ │ +0013f500: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ +0013f510: 7061 636b 6167 6573 270a 2020 2d20 2820 packages'. - (
│ │ │ +0013f520: 2275 6677 2220 696e 2061 6e73 6962 6c65 "ufw" in ansible
│ │ │ +0013f530: 5f66 6163 7473 2e70 6163 6b61 6765 7320 _facts.packages
│ │ │ +0013f540: 616e 6420 226c 696e 7578 2d62 6173 6522 and "linux-base"
│ │ │ +0013f550: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +0013f560: 732e 7061 636b 6167 6573 2029 0a3c 2f63 s.packages ).
│ │ │ +0013f580: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +0013f620: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +0013f630: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +0013f640: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +0013f6c0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +0013f6f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +0013f710: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +0013f720: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +0013f740: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ +0013f750: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +0013f760: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ +0013f770: 6465 2065 6e61 626c 655f 7566 770a 0a63 de enable_ufw..c
│ │ │ +0013f780: 6c61 7373 2065 6e61 626c 655f 7566 7720 lass enable_ufw
│ │ │ +0013f790: 7b0a 2020 7365 7276 6963 6520 7b27 7566 {. service {'uf
│ │ │ +0013f7a0: 7727 3a0a 2020 2020 656e 6162 6c65 203d w':. enable =
│ │ │ +0013f7b0: 2667 743b 2074 7275 652c 0a20 2020 2065 > true,. e
│ │ │ +0013f7c0: 6e73 7572 6520 3d26 6774 3b20 2772 756e nsure => 'run
│ │ │ +0013f7d0: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63 ning',. }.}.
│ │ │ +0013f7f0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +0013f890: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ +0013f8a0: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ +0013f8b0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[custo
│ │ │ +0013f900: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic
│ │ │ +0013f910: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = ["
│ │ │ +0013f920: 7566 7722 5d0a 3c2f 636f 6465 3e3c 2f70 ufw"].
Remediation
│ │ │ -00174300: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ -00174310: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ -00174360: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73 .[customizations
│ │ │ -00174370: 2e73 6572 7669 6365 735d 0a6d 6173 6b65 .services].maske
│ │ │ -00174380: 6420 3d20 5b22 6175 746f 6673 225d 0a3c d = ["autofs"].<
│ │ │ -00174390: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -00174440: 656d 6564 6961 7469 6f6e 204b 7562 6572 emediation Kuber
│ │ │ -00174450: 6e65 7465 7320 736e 6970 7065 7420 e287 netes snippet ..
│ │ │ -00174460: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001744e0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001744f0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00174500: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -00174510: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -00174520: 6d65 6469 756d 3c2f 7464 3e3c 2f74 723e medium
│ │ │ -00174530: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -00174540: 2f74 683e 3c74 643e 7472 7565 3c2f 7464 /th> true St
│ │ │ -00174560: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -00174570: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
apiVersion:
│ │ │ -001745a0: 6d61 6368 696e 6563 6f6e 6669 6775 7261 machineconfigura
│ │ │ -001745b0: 7469 6f6e 2e6f 7065 6e73 6869 6674 2e69 tion.openshift.i
│ │ │ -001745c0: 6f2f 7631 0a6b 696e 643a 204d 6163 6869 o/v1.kind: Machi
│ │ │ -001745d0: 6e65 436f 6e66 6967 0a73 7065 633a 0a20 neConfig.spec:.
│ │ │ -001745e0: 2063 6f6e 6669 673a 0a20 2020 2069 676e config:. ign
│ │ │ -001745f0: 6974 696f 6e3a 0a20 2020 2020 2076 6572 ition:. ver
│ │ │ -00174600: 7369 6f6e 3a20 332e 312e 300a 2020 2020 sion: 3.1.0.
│ │ │ -00174610: 7379 7374 656d 643a 0a20 2020 2020 2075 systemd:. u
│ │ │ -00174620: 6e69 7473 3a0a 2020 2020 2020 2d20 6e61 nits:. - na
│ │ │ -00174630: 6d65 3a20 6175 746f 6673 2e73 6572 7669 me: autofs.servi
│ │ │ -00174640: 6365 0a20 2020 2020 2020 2065 6e61 626c ce. enabl
│ │ │ -00174650: 6564 3a20 6661 6c73 650a 2020 2020 2020 ed: false.
│ │ │ -00174660: 2020 6d61 736b 3a20 7472 7565 0a20 2020 mask: true.
│ │ │ -00174670: 2020 202d 206e 616d 653a 2061 7574 6f66 - name: autof
│ │ │ -00174680: 732e 736f 636b 6574 0a20 2020 2020 2020 s.socket.
│ │ │ -00174690: 2065 6e61 626c 6564 3a20 6661 6c73 650a enabled: false.
│ │ │ -001746a0: 2020 2020 2020 2020 6d61 736b 3a20 7472 mask: tr
│ │ │ -001746b0: 7565 0a3c 2f63 6f64 653e 3c2f 7072 653e ue.
│ │ │ -001746c0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ -00174770: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -00174780: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -00174800: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -00174810: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00174820: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -00174830: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -00174840: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -00174870: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -00174880: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -00174890: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -001748a0: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include disable
│ │ │ -001748c0: 5f61 7574 6f66 730a 0a63 6c61 7373 2064 _autofs..class d
│ │ │ -001748d0: 6973 6162 6c65 5f61 7574 6f66 7320 7b0a isable_autofs {.
│ │ │ -001748e0: 2020 7365 7276 6963 6520 7b27 6175 746f service {'auto
│ │ │ -001748f0: 6673 273a 0a20 2020 2065 6e61 626c 6520 fs':. enable
│ │ │ -00174900: 3d26 6774 3b20 6661 6c73 652c 0a20 2020 => false,.
│ │ │ -00174910: 2065 6e73 7572 6520 3d26 6774 3b20 2773 ensure => 's
│ │ │ -00174920: 746f 7070 6564 272c 0a20 207d 0a7d 0a3c topped',. }.}.<
│ │ │ -00174930: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -001749e0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -001749f0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -00174a00: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -00174a80: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -00174a90: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -00174ab0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -00174ac0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -00174b00: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ -00174b10: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ -00174b30: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -00174b40: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -00174b50: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ -00174b60: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ -00174b70: 746f 0a20 2074 6167 733a 0a20 202d 204e to. tags:. - N
│ │ │ -00174b80: 4953 542d 3830 302d 3137 312d 332e 342e IST-800-171-3.4.
│ │ │ -00174b90: 360a 2020 2d20 4e49 5354 2d38 3030 2d35 6. - NIST-800-5
│ │ │ -00174ba0: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI
│ │ │ -00174bb0: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a
│ │ │ -00174bc0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -00174bd0: 332d 434d 2d37 2862 290a 2020 2d20 4e49 3-CM-7(b). - NI
│ │ │ -00174be0: 5354 2d38 3030 2d35 332d 4d50 2d37 0a20 ST-800-53-MP-7.
│ │ │ -00174bf0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ -00174c00: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ -00174c10: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -00174c20: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ -00174c30: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ -00174c40: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -00174c50: 6564 0a20 202d 2073 6572 7669 6365 5f61 ed. - service_a
│ │ │ -00174c60: 7574 6f66 735f 6469 7361 626c 6564 0a0a utofs_disabled..
│ │ │ -00174c70: 2d20 6e61 6d65 3a20 4469 7361 626c 6520 - name: Disable
│ │ │ -00174c80: 7468 6520 4175 746f 6d6f 756e 7465 7220 the Automounter
│ │ │ -00174c90: 2d20 4469 7361 626c 6520 7365 7276 6963 - Disable servic
│ │ │ -00174ca0: 6520 6175 746f 6673 0a20 2062 6c6f 636b e autofs. block
│ │ │ -00174cb0: 3a0a 0a20 202d 206e 616d 653a 2044 6973 :.. - name: Dis
│ │ │ -00174cc0: 6162 6c65 2074 6865 2041 7574 6f6d 6f75 able the Automou
│ │ │ -00174cd0: 6e74 6572 202d 2043 6f6c 6c65 6374 2073 nter - Collect s
│ │ │ -00174ce0: 7973 7465 6d64 2053 6572 7669 6365 7320 ystemd Services
│ │ │ -00174cf0: 5072 6573 656e 7420 696e 2074 6865 2053 Present in the S
│ │ │ -00174d00: 7973 7465 6d0a 2020 2020 616e 7369 626c ystem. ansibl
│ │ │ -00174d10: 652e 6275 696c 7469 6e2e 636f 6d6d 616e e.builtin.comman
│ │ │ -00174d20: 643a 2073 7973 7465 6d63 746c 202d 7120 d: systemctl -q
│ │ │ -00174d30: 6c69 7374 2d75 6e69 742d 6669 6c65 7320 list-unit-files
│ │ │ -00174d40: 2d2d 7479 7065 2073 6572 7669 6365 0a20 --type service.
│ │ │ -00174d50: 2020 2072 6567 6973 7465 723a 2073 6572 register: ser
│ │ │ -00174d60: 7669 6365 5f65 7869 7374 730a 2020 2020 vice_exists.
│ │ │ -00174d70: 6368 616e 6765 645f 7768 656e 3a20 6661 changed_when: fa
│ │ │ -00174d80: 6c73 650a 2020 2020 6661 696c 6564 5f77 lse. failed_w
│ │ │ -00174d90: 6865 6e3a 2073 6572 7669 6365 5f65 7869 hen: service_exi
│ │ │ -00174da0: 7374 732e 7263 206e 6f74 2069 6e20 5b30 sts.rc not in [0
│ │ │ -00174db0: 2c20 315d 0a20 2020 2063 6865 636b 5f6d , 1]. check_m
│ │ │ -00174dc0: 6f64 653a 2066 616c 7365 0a0a 2020 2d20 ode: false.. -
│ │ │ -00174dd0: 6e61 6d65 3a20 4469 7361 626c 6520 7468 name: Disable th
│ │ │ -00174de0: 6520 4175 746f 6d6f 756e 7465 7220 2d20 e Automounter -
│ │ │ -00174df0: 456e 7375 7265 2061 7574 6f66 732e 7365 Ensure autofs.se
│ │ │ -00174e00: 7276 6963 6520 6973 204d 6173 6b65 640a rvice is Masked.
│ │ │ -00174e10: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ -00174e20: 7469 6e2e 7379 7374 656d 643a 0a20 2020 tin.systemd:.
│ │ │ -00174e30: 2020 206e 616d 653a 2061 7574 6f66 732e name: autofs.
│ │ │ -00174e40: 7365 7276 6963 650a 2020 2020 2020 7374 service. st
│ │ │ -00174e50: 6174 653a 2073 746f 7070 6564 0a20 2020 ate: stopped.
│ │ │ -00174e60: 2020 2065 6e61 626c 6564 3a20 6661 6c73 enabled: fals
│ │ │ -00174e70: 650a 2020 2020 2020 6d61 736b 6564 3a20 e. masked:
│ │ │ -00174e80: 7472 7565 0a20 2020 2077 6865 6e3a 2073 true. when: s
│ │ │ -00174e90: 6572 7669 6365 5f65 7869 7374 732e 7374 ervice_exists.st
│ │ │ -00174ea0: 646f 7574 5f6c 696e 6573 2069 7320 7365 dout_lines is se
│ │ │ -00174eb0: 6172 6368 2822 6175 746f 6673 2e73 6572 arch("autofs.ser
│ │ │ -00174ec0: 7669 6365 222c 206d 756c 7469 6c69 6e65 vice", multiline
│ │ │ -00174ed0: 3d54 7275 6529 0a0a 2020 2d20 6e61 6d65 =True).. - name
│ │ │ -00174ee0: 3a20 556e 6974 2053 6f63 6b65 7420 4578 : Unit Socket Ex
│ │ │ -00174ef0: 6973 7473 202d 2061 7574 6f66 732e 736f ists - autofs.so
│ │ │ -00174f00: 636b 6574 0a20 2020 2061 6e73 6962 6c65 cket. ansible
│ │ │ -00174f10: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64 .builtin.command
│ │ │ -00174f20: 3a20 7379 7374 656d 6374 6c20 2d71 206c : systemctl -q l
│ │ │ -00174f30: 6973 742d 756e 6974 2d66 696c 6573 2061 ist-unit-files a
│ │ │ -00174f40: 7574 6f66 732e 736f 636b 6574 0a20 2020 utofs.socket.
│ │ │ -00174f50: 2072 6567 6973 7465 723a 2073 6f63 6b65 register: socke
│ │ │ -00174f60: 745f 6669 6c65 5f65 7869 7374 730a 2020 t_file_exists.
│ │ │ -00174f70: 2020 6368 616e 6765 645f 7768 656e 3a20 changed_when:
│ │ │ -00174f80: 6661 6c73 650a 2020 2020 6661 696c 6564 false. failed
│ │ │ -00174f90: 5f77 6865 6e3a 2073 6f63 6b65 745f 6669 _when: socket_fi
│ │ │ -00174fa0: 6c65 5f65 7869 7374 732e 7263 206e 6f74 le_exists.rc not
│ │ │ -00174fb0: 2069 6e20 5b30 2c20 315d 0a20 2020 2063 in [0, 1]. c
│ │ │ -00174fc0: 6865 636b 5f6d 6f64 653a 2066 616c 7365 heck_mode: false
│ │ │ -00174fd0: 0a0a 2020 2d20 6e61 6d65 3a20 4469 7361 .. - name: Disa
│ │ │ -00174fe0: 626c 6520 7468 6520 4175 746f 6d6f 756e ble the Automoun
│ │ │ -00174ff0: 7465 7220 2d20 4469 7361 626c 6520 536f ter - Disable So
│ │ │ -00175000: 636b 6574 2061 7574 6f66 730a 2020 2020 cket autofs.
│ │ │ -00175010: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -00175020: 7379 7374 656d 643a 0a20 2020 2020 206e systemd:. n
│ │ │ -00175030: 616d 653a 2061 7574 6f66 732e 736f 636b ame: autofs.sock
│ │ │ -00175040: 6574 0a20 2020 2020 2065 6e61 626c 6564 et. enabled
│ │ │ -00175050: 3a20 6661 6c73 650a 2020 2020 2020 7374 : false. st
│ │ │ -00175060: 6174 653a 2073 746f 7070 6564 0a20 2020 ate: stopped.
│ │ │ -00175070: 2020 206d 6173 6b65 643a 2074 7275 650a masked: true.
│ │ │ -00175080: 2020 2020 7768 656e 3a20 736f 636b 6574 when: socket
│ │ │ -00175090: 5f66 696c 655f 6578 6973 7473 2e73 7464 _file_exists.std
│ │ │ -001750a0: 6f75 745f 6c69 6e65 7320 6973 2073 6561 out_lines is sea
│ │ │ -001750b0: 7263 6828 2261 7574 6f66 732e 736f 636b rch("autofs.sock
│ │ │ -001750c0: 6574 222c 206d 756c 7469 6c69 6e65 3d54 et", multiline=T
│ │ │ -001750d0: 7275 6529 0a20 2074 6167 733a 0a20 202d rue). tags:. -
│ │ │ -001750e0: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ -001750f0: 342e 360a 2020 2d20 4e49 5354 2d38 3030 4.6. - NIST-800
│ │ │ -00175100: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -00175110: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ -00175120: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -00175130: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). -
│ │ │ -00175140: 4e49 5354 2d38 3030 2d35 332d 4d50 2d37 NIST-800-53-MP-7
│ │ │ -00175150: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ -00175160: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -00175170: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -00175180: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -00175190: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -001751a0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -001751b0: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ -001751c0: 5f61 7574 6f66 735f 6469 7361 626c 6564 _autofs_disabled
│ │ │ -001751d0: 0a20 202d 2073 7065 6369 616c 5f73 6572 . - special_ser
│ │ │ -001751e0: 7669 6365 5f62 6c6f 636b 0a20 2077 6865 vice_block. whe
│ │ │ -001751f0: 6e3a 2028 2022 6175 746f 6673 2220 696e n: ( "autofs" in
│ │ │ -00175200: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ -00175210: 6163 6b61 6765 7320 616e 6420 226c 696e ackages and "lin
│ │ │ -00175220: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ -00175230: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -00175240: 6573 0a20 2020 2029 0a3c 2f63 6f64 653e es. ).
│ │ │ +00174300: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ +00174310: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +001743a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +001743c0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +001743e0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +001743f0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +00174410: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +00174420: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Gath
│ │ │ +00174450: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ +00174460: 6163 7473 0a20 2070 6163 6b61 6765 5f66 acts. package_f
│ │ │ +00174470: 6163 7473 3a0a 2020 2020 6d61 6e61 6765 acts:. manage
│ │ │ +00174480: 723a 2061 7574 6f0a 2020 7461 6773 3a0a r: auto. tags:.
│ │ │ +00174490: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171
│ │ │ +001744a0: 2d33 2e34 2e36 0a20 202d 204e 4953 542d -3.4.6. - NIST-
│ │ │ +001744b0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ +001744c0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +001744d0: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST-
│ │ │ +001744e0: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b).
│ │ │ +001744f0: 202d 204e 4953 542d 3830 302d 3533 2d4d - NIST-800-53-M
│ │ │ +00174500: 502d 370a 2020 2d20 6469 7361 626c 655f P-7. - disable_
│ │ │ +00174510: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +00174520: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +00174530: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +00174540: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +00174550: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +00174560: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv
│ │ │ +00174570: 6963 655f 6175 746f 6673 5f64 6973 6162 ice_autofs_disab
│ │ │ +00174580: 6c65 640a 0a2d 206e 616d 653a 2044 6973 led..- name: Dis
│ │ │ +00174590: 6162 6c65 2074 6865 2041 7574 6f6d 6f75 able the Automou
│ │ │ +001745a0: 6e74 6572 202d 2044 6973 6162 6c65 2073 nter - Disable s
│ │ │ +001745b0: 6572 7669 6365 2061 7574 6f66 730a 2020 ervice autofs.
│ │ │ +001745c0: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 block:.. - name
│ │ │ +001745d0: 3a20 4469 7361 626c 6520 7468 6520 4175 : Disable the Au
│ │ │ +001745e0: 746f 6d6f 756e 7465 7220 2d20 436f 6c6c tomounter - Coll
│ │ │ +001745f0: 6563 7420 7379 7374 656d 6420 5365 7276 ect systemd Serv
│ │ │ +00174600: 6963 6573 2050 7265 7365 6e74 2069 6e20 ices Present in
│ │ │ +00174610: 7468 6520 5379 7374 656d 0a20 2020 2061 the System. a
│ │ │ +00174620: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63 nsible.builtin.c
│ │ │ +00174630: 6f6d 6d61 6e64 3a20 7379 7374 656d 6374 ommand: systemct
│ │ │ +00174640: 6c20 2d71 206c 6973 742d 756e 6974 2d66 l -q list-unit-f
│ │ │ +00174650: 696c 6573 202d 2d74 7970 6520 7365 7276 iles --type serv
│ │ │ +00174660: 6963 650a 2020 2020 7265 6769 7374 6572 ice. register
│ │ │ +00174670: 3a20 7365 7276 6963 655f 6578 6973 7473 : service_exists
│ │ │ +00174680: 0a20 2020 2063 6861 6e67 6564 5f77 6865 . changed_whe
│ │ │ +00174690: 6e3a 2066 616c 7365 0a20 2020 2066 6169 n: false. fai
│ │ │ +001746a0: 6c65 645f 7768 656e 3a20 7365 7276 6963 led_when: servic
│ │ │ +001746b0: 655f 6578 6973 7473 2e72 6320 6e6f 7420 e_exists.rc not
│ │ │ +001746c0: 696e 205b 302c 2031 5d0a 2020 2020 6368 in [0, 1]. ch
│ │ │ +001746d0: 6563 6b5f 6d6f 6465 3a20 6661 6c73 650a eck_mode: false.
│ │ │ +001746e0: 0a20 202d 206e 616d 653a 2044 6973 6162 . - name: Disab
│ │ │ +001746f0: 6c65 2074 6865 2041 7574 6f6d 6f75 6e74 le the Automount
│ │ │ +00174700: 6572 202d 2045 6e73 7572 6520 6175 746f er - Ensure auto
│ │ │ +00174710: 6673 2e73 6572 7669 6365 2069 7320 4d61 fs.service is Ma
│ │ │ +00174720: 736b 6564 0a20 2020 2061 6e73 6962 6c65 sked. ansible
│ │ │ +00174730: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd
│ │ │ +00174740: 3a0a 2020 2020 2020 6e61 6d65 3a20 6175 :. name: au
│ │ │ +00174750: 746f 6673 2e73 6572 7669 6365 0a20 2020 tofs.service.
│ │ │ +00174760: 2020 2073 7461 7465 3a20 7374 6f70 7065 state: stoppe
│ │ │ +00174770: 640a 2020 2020 2020 656e 6162 6c65 643a d. enabled:
│ │ │ +00174780: 2066 616c 7365 0a20 2020 2020 206d 6173 false. mas
│ │ │ +00174790: 6b65 643a 2074 7275 650a 2020 2020 7768 ked: true. wh
│ │ │ +001747a0: 656e 3a20 7365 7276 6963 655f 6578 6973 en: service_exis
│ │ │ +001747b0: 7473 2e73 7464 6f75 745f 6c69 6e65 7320 ts.stdout_lines
│ │ │ +001747c0: 6973 2073 6561 7263 6828 2261 7574 6f66 is search("autof
│ │ │ +001747d0: 732e 7365 7276 6963 6522 2c20 6d75 6c74 s.service", mult
│ │ │ +001747e0: 696c 696e 653d 5472 7565 290a 0a20 202d iline=True).. -
│ │ │ +001747f0: 206e 616d 653a 2055 6e69 7420 536f 636b name: Unit Sock
│ │ │ +00174800: 6574 2045 7869 7374 7320 2d20 6175 746f et Exists - auto
│ │ │ +00174810: 6673 2e73 6f63 6b65 740a 2020 2020 616e fs.socket. an
│ │ │ +00174820: 7369 626c 652e 6275 696c 7469 6e2e 636f sible.builtin.co
│ │ │ +00174830: 6d6d 616e 643a 2073 7973 7465 6d63 746c mmand: systemctl
│ │ │ +00174840: 202d 7120 6c69 7374 2d75 6e69 742d 6669 -q list-unit-fi
│ │ │ +00174850: 6c65 7320 6175 746f 6673 2e73 6f63 6b65 les autofs.socke
│ │ │ +00174860: 740a 2020 2020 7265 6769 7374 6572 3a20 t. register:
│ │ │ +00174870: 736f 636b 6574 5f66 696c 655f 6578 6973 socket_file_exis
│ │ │ +00174880: 7473 0a20 2020 2063 6861 6e67 6564 5f77 ts. changed_w
│ │ │ +00174890: 6865 6e3a 2066 616c 7365 0a20 2020 2066 hen: false. f
│ │ │ +001748a0: 6169 6c65 645f 7768 656e 3a20 736f 636b ailed_when: sock
│ │ │ +001748b0: 6574 5f66 696c 655f 6578 6973 7473 2e72 et_file_exists.r
│ │ │ +001748c0: 6320 6e6f 7420 696e 205b 302c 2031 5d0a c not in [0, 1].
│ │ │ +001748d0: 2020 2020 6368 6563 6b5f 6d6f 6465 3a20 check_mode:
│ │ │ +001748e0: 6661 6c73 650a 0a20 202d 206e 616d 653a false.. - name:
│ │ │ +001748f0: 2044 6973 6162 6c65 2074 6865 2041 7574 Disable the Aut
│ │ │ +00174900: 6f6d 6f75 6e74 6572 202d 2044 6973 6162 omounter - Disab
│ │ │ +00174910: 6c65 2053 6f63 6b65 7420 6175 746f 6673 le Socket autofs
│ │ │ +00174920: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ +00174930: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:.
│ │ │ +00174940: 2020 2020 6e61 6d65 3a20 6175 746f 6673 name: autofs
│ │ │ +00174950: 2e73 6f63 6b65 740a 2020 2020 2020 656e .socket. en
│ │ │ +00174960: 6162 6c65 643a 2066 616c 7365 0a20 2020 abled: false.
│ │ │ +00174970: 2020 2073 7461 7465 3a20 7374 6f70 7065 state: stoppe
│ │ │ +00174980: 640a 2020 2020 2020 6d61 736b 6564 3a20 d. masked:
│ │ │ +00174990: 7472 7565 0a20 2020 2077 6865 6e3a 2073 true. when: s
│ │ │ +001749a0: 6f63 6b65 745f 6669 6c65 5f65 7869 7374 ocket_file_exist
│ │ │ +001749b0: 732e 7374 646f 7574 5f6c 696e 6573 2069 s.stdout_lines i
│ │ │ +001749c0: 7320 7365 6172 6368 2822 6175 746f 6673 s search("autofs
│ │ │ +001749d0: 2e73 6f63 6b65 7422 2c20 6d75 6c74 696c .socket", multil
│ │ │ +001749e0: 696e 653d 5472 7565 290a 2020 7461 6773 ine=True). tags
│ │ │ +001749f0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d31 :. - NIST-800-1
│ │ │ +00174a00: 3731 2d33 2e34 2e36 0a20 202d 204e 4953 71-3.4.6. - NIS
│ │ │ +00174a10: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +00174a20: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +00174a30: 2d43 4d2d 3728 6129 0a20 202d 204e 4953 -CM-7(a). - NIS
│ │ │ +00174a40: 542d 3830 302d 3533 2d43 4d2d 3728 6229 T-800-53-CM-7(b)
│ │ │ +00174a50: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +00174a60: 2d4d 502d 370a 2020 2d20 6469 7361 626c -MP-7. - disabl
│ │ │ +00174a70: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ +00174a80: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ +00174a90: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ +00174aa0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ +00174ab0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ +00174ac0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ +00174ad0: 7276 6963 655f 6175 746f 6673 5f64 6973 rvice_autofs_dis
│ │ │ +00174ae0: 6162 6c65 640a 2020 2d20 7370 6563 6961 abled. - specia
│ │ │ +00174af0: 6c5f 7365 7276 6963 655f 626c 6f63 6b0a l_service_block.
│ │ │ +00174b00: 2020 7768 656e 3a20 2820 2261 7574 6f66 when: ( "autof
│ │ │ +00174b10: 7322 2069 6e20 616e 7369 626c 655f 6661 s" in ansible_fa
│ │ │ +00174b20: 6374 732e 7061 636b 6167 6573 2061 6e64 cts.packages and
│ │ │ +00174b30: 2022 6c69 6e75 782d 6261 7365 2220 696e "linux-base" in
│ │ │ +00174b40: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +00174b50: 6163 6b61 6765 730a 2020 2020 290a 3c2f ackages. ).
│ │ │ +00174b60: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +00174c10: 6d65 6469 6174 696f 6e20 4b75 6265 726e mediation Kubern
│ │ │ +00174c20: 6574 6573 2073 6e69 7070 6574 20e2 87b2 etes snippet ...
│ │ │ +00174c30: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +00174cd0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +00174ce0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6d ption: m
│ │ │ +00174cf0: 6564 6975 6d3c 2f74 643e 3c2f 7472 3e3c edium <
│ │ │ +00174d00: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +00174d10: 7468 3e3c 7464 3e74 7275 653c 2f74 643e th> true
│ │ │ +00174d20: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +00174d30: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +00174d40: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +00174d50: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
apiVersion: m
│ │ │ +00174d70: 6163 6869 6e65 636f 6e66 6967 7572 6174 achineconfigurat
│ │ │ +00174d80: 696f 6e2e 6f70 656e 7368 6966 742e 696f ion.openshift.io
│ │ │ +00174d90: 2f76 310a 6b69 6e64 3a20 4d61 6368 696e /v1.kind: Machin
│ │ │ +00174da0: 6543 6f6e 6669 670a 7370 6563 3a0a 2020 eConfig.spec:.
│ │ │ +00174db0: 636f 6e66 6967 3a0a 2020 2020 6967 6e69 config:. igni
│ │ │ +00174dc0: 7469 6f6e 3a0a 2020 2020 2020 7665 7273 tion:. vers
│ │ │ +00174dd0: 696f 6e3a 2033 2e31 2e30 0a20 2020 2073 ion: 3.1.0. s
│ │ │ +00174de0: 7973 7465 6d64 3a0a 2020 2020 2020 756e ystemd:. un
│ │ │ +00174df0: 6974 733a 0a20 2020 2020 202d 206e 616d its:. - nam
│ │ │ +00174e00: 653a 2061 7574 6f66 732e 7365 7276 6963 e: autofs.servic
│ │ │ +00174e10: 650a 2020 2020 2020 2020 656e 6162 6c65 e. enable
│ │ │ +00174e20: 643a 2066 616c 7365 0a20 2020 2020 2020 d: false.
│ │ │ +00174e30: 206d 6173 6b3a 2074 7275 650a 2020 2020 mask: true.
│ │ │ +00174e40: 2020 2d20 6e61 6d65 3a20 6175 746f 6673 - name: autofs
│ │ │ +00174e50: 2e73 6f63 6b65 740a 2020 2020 2020 2020 .socket.
│ │ │ +00174e60: 656e 6162 6c65 643a 2066 616c 7365 0a20 enabled: false.
│ │ │ +00174e70: 2020 2020 2020 206d 6173 6b3a 2074 7275 mask: tru
│ │ │ +00174e80: 650a 3c2f 636f 6465 3e3c 2f70 7265 3e3c e.
<
│ │ │ +00174e90: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu
│ │ │ +00174f40: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ +00174f50: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +00174ff0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +00175000: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +00175010: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00175020: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +00175030: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +00175040: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +00175050: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ +00175060: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +00175080: 696e 636c 7564 6520 6469 7361 626c 655f include disable_
│ │ │ +00175090: 6175 746f 6673 0a0a 636c 6173 7320 6469 autofs..class di
│ │ │ +001750a0: 7361 626c 655f 6175 746f 6673 207b 0a20 sable_autofs {.
│ │ │ +001750b0: 2073 6572 7669 6365 207b 2761 7574 6f66 service {'autof
│ │ │ +001750c0: 7327 3a0a 2020 2020 656e 6162 6c65 203d s':. enable =
│ │ │ +001750d0: 2667 743b 2066 616c 7365 2c0a 2020 2020 > false,.
│ │ │ +001750e0: 656e 7375 7265 203d 2667 743b 2027 7374 ensure => 'st
│ │ │ +001750f0: 6f70 7065 6427 2c0a 2020 7d0a 7d0a 3c2f opped',. }.}.
│ │ │ +00175100: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +001751b0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ +001751c0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ +001751d0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +001751e0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001751f0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +00175200: 7365 2220 6964 3d22 6964 3530 3022 3e3c se" id="id500"><
│ │ │ +00175210: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust
│ │ │ +00175220: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi
│ │ │ +00175230: 6365 735d 0a6d 6173 6b65 6420 3d20 5b22 ces].masked = ["
│ │ │ +00175240: 6175 746f 6673 225d 0a3c 2f63 6f64 653e autofs"].
│ │ │ 00175250: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063 Remed
│ │ │ -001b5f30: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ -001b5f40: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ -001b5f50: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[customi
│ │ │ -001b5fa0: 7a61 7469 6f6e 732e 7365 7276 6963 6573 zations.services
│ │ │ -001b5fb0: 5d0a 6d61 736b 6564 203d 205b 2261 7070 ].masked = ["app
│ │ │ -001b5fc0: 6f72 7422 5d0a 3c2f 636f 6465 3e3c 2f70 ort"].
Remediatio
│ │ │ -001b6080: 6e20 4b75 6265 726e 6574 6573 2073 6e69 n Kubernetes sni
│ │ │ -001b6090: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001b60a0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001b60d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001b6120: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001b6130: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001b6140: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001b6150: 7468 3e3c 7464 3e6d 6564 6975 6d3c 2f74 th>medium R
│ │ │ -001b6170: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e74 eboot: t
│ │ │ -001b6180: 7275 653c 2f74 643e 3c2f 7472 3e3c 7472 rue Strategy:
│ │ │ -001b61a0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -001b61b0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001b61c0: 3c70 7265 3e3c 636f 6465 3e61 7069 5665 apiVe
│ │ │ -001b61d0: 7273 696f 6e3a 206d 6163 6869 6e65 636f rsion: machineco
│ │ │ -001b61e0: 6e66 6967 7572 6174 696f 6e2e 6f70 656e nfiguration.open
│ │ │ -001b61f0: 7368 6966 742e 696f 2f76 310a 6b69 6e64 shift.io/v1.kind
│ │ │ -001b6200: 3a20 4d61 6368 696e 6543 6f6e 6669 670a : MachineConfig.
│ │ │ -001b6210: 7370 6563 3a0a 2020 636f 6e66 6967 3a0a spec:. config:.
│ │ │ -001b6220: 2020 2020 6967 6e69 7469 6f6e 3a0a 2020 ignition:.
│ │ │ -001b6230: 2020 2020 7665 7273 696f 6e3a 2033 2e31 version: 3.1
│ │ │ -001b6240: 2e30 0a20 2020 2073 7973 7465 6d64 3a0a .0. systemd:.
│ │ │ -001b6250: 2020 2020 2020 756e 6974 733a 0a20 2020 units:.
│ │ │ -001b6260: 2020 202d 206e 616d 653a 2061 7070 6f72 - name: appor
│ │ │ -001b6270: 742e 7365 7276 6963 650a 2020 2020 2020 t.service.
│ │ │ -001b6280: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false
│ │ │ -001b6290: 0a20 2020 2020 2020 206d 6173 6b3a 2074 . mask: t
│ │ │ -001b62a0: 7275 650a 2020 2020 2020 2d20 6e61 6d65 rue. - name
│ │ │ -001b62b0: 3a20 6170 706f 7274 2e73 6f63 6b65 740a : apport.socket.
│ │ │ -001b62c0: 2020 2020 2020 2020 656e 6162 6c65 643a enabled:
│ │ │ -001b62d0: 2066 616c 7365 0a20 2020 2020 2020 206d false. m
│ │ │ -001b62e0: 6173 6b3a 2074 7275 650a 3c2f 636f 6465 ask: true.
Remedi
│ │ │ -001b63a0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -001b63b0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001b63c0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001b63f0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001b6440: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001b6450: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001b6460: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001b6470: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001b6480: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001b6490: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001b64a0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001b64b0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -001b64d0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ -001b64f0: 6469 7361 626c 655f 6170 706f 7274 0a0a disable_apport..
│ │ │ -001b6500: 636c 6173 7320 6469 7361 626c 655f 6170 class disable_ap
│ │ │ -001b6510: 706f 7274 207b 0a20 2073 6572 7669 6365 port {. service
│ │ │ -001b6520: 207b 2761 7070 6f72 7427 3a0a 2020 2020 {'apport':.
│ │ │ -001b6530: 656e 6162 6c65 203d 2667 743b 2066 616c enable => fal
│ │ │ -001b6540: 7365 2c0a 2020 2020 656e 7375 7265 203d se,. ensure =
│ │ │ -001b6550: 2667 743b 2027 7374 6f70 7065 6427 2c0a > 'stopped',.
│ │ │ -001b6560: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}. Remediatio
│ │ │ -001b6620: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ -001b6630: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001b66b0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001b66c0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001b66d0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001b66e0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001b66f0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001b6710: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001b6720: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001b6730: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -001b6750: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -001b6760: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761 - name: Ga
│ │ │ -001b6770: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ -001b6780: 2066 6163 7473 0a20 2070 6163 6b61 6765 facts. package
│ │ │ -001b6790: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61 _facts:. mana
│ │ │ -001b67a0: 6765 723a 2061 7574 6f0a 2020 7461 6773 ger: auto. tags
│ │ │ -001b67b0: 3a0a 2020 2d20 6469 7361 626c 655f 7374 :. - disable_st
│ │ │ -001b67c0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -001b67d0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -001b67e0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -001b67f0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -001b6800: 640a 2020 2d20 7365 7276 6963 655f 6170 d. - service_ap
│ │ │ -001b6810: 706f 7274 5f64 6973 6162 6c65 640a 2020 port_disabled.
│ │ │ -001b6820: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269 - unknown_severi
│ │ │ -001b6830: 7479 0a0a 2d20 6e61 6d65 3a20 4469 7361 ty..- name: Disa
│ │ │ -001b6840: 626c 6520 4170 706f 7274 2053 6572 7669 ble Apport Servi
│ │ │ -001b6850: 6365 202d 2044 6973 6162 6c65 2073 6572 ce - Disable ser
│ │ │ -001b6860: 7669 6365 2061 7070 6f72 740a 2020 626c vice apport. bl
│ │ │ -001b6870: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 ock:.. - name:
│ │ │ -001b6880: 4469 7361 626c 6520 4170 706f 7274 2053 Disable Apport S
│ │ │ -001b6890: 6572 7669 6365 202d 2043 6f6c 6c65 6374 ervice - Collect
│ │ │ -001b68a0: 2073 7973 7465 6d64 2053 6572 7669 6365 systemd Service
│ │ │ -001b68b0: 7320 5072 6573 656e 7420 696e 2074 6865 s Present in the
│ │ │ -001b68c0: 2053 7973 7465 6d0a 2020 2020 616e 7369 System. ansi
│ │ │ -001b68d0: 626c 652e 6275 696c 7469 6e2e 636f 6d6d ble.builtin.comm
│ │ │ -001b68e0: 616e 643a 2073 7973 7465 6d63 746c 202d and: systemctl -
│ │ │ -001b68f0: 7120 6c69 7374 2d75 6e69 742d 6669 6c65 q list-unit-file
│ │ │ -001b6900: 7320 2d2d 7479 7065 2073 6572 7669 6365 s --type service
│ │ │ -001b6910: 0a20 2020 2072 6567 6973 7465 723a 2073 . register: s
│ │ │ -001b6920: 6572 7669 6365 5f65 7869 7374 730a 2020 ervice_exists.
│ │ │ -001b6930: 2020 6368 616e 6765 645f 7768 656e 3a20 changed_when:
│ │ │ -001b6940: 6661 6c73 650a 2020 2020 6661 696c 6564 false. failed
│ │ │ -001b6950: 5f77 6865 6e3a 2073 6572 7669 6365 5f65 _when: service_e
│ │ │ -001b6960: 7869 7374 732e 7263 206e 6f74 2069 6e20 xists.rc not in
│ │ │ -001b6970: 5b30 2c20 315d 0a20 2020 2063 6865 636b [0, 1]. check
│ │ │ -001b6980: 5f6d 6f64 653a 2066 616c 7365 0a0a 2020 _mode: false..
│ │ │ -001b6990: 2d20 6e61 6d65 3a20 4469 7361 626c 6520 - name: Disable
│ │ │ -001b69a0: 4170 706f 7274 2053 6572 7669 6365 202d Apport Service -
│ │ │ -001b69b0: 2045 6e73 7572 6520 6170 706f 7274 2e73 Ensure apport.s
│ │ │ -001b69c0: 6572 7669 6365 2069 7320 4d61 736b 6564 ervice is Masked
│ │ │ -001b69d0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -001b69e0: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:.
│ │ │ -001b69f0: 2020 2020 6e61 6d65 3a20 6170 706f 7274 name: apport
│ │ │ -001b6a00: 2e73 6572 7669 6365 0a20 2020 2020 2073 .service. s
│ │ │ -001b6a10: 7461 7465 3a20 7374 6f70 7065 640a 2020 tate: stopped.
│ │ │ -001b6a20: 2020 2020 656e 6162 6c65 643a 2066 616c enabled: fal
│ │ │ -001b6a30: 7365 0a20 2020 2020 206d 6173 6b65 643a se. masked:
│ │ │ -001b6a40: 2074 7275 650a 2020 2020 7768 656e 3a20 true. when:
│ │ │ -001b6a50: 7365 7276 6963 655f 6578 6973 7473 2e73 service_exists.s
│ │ │ -001b6a60: 7464 6f75 745f 6c69 6e65 7320 6973 2073 tdout_lines is s
│ │ │ -001b6a70: 6561 7263 6828 2261 7070 6f72 742e 7365 earch("apport.se
│ │ │ -001b6a80: 7276 6963 6522 2c20 6d75 6c74 696c 696e rvice", multilin
│ │ │ -001b6a90: 653d 5472 7565 290a 0a20 202d 206e 616d e=True).. - nam
│ │ │ -001b6aa0: 653a 2055 6e69 7420 536f 636b 6574 2045 e: Unit Socket E
│ │ │ -001b6ab0: 7869 7374 7320 2d20 6170 706f 7274 2e73 xists - apport.s
│ │ │ -001b6ac0: 6f63 6b65 740a 2020 2020 616e 7369 626c ocket. ansibl
│ │ │ -001b6ad0: 652e 6275 696c 7469 6e2e 636f 6d6d 616e e.builtin.comman
│ │ │ -001b6ae0: 643a 2073 7973 7465 6d63 746c 202d 7120 d: systemctl -q
│ │ │ -001b6af0: 6c69 7374 2d75 6e69 742d 6669 6c65 7320 list-unit-files
│ │ │ -001b6b00: 6170 706f 7274 2e73 6f63 6b65 740a 2020 apport.socket.
│ │ │ -001b6b10: 2020 7265 6769 7374 6572 3a20 736f 636b register: sock
│ │ │ -001b6b20: 6574 5f66 696c 655f 6578 6973 7473 0a20 et_file_exists.
│ │ │ -001b6b30: 2020 2063 6861 6e67 6564 5f77 6865 6e3a changed_when:
│ │ │ -001b6b40: 2066 616c 7365 0a20 2020 2066 6169 6c65 false. faile
│ │ │ -001b6b50: 645f 7768 656e 3a20 736f 636b 6574 5f66 d_when: socket_f
│ │ │ -001b6b60: 696c 655f 6578 6973 7473 2e72 6320 6e6f ile_exists.rc no
│ │ │ -001b6b70: 7420 696e 205b 302c 2031 5d0a 2020 2020 t in [0, 1].
│ │ │ -001b6b80: 6368 6563 6b5f 6d6f 6465 3a20 6661 6c73 check_mode: fals
│ │ │ -001b6b90: 650a 0a20 202d 206e 616d 653a 2044 6973 e.. - name: Dis
│ │ │ -001b6ba0: 6162 6c65 2041 7070 6f72 7420 5365 7276 able Apport Serv
│ │ │ -001b6bb0: 6963 6520 2d20 4469 7361 626c 6520 536f ice - Disable So
│ │ │ -001b6bc0: 636b 6574 2061 7070 6f72 740a 2020 2020 cket apport.
│ │ │ -001b6bd0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -001b6be0: 7379 7374 656d 643a 0a20 2020 2020 206e systemd:. n
│ │ │ -001b6bf0: 616d 653a 2061 7070 6f72 742e 736f 636b ame: apport.sock
│ │ │ -001b6c00: 6574 0a20 2020 2020 2065 6e61 626c 6564 et. enabled
│ │ │ -001b6c10: 3a20 6661 6c73 650a 2020 2020 2020 7374 : false. st
│ │ │ -001b6c20: 6174 653a 2073 746f 7070 6564 0a20 2020 ate: stopped.
│ │ │ -001b6c30: 2020 206d 6173 6b65 643a 2074 7275 650a masked: true.
│ │ │ -001b6c40: 2020 2020 7768 656e 3a20 736f 636b 6574 when: socket
│ │ │ -001b6c50: 5f66 696c 655f 6578 6973 7473 2e73 7464 _file_exists.std
│ │ │ -001b6c60: 6f75 745f 6c69 6e65 7320 6973 2073 6561 out_lines is sea
│ │ │ -001b6c70: 7263 6828 2261 7070 6f72 742e 736f 636b rch("apport.sock
│ │ │ -001b6c80: 6574 222c 206d 756c 7469 6c69 6e65 3d54 et", multiline=T
│ │ │ -001b6c90: 7275 6529 0a20 2074 6167 733a 0a20 202d rue). tags:. -
│ │ │ -001b6ca0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ -001b6cb0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -001b6cc0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -001b6cd0: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r
│ │ │ -001b6ce0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -001b6cf0: 2073 6572 7669 6365 5f61 7070 6f72 745f service_apport_
│ │ │ -001b6d00: 6469 7361 626c 6564 0a20 202d 2073 7065 disabled. - spe
│ │ │ -001b6d10: 6369 616c 5f73 6572 7669 6365 5f62 6c6f cial_service_blo
│ │ │ -001b6d20: 636b 0a20 202d 2075 6e6b 6e6f 776e 5f73 ck. - unknown_s
│ │ │ -001b6d30: 6576 6572 6974 790a 2020 7768 656e 3a20 everity. when:
│ │ │ -001b6d40: 2722 6170 706f 7274 2220 696e 2061 6e73 '"apport" in ans
│ │ │ -001b6d50: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -001b6d60: 6765 7327 0a3c 2f63 6f64 653e 3c2f 7072 ges'.Comp
│ │ │ +001b5fd0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +001b5fe0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +001b6000: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +001b6020: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001b6030: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001b6050: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +001b6060: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001b6070: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +001b6080: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ +001b6090: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ +001b60a0: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ +001b60b0: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ +001b60c0: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab
│ │ │ +001b60d0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +001b60e0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +001b60f0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +001b6100: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ +001b6110: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi
│ │ │ +001b6120: 6365 5f61 7070 6f72 745f 6469 7361 626c ce_apport_disabl
│ │ │ +001b6130: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73 ed. - unknown_s
│ │ │ +001b6140: 6576 6572 6974 790a 0a2d 206e 616d 653a everity..- name:
│ │ │ +001b6150: 2044 6973 6162 6c65 2041 7070 6f72 7420 Disable Apport
│ │ │ +001b6160: 5365 7276 6963 6520 2d20 4469 7361 626c Service - Disabl
│ │ │ +001b6170: 6520 7365 7276 6963 6520 6170 706f 7274 e service apport
│ │ │ +001b6180: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e . block:.. - n
│ │ │ +001b6190: 616d 653a 2044 6973 6162 6c65 2041 7070 ame: Disable App
│ │ │ +001b61a0: 6f72 7420 5365 7276 6963 6520 2d20 436f ort Service - Co
│ │ │ +001b61b0: 6c6c 6563 7420 7379 7374 656d 6420 5365 llect systemd Se
│ │ │ +001b61c0: 7276 6963 6573 2050 7265 7365 6e74 2069 rvices Present i
│ │ │ +001b61d0: 6e20 7468 6520 5379 7374 656d 0a20 2020 n the System.
│ │ │ +001b61e0: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +001b61f0: 2e63 6f6d 6d61 6e64 3a20 7379 7374 656d .command: system
│ │ │ +001b6200: 6374 6c20 2d71 206c 6973 742d 756e 6974 ctl -q list-unit
│ │ │ +001b6210: 2d66 696c 6573 202d 2d74 7970 6520 7365 -files --type se
│ │ │ +001b6220: 7276 6963 650a 2020 2020 7265 6769 7374 rvice. regist
│ │ │ +001b6230: 6572 3a20 7365 7276 6963 655f 6578 6973 er: service_exis
│ │ │ +001b6240: 7473 0a20 2020 2063 6861 6e67 6564 5f77 ts. changed_w
│ │ │ +001b6250: 6865 6e3a 2066 616c 7365 0a20 2020 2066 hen: false. f
│ │ │ +001b6260: 6169 6c65 645f 7768 656e 3a20 7365 7276 ailed_when: serv
│ │ │ +001b6270: 6963 655f 6578 6973 7473 2e72 6320 6e6f ice_exists.rc no
│ │ │ +001b6280: 7420 696e 205b 302c 2031 5d0a 2020 2020 t in [0, 1].
│ │ │ +001b6290: 6368 6563 6b5f 6d6f 6465 3a20 6661 6c73 check_mode: fals
│ │ │ +001b62a0: 650a 0a20 202d 206e 616d 653a 2044 6973 e.. - name: Dis
│ │ │ +001b62b0: 6162 6c65 2041 7070 6f72 7420 5365 7276 able Apport Serv
│ │ │ +001b62c0: 6963 6520 2d20 456e 7375 7265 2061 7070 ice - Ensure app
│ │ │ +001b62d0: 6f72 742e 7365 7276 6963 6520 6973 204d ort.service is M
│ │ │ +001b62e0: 6173 6b65 640a 2020 2020 616e 7369 626c asked. ansibl
│ │ │ +001b62f0: 652e 6275 696c 7469 6e2e 7379 7374 656d e.builtin.system
│ │ │ +001b6300: 643a 0a20 2020 2020 206e 616d 653a 2061 d:. name: a
│ │ │ +001b6310: 7070 6f72 742e 7365 7276 6963 650a 2020 pport.service.
│ │ │ +001b6320: 2020 2020 7374 6174 653a 2073 746f 7070 state: stopp
│ │ │ +001b6330: 6564 0a20 2020 2020 2065 6e61 626c 6564 ed. enabled
│ │ │ +001b6340: 3a20 6661 6c73 650a 2020 2020 2020 6d61 : false. ma
│ │ │ +001b6350: 736b 6564 3a20 7472 7565 0a20 2020 2077 sked: true. w
│ │ │ +001b6360: 6865 6e3a 2073 6572 7669 6365 5f65 7869 hen: service_exi
│ │ │ +001b6370: 7374 732e 7374 646f 7574 5f6c 696e 6573 sts.stdout_lines
│ │ │ +001b6380: 2069 7320 7365 6172 6368 2822 6170 706f is search("appo
│ │ │ +001b6390: 7274 2e73 6572 7669 6365 222c 206d 756c rt.service", mul
│ │ │ +001b63a0: 7469 6c69 6e65 3d54 7275 6529 0a0a 2020 tiline=True)..
│ │ │ +001b63b0: 2d20 6e61 6d65 3a20 556e 6974 2053 6f63 - name: Unit Soc
│ │ │ +001b63c0: 6b65 7420 4578 6973 7473 202d 2061 7070 ket Exists - app
│ │ │ +001b63d0: 6f72 742e 736f 636b 6574 0a20 2020 2061 ort.socket. a
│ │ │ +001b63e0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e63 nsible.builtin.c
│ │ │ +001b63f0: 6f6d 6d61 6e64 3a20 7379 7374 656d 6374 ommand: systemct
│ │ │ +001b6400: 6c20 2d71 206c 6973 742d 756e 6974 2d66 l -q list-unit-f
│ │ │ +001b6410: 696c 6573 2061 7070 6f72 742e 736f 636b iles apport.sock
│ │ │ +001b6420: 6574 0a20 2020 2072 6567 6973 7465 723a et. register:
│ │ │ +001b6430: 2073 6f63 6b65 745f 6669 6c65 5f65 7869 socket_file_exi
│ │ │ +001b6440: 7374 730a 2020 2020 6368 616e 6765 645f sts. changed_
│ │ │ +001b6450: 7768 656e 3a20 6661 6c73 650a 2020 2020 when: false.
│ │ │ +001b6460: 6661 696c 6564 5f77 6865 6e3a 2073 6f63 failed_when: soc
│ │ │ +001b6470: 6b65 745f 6669 6c65 5f65 7869 7374 732e ket_file_exists.
│ │ │ +001b6480: 7263 206e 6f74 2069 6e20 5b30 2c20 315d rc not in [0, 1]
│ │ │ +001b6490: 0a20 2020 2063 6865 636b 5f6d 6f64 653a . check_mode:
│ │ │ +001b64a0: 2066 616c 7365 0a0a 2020 2d20 6e61 6d65 false.. - name
│ │ │ +001b64b0: 3a20 4469 7361 626c 6520 4170 706f 7274 : Disable Apport
│ │ │ +001b64c0: 2053 6572 7669 6365 202d 2044 6973 6162 Service - Disab
│ │ │ +001b64d0: 6c65 2053 6f63 6b65 7420 6170 706f 7274 le Socket apport
│ │ │ +001b64e0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ +001b64f0: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:.
│ │ │ +001b6500: 2020 2020 6e61 6d65 3a20 6170 706f 7274 name: apport
│ │ │ +001b6510: 2e73 6f63 6b65 740a 2020 2020 2020 656e .socket. en
│ │ │ +001b6520: 6162 6c65 643a 2066 616c 7365 0a20 2020 abled: false.
│ │ │ +001b6530: 2020 2073 7461 7465 3a20 7374 6f70 7065 state: stoppe
│ │ │ +001b6540: 640a 2020 2020 2020 6d61 736b 6564 3a20 d. masked:
│ │ │ +001b6550: 7472 7565 0a20 2020 2077 6865 6e3a 2073 true. when: s
│ │ │ +001b6560: 6f63 6b65 745f 6669 6c65 5f65 7869 7374 ocket_file_exist
│ │ │ +001b6570: 732e 7374 646f 7574 5f6c 696e 6573 2069 s.stdout_lines i
│ │ │ +001b6580: 7320 7365 6172 6368 2822 6170 706f 7274 s search("apport
│ │ │ +001b6590: 2e73 6f63 6b65 7422 2c20 6d75 6c74 696c .socket", multil
│ │ │ +001b65a0: 696e 653d 5472 7565 290a 2020 7461 6773 ine=True). tags
│ │ │ +001b65b0: 3a0a 2020 2d20 6469 7361 626c 655f 7374 :. - disable_st
│ │ │ +001b65c0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +001b65d0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +001b65e0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +001b65f0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +001b6600: 640a 2020 2d20 7365 7276 6963 655f 6170 d. - service_ap
│ │ │ +001b6610: 706f 7274 5f64 6973 6162 6c65 640a 2020 port_disabled.
│ │ │ +001b6620: 2d20 7370 6563 6961 6c5f 7365 7276 6963 - special_servic
│ │ │ +001b6630: 655f 626c 6f63 6b0a 2020 2d20 756e 6b6e e_block. - unkn
│ │ │ +001b6640: 6f77 6e5f 7365 7665 7269 7479 0a20 2077 own_severity. w
│ │ │ +001b6650: 6865 6e3a 2027 2261 7070 6f72 7422 2069 hen: '"apport" i
│ │ │ +001b6660: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ +001b6670: 7061 636b 6167 6573 270a 3c2f 636f 6465 packages'.
Remedi
│ │ │ +001b6730: 6174 696f 6e20 4b75 6265 726e 6574 6573 ation Kubernetes
│ │ │ +001b6740: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +001b6750: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +001b67d0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +001b67f0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +001b6800: 6e3a 3c2f 7468 3e3c 7464 3e6d 6564 6975 n: mediu
│ │ │ +001b6810: 6d3c 2f74 643e 3c2f 7472 3e3c 7472 3e3c m <
│ │ │ +001b6820: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001b6830: 7464 3e74 7275 653c 2f74 643e 3c2f 7472 td>true Strateg
│ │ │ +001b6850: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +001b6860: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le a
│ │ │ +001b6880: 7069 5665 7273 696f 6e3a 206d 6163 6869 piVersion: machi
│ │ │ +001b6890: 6e65 636f 6e66 6967 7572 6174 696f 6e2e neconfiguration.
│ │ │ +001b68a0: 6f70 656e 7368 6966 742e 696f 2f76 310a openshift.io/v1.
│ │ │ +001b68b0: 6b69 6e64 3a20 4d61 6368 696e 6543 6f6e kind: MachineCon
│ │ │ +001b68c0: 6669 670a 7370 6563 3a0a 2020 636f 6e66 fig.spec:. conf
│ │ │ +001b68d0: 6967 3a0a 2020 2020 6967 6e69 7469 6f6e ig:. ignition
│ │ │ +001b68e0: 3a0a 2020 2020 2020 7665 7273 696f 6e3a :. version:
│ │ │ +001b68f0: 2033 2e31 2e30 0a20 2020 2073 7973 7465 3.1.0. syste
│ │ │ +001b6900: 6d64 3a0a 2020 2020 2020 756e 6974 733a md:. units:
│ │ │ +001b6910: 0a20 2020 2020 202d 206e 616d 653a 2061 . - name: a
│ │ │ +001b6920: 7070 6f72 742e 7365 7276 6963 650a 2020 pport.service.
│ │ │ +001b6930: 2020 2020 2020 656e 6162 6c65 643a 2066 enabled: f
│ │ │ +001b6940: 616c 7365 0a20 2020 2020 2020 206d 6173 alse. mas
│ │ │ +001b6950: 6b3a 2074 7275 650a 2020 2020 2020 2d20 k: true. -
│ │ │ +001b6960: 6e61 6d65 3a20 6170 706f 7274 2e73 6f63 name: apport.soc
│ │ │ +001b6970: 6b65 740a 2020 2020 2020 2020 656e 6162 ket. enab
│ │ │ +001b6980: 6c65 643a 2066 616c 7365 0a20 2020 2020 led: false.
│ │ │ +001b6990: 2020 206d 6173 6b3a 2074 7275 650a 3c2f mask: true.
│ │ │ +001b69a0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +001b6a50: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ +001b6a60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +001b6a70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +001b6af0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +001b6b10: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +001b6b20: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +001b6b30: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001b6b40: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +001b6b50: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +001b6b60: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +001b6b70: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +001b6b80: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001b6ba0: 7564 6520 6469 7361 626c 655f 6170 706f ude disable_appo
│ │ │ +001b6bb0: 7274 0a0a 636c 6173 7320 6469 7361 626c rt..class disabl
│ │ │ +001b6bc0: 655f 6170 706f 7274 207b 0a20 2073 6572 e_apport {. ser
│ │ │ +001b6bd0: 7669 6365 207b 2761 7070 6f72 7427 3a0a vice {'apport':.
│ │ │ +001b6be0: 2020 2020 656e 6162 6c65 203d 2667 743b enable =>
│ │ │ +001b6bf0: 2066 616c 7365 2c0a 2020 2020 656e 7375 false,. ensu
│ │ │ +001b6c00: 7265 203d 2667 743b 2027 7374 6f70 7065 re => 'stoppe
│ │ │ +001b6c10: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remedi
│ │ │ +001b6cd0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ +001b6ce0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ +001b6cf0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +001b6d30: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a .[customiz
│ │ │ +001b6d40: 6174 696f 6e73 2e73 6572 7669 6365 735d ations.services]
│ │ │ +001b6d50: 0a6d 6173 6b65 6420 3d20 5b22 6170 706f .masked = ["appo
│ │ │ +001b6d60: 7274 225d 0a3c 2f63 6f64 653e 3c2f 7072 rt"].
Remediation
│ │ │ -001b8950: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -001b8960: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001b89f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001b8a10: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001b8a30: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001b8a40: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -001b8a60: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -001b8a70: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ -001b8aa0: 6f76 655f 6176 6168 692d 6461 656d 6f6e ove_avahi-daemon
│ │ │ -001b8ab0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f61 ..class remove_a
│ │ │ -001b8ac0: 7661 6869 2d64 6165 6d6f 6e20 7b0a 2020 vahi-daemon {.
│ │ │ -001b8ad0: 7061 636b 6167 6520 7b20 2761 7661 6869 package { 'avahi
│ │ │ -001b8ae0: 2d64 6165 6d6f 6e27 3a0a 2020 2020 656e -daemon':. en
│ │ │ -001b8af0: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ -001b8b00: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -001b8bc0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -001b8bd0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -001b8c60: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -001b8c70: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -001b8c90: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001b8cb0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001b8cc0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001b8ce0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -001b8cf0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001b8d00: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -001b8d10: 653a 2027 556e 696e 7374 616c 6c20 6176 e: 'Uninstall av
│ │ │ -001b8d20: 6168 6920 5365 7276 6572 2050 6163 6b61 ahi Server Packa
│ │ │ -001b8d30: 6765 3a20 456e 7375 7265 2061 7661 6869 ge: Ensure avahi
│ │ │ -001b8d40: 2d64 6165 6d6f 6e20 6973 2072 656d 6f76 -daemon is remov
│ │ │ -001b8d50: 6564 270a 2020 616e 7369 626c 652e 6275 ed'. ansible.bu
│ │ │ -001b8d60: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ -001b8d70: 2020 206e 616d 653a 2061 7661 6869 2d64 name: avahi-d
│ │ │ -001b8d80: 6165 6d6f 6e0a 2020 2020 7374 6174 653a aemon. state:
│ │ │ -001b8d90: 2061 6273 656e 740a 2020 7461 6773 3a0a absent. tags:.
│ │ │ -001b8da0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -001b8db0: 434d 2d36 2861 290a 2020 2d20 4e49 5354 CM-6(a). - NIST
│ │ │ -001b8dc0: 2d38 3030 2d35 332d 434d 2d37 2861 290a -800-53-CM-7(a).
│ │ │ -001b8dd0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -001b8de0: 434d 2d37 2862 290a 2020 2d20 6469 7361 CM-7(b). - disa
│ │ │ -001b8df0: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -001b8e00: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -001b8e10: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -001b8e20: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -001b8e30: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -001b8e40: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -001b8e50: 7061 636b 6167 655f 6176 6168 695f 7265 package_avahi_re
│ │ │ -001b8e60: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.
Complexity
│ │ │ +001b89f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +001b8a10: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001b8a20: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001b8a30: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001b8a40: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001b8a60: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +001b8a90: 636f 6465 3e2d 206e 616d 653a 2027 556e code>- name: 'Un
│ │ │ +001b8aa0: 696e 7374 616c 6c20 6176 6168 6920 5365 install avahi Se
│ │ │ +001b8ab0: 7276 6572 2050 6163 6b61 6765 3a20 456e rver Package: En
│ │ │ +001b8ac0: 7375 7265 2061 7661 6869 2d64 6165 6d6f sure avahi-daemo
│ │ │ +001b8ad0: 6e20 6973 2072 656d 6f76 6564 270a 2020 n is removed'.
│ │ │ +001b8ae0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +001b8af0: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +001b8b00: 653a 2061 7661 6869 2d64 6165 6d6f 6e0a e: avahi-daemon.
│ │ │ +001b8b10: 2020 2020 7374 6174 653a 2061 6273 656e state: absen
│ │ │ +001b8b20: 740a 2020 7461 6773 3a0a 2020 2d20 4e49 t. tags:. - NI
│ │ │ +001b8b30: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ +001b8b40: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ +001b8b50: 332d 434d 2d37 2861 290a 2020 2d20 4e49 3-CM-7(a). - NI
│ │ │ +001b8b60: 5354 2d38 3030 2d35 332d 434d 2d37 2862 ST-800-53-CM-7(b
│ │ │ +001b8b70: 290a 2020 2d20 6469 7361 626c 655f 7374 ). - disable_st
│ │ │ +001b8b80: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +001b8b90: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +001b8ba0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +001b8bb0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +001b8bc0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +001b8bd0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ +001b8be0: 655f 6176 6168 695f 7265 6d6f 7665 640a e_avahi_removed.
│ │ │ +001b8bf0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +001b8ca0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +001b8cb0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +001b8cc0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +001b8d40: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +001b8d50: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +001b8d70: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +001b8d80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +001b8dc0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +001b8dd0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ +001b8df0: 696e 636c 7564 6520 7265 6d6f 7665 5f61 include remove_a
│ │ │ +001b8e00: 7661 6869 2d64 6165 6d6f 6e0a 0a63 6c61 vahi-daemon..cla
│ │ │ +001b8e10: 7373 2072 656d 6f76 655f 6176 6168 692d ss remove_avahi-
│ │ │ +001b8e20: 6461 656d 6f6e 207b 0a20 2070 6163 6b61 daemon {. packa
│ │ │ +001b8e30: 6765 207b 2027 6176 6168 692d 6461 656d ge { 'avahi-daem
│ │ │ +001b8e40: 6f6e 273a 0a20 2020 2065 6e73 7572 6520 on':. ensure
│ │ │ +001b8e50: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ +001b8e60: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Remedi
│ │ │ -001b9fe0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ -001b9ff0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ -001ba000: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001ba040: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a .[customiz
│ │ │ -001ba050: 6174 696f 6e73 2e73 6572 7669 6365 735d ations.services]
│ │ │ -001ba060: 0a6d 6173 6b65 6420 3d20 5b22 6176 6168 .masked = ["avah
│ │ │ -001ba070: 692d 6461 656d 6f6e 225d 0a3c 2f63 6f64 i-daemon"].
Remed
│ │ │ -001ba130: 6961 7469 6f6e 204b 7562 6572 6e65 7465 iation Kubernete
│ │ │ -001ba140: 7320 736e 6970 7065 7420 e287 b23c 2f61 s snippet ...
C
│ │ │ -001ba1d0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -001ba1e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001ba1f0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -001ba200: 6f6e 3a3c 2f74 683e 3c74 643e 6d65 6469 on: medi
│ │ │ -001ba210: 756d 3c2f 7464 3e3c 2f74 723e 3c74 723e um
│ │ │ -001ba220: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -001ba230: 3c74 643e 7472 7565 3c2f 7464 3e3c 2f74 true Strate
│ │ │ -001ba250: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ -001ba260: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001ba280: 6170 6956 6572 7369 6f6e 3a20 6d61 6368 apiVersion: mach
│ │ │ -001ba290: 696e 6563 6f6e 6669 6775 7261 7469 6f6e ineconfiguration
│ │ │ -001ba2a0: 2e6f 7065 6e73 6869 6674 2e69 6f2f 7631 .openshift.io/v1
│ │ │ -001ba2b0: 0a6b 696e 643a 204d 6163 6869 6e65 436f .kind: MachineCo
│ │ │ -001ba2c0: 6e66 6967 0a73 7065 633a 0a20 2063 6f6e nfig.spec:. con
│ │ │ -001ba2d0: 6669 673a 0a20 2020 2069 676e 6974 696f fig:. ignitio
│ │ │ -001ba2e0: 6e3a 0a20 2020 2020 2076 6572 7369 6f6e n:. version
│ │ │ -001ba2f0: 3a20 332e 312e 300a 2020 2020 7379 7374 : 3.1.0. syst
│ │ │ -001ba300: 656d 643a 0a20 2020 2020 2075 6e69 7473 emd:. units
│ │ │ -001ba310: 3a0a 2020 2020 2020 2d20 6e61 6d65 3a20 :. - name:
│ │ │ -001ba320: 6176 6168 692d 6461 656d 6f6e 2e73 6572 avahi-daemon.ser
│ │ │ -001ba330: 7669 6365 0a20 2020 2020 2020 2065 6e61 vice. ena
│ │ │ -001ba340: 626c 6564 3a20 6661 6c73 650a 2020 2020 bled: false.
│ │ │ -001ba350: 2020 2020 6d61 736b 3a20 7472 7565 0a20 mask: true.
│ │ │ -001ba360: 2020 2020 202d 206e 616d 653a 2061 7661 - name: ava
│ │ │ -001ba370: 6869 2d64 6165 6d6f 6e2e 736f 636b 6574 hi-daemon.socket
│ │ │ -001ba380: 0a20 2020 2020 2020 2065 6e61 626c 6564 . enabled
│ │ │ -001ba390: 3a20 6661 6c73 650a 2020 2020 2020 2020 : false.
│ │ │ -001ba3a0: 6d61 736b 3a20 7472 7565 0a3c 2f63 6f64 mask: true.
Remed
│ │ │ -001ba460: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -001ba470: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001ba500: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001ba510: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001ba520: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001ba530: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001ba540: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001ba550: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001ba560: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001ba570: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
include
│ │ │ -001ba5b0: 2064 6973 6162 6c65 5f61 7661 6869 2d64 disable_avahi-d
│ │ │ -001ba5c0: 6165 6d6f 6e0a 0a63 6c61 7373 2064 6973 aemon..class dis
│ │ │ -001ba5d0: 6162 6c65 5f61 7661 6869 2d64 6165 6d6f able_avahi-daemo
│ │ │ -001ba5e0: 6e20 7b0a 2020 7365 7276 6963 6520 7b27 n {. service {'
│ │ │ -001ba5f0: 6176 6168 692d 6461 656d 6f6e 273a 0a20 avahi-daemon':.
│ │ │ -001ba600: 2020 2065 6e61 626c 6520 3d26 6774 3b20 enable =>
│ │ │ -001ba610: 6661 6c73 652c 0a20 2020 2065 6e73 7572 false,. ensur
│ │ │ -001ba620: 6520 3d26 6774 3b20 2773 746f 7070 6564 e => 'stopped
│ │ │ -001ba630: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ -001ba640: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -001ba6f0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -001ba700: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001ba710: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001ba740: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001ba790: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001ba7a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001ba7b0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001ba7c0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001ba7d0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001ba7e0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001ba7f0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001ba800: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ -001ba840: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ -001ba850: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ -001ba860: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ -001ba870: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ -001ba880: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ -001ba890: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -001ba8a0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -001ba8b0: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80
│ │ │ -001ba8c0: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). -
│ │ │ -001ba8d0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2.
│ │ │ -001ba8e0: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ -001ba8f0: 2e34 0a20 202d 2064 6973 6162 6c65 5f73 .4. - disable_s
│ │ │ -001ba900: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ -001ba910: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ -001ba920: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ -001ba930: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ -001ba940: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ -001ba950: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi
│ │ │ -001ba960: 6365 5f61 7661 6869 2d64 6165 6d6f 6e5f ce_avahi-daemon_
│ │ │ -001ba970: 6469 7361 626c 6564 0a0a 2d20 6e61 6d65 disabled..- name
│ │ │ -001ba980: 3a20 4469 7361 626c 6520 4176 6168 6920 : Disable Avahi
│ │ │ -001ba990: 5365 7276 6572 2053 6f66 7477 6172 6520 Server Software
│ │ │ -001ba9a0: 2d20 4469 7361 626c 6520 7365 7276 6963 - Disable servic
│ │ │ -001ba9b0: 6520 6176 6168 692d 6461 656d 6f6e 0a20 e avahi-daemon.
│ │ │ -001ba9c0: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d block:.. - nam
│ │ │ -001ba9d0: 653a 2044 6973 6162 6c65 2041 7661 6869 e: Disable Avahi
│ │ │ -001ba9e0: 2053 6572 7665 7220 536f 6674 7761 7265 Server Software
│ │ │ -001ba9f0: 202d 2043 6f6c 6c65 6374 2073 7973 7465 - Collect syste
│ │ │ -001baa00: 6d64 2053 6572 7669 6365 7320 5072 6573 md Services Pres
│ │ │ -001baa10: 656e 7420 696e 2074 6865 0a20 2020 2020 ent in the.
│ │ │ -001baa20: 2053 7973 7465 6d0a 2020 2020 616e 7369 System. ansi
│ │ │ -001baa30: 626c 652e 6275 696c 7469 6e2e 636f 6d6d ble.builtin.comm
│ │ │ -001baa40: 616e 643a 2073 7973 7465 6d63 746c 202d and: systemctl -
│ │ │ -001baa50: 7120 6c69 7374 2d75 6e69 742d 6669 6c65 q list-unit-file
│ │ │ -001baa60: 7320 2d2d 7479 7065 2073 6572 7669 6365 s --type service
│ │ │ -001baa70: 0a20 2020 2072 6567 6973 7465 723a 2073 . register: s
│ │ │ -001baa80: 6572 7669 6365 5f65 7869 7374 730a 2020 ervice_exists.
│ │ │ -001baa90: 2020 6368 616e 6765 645f 7768 656e 3a20 changed_when:
│ │ │ -001baaa0: 6661 6c73 650a 2020 2020 6661 696c 6564 false. failed
│ │ │ -001baab0: 5f77 6865 6e3a 2073 6572 7669 6365 5f65 _when: service_e
│ │ │ -001baac0: 7869 7374 732e 7263 206e 6f74 2069 6e20 xists.rc not in
│ │ │ -001baad0: 5b30 2c20 315d 0a20 2020 2063 6865 636b [0, 1]. check
│ │ │ -001baae0: 5f6d 6f64 653a 2066 616c 7365 0a0a 2020 _mode: false..
│ │ │ -001baaf0: 2d20 6e61 6d65 3a20 4469 7361 626c 6520 - name: Disable
│ │ │ -001bab00: 4176 6168 6920 5365 7276 6572 2053 6f66 Avahi Server Sof
│ │ │ -001bab10: 7477 6172 6520 2d20 456e 7375 7265 2061 tware - Ensure a
│ │ │ -001bab20: 7661 6869 2d64 6165 6d6f 6e2e 7365 7276 vahi-daemon.serv
│ │ │ -001bab30: 6963 6520 6973 204d 6173 6b65 640a 2020 ice is Masked.
│ │ │ -001bab40: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -001bab50: 6e2e 7379 7374 656d 643a 0a20 2020 2020 n.systemd:.
│ │ │ -001bab60: 206e 616d 653a 2061 7661 6869 2d64 6165 name: avahi-dae
│ │ │ -001bab70: 6d6f 6e2e 7365 7276 6963 650a 2020 2020 mon.service.
│ │ │ -001bab80: 2020 7374 6174 653a 2073 746f 7070 6564 state: stopped
│ │ │ -001bab90: 0a20 2020 2020 2065 6e61 626c 6564 3a20 . enabled:
│ │ │ -001baba0: 6661 6c73 650a 2020 2020 2020 6d61 736b false. mask
│ │ │ -001babb0: 6564 3a20 7472 7565 0a20 2020 2077 6865 ed: true. whe
│ │ │ -001babc0: 6e3a 2073 6572 7669 6365 5f65 7869 7374 n: service_exist
│ │ │ -001babd0: 732e 7374 646f 7574 5f6c 696e 6573 2069 s.stdout_lines i
│ │ │ -001babe0: 7320 7365 6172 6368 2822 6176 6168 692d s search("avahi-
│ │ │ -001babf0: 6461 656d 6f6e 2e73 6572 7669 6365 222c daemon.service",
│ │ │ -001bac00: 206d 756c 7469 6c69 6e65 3d54 7275 6529 multiline=True)
│ │ │ -001bac10: 0a0a 2020 2d20 6e61 6d65 3a20 556e 6974 .. - name: Unit
│ │ │ -001bac20: 2053 6f63 6b65 7420 4578 6973 7473 202d Socket Exists -
│ │ │ -001bac30: 2061 7661 6869 2d64 6165 6d6f 6e2e 736f avahi-daemon.so
│ │ │ -001bac40: 636b 6574 0a20 2020 2061 6e73 6962 6c65 cket. ansible
│ │ │ -001bac50: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64 .builtin.command
│ │ │ -001bac60: 3a20 7379 7374 656d 6374 6c20 2d71 206c : systemctl -q l
│ │ │ -001bac70: 6973 742d 756e 6974 2d66 696c 6573 2061 ist-unit-files a
│ │ │ -001bac80: 7661 6869 2d64 6165 6d6f 6e2e 736f 636b vahi-daemon.sock
│ │ │ -001bac90: 6574 0a20 2020 2072 6567 6973 7465 723a et. register:
│ │ │ -001baca0: 2073 6f63 6b65 745f 6669 6c65 5f65 7869 socket_file_exi
│ │ │ -001bacb0: 7374 730a 2020 2020 6368 616e 6765 645f sts. changed_
│ │ │ -001bacc0: 7768 656e 3a20 6661 6c73 650a 2020 2020 when: false.
│ │ │ -001bacd0: 6661 696c 6564 5f77 6865 6e3a 2073 6f63 failed_when: soc
│ │ │ -001bace0: 6b65 745f 6669 6c65 5f65 7869 7374 732e ket_file_exists.
│ │ │ -001bacf0: 7263 206e 6f74 2069 6e20 5b30 2c20 315d rc not in [0, 1]
│ │ │ -001bad00: 0a20 2020 2063 6865 636b 5f6d 6f64 653a . check_mode:
│ │ │ -001bad10: 2066 616c 7365 0a0a 2020 2d20 6e61 6d65 false.. - name
│ │ │ -001bad20: 3a20 4469 7361 626c 6520 4176 6168 6920 : Disable Avahi
│ │ │ -001bad30: 5365 7276 6572 2053 6f66 7477 6172 6520 Server Software
│ │ │ -001bad40: 2d20 4469 7361 626c 6520 536f 636b 6574 - Disable Socket
│ │ │ -001bad50: 2061 7661 6869 2d64 6165 6d6f 6e0a 2020 avahi-daemon.
│ │ │ -001bad60: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -001bad70: 6e2e 7379 7374 656d 643a 0a20 2020 2020 n.systemd:.
│ │ │ -001bad80: 206e 616d 653a 2061 7661 6869 2d64 6165 name: avahi-dae
│ │ │ -001bad90: 6d6f 6e2e 736f 636b 6574 0a20 2020 2020 mon.socket.
│ │ │ -001bada0: 2065 6e61 626c 6564 3a20 6661 6c73 650a enabled: false.
│ │ │ -001badb0: 2020 2020 2020 7374 6174 653a 2073 746f state: sto
│ │ │ -001badc0: 7070 6564 0a20 2020 2020 206d 6173 6b65 pped. maske
│ │ │ -001badd0: 643a 2074 7275 650a 2020 2020 7768 656e d: true. when
│ │ │ -001bade0: 3a20 736f 636b 6574 5f66 696c 655f 6578 : socket_file_ex
│ │ │ -001badf0: 6973 7473 2e73 7464 6f75 745f 6c69 6e65 ists.stdout_line
│ │ │ -001bae00: 7320 6973 2073 6561 7263 6828 2261 7661 s is search("ava
│ │ │ -001bae10: 6869 2d64 6165 6d6f 6e2e 736f 636b 6574 hi-daemon.socket
│ │ │ -001bae20: 222c 206d 756c 7469 6c69 6e65 3d54 7275 ", multiline=Tru
│ │ │ -001bae30: 6529 0a20 2074 6167 733a 0a20 202d 204e e). tags:. - N
│ │ │ -001bae40: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ -001bae50: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ -001bae60: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N
│ │ │ -001bae70: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ -001bae80: 6229 0a20 202d 2050 4349 2d44 5353 7634 b). - PCI-DSSv4
│ │ │ -001bae90: 2d32 2e32 0a20 202d 2050 4349 2d44 5353 -2.2. - PCI-DSS
│ │ │ -001baea0: 7634 2d32 2e32 2e34 0a20 202d 2064 6973 v4-2.2.4. - dis
│ │ │ -001baeb0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -001baec0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -001baed0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -001baee0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ -001baef0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -001baf00: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -001baf10: 2073 6572 7669 6365 5f61 7661 6869 2d64 service_avahi-d
│ │ │ -001baf20: 6165 6d6f 6e5f 6469 7361 626c 6564 0a20 aemon_disabled.
│ │ │ -001baf30: 202d 2073 7065 6369 616c 5f73 6572 7669 - special_servi
│ │ │ -001baf40: 6365 5f62 6c6f 636b 0a20 2077 6865 6e3a ce_block. when:
│ │ │ -001baf50: 2028 2022 6176 6168 692d 6461 656d 6f6e ( "avahi-daemon
│ │ │ -001baf60: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ -001baf70: 7473 2e70 6163 6b61 6765 7320 616e 6420 ts.packages and
│ │ │ -001baf80: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ -001baf90: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -001bafa0: 636b 6167 6573 0a20 2020 2029 0a3c 2f63 ckages. ).
Compl
│ │ │ +001ba080: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +001ba090: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001ba0a0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +001ba0b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001ba0c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +001ba0d0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +001ba0e0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +001ba0f0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ +001ba120: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ +001ba130: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ +001ba140: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ +001ba150: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ +001ba160: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ +001ba170: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ +001ba180: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ +001ba190: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ +001ba1a0: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8
│ │ │ +001ba1b0: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b).
│ │ │ +001ba1c0: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2.
│ │ │ +001ba1d0: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ +001ba1e0: 322e 340a 2020 2d20 6469 7361 626c 655f 2.4. - disable_
│ │ │ +001ba1f0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +001ba200: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +001ba210: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +001ba220: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +001ba230: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +001ba240: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv
│ │ │ +001ba250: 6963 655f 6176 6168 692d 6461 656d 6f6e ice_avahi-daemon
│ │ │ +001ba260: 5f64 6973 6162 6c65 640a 0a2d 206e 616d _disabled..- nam
│ │ │ +001ba270: 653a 2044 6973 6162 6c65 2041 7661 6869 e: Disable Avahi
│ │ │ +001ba280: 2053 6572 7665 7220 536f 6674 7761 7265 Server Software
│ │ │ +001ba290: 202d 2044 6973 6162 6c65 2073 6572 7669 - Disable servi
│ │ │ +001ba2a0: 6365 2061 7661 6869 2d64 6165 6d6f 6e0a ce avahi-daemon.
│ │ │ +001ba2b0: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61 block:.. - na
│ │ │ +001ba2c0: 6d65 3a20 4469 7361 626c 6520 4176 6168 me: Disable Avah
│ │ │ +001ba2d0: 6920 5365 7276 6572 2053 6f66 7477 6172 i Server Softwar
│ │ │ +001ba2e0: 6520 2d20 436f 6c6c 6563 7420 7379 7374 e - Collect syst
│ │ │ +001ba2f0: 656d 6420 5365 7276 6963 6573 2050 7265 emd Services Pre
│ │ │ +001ba300: 7365 6e74 2069 6e20 7468 650a 2020 2020 sent in the.
│ │ │ +001ba310: 2020 5379 7374 656d 0a20 2020 2061 6e73 System. ans
│ │ │ +001ba320: 6962 6c65 2e62 7569 6c74 696e 2e63 6f6d ible.builtin.com
│ │ │ +001ba330: 6d61 6e64 3a20 7379 7374 656d 6374 6c20 mand: systemctl
│ │ │ +001ba340: 2d71 206c 6973 742d 756e 6974 2d66 696c -q list-unit-fil
│ │ │ +001ba350: 6573 202d 2d74 7970 6520 7365 7276 6963 es --type servic
│ │ │ +001ba360: 650a 2020 2020 7265 6769 7374 6572 3a20 e. register:
│ │ │ +001ba370: 7365 7276 6963 655f 6578 6973 7473 0a20 service_exists.
│ │ │ +001ba380: 2020 2063 6861 6e67 6564 5f77 6865 6e3a changed_when:
│ │ │ +001ba390: 2066 616c 7365 0a20 2020 2066 6169 6c65 false. faile
│ │ │ +001ba3a0: 645f 7768 656e 3a20 7365 7276 6963 655f d_when: service_
│ │ │ +001ba3b0: 6578 6973 7473 2e72 6320 6e6f 7420 696e exists.rc not in
│ │ │ +001ba3c0: 205b 302c 2031 5d0a 2020 2020 6368 6563 [0, 1]. chec
│ │ │ +001ba3d0: 6b5f 6d6f 6465 3a20 6661 6c73 650a 0a20 k_mode: false..
│ │ │ +001ba3e0: 202d 206e 616d 653a 2044 6973 6162 6c65 - name: Disable
│ │ │ +001ba3f0: 2041 7661 6869 2053 6572 7665 7220 536f Avahi Server So
│ │ │ +001ba400: 6674 7761 7265 202d 2045 6e73 7572 6520 ftware - Ensure
│ │ │ +001ba410: 6176 6168 692d 6461 656d 6f6e 2e73 6572 avahi-daemon.ser
│ │ │ +001ba420: 7669 6365 2069 7320 4d61 736b 6564 0a20 vice is Masked.
│ │ │ +001ba430: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ +001ba440: 696e 2e73 7973 7465 6d64 3a0a 2020 2020 in.systemd:.
│ │ │ +001ba450: 2020 6e61 6d65 3a20 6176 6168 692d 6461 name: avahi-da
│ │ │ +001ba460: 656d 6f6e 2e73 6572 7669 6365 0a20 2020 emon.service.
│ │ │ +001ba470: 2020 2073 7461 7465 3a20 7374 6f70 7065 state: stoppe
│ │ │ +001ba480: 640a 2020 2020 2020 656e 6162 6c65 643a d. enabled:
│ │ │ +001ba490: 2066 616c 7365 0a20 2020 2020 206d 6173 false. mas
│ │ │ +001ba4a0: 6b65 643a 2074 7275 650a 2020 2020 7768 ked: true. wh
│ │ │ +001ba4b0: 656e 3a20 7365 7276 6963 655f 6578 6973 en: service_exis
│ │ │ +001ba4c0: 7473 2e73 7464 6f75 745f 6c69 6e65 7320 ts.stdout_lines
│ │ │ +001ba4d0: 6973 2073 6561 7263 6828 2261 7661 6869 is search("avahi
│ │ │ +001ba4e0: 2d64 6165 6d6f 6e2e 7365 7276 6963 6522 -daemon.service"
│ │ │ +001ba4f0: 2c20 6d75 6c74 696c 696e 653d 5472 7565 , multiline=True
│ │ │ +001ba500: 290a 0a20 202d 206e 616d 653a 2055 6e69 ).. - name: Uni
│ │ │ +001ba510: 7420 536f 636b 6574 2045 7869 7374 7320 t Socket Exists
│ │ │ +001ba520: 2d20 6176 6168 692d 6461 656d 6f6e 2e73 - avahi-daemon.s
│ │ │ +001ba530: 6f63 6b65 740a 2020 2020 616e 7369 626c ocket. ansibl
│ │ │ +001ba540: 652e 6275 696c 7469 6e2e 636f 6d6d 616e e.builtin.comman
│ │ │ +001ba550: 643a 2073 7973 7465 6d63 746c 202d 7120 d: systemctl -q
│ │ │ +001ba560: 6c69 7374 2d75 6e69 742d 6669 6c65 7320 list-unit-files
│ │ │ +001ba570: 6176 6168 692d 6461 656d 6f6e 2e73 6f63 avahi-daemon.soc
│ │ │ +001ba580: 6b65 740a 2020 2020 7265 6769 7374 6572 ket. register
│ │ │ +001ba590: 3a20 736f 636b 6574 5f66 696c 655f 6578 : socket_file_ex
│ │ │ +001ba5a0: 6973 7473 0a20 2020 2063 6861 6e67 6564 ists. changed
│ │ │ +001ba5b0: 5f77 6865 6e3a 2066 616c 7365 0a20 2020 _when: false.
│ │ │ +001ba5c0: 2066 6169 6c65 645f 7768 656e 3a20 736f failed_when: so
│ │ │ +001ba5d0: 636b 6574 5f66 696c 655f 6578 6973 7473 cket_file_exists
│ │ │ +001ba5e0: 2e72 6320 6e6f 7420 696e 205b 302c 2031 .rc not in [0, 1
│ │ │ +001ba5f0: 5d0a 2020 2020 6368 6563 6b5f 6d6f 6465 ]. check_mode
│ │ │ +001ba600: 3a20 6661 6c73 650a 0a20 202d 206e 616d : false.. - nam
│ │ │ +001ba610: 653a 2044 6973 6162 6c65 2041 7661 6869 e: Disable Avahi
│ │ │ +001ba620: 2053 6572 7665 7220 536f 6674 7761 7265 Server Software
│ │ │ +001ba630: 202d 2044 6973 6162 6c65 2053 6f63 6b65 - Disable Socke
│ │ │ +001ba640: 7420 6176 6168 692d 6461 656d 6f6e 0a20 t avahi-daemon.
│ │ │ +001ba650: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ +001ba660: 696e 2e73 7973 7465 6d64 3a0a 2020 2020 in.systemd:.
│ │ │ +001ba670: 2020 6e61 6d65 3a20 6176 6168 692d 6461 name: avahi-da
│ │ │ +001ba680: 656d 6f6e 2e73 6f63 6b65 740a 2020 2020 emon.socket.
│ │ │ +001ba690: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false
│ │ │ +001ba6a0: 0a20 2020 2020 2073 7461 7465 3a20 7374 . state: st
│ │ │ +001ba6b0: 6f70 7065 640a 2020 2020 2020 6d61 736b opped. mask
│ │ │ +001ba6c0: 6564 3a20 7472 7565 0a20 2020 2077 6865 ed: true. whe
│ │ │ +001ba6d0: 6e3a 2073 6f63 6b65 745f 6669 6c65 5f65 n: socket_file_e
│ │ │ +001ba6e0: 7869 7374 732e 7374 646f 7574 5f6c 696e xists.stdout_lin
│ │ │ +001ba6f0: 6573 2069 7320 7365 6172 6368 2822 6176 es is search("av
│ │ │ +001ba700: 6168 692d 6461 656d 6f6e 2e73 6f63 6b65 ahi-daemon.socke
│ │ │ +001ba710: 7422 2c20 6d75 6c74 696c 696e 653d 5472 t", multiline=Tr
│ │ │ +001ba720: 7565 290a 2020 7461 6773 3a0a 2020 2d20 ue). tags:. -
│ │ │ +001ba730: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ +001ba740: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ +001ba750: 2d35 332d 434d 2d37 2861 290a 2020 2d20 -53-CM-7(a). -
│ │ │ +001ba760: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ +001ba770: 2862 290a 2020 2d20 5043 492d 4453 5376 (b). - PCI-DSSv
│ │ │ +001ba780: 342d 322e 320a 2020 2d20 5043 492d 4453 4-2.2. - PCI-DS
│ │ │ +001ba790: 5376 342d 322e 322e 340a 2020 2d20 6469 Sv4-2.2.4. - di
│ │ │ +001ba7a0: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ +001ba7b0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +001ba7c0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +001ba7d0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ +001ba7e0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +001ba7f0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +001ba800: 2d20 7365 7276 6963 655f 6176 6168 692d - service_avahi-
│ │ │ +001ba810: 6461 656d 6f6e 5f64 6973 6162 6c65 640a daemon_disabled.
│ │ │ +001ba820: 2020 2d20 7370 6563 6961 6c5f 7365 7276 - special_serv
│ │ │ +001ba830: 6963 655f 626c 6f63 6b0a 2020 7768 656e ice_block. when
│ │ │ +001ba840: 3a20 2820 2261 7661 6869 2d64 6165 6d6f : ( "avahi-daemo
│ │ │ +001ba850: 6e22 2069 6e20 616e 7369 626c 655f 6661 n" in ansible_fa
│ │ │ +001ba860: 6374 732e 7061 636b 6167 6573 2061 6e64 cts.packages and
│ │ │ +001ba870: 2022 6c69 6e75 782d 6261 7365 2220 696e "linux-base" in
│ │ │ +001ba880: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +001ba890: 6163 6b61 6765 730a 2020 2020 290a 3c2f ackages. ).
│ │ │ +001ba8a0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>Re
│ │ │ +001ba950: 6d65 6469 6174 696f 6e20 4b75 6265 726e mediation Kubern
│ │ │ +001ba960: 6574 6573 2073 6e69 7070 6574 20e2 87b2 etes snippet ...
│ │ │ +001ba970: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +001baa10: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +001baa20: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6d ption: m
│ │ │ +001baa30: 6564 6975 6d3c 2f74 643e 3c2f 7472 3e3c edium <
│ │ │ +001baa40: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +001baa50: 7468 3e3c 7464 3e74 7275 653c 2f74 643e th> true
│ │ │ +001baa60: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001baa70: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +001baa80: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +001baa90: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
apiVersion: m
│ │ │ +001baab0: 6163 6869 6e65 636f 6e66 6967 7572 6174 achineconfigurat
│ │ │ +001baac0: 696f 6e2e 6f70 656e 7368 6966 742e 696f ion.openshift.io
│ │ │ +001baad0: 2f76 310a 6b69 6e64 3a20 4d61 6368 696e /v1.kind: Machin
│ │ │ +001baae0: 6543 6f6e 6669 670a 7370 6563 3a0a 2020 eConfig.spec:.
│ │ │ +001baaf0: 636f 6e66 6967 3a0a 2020 2020 6967 6e69 config:. igni
│ │ │ +001bab00: 7469 6f6e 3a0a 2020 2020 2020 7665 7273 tion:. vers
│ │ │ +001bab10: 696f 6e3a 2033 2e31 2e30 0a20 2020 2073 ion: 3.1.0. s
│ │ │ +001bab20: 7973 7465 6d64 3a0a 2020 2020 2020 756e ystemd:. un
│ │ │ +001bab30: 6974 733a 0a20 2020 2020 202d 206e 616d its:. - nam
│ │ │ +001bab40: 653a 2061 7661 6869 2d64 6165 6d6f 6e2e e: avahi-daemon.
│ │ │ +001bab50: 7365 7276 6963 650a 2020 2020 2020 2020 service.
│ │ │ +001bab60: 656e 6162 6c65 643a 2066 616c 7365 0a20 enabled: false.
│ │ │ +001bab70: 2020 2020 2020 206d 6173 6b3a 2074 7275 mask: tru
│ │ │ +001bab80: 650a 2020 2020 2020 2d20 6e61 6d65 3a20 e. - name:
│ │ │ +001bab90: 6176 6168 692d 6461 656d 6f6e 2e73 6f63 avahi-daemon.soc
│ │ │ +001baba0: 6b65 740a 2020 2020 2020 2020 656e 6162 ket. enab
│ │ │ +001babb0: 6c65 643a 2066 616c 7365 0a20 2020 2020 led: false.
│ │ │ +001babc0: 2020 206d 6173 6b3a 2074 7275 650a 3c2f mask: true.
│ │ │ +001babd0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +001bac80: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ +001bac90: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +001baca0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +001bad20: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +001bad40: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +001bad50: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +001bad60: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001bad70: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +001bad80: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +001bad90: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +001bada0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +001badb0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +001badd0: 7564 6520 6469 7361 626c 655f 6176 6168 ude disable_avah
│ │ │ +001bade0: 692d 6461 656d 6f6e 0a0a 636c 6173 7320 i-daemon..class
│ │ │ +001badf0: 6469 7361 626c 655f 6176 6168 692d 6461 disable_avahi-da
│ │ │ +001bae00: 656d 6f6e 207b 0a20 2073 6572 7669 6365 emon {. service
│ │ │ +001bae10: 207b 2761 7661 6869 2d64 6165 6d6f 6e27 {'avahi-daemon'
│ │ │ +001bae20: 3a0a 2020 2020 656e 6162 6c65 203d 2667 :. enable =&g
│ │ │ +001bae30: 743b 2066 616c 7365 2c0a 2020 2020 656e t; false,. en
│ │ │ +001bae40: 7375 7265 203d 2667 743b 2027 7374 6f70 sure => 'stop
│ │ │ +001bae50: 7065 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ped',. }.}.
<
│ │ │ +001bae70: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +001bae80: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +001bae90: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +001baea0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +001baeb0: 6435 3934 2220 7461 6269 6e64 6578 3d22 d594" tabindex="
│ │ │ +001baec0: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ +001baed0: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ +001baee0: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ +001baef0: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ +001baf00: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ +001baf10: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild
│ │ │ +001baf20: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe
│ │ │ +001baf30: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
.[custom
│ │ │ +001baf80: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service
│ │ │ +001baf90: 735d 0a6d 6173 6b65 6420 3d20 5b22 6176 s].masked = ["av
│ │ │ +001bafa0: 6168 692d 6461 656d 6f6e 225d 0a3c 2f63 ahi-daemon"].
│ │ │ 001bafc0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation OSB
│ │ │ -001c7130: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ -001c7140: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ....[c
│ │ │ -001c7190: 7573 746f 6d69 7a61 7469 6f6e 732e 7365 ustomizations.se
│ │ │ -001c71a0: 7276 6963 6573 5d0a 656e 6162 6c65 6420 rvices].enabled
│ │ │ -001c71b0: 3d20 5b22 6372 6f6e 225d 0a3c 2f63 6f64 = ["cron"].
Remed
│ │ │ -001c7270: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -001c7280: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001c7310: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001c7320: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001c7330: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001c7340: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001c7350: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001c7360: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001c7370: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001c7380: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
include
│ │ │ -001c73c0: 2065 6e61 626c 655f 6372 6f6e 0a0a 636c enable_cron..cl
│ │ │ -001c73d0: 6173 7320 656e 6162 6c65 5f63 726f 6e20 ass enable_cron
│ │ │ -001c73e0: 7b0a 2020 7365 7276 6963 6520 7b27 6372 {. service {'cr
│ │ │ -001c73f0: 6f6e 273a 0a20 2020 2065 6e61 626c 6520 on':. enable
│ │ │ -001c7400: 3d26 6774 3b20 7472 7565 2c0a 2020 2020 => true,.
│ │ │ -001c7410: 656e 7375 7265 203d 2667 743b 2027 7275 ensure => 'ru
│ │ │ -001c7420: 6e6e 696e 6727 2c0a 2020 7d0a 7d0a 3c2f nning',. }.}.
│ │ │ -001c7430: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ -001c74e0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ -001c74f0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ -001c7580: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -001c7590: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001c75a0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -001c75b0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -001c75c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -001c75f0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -001c7600: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ -001c7610: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ -001c7630: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ -001c7640: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ -001c7650: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ -001c7660: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ -001c7670: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ -001c7680: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ -001c7690: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ -001c76a0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -001c76b0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -001c76c0: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ -001c76d0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ -001c76e0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -001c76f0: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ -001c7700: 6372 6f6e 5f65 6e61 626c 6564 0a0a 2d20 cron_enabled..-
│ │ │ -001c7710: 6e61 6d65 3a20 456e 6162 6c65 2063 726f name: Enable cro
│ │ │ -001c7720: 6e20 5365 7276 6963 6520 2d20 456e 6162 n Service - Enab
│ │ │ -001c7730: 6c65 2073 6572 7669 6365 2063 726f 6e0a le service cron.
│ │ │ -001c7740: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61 block:.. - na
│ │ │ -001c7750: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ -001c7760: 6163 6b61 6765 2066 6163 7473 0a20 2020 ackage facts.
│ │ │ -001c7770: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -001c7780: 2e70 6163 6b61 6765 5f66 6163 7473 3a0a .package_facts:.
│ │ │ -001c7790: 2020 2020 2020 6d61 6e61 6765 723a 2061 manager: a
│ │ │ -001c77a0: 7574 6f0a 0a20 202d 206e 616d 653a 2045 uto.. - name: E
│ │ │ -001c77b0: 6e61 626c 6520 6372 6f6e 2053 6572 7669 nable cron Servi
│ │ │ -001c77c0: 6365 202d 2045 6e61 626c 6520 5365 7276 ce - Enable Serv
│ │ │ -001c77d0: 6963 6520 6372 6f6e 0a20 2020 2061 6e73 ice cron. ans
│ │ │ -001c77e0: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys
│ │ │ -001c77f0: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65 temd:. name
│ │ │ -001c7800: 3a20 6372 6f6e 0a20 2020 2020 2065 6e61 : cron. ena
│ │ │ -001c7810: 626c 6564 3a20 7472 7565 0a20 2020 2020 bled: true.
│ │ │ -001c7820: 2073 7461 7465 3a20 7374 6172 7465 640a state: started.
│ │ │ -001c7830: 2020 2020 2020 6d61 736b 6564 3a20 6661 masked: fa
│ │ │ -001c7840: 6c73 650a 2020 2020 7768 656e 3a0a 2020 lse. when:.
│ │ │ -001c7850: 2020 2d20 2722 6372 6f6e 2220 696e 2061 - '"cron" in a
│ │ │ -001c7860: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -001c7870: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ -001c7880: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -001c7890: 4d2d 3628 6129 0a20 202d 2065 6e61 626c M-6(a). - enabl
│ │ │ -001c78a0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -001c78b0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -001c78c0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -001c78d0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -001c78e0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -001c78f0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ -001c7900: 7276 6963 655f 6372 6f6e 5f65 6e61 626c rvice_cron_enabl
│ │ │ -001c7910: 6564 0a20 202d 2073 7065 6369 616c 5f73 ed. - special_s
│ │ │ -001c7920: 6572 7669 6365 5f62 6c6f 636b 0a20 2077 ervice_block. w
│ │ │ -001c7930: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas
│ │ │ -001c7940: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ -001c7950: 6374 732e 7061 636b 6167 6573 270a 3c2f cts.packages'.
│ │ │ +001c7120: 3e52 656d 6564 6961 7469 6f6e 2041 6e73 >Remediation Ans
│ │ │ +001c7130: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ +001c7140: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +001c71e0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +001c71f0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +001c7200: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001c7210: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +001c7220: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +001c7230: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +001c7240: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ +001c7250: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001c7270: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ +001c7280: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ +001c7290: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ +001c72a0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ +001c72b0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ +001c72c0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ +001c72d0: 2861 290a 2020 2d20 656e 6162 6c65 5f73 (a). - enable_s
│ │ │ +001c72e0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +001c72f0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +001c7300: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +001c7310: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +001c7320: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +001c7330: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi
│ │ │ +001c7340: 6365 5f63 726f 6e5f 656e 6162 6c65 640a ce_cron_enabled.
│ │ │ +001c7350: 0a2d 206e 616d 653a 2045 6e61 626c 6520 .- name: Enable
│ │ │ +001c7360: 6372 6f6e 2053 6572 7669 6365 202d 2045 cron Service - E
│ │ │ +001c7370: 6e61 626c 6520 7365 7276 6963 6520 6372 nable service cr
│ │ │ +001c7380: 6f6e 0a20 2062 6c6f 636b 3a0a 0a20 202d on. block:.. -
│ │ │ +001c7390: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ +001c73a0: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ +001c73b0: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ +001c73c0: 7469 6e2e 7061 636b 6167 655f 6661 6374 tin.package_fact
│ │ │ +001c73d0: 733a 0a20 2020 2020 206d 616e 6167 6572 s:. manager
│ │ │ +001c73e0: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65 : auto.. - name
│ │ │ +001c73f0: 3a20 456e 6162 6c65 2063 726f 6e20 5365 : Enable cron Se
│ │ │ +001c7400: 7276 6963 6520 2d20 456e 6162 6c65 2053 rvice - Enable S
│ │ │ +001c7410: 6572 7669 6365 2063 726f 6e0a 2020 2020 ervice cron.
│ │ │ +001c7420: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +001c7430: 7379 7374 656d 643a 0a20 2020 2020 206e systemd:. n
│ │ │ +001c7440: 616d 653a 2063 726f 6e0a 2020 2020 2020 ame: cron.
│ │ │ +001c7450: 656e 6162 6c65 643a 2074 7275 650a 2020 enabled: true.
│ │ │ +001c7460: 2020 2020 7374 6174 653a 2073 7461 7274 state: start
│ │ │ +001c7470: 6564 0a20 2020 2020 206d 6173 6b65 643a ed. masked:
│ │ │ +001c7480: 2066 616c 7365 0a20 2020 2077 6865 6e3a false. when:
│ │ │ +001c7490: 0a20 2020 202d 2027 2263 726f 6e22 2069 . - '"cron" i
│ │ │ +001c74a0: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ +001c74b0: 7061 636b 6167 6573 270a 2020 7461 6773 packages'. tags
│ │ │ +001c74c0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5
│ │ │ +001c74d0: 332d 434d 2d36 2861 290a 2020 2d20 656e 3-CM-6(a). - en
│ │ │ +001c74e0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +001c74f0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +001c7500: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +001c7510: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +001c7520: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +001c7530: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001c7540: 2073 6572 7669 6365 5f63 726f 6e5f 656e service_cron_en
│ │ │ +001c7550: 6162 6c65 640a 2020 2d20 7370 6563 6961 abled. - specia
│ │ │ +001c7560: 6c5f 7365 7276 6963 655f 626c 6f63 6b0a l_service_block.
│ │ │ +001c7570: 2020 7768 656e 3a20 2722 6c69 6e75 782d when: '"linux-
│ │ │ +001c7580: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ +001c7590: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +001c75a0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +001c75b0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ +001c7660: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +001c7670: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +001c7720: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001c7730: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001c7740: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001c7750: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001c7770: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +001c7780: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ +001c77a0: 6e63 6c75 6465 2065 6e61 626c 655f 6372 nclude enable_cr
│ │ │ +001c77b0: 6f6e 0a0a 636c 6173 7320 656e 6162 6c65 on..class enable
│ │ │ +001c77c0: 5f63 726f 6e20 7b0a 2020 7365 7276 6963 _cron {. servic
│ │ │ +001c77d0: 6520 7b27 6372 6f6e 273a 0a20 2020 2065 e {'cron':. e
│ │ │ +001c77e0: 6e61 626c 6520 3d26 6774 3b20 7472 7565 nable => true
│ │ │ +001c77f0: 2c0a 2020 2020 656e 7375 7265 203d 2667 ,. ensure =&g
│ │ │ +001c7800: 743b 2027 7275 6e6e 696e 6727 2c0a 2020 t; 'running',.
│ │ │ +001c7810: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediation
│ │ │ +001c78d0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ +001c78e0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ +001c7930: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73 .[customizations
│ │ │ +001c7940: 2e73 6572 7669 6365 735d 0a65 6e61 626c .services].enabl
│ │ │ +001c7950: 6564 203d 205b 2263 726f 6e22 5d0a 3c2f ed = ["cron"].
│ │ │ 001c7960: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
│ │ │ -001e3bb0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ -001e3bc0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ -001e3bd0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -001e3c50: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -001e3c60: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -001e3c80: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -001e3c90: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -001e3cd0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ -001e3ce0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ -001e3d00: 696e 636c 7564 6520 7265 6d6f 7665 5f6e include remove_n
│ │ │ -001e3d10: 6973 0a0a 636c 6173 7320 7265 6d6f 7665 is..class remove
│ │ │ -001e3d20: 5f6e 6973 207b 0a20 2070 6163 6b61 6765 _nis {. package
│ │ │ -001e3d30: 207b 2027 6e69 7327 3a0a 2020 2020 656e { 'nis':. en
│ │ │ -001e3d40: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ -001e3d50: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -001e3e10: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -001e3e20: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -001e3eb0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -001e3ec0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -001e3ee0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001e3f00: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001e3f10: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001e3f30: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -001e3f40: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001e3f50: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -001e3f60: 653a 2027 556e 696e 7374 616c 6c20 7468 e: 'Uninstall th
│ │ │ -001e3f70: 6520 6e69 7320 7061 636b 6167 653a 2045 e nis package: E
│ │ │ -001e3f80: 6e73 7572 6520 6e69 7320 6973 2072 656d nsure nis is rem
│ │ │ -001e3f90: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ -001e3fa0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -001e3fb0: 0a20 2020 206e 616d 653a 206e 6973 0a20 . name: nis.
│ │ │ -001e3fc0: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ -001e3fd0: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ -001e3fe0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -001e3ff0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -001e4000: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -001e4010: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665 ion. - low_seve
│ │ │ -001e4020: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -001e4030: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ -001e4040: 636b 6167 655f 6e69 735f 7265 6d6f 7665 ckage_nis_remove
│ │ │ -001e4050: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.
<
│ │ │ +001e3bb0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ +001e3bc0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ +001e3bd0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +001e3c80: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001e3c90: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001e3ca0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001e3cb0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001e3cd0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ +001e3ce0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001e3d00: 2d20 6e61 6d65 3a20 2755 6e69 6e73 7461 - name: 'Uninsta
│ │ │ +001e3d10: 6c6c 2074 6865 206e 6973 2070 6163 6b61 ll the nis packa
│ │ │ +001e3d20: 6765 3a20 456e 7375 7265 206e 6973 2069 ge: Ensure nis i
│ │ │ +001e3d30: 7320 7265 6d6f 7665 6427 0a20 2061 6e73 s removed'. ans
│ │ │ +001e3d40: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ +001e3d50: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ +001e3d60: 6e69 730a 2020 2020 7374 6174 653a 2061 nis. state: a
│ │ │ +001e3d70: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:.
│ │ │ +001e3d80: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ +001e3d90: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +001e3da0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +001e3db0: 7372 7570 7469 6f6e 0a20 202d 206c 6f77 sruption. - low
│ │ │ +001e3dc0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +001e3dd0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +001e3de0: 202d 2070 6163 6b61 6765 5f6e 6973 5f72 - package_nis_r
│ │ │ +001e3df0: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f emoved.
│ │ │ +001e3e00: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ +001e3eb0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +001e3ec0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +001e3f40: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +001e3f50: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +001e3f60: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001e3f70: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +001e3f80: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +001e3fa0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001e3fb0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001e3fc0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +001e3fe0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +001e3ff0: 3c63 6f64 653e 0a69 6e63 6c75 6465 2072 .include r
│ │ │ +001e4000: 656d 6f76 655f 6e69 730a 0a63 6c61 7373 emove_nis..class
│ │ │ +001e4010: 2072 656d 6f76 655f 6e69 7320 7b0a 2020 remove_nis {.
│ │ │ +001e4020: 7061 636b 6167 6520 7b20 276e 6973 273a package { 'nis':
│ │ │ +001e4030: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +001e4040: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ +001e4050: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ 001e4060: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediat
│ │ │ -001e5b30: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -001e5b40: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001e5bc0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -001e5bd0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -001e5be0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -001e5c20: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -001e5c30: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -001e5c50: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -001e5c60: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
.include
│ │ │ -001e5c80: 7265 6d6f 7665 5f69 7363 2d64 6863 702d remove_isc-dhcp-
│ │ │ -001e5c90: 7365 7276 6572 0a0a 636c 6173 7320 7265 server..class re
│ │ │ -001e5ca0: 6d6f 7665 5f69 7363 2d64 6863 702d 7365 move_isc-dhcp-se
│ │ │ -001e5cb0: 7276 6572 207b 0a20 2070 6163 6b61 6765 rver {. package
│ │ │ -001e5cc0: 207b 2027 6973 632d 6468 6370 2d73 6572 { 'isc-dhcp-ser
│ │ │ -001e5cd0: 7665 7227 3a0a 2020 2020 656e 7375 7265 ver':. ensure
│ │ │ -001e5ce0: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ -001e5cf0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -001e5d00: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ -001e5db0: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ -001e5dc0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001e5e40: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -001e5e50: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -001e5e60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -001e5ea0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -001e5eb0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -001e5ed0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -001e5ee0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: '
│ │ │ -001e5f00: 556e 696e 7374 616c 6c20 4448 4350 2053 Uninstall DHCP S
│ │ │ -001e5f10: 6572 7665 7220 5061 636b 6167 653a 2045 erver Package: E
│ │ │ -001e5f20: 6e73 7572 6520 6973 632d 6468 6370 2d73 nsure isc-dhcp-s
│ │ │ -001e5f30: 6572 7665 7220 6973 2072 656d 6f76 6564 erver is removed
│ │ │ -001e5f40: 270a 2020 616e 7369 626c 652e 6275 696c '. ansible.buil
│ │ │ -001e5f50: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ -001e5f60: 206e 616d 653a 2069 7363 2d64 6863 702d name: isc-dhcp-
│ │ │ -001e5f70: 7365 7276 6572 0a20 2020 2073 7461 7465 server. state
│ │ │ -001e5f80: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags:
│ │ │ -001e5f90: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -001e5fa0: 2d43 4d2d 3628 6129 0a20 202d 204e 4953 -CM-6(a). - NIS
│ │ │ -001e5fb0: 542d 3830 302d 3533 2d43 4d2d 3728 6129 T-800-53-CM-7(a)
│ │ │ -001e5fc0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -001e5fd0: 2d43 4d2d 3728 6229 0a20 202d 2050 4349 -CM-7(b). - PCI
│ │ │ -001e5fe0: 2d44 5353 7634 2d32 2e32 0a20 202d 2050 -DSSv4-2.2. - P
│ │ │ -001e5ff0: 4349 2d44 5353 7634 2d32 2e32 2e34 0a20 CI-DSSv4-2.2.4.
│ │ │ -001e6000: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ -001e6010: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ -001e6020: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -001e6030: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ -001e6040: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ -001e6050: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -001e6060: 6564 0a20 202d 2070 6163 6b61 6765 5f64 ed. - package_d
│ │ │ -001e6070: 6863 705f 7265 6d6f 7665 640a 3c2f 636f hcp_removed.
<
│ │ │ +001e5b50: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001e5b60: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +001e5b70: 7365 2220 6964 3d22 6964 3638 3422 3e3c se" id="id684"><
│ │ │ +001e5b80: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +001e5b90: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +001e5ba0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +001e5bb0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +001e5bc0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +001e5bd0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +001e5be0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +001e5c10: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +001e5c20: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +001e5c30: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +001e5c50: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +001e5c60: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +001e5c80: 2755 6e69 6e73 7461 6c6c 2044 4843 5020 'Uninstall DHCP
│ │ │ +001e5c90: 5365 7276 6572 2050 6163 6b61 6765 3a20 Server Package:
│ │ │ +001e5ca0: 456e 7375 7265 2069 7363 2d64 6863 702d Ensure isc-dhcp-
│ │ │ +001e5cb0: 7365 7276 6572 2069 7320 7265 6d6f 7665 server is remove
│ │ │ +001e5cc0: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ +001e5cd0: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ +001e5ce0: 2020 6e61 6d65 3a20 6973 632d 6468 6370 name: isc-dhcp
│ │ │ +001e5cf0: 2d73 6572 7665 720a 2020 2020 7374 6174 -server. stat
│ │ │ +001e5d00: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags
│ │ │ +001e5d10: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5
│ │ │ +001e5d20: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI
│ │ │ +001e5d30: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a
│ │ │ +001e5d40: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ +001e5d50: 332d 434d 2d37 2862 290a 2020 2d20 5043 3-CM-7(b). - PC
│ │ │ +001e5d60: 492d 4453 5376 342d 322e 320a 2020 2d20 I-DSSv4-2.2. -
│ │ │ +001e5d70: 5043 492d 4453 5376 342d 322e 322e 340a PCI-DSSv4-2.2.4.
│ │ │ +001e5d80: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ +001e5d90: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +001e5da0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +001e5db0: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +001e5dc0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +001e5dd0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +001e5de0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ +001e5df0: 6468 6370 5f72 656d 6f76 6564 0a3c 2f63 dhcp_removed.
│ │ │ +001e5e10: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +001e5eb0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +001e5ec0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001e5ed0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001e5f50: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001e5f80: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001e5fa0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001e5fb0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001e5fd0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001e5fe0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ +001e6000: 6c75 6465 2072 656d 6f76 655f 6973 632d lude remove_isc-
│ │ │ +001e6010: 6468 6370 2d73 6572 7665 720a 0a63 6c61 dhcp-server..cla
│ │ │ +001e6020: 7373 2072 656d 6f76 655f 6973 632d 6468 ss remove_isc-dh
│ │ │ +001e6030: 6370 2d73 6572 7665 7220 7b0a 2020 7061 cp-server {. pa
│ │ │ +001e6040: 636b 6167 6520 7b20 2769 7363 2d64 6863 ckage { 'isc-dhc
│ │ │ +001e6050: 702d 7365 7276 6572 273a 0a20 2020 2065 p-server':. e
│ │ │ +001e6060: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ +001e6070: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.
<
│ │ │ 001e6090: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ 001e60a0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ 001e60b0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ 001e60c0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ 001e60d0: 6436 3836 2220 7461 6269 6e64 6578 3d22 d686" tabindex="
│ │ │ 001e60e0: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ @@ -124814,93 +124814,93 @@
│ │ │ 001e78d0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ 001e78e0: 6436 3838 2220 7461 6269 6e64 6578 3d22 d688" tabindex="
│ │ │ 001e78f0: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ 001e7900: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ 001e7910: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ 001e7920: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ 001e7930: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001e7940: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ -001e7950: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -001e79e0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -001e79f0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -001e7a10: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001e7a30: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001e7a40: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001e7a60: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -001e7a70: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001e7a80: 3c70 7265 3e3c 636f 6465 3e0a 696e 636c .incl
│ │ │ -001e7a90: 7564 6520 7265 6d6f 7665 5f62 696e 6439 ude remove_bind9
│ │ │ -001e7aa0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f62 ..class remove_b
│ │ │ -001e7ab0: 696e 6439 207b 0a20 2070 6163 6b61 6765 ind9 {. package
│ │ │ -001e7ac0: 207b 2027 6269 6e64 3927 3a0a 2020 2020 { 'bind9':.
│ │ │ -001e7ad0: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ -001e7ae0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ -001e7b00: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -001e7ba0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -001e7bb0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001e7bc0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -001e7c40: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -001e7c60: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -001e7c70: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -001e7c80: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001e7c90: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -001e7ca0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -001e7cb0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001e7cc0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -001e7cd0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ -001e7cf0: 616d 653a 2027 556e 696e 7374 616c 6c20 ame: 'Uninstall
│ │ │ -001e7d00: 6269 6e64 2050 6163 6b61 6765 3a20 456e bind Package: En
│ │ │ -001e7d10: 7375 7265 2062 696e 6439 2069 7320 7265 sure bind9 is re
│ │ │ -001e7d20: 6d6f 7665 6427 0a20 2061 6e73 6962 6c65 moved'. ansible
│ │ │ -001e7d30: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ -001e7d40: 3a0a 2020 2020 6e61 6d65 3a20 6269 6e64 :. name: bind
│ │ │ -001e7d50: 390a 2020 2020 7374 6174 653a 2061 6273 9. state: abs
│ │ │ -001e7d60: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. -
│ │ │ -001e7d70: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ -001e7d80: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -001e7d90: 2d35 332d 434d 2d37 2861 290a 2020 2d20 -53-CM-7(a). -
│ │ │ -001e7da0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ -001e7db0: 2862 290a 2020 2d20 6469 7361 626c 655f (b). - disable_
│ │ │ -001e7dc0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -001e7dd0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -001e7de0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -001e7df0: 202d 206c 6f77 5f73 6576 6572 6974 790a - low_severity.
│ │ │ -001e7e00: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -001e7e10: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -001e7e20: 5f62 696e 645f 7265 6d6f 7665 640a 3c2f _bind_removed.
│ │ │ +001e7940: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ +001e7950: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001e7960: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001e79e0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001e7a10: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001e7a30: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001e7a40: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001e7a60: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001e7a70: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001e7a90: 6d65 3a20 2755 6e69 6e73 7461 6c6c 2062 me: 'Uninstall b
│ │ │ +001e7aa0: 696e 6420 5061 636b 6167 653a 2045 6e73 ind Package: Ens
│ │ │ +001e7ab0: 7572 6520 6269 6e64 3920 6973 2072 656d ure bind9 is rem
│ │ │ +001e7ac0: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ +001e7ad0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ +001e7ae0: 0a20 2020 206e 616d 653a 2062 696e 6439 . name: bind9
│ │ │ +001e7af0: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ +001e7b00: 6e74 0a20 2074 6167 733a 0a20 202d 204e nt. tags:. - N
│ │ │ +001e7b10: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +001e7b20: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +001e7b30: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N
│ │ │ +001e7b40: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ +001e7b50: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s
│ │ │ +001e7b60: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +001e7b70: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +001e7b80: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +001e7b90: 2d20 6c6f 775f 7365 7665 7269 7479 0a20 - low_severity.
│ │ │ +001e7ba0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +001e7bb0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ +001e7bc0: 6269 6e64 5f72 656d 6f76 6564 0a3c 2f63 bind_removed.
│ │ │ +001e7be0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +001e7c80: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +001e7c90: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001e7ca0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001e7d20: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001e7d50: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001e7d70: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001e7d80: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001e7da0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001e7db0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ +001e7dd0: 6c75 6465 2072 656d 6f76 655f 6269 6e64 lude remove_bind
│ │ │ +001e7de0: 390a 0a63 6c61 7373 2072 656d 6f76 655f 9..class remove_
│ │ │ +001e7df0: 6269 6e64 3920 7b0a 2020 7061 636b 6167 bind9 {. packag
│ │ │ +001e7e00: 6520 7b20 2762 696e 6439 273a 0a20 2020 e { 'bind9':.
│ │ │ +001e7e10: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p
│ │ │ +001e7e20: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
│ │ │ 001e7e30: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Remediation
│ │ │ -001e97e0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -001e97f0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001e9880: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001e98a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001e98c0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001e98d0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -001e98f0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -001e9900: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ -001e9930: 6f76 655f 7673 6674 7064 0a0a 636c 6173 ove_vsftpd..clas
│ │ │ -001e9940: 7320 7265 6d6f 7665 5f76 7366 7470 6420 s remove_vsftpd
│ │ │ -001e9950: 7b0a 2020 7061 636b 6167 6520 7b20 2776 {. package { 'v
│ │ │ -001e9960: 7366 7470 6427 3a0a 2020 2020 656e 7375 sftpd':. ensu
│ │ │ -001e9970: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged
│ │ │ -001e9980: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ -001e9990: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -001e9a40: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -001e9a50: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001e9a60: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001e9a90: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001e9ae0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001e9af0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001e9b00: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001e9b10: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001e9b20: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001e9b30: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001e9b40: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001e9b50: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ -001e9b90: 2027 556e 696e 7374 616c 6c20 7673 6674 'Uninstall vsft
│ │ │ -001e9ba0: 7064 2050 6163 6b61 6765 3a20 456e 7375 pd Package: Ensu
│ │ │ -001e9bb0: 7265 2076 7366 7470 6420 6973 2072 656d re vsftpd is rem
│ │ │ -001e9bc0: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ -001e9bd0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -001e9be0: 0a20 2020 206e 616d 653a 2076 7366 7470 . name: vsftp
│ │ │ -001e9bf0: 640a 2020 2020 7374 6174 653a 2061 6273 d. state: abs
│ │ │ -001e9c00: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. -
│ │ │ -001e9c10: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ -001e9c20: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -001e9c30: 2d35 332d 434d 2d37 0a20 202d 204e 4953 -53-CM-7. - NIS
│ │ │ -001e9c40: 542d 3830 302d 3533 2d43 4d2d 3728 6129 T-800-53-CM-7(a)
│ │ │ -001e9c50: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -001e9c60: 2d43 4d2d 3728 6229 0a20 202d 204e 4953 -CM-7(b). - NIS
│ │ │ -001e9c70: 542d 3830 302d 3533 2d43 4d2d 372e 3128 T-800-53-CM-7.1(
│ │ │ -001e9c80: 6969 290a 2020 2d20 4e49 5354 2d38 3030 ii). - NIST-800
│ │ │ -001e9c90: 2d35 332d 4941 2d35 2831 2928 6329 0a20 -53-IA-5(1)(c).
│ │ │ -001e9ca0: 202d 204e 4953 542d 3830 302d 3533 2d49 - NIST-800-53-I
│ │ │ -001e9cb0: 412d 3528 3129 2e31 2876 290a 2020 2d20 A-5(1).1(v). -
│ │ │ -001e9cc0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ -001e9cd0: 0a20 202d 2068 6967 685f 7365 7665 7269 . - high_severi
│ │ │ -001e9ce0: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c ty. - low_compl
│ │ │ -001e9cf0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -001e9d00: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_
│ │ │ -001e9d10: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001e9d20: 2d20 7061 636b 6167 655f 7673 6674 7064 - package_vsftpd
│ │ │ -001e9d30: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e _removed.
│ │ │ +001e97e0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ +001e97f0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +001e9880: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +001e98a0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001e98b0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001e98c0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001e98d0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001e98f0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +001e9920: 636f 6465 3e2d 206e 616d 653a 2027 556e code>- name: 'Un
│ │ │ +001e9930: 696e 7374 616c 6c20 7673 6674 7064 2050 install vsftpd P
│ │ │ +001e9940: 6163 6b61 6765 3a20 456e 7375 7265 2076 ackage: Ensure v
│ │ │ +001e9950: 7366 7470 6420 6973 2072 656d 6f76 6564 sftpd is removed
│ │ │ +001e9960: 270a 2020 616e 7369 626c 652e 6275 696c '. ansible.buil
│ │ │ +001e9970: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ +001e9980: 206e 616d 653a 2076 7366 7470 640a 2020 name: vsftpd.
│ │ │ +001e9990: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ +001e99a0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ +001e99b0: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ +001e99c0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +001e99d0: 434d 2d37 0a20 202d 204e 4953 542d 3830 CM-7. - NIST-80
│ │ │ +001e99e0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d 0-53-CM-7(a). -
│ │ │ +001e99f0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +001e9a00: 3728 6229 0a20 202d 204e 4953 542d 3830 7(b). - NIST-80
│ │ │ +001e9a10: 302d 3533 2d43 4d2d 372e 3128 6969 290a 0-53-CM-7.1(ii).
│ │ │ +001e9a20: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +001e9a30: 4941 2d35 2831 2928 6329 0a20 202d 204e IA-5(1)(c). - N
│ │ │ +001e9a40: 4953 542d 3830 302d 3533 2d49 412d 3528 IST-800-53-IA-5(
│ │ │ +001e9a50: 3129 2e31 2876 290a 2020 2d20 6469 7361 1).1(v). - disa
│ │ │ +001e9a60: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +001e9a70: 2068 6967 685f 7365 7665 7269 7479 0a20 high_severity.
│ │ │ +001e9a80: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +001e9a90: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +001e9aa0: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo
│ │ │ +001e9ab0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ +001e9ac0: 636b 6167 655f 7673 6674 7064 5f72 656d ckage_vsftpd_rem
│ │ │ +001e9ad0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
Remediation
│ │ │ +001e9b90: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ +001e9ba0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +001e9c30: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +001e9c50: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +001e9c70: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +001e9c80: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +001e9ca0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +001e9cb0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ +001e9ce0: 6f76 655f 7673 6674 7064 0a0a 636c 6173 ove_vsftpd..clas
│ │ │ +001e9cf0: 7320 7265 6d6f 7665 5f76 7366 7470 6420 s remove_vsftpd
│ │ │ +001e9d00: 7b0a 2020 7061 636b 6167 6520 7b20 2776 {. package { 'v
│ │ │ +001e9d10: 7366 7470 6427 3a0a 2020 2020 656e 7375 sftpd':. ensu
│ │ │ +001e9d20: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged
│ │ │ +001e9d30: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ 001e9d40: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remediation Pu
│ │ │ -001eb660: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ -001eb670: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -001eb710: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -001eb720: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -001eb730: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001eb740: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -001eb750: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -001eb760: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -001eb770: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ -001eb780: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -001eb790: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>.include remove
│ │ │ -001eb7b0: 5f61 7061 6368 6532 0a0a 636c 6173 7320 _apache2..class
│ │ │ -001eb7c0: 7265 6d6f 7665 5f61 7061 6368 6532 207b remove_apache2 {
│ │ │ -001eb7d0: 0a20 2070 6163 6b61 6765 207b 2027 6170 . package { 'ap
│ │ │ -001eb7e0: 6163 6865 3227 3a0a 2020 2020 656e 7375 ache2':. ensu
│ │ │ -001eb7f0: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged
│ │ │ -001eb800: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ -001eb810: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -001eb8c0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -001eb8d0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001eb8e0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001eb910: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001eb960: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001eb970: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001eb980: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001eb990: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001eb9a0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001eb9b0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001eb9c0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001eb9d0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ -001eba10: 2027 556e 696e 7374 616c 6c20 6170 6163 'Uninstall apac
│ │ │ -001eba20: 6865 3220 5061 636b 6167 653a 2045 6e73 he2 Package: Ens
│ │ │ -001eba30: 7572 6520 6170 6163 6865 3220 6973 2072 ure apache2 is r
│ │ │ -001eba40: 656d 6f76 6564 270a 2020 616e 7369 626c emoved'. ansibl
│ │ │ -001eba50: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ -001eba60: 653a 0a20 2020 206e 616d 653a 2061 7061 e:. name: apa
│ │ │ -001eba70: 6368 6532 0a20 2020 2073 7461 7465 3a20 che2. state:
│ │ │ -001eba80: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ -001eba90: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -001ebaa0: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST-
│ │ │ -001ebab0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20 800-53-CM-7(a).
│ │ │ -001ebac0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -001ebad0: 4d2d 3728 6229 0a20 202d 2064 6973 6162 M-7(b). - disab
│ │ │ -001ebae0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -001ebaf0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -001ebb00: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -001ebb10: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ -001ebb20: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ -001ebb30: 6765 5f68 7474 7064 5f72 656d 6f76 6564 ge_httpd_removed
│ │ │ -001ebb40: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576 . - unknown_sev
│ │ │ -001ebb50: 6572 6974 790a 3c2f 636f 6465 3e3c 2f70 erity.
Remediation An
│ │ │ +001eb660: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ +001eb670: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +001eb6f0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +001eb700: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001eb710: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +001eb720: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +001eb730: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +001eb760: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +001eb770: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ +001eb780: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ +001eb790: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: 'Unins
│ │ │ +001eb7b0: 7461 6c6c 2061 7061 6368 6532 2050 6163 tall apache2 Pac
│ │ │ +001eb7c0: 6b61 6765 3a20 456e 7375 7265 2061 7061 kage: Ensure apa
│ │ │ +001eb7d0: 6368 6532 2069 7320 7265 6d6f 7665 6427 che2 is removed'
│ │ │ +001eb7e0: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ +001eb7f0: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ +001eb800: 6e61 6d65 3a20 6170 6163 6865 320a 2020 name: apache2.
│ │ │ +001eb810: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ +001eb820: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ +001eb830: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ +001eb840: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +001eb850: 434d 2d37 2861 290a 2020 2d20 4e49 5354 CM-7(a). - NIST
│ │ │ +001eb860: 2d38 3030 2d35 332d 434d 2d37 2862 290a -800-53-CM-7(b).
│ │ │ +001eb870: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ +001eb880: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +001eb890: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +001eb8a0: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ +001eb8b0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +001eb8c0: 2020 2d20 7061 636b 6167 655f 6874 7470 - package_http
│ │ │ +001eb8d0: 645f 7265 6d6f 7665 640a 2020 2d20 756e d_removed. - un
│ │ │ +001eb8e0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c known_severity.<
│ │ │ +001eb8f0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +001eb9a0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +001eb9b0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ +001eba40: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +001eba50: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001eba60: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +001eba70: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +001eba80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +001ebab0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +001ebac0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ +001ebad0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ +001ebaf0: 6e63 6c75 6465 2072 656d 6f76 655f 6170 nclude remove_ap
│ │ │ +001ebb00: 6163 6865 320a 0a63 6c61 7373 2072 656d ache2..class rem
│ │ │ +001ebb10: 6f76 655f 6170 6163 6865 3220 7b0a 2020 ove_apache2 {.
│ │ │ +001ebb20: 7061 636b 6167 6520 7b20 2761 7061 6368 package { 'apach
│ │ │ +001ebb30: 6532 273a 0a20 2020 2065 6e73 7572 6520 e2':. ensure
│ │ │ +001ebb40: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ +001ebb50: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Remedi
│ │ │ -001ecef0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -001ecf00: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001ecf10: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001ecf40: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001ecf90: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001ecfa0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001ecfb0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001ecfc0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001ecfd0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001ecfe0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001ecff0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001ed000: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ -001ed040: 6520 7265 6d6f 7665 5f6e 6769 6e78 0a0a e remove_nginx..
│ │ │ -001ed050: 636c 6173 7320 7265 6d6f 7665 5f6e 6769 class remove_ngi
│ │ │ -001ed060: 6e78 207b 0a20 2070 6163 6b61 6765 207b nx {. package {
│ │ │ -001ed070: 2027 6e67 696e 7827 3a0a 2020 2020 656e 'nginx':. en
│ │ │ -001ed080: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ -001ed090: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -001ed150: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -001ed160: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -001ed1f0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -001ed200: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -001ed220: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001ed240: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001ed250: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001ed270: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -001ed280: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001ed290: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -001ed2a0: 653a 2027 556e 696e 7374 616c 6c20 6e67 e: 'Uninstall ng
│ │ │ -001ed2b0: 696e 7820 5061 636b 6167 653a 2045 6e73 inx Package: Ens
│ │ │ -001ed2c0: 7572 6520 6e67 696e 7820 6973 2072 656d ure nginx is rem
│ │ │ -001ed2d0: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ -001ed2e0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -001ed2f0: 0a20 2020 206e 616d 653a 206e 6769 6e78 . name: nginx
│ │ │ -001ed300: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ -001ed310: 6e74 0a20 2074 6167 733a 0a20 202d 204e nt. tags:. - N
│ │ │ -001ed320: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ -001ed330: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ -001ed340: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N
│ │ │ -001ed350: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ -001ed360: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s
│ │ │ -001ed370: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ -001ed380: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ -001ed390: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ -001ed3a0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -001ed3b0: 6564 0a20 202d 2070 6163 6b61 6765 5f6e ed. - package_n
│ │ │ -001ed3c0: 6769 6e78 5f72 656d 6f76 6564 0a20 202d ginx_removed. -
│ │ │ -001ed3d0: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974 unknown_severit
│ │ │ -001ed3e0: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c y.
<
│ │ │ +001ecef0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ +001ecf00: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +001ecf90: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +001ecfa0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001ecfb0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +001ecfc0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001ecfd0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +001ecfe0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +001ecff0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +001ed000: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ +001ed030: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ +001ed040: 3a20 2755 6e69 6e73 7461 6c6c 206e 6769 : 'Uninstall ngi
│ │ │ +001ed050: 6e78 2050 6163 6b61 6765 3a20 456e 7375 nx Package: Ensu
│ │ │ +001ed060: 7265 206e 6769 6e78 2069 7320 7265 6d6f re nginx is remo
│ │ │ +001ed070: 7665 6427 0a20 2061 6e73 6962 6c65 2e62 ved'. ansible.b
│ │ │ +001ed080: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ +001ed090: 2020 2020 6e61 6d65 3a20 6e67 696e 780a name: nginx.
│ │ │ +001ed0a0: 2020 2020 7374 6174 653a 2061 6273 656e state: absen
│ │ │ +001ed0b0: 740a 2020 7461 6773 3a0a 2020 2d20 4e49 t. tags:. - NI
│ │ │ +001ed0c0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ +001ed0d0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ +001ed0e0: 332d 434d 2d37 2861 290a 2020 2d20 4e49 3-CM-7(a). - NI
│ │ │ +001ed0f0: 5354 2d38 3030 2d35 332d 434d 2d37 2862 ST-800-53-CM-7(b
│ │ │ +001ed100: 290a 2020 2d20 6469 7361 626c 655f 7374 ). - disable_st
│ │ │ +001ed110: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +001ed120: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +001ed130: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +001ed140: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +001ed150: 640a 2020 2d20 7061 636b 6167 655f 6e67 d. - package_ng
│ │ │ +001ed160: 696e 785f 7265 6d6f 7665 640a 2020 2d20 inx_removed. -
│ │ │ +001ed170: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479 unknown_severity
│ │ │ +001ed180: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +001ed190: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ +001ed240: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +001ed250: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +001ed300: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001ed310: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001ed320: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001ed330: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001ed350: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ +001ed360: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001ed380: 0a69 6e63 6c75 6465 2072 656d 6f76 655f .include remove_
│ │ │ +001ed390: 6e67 696e 780a 0a63 6c61 7373 2072 656d nginx..class rem
│ │ │ +001ed3a0: 6f76 655f 6e67 696e 7820 7b0a 2020 7061 ove_nginx {. pa
│ │ │ +001ed3b0: 636b 6167 6520 7b20 276e 6769 6e78 273a ckage { 'nginx':
│ │ │ +001ed3c0: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +001ed3d0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ +001ed3e0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ 001ed3f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediatio
│ │ │ -001ee680: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -001ee690: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -001ee720: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -001ee740: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -001ee750: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001ee760: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -001ee770: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -001ee790: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ -001ee7c0: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ -001ee7d0: 6d6f 7665 5f63 7972 7573 2d69 6d61 7064 move_cyrus-imapd
│ │ │ -001ee7e0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f63 ..class remove_c
│ │ │ -001ee7f0: 7972 7573 2d69 6d61 7064 207b 0a20 2070 yrus-imapd {. p
│ │ │ -001ee800: 6163 6b61 6765 207b 2027 6379 7275 732d ackage { 'cyrus-
│ │ │ -001ee810: 696d 6170 6427 3a0a 2020 2020 656e 7375 imapd':. ensu
│ │ │ -001ee820: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged
│ │ │ -001ee830: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ -001ee840: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063 Remedia
│ │ │ -001ee8f0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -001ee900: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001ee910: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001ee940: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001ee990: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001ee9a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001ee9b0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001ee9c0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001ee9d0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001ee9e0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001ee9f0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001eea00: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ -001eea40: 2027 556e 696e 7374 616c 6c20 6379 7275 'Uninstall cyru
│ │ │ -001eea50: 732d 696d 6170 6420 5061 636b 6167 653a s-imapd Package:
│ │ │ -001eea60: 2045 6e73 7572 6520 6379 7275 732d 696d Ensure cyrus-im
│ │ │ -001eea70: 6170 6420 6973 2072 656d 6f76 6564 270a apd is removed'.
│ │ │ -001eea80: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -001eea90: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ -001eeaa0: 616d 653a 2063 7972 7573 2d69 6d61 7064 ame: cyrus-imapd
│ │ │ -001eeab0: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ -001eeac0: 6e74 0a20 2074 6167 733a 0a20 202d 2064 nt. tags:. - d
│ │ │ -001eead0: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ -001eeae0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -001eeaf0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -001eeb00: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ -001eeb10: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -001eeb20: 6163 6b61 6765 5f63 7972 7573 2d69 6d61 ackage_cyrus-ima
│ │ │ -001eeb30: 7064 5f72 656d 6f76 6564 0a20 202d 2075 pd_removed. - u
│ │ │ -001eeb40: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a nknown_severity.
│ │ │ +001ee680: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ +001ee690: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +001ee710: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +001ee720: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +001ee730: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001ee740: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +001ee750: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +001ee770: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001ee780: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001ee790: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +001ee7b0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +001ee7c0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2755 - name: 'U
│ │ │ +001ee7d0: 6e69 6e73 7461 6c6c 2063 7972 7573 2d69 ninstall cyrus-i
│ │ │ +001ee7e0: 6d61 7064 2050 6163 6b61 6765 3a20 456e mapd Package: En
│ │ │ +001ee7f0: 7375 7265 2063 7972 7573 2d69 6d61 7064 sure cyrus-imapd
│ │ │ +001ee800: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ +001ee810: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ +001ee820: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ +001ee830: 3a20 6379 7275 732d 696d 6170 640a 2020 : cyrus-imapd.
│ │ │ +001ee840: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ +001ee850: 2020 7461 6773 3a0a 2020 2d20 6469 7361 tags:. - disa
│ │ │ +001ee860: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +001ee870: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +001ee880: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +001ee890: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74 on. - no_reboot
│ │ │ +001ee8a0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ +001ee8b0: 6167 655f 6379 7275 732d 696d 6170 645f age_cyrus-imapd_
│ │ │ +001ee8c0: 7265 6d6f 7665 640a 2020 2d20 756e 6b6e removed. - unkn
│ │ │ +001ee8d0: 6f77 6e5f 7365 7665 7269 7479 0a3c 2f63 own_severity.
│ │ │ +001ee8f0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +001ee990: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +001ee9a0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001ee9b0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001eea30: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001eea60: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001eea80: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001eea90: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001eeab0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001eeac0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ +001eeae0: 6c75 6465 2072 656d 6f76 655f 6379 7275 lude remove_cyru
│ │ │ +001eeaf0: 732d 696d 6170 640a 0a63 6c61 7373 2072 s-imapd..class r
│ │ │ +001eeb00: 656d 6f76 655f 6379 7275 732d 696d 6170 emove_cyrus-imap
│ │ │ +001eeb10: 6420 7b0a 2020 7061 636b 6167 6520 7b20 d {. package {
│ │ │ +001eeb20: 2763 7972 7573 2d69 6d61 7064 273a 0a20 'cyrus-imapd':.
│ │ │ +001eeb30: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ +001eeb40: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}.
│ │ │ 001eeb50: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Reme
│ │ │ -001ef9f0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ -001efa00: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -001efa90: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -001efaa0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -001efac0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001efae0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001efaf0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001efb10: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -001efb20: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001efb30: 3c70 7265 3e3c 636f 6465 3e0a 696e 636c .incl
│ │ │ -001efb40: 7564 6520 7265 6d6f 7665 5f64 6f76 6563 ude remove_dovec
│ │ │ -001efb50: 6f74 2d63 6f72 650a 0a63 6c61 7373 2072 ot-core..class r
│ │ │ -001efb60: 656d 6f76 655f 646f 7665 636f 742d 636f emove_dovecot-co
│ │ │ -001efb70: 7265 207b 0a20 2070 6163 6b61 6765 207b re {. package {
│ │ │ -001efb80: 2027 646f 7665 636f 742d 636f 7265 273a 'dovecot-core':
│ │ │ -001efb90: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -001efba0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ -001efbb0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -001efbc0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -001efc70: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -001efc80: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001efd00: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001efd10: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001efd20: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001efd30: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001efd40: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001efd70: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001efd80: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001efd90: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001efda0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: 'Unins
│ │ │ -001efdc0: 7461 6c6c 2064 6f76 6563 6f74 2050 6163 tall dovecot Pac
│ │ │ -001efdd0: 6b61 6765 3a20 456e 7375 7265 2064 6f76 kage: Ensure dov
│ │ │ -001efde0: 6563 6f74 2d63 6f72 6520 6973 2072 656d ecot-core is rem
│ │ │ -001efdf0: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ -001efe00: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -001efe10: 0a20 2020 206e 616d 653a 2064 6f76 6563 . name: dovec
│ │ │ -001efe20: 6f74 2d63 6f72 650a 2020 2020 7374 6174 ot-core. stat
│ │ │ -001efe30: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags
│ │ │ -001efe40: 3a0a 2020 2d20 6469 7361 626c 655f 7374 :. - disable_st
│ │ │ -001efe50: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -001efe60: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -001efe70: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -001efe80: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -001efe90: 640a 2020 2d20 7061 636b 6167 655f 646f d. - package_do
│ │ │ -001efea0: 7665 636f 745f 7265 6d6f 7665 640a 2020 vecot_removed.
│ │ │ -001efeb0: 2d20 756e 6b6e 6f77 6e5f 7365 7665 7269 - unknown_severi
│ │ │ -001efec0: 7479 0a3c 2f63 6f64 653e 3c2f 7072 653e ty.
│ │ │ +001ef9f0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ +001efa00: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001efa10: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001efa90: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001efac0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001efae0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001efaf0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001efb10: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001efb20: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001efb40: 6d65 3a20 2755 6e69 6e73 7461 6c6c 2064 me: 'Uninstall d
│ │ │ +001efb50: 6f76 6563 6f74 2050 6163 6b61 6765 3a20 ovecot Package:
│ │ │ +001efb60: 456e 7375 7265 2064 6f76 6563 6f74 2d63 Ensure dovecot-c
│ │ │ +001efb70: 6f72 6520 6973 2072 656d 6f76 6564 270a ore is removed'.
│ │ │ +001efb80: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +001efb90: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ +001efba0: 616d 653a 2064 6f76 6563 6f74 2d63 6f72 ame: dovecot-cor
│ │ │ +001efbb0: 650a 2020 2020 7374 6174 653a 2061 6273 e. state: abs
│ │ │ +001efbc0: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. -
│ │ │ +001efbd0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ +001efbe0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +001efbf0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +001efc00: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re
│ │ │ +001efc10: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +001efc20: 7061 636b 6167 655f 646f 7665 636f 745f package_dovecot_
│ │ │ +001efc30: 7265 6d6f 7665 640a 2020 2d20 756e 6b6e removed. - unkn
│ │ │ +001efc40: 6f77 6e5f 7365 7665 7269 7479 0a3c 2f63 own_severity.
│ │ │ +001efc60: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +001efd00: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +001efd10: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001efd20: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001efda0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001efdd0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001efdf0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001efe00: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001efe20: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001efe30: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ +001efe50: 6c75 6465 2072 656d 6f76 655f 646f 7665 lude remove_dove
│ │ │ +001efe60: 636f 742d 636f 7265 0a0a 636c 6173 7320 cot-core..class
│ │ │ +001efe70: 7265 6d6f 7665 5f64 6f76 6563 6f74 2d63 remove_dovecot-c
│ │ │ +001efe80: 6f72 6520 7b0a 2020 7061 636b 6167 6520 ore {. package
│ │ │ +001efe90: 7b20 2764 6f76 6563 6f74 2d63 6f72 6527 { 'dovecot-core'
│ │ │ +001efea0: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ +001efeb0: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ +001efec0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ 001efed0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remedi
│ │ │ -001f1530: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -001f1540: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001f1550: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001f1580: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001f15d0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001f15e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001f15f0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001f1600: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001f1610: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001f1620: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001f1630: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001f1640: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ -001f1680: 6520 7265 6d6f 7665 5f6c 6461 702d 7574 e remove_ldap-ut
│ │ │ -001f1690: 696c 730a 0a63 6c61 7373 2072 656d 6f76 ils..class remov
│ │ │ -001f16a0: 655f 6c64 6170 2d75 7469 6c73 207b 0a20 e_ldap-utils {.
│ │ │ -001f16b0: 2070 6163 6b61 6765 207b 2027 6c64 6170 package { 'ldap
│ │ │ -001f16c0: 2d75 7469 6c73 273a 0a20 2020 2065 6e73 -utils':. ens
│ │ │ -001f16d0: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge
│ │ │ -001f16e0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remedi
│ │ │ -001f17a0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ -001f17b0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001f1840: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001f1850: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001f1860: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001f1870: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001f1880: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001f1890: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001f18a0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001f18b0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -001f18e0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -001f18f0: 3a20 2745 6e73 7572 6520 4c44 4150 2063 : 'Ensure LDAP c
│ │ │ -001f1900: 6c69 656e 7420 6973 206e 6f74 2069 6e73 lient is not ins
│ │ │ -001f1910: 7461 6c6c 6564 3a20 456e 7375 7265 206c talled: Ensure l
│ │ │ -001f1920: 6461 702d 7574 696c 7320 6973 2072 656d dap-utils is rem
│ │ │ -001f1930: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ -001f1940: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -001f1950: 0a20 2020 206e 616d 653a 206c 6461 702d . name: ldap-
│ │ │ -001f1960: 7574 696c 730a 2020 2020 7374 6174 653a utils. state:
│ │ │ -001f1970: 2061 6273 656e 740a 2020 7461 6773 3a0a absent. tags:.
│ │ │ -001f1980: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ -001f1990: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -001f19a0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -001f19b0: 6469 7372 7570 7469 6f6e 0a20 202d 206c disruption. - l
│ │ │ -001f19c0: 6f77 5f73 6576 6572 6974 790a 2020 2d20 ow_severity. -
│ │ │ -001f19d0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -001f19e0: 0a20 202d 2070 6163 6b61 6765 5f6f 7065 . - package_ope
│ │ │ -001f19f0: 6e6c 6461 702d 636c 6965 6e74 735f 7265 nldap-clients_re
│ │ │ -001f1a00: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.
Compl
│ │ │ +001f15d0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +001f15e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001f15f0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +001f1600: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001f1610: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +001f1620: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +001f1630: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +001f1640: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ +001f1670: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ +001f1680: 3a20 2745 6e73 7572 6520 4c44 4150 2063 : 'Ensure LDAP c
│ │ │ +001f1690: 6c69 656e 7420 6973 206e 6f74 2069 6e73 lient is not ins
│ │ │ +001f16a0: 7461 6c6c 6564 3a20 456e 7375 7265 206c talled: Ensure l
│ │ │ +001f16b0: 6461 702d 7574 696c 7320 6973 2072 656d dap-utils is rem
│ │ │ +001f16c0: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ +001f16d0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ +001f16e0: 0a20 2020 206e 616d 653a 206c 6461 702d . name: ldap-
│ │ │ +001f16f0: 7574 696c 730a 2020 2020 7374 6174 653a utils. state:
│ │ │ +001f1700: 2061 6273 656e 740a 2020 7461 6773 3a0a absent. tags:.
│ │ │ +001f1710: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ +001f1720: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +001f1730: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +001f1740: 6469 7372 7570 7469 6f6e 0a20 202d 206c disruption. - l
│ │ │ +001f1750: 6f77 5f73 6576 6572 6974 790a 2020 2d20 ow_severity. -
│ │ │ +001f1760: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +001f1770: 0a20 202d 2070 6163 6b61 6765 5f6f 7065 . - package_ope
│ │ │ +001f1780: 6e6c 6461 702d 636c 6965 6e74 735f 7265 nldap-clients_re
│ │ │ +001f1790: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.Remediatio
│ │ │ +001f1850: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +001f1860: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +001f18f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +001f1910: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001f1920: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001f1930: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001f1940: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001f1960: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +001f1990: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ +001f19a0: 6d6f 7665 5f6c 6461 702d 7574 696c 730a move_ldap-utils.
│ │ │ +001f19b0: 0a63 6c61 7373 2072 656d 6f76 655f 6c64 .class remove_ld
│ │ │ +001f19c0: 6170 2d75 7469 6c73 207b 0a20 2070 6163 ap-utils {. pac
│ │ │ +001f19d0: 6b61 6765 207b 2027 6c64 6170 2d75 7469 kage { 'ldap-uti
│ │ │ +001f19e0: 6c73 273a 0a20 2020 2065 6e73 7572 6520 ls':. ensure
│ │ │ +001f19f0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ +001f1a00: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Remedia
│ │ │ -001f2ef0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ -001f2f00: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -001f2f10: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -001f2f20: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -001f2f30: 7365 2220 6964 3d22 6964 3731 3622 3e3c se" id="id716"><
│ │ │ -001f2f40: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -001f2f50: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -001f2f60: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -001f2f70: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -001f2f80: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -001f2f90: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -001f2fa0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -001f2fd0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -001f2fe0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -001f2ff0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -001f3010: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -001f3020: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
.include
│ │ │ -001f3040: 2072 656d 6f76 655f 736c 6170 640a 0a63 remove_slapd..c
│ │ │ -001f3050: 6c61 7373 2072 656d 6f76 655f 736c 6170 lass remove_slap
│ │ │ -001f3060: 6420 7b0a 2020 7061 636b 6167 6520 7b20 d {. package {
│ │ │ -001f3070: 2773 6c61 7064 273a 0a20 2020 2065 6e73 'slapd':. ens
│ │ │ -001f3080: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge
│ │ │ -001f3090: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}. Remedi
│ │ │ -001f3150: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ -001f3160: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001f31f0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001f3200: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001f3210: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001f3220: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001f3230: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001f3240: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001f3250: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001f3260: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -001f3290: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -001f32a0: 3a20 2755 6e69 6e73 7461 6c6c 206f 7065 : 'Uninstall ope
│ │ │ -001f32b0: 6e6c 6461 702d 7365 7276 6572 7320 5061 nldap-servers Pa
│ │ │ -001f32c0: 636b 6167 653a 2045 6e73 7572 6520 736c ckage: Ensure sl
│ │ │ -001f32d0: 6170 6420 6973 2072 656d 6f76 6564 270a apd is removed'.
│ │ │ -001f32e0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -001f32f0: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ -001f3300: 616d 653a 2073 6c61 7064 0a20 2020 2073 ame: slapd. s
│ │ │ -001f3310: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ -001f3320: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ -001f3330: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -001f3340: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -001f3350: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80
│ │ │ -001f3360: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). -
│ │ │ -001f3370: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ -001f3380: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -001f3390: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -001f33a0: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f ruption. - low_
│ │ │ -001f33b0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -001f33c0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001f33d0: 2d20 7061 636b 6167 655f 6f70 656e 6c64 - package_openld
│ │ │ -001f33e0: 6170 2d73 6572 7665 7273 5f72 656d 6f76 ap-servers_remov
│ │ │ -001f33f0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +001f2ef0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ +001f2f00: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001f2f10: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001f2f40: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001f2f90: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001f2fa0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001f2fb0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001f2fc0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001f2fd0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001f2fe0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001f2ff0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001f3000: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ +001f3040: 2027 556e 696e 7374 616c 6c20 6f70 656e 'Uninstall open
│ │ │ +001f3050: 6c64 6170 2d73 6572 7665 7273 2050 6163 ldap-servers Pac
│ │ │ +001f3060: 6b61 6765 3a20 456e 7375 7265 2073 6c61 kage: Ensure sla
│ │ │ +001f3070: 7064 2069 7320 7265 6d6f 7665 6427 0a20 pd is removed'.
│ │ │ +001f3080: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +001f3090: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ +001f30a0: 6d65 3a20 736c 6170 640a 2020 2020 7374 me: slapd. st
│ │ │ +001f30b0: 6174 653a 2061 6273 656e 740a 2020 7461 ate: absent. ta
│ │ │ +001f30c0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ +001f30d0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ +001f30e0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ +001f30f0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ +001f3100: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). -
│ │ │ +001f3110: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ +001f3120: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +001f3130: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +001f3140: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73 uption. - low_s
│ │ │ +001f3150: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +001f3160: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001f3170: 2070 6163 6b61 6765 5f6f 7065 6e6c 6461 package_openlda
│ │ │ +001f3180: 702d 7365 7276 6572 735f 7265 6d6f 7665 p-servers_remove
│ │ │ +001f3190: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.<
│ │ │ +001f31a0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu
│ │ │ +001f3250: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ +001f3260: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +001f3300: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +001f3310: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +001f3320: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001f3330: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +001f3340: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +001f3350: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +001f3360: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ +001f3370: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +001f3380: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>.include remove
│ │ │ +001f33a0: 5f73 6c61 7064 0a0a 636c 6173 7320 7265 _slapd..class re
│ │ │ +001f33b0: 6d6f 7665 5f73 6c61 7064 207b 0a20 2070 move_slapd {. p
│ │ │ +001f33c0: 6163 6b61 6765 207b 2027 736c 6170 6427 ackage { 'slapd'
│ │ │ +001f33d0: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ +001f33e0: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ +001f33f0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ 001f3400: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ -001f7790: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -001f77a0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001f7820: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001f7830: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001f7840: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001f7850: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001f7860: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001f7890: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001f78a0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001f78b0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001f78c0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ -001f78e0: 655f 7270 6362 696e 640a 0a63 6c61 7373 e_rpcbind..class
│ │ │ -001f78f0: 2072 656d 6f76 655f 7270 6362 696e 6420 remove_rpcbind
│ │ │ -001f7900: 7b0a 2020 7061 636b 6167 6520 7b20 2772 {. package { 'r
│ │ │ -001f7910: 7063 6269 6e64 273a 0a20 2020 2065 6e73 pcbind':. ens
│ │ │ -001f7920: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge
│ │ │ -001f7930: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remedi
│ │ │ -001f79f0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ -001f7a00: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001f7a90: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001f7aa0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001f7ab0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001f7ac0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001f7ad0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001f7ae0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001f7af0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001f7b00: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -001f7b30: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -001f7b40: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ -001f7b50: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ -001f7b60: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ -001f7b70: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ -001f7b80: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl
│ │ │ -001f7b90: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -001f7ba0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -001f7bb0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -001f7bc0: 0a20 202d 206c 6f77 5f73 6576 6572 6974 . - low_severit
│ │ │ -001f7bd0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ -001f7be0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ -001f7bf0: 6765 5f72 7063 6269 6e64 5f72 656d 6f76 ge_rpcbind_remov
│ │ │ -001f7c00: 6564 0a0a 2d20 6e61 6d65 3a20 2755 6e69 ed..- name: 'Uni
│ │ │ -001f7c10: 6e73 7461 6c6c 2072 7063 6269 6e64 2050 nstall rpcbind P
│ │ │ -001f7c20: 6163 6b61 6765 3a20 456e 7375 7265 2072 ackage: Ensure r
│ │ │ -001f7c30: 7063 6269 6e64 2069 7320 7265 6d6f 7665 pcbind is remove
│ │ │ -001f7c40: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -001f7c50: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -001f7c60: 2020 6e61 6d65 3a20 7270 6362 696e 640a name: rpcbind.
│ │ │ -001f7c70: 2020 2020 7374 6174 653a 2061 6273 656e state: absen
│ │ │ -001f7c80: 740a 2020 7768 656e 3a20 2722 6c69 6e75 t. when: '"linu
│ │ │ -001f7c90: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ -001f7ca0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ -001f7cb0: 7327 0a20 2074 6167 733a 0a20 202d 2064 s'. tags:. - d
│ │ │ -001f7cc0: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ -001f7cd0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -001f7ce0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -001f7cf0: 7074 696f 6e0a 2020 2d20 6c6f 775f 7365 ption. - low_se
│ │ │ -001f7d00: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -001f7d10: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -001f7d20: 7061 636b 6167 655f 7270 6362 696e 645f package_rpcbind_
│ │ │ -001f7d30: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c removed.<
│ │ │ +001f7780: 2122 3e52 656d 6564 6961 7469 6f6e 2041 !">Remediation A
│ │ │ +001f7790: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +001f77a0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001f7820: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001f7830: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001f7840: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001f7850: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001f7890: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001f78a0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +001f78b0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +001f78c0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +001f78e0: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +001f78f0: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ +001f7900: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ +001f7910: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ +001f7920: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ +001f7930: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +001f7940: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +001f7950: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f isruption. - lo
│ │ │ +001f7960: 775f 7365 7665 7269 7479 0a20 202d 206e w_severity. - n
│ │ │ +001f7970: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +001f7980: 2020 2d20 7061 636b 6167 655f 7270 6362 - package_rpcb
│ │ │ +001f7990: 696e 645f 7265 6d6f 7665 640a 0a2d 206e ind_removed..- n
│ │ │ +001f79a0: 616d 653a 2027 556e 696e 7374 616c 6c20 ame: 'Uninstall
│ │ │ +001f79b0: 7270 6362 696e 6420 5061 636b 6167 653a rpcbind Package:
│ │ │ +001f79c0: 2045 6e73 7572 6520 7270 6362 696e 6420 Ensure rpcbind
│ │ │ +001f79d0: 6973 2072 656d 6f76 6564 270a 2020 616e is removed'. an
│ │ │ +001f79e0: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +001f79f0: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ +001f7a00: 2072 7063 6269 6e64 0a20 2020 2073 7461 rpcbind. sta
│ │ │ +001f7a10: 7465 3a20 6162 7365 6e74 0a20 2077 6865 te: absent. whe
│ │ │ +001f7a20: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ +001f7a30: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +001f7a40: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ +001f7a50: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_
│ │ │ +001f7a60: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +001f7a70: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +001f7a80: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +001f7a90: 202d 206c 6f77 5f73 6576 6572 6974 790a - low_severity.
│ │ │ +001f7aa0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +001f7ab0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +001f7ac0: 5f72 7063 6269 6e64 5f72 656d 6f76 6564 _rpcbind_removed
│ │ │ +001f7ad0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +001f7ae0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ +001f7b90: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +001f7ba0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +001f7c50: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001f7c60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001f7c70: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001f7c80: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001f7ca0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ +001f7cb0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001f7cd0: 0a69 6e63 6c75 6465 2072 656d 6f76 655f .include remove_
│ │ │ +001f7ce0: 7270 6362 696e 640a 0a63 6c61 7373 2072 rpcbind..class r
│ │ │ +001f7cf0: 656d 6f76 655f 7270 6362 696e 6420 7b0a emove_rpcbind {.
│ │ │ +001f7d00: 2020 7061 636b 6167 6520 7b20 2772 7063 package { 'rpc
│ │ │ +001f7d10: 6269 6e64 273a 0a20 2020 2065 6e73 7572 bind':. ensur
│ │ │ +001f7d20: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ +001f7d30: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ 001f7d40: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remed
│ │ │ -001f8980: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -001f8990: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001f8a20: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001f8a30: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001f8a40: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001f8a50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001f8a60: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001f8a70: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001f8a80: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001f8a90: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -001f8ac0: 7072 653e 3c63 6f64 653e 0a69 6e63 6c75 pre>.inclu
│ │ │ -001f8ad0: 6465 2072 656d 6f76 655f 6e66 732d 6b65 de remove_nfs-ke
│ │ │ -001f8ae0: 726e 656c 2d73 6572 7665 720a 0a63 6c61 rnel-server..cla
│ │ │ -001f8af0: 7373 2072 656d 6f76 655f 6e66 732d 6b65 ss remove_nfs-ke
│ │ │ -001f8b00: 726e 656c 2d73 6572 7665 7220 7b0a 2020 rnel-server {.
│ │ │ -001f8b10: 7061 636b 6167 6520 7b20 276e 6673 2d6b package { 'nfs-k
│ │ │ -001f8b20: 6572 6e65 6c2d 7365 7276 6572 273a 0a20 ernel-server':.
│ │ │ -001f8b30: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -001f8b40: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}.
│ │ │ -001f8b50: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -001f8c00: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ -001f8c10: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ -001f8c20: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -001f8cd0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -001f8ce0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001f8cf0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -001f8d00: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -001f8d20: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ -001f8d30: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001f8d50: 2d20 6e61 6d65 3a20 2755 6e69 6e73 7461 - name: 'Uninsta
│ │ │ -001f8d60: 6c6c 206e 6673 2d6b 6572 6e65 6c2d 7365 ll nfs-kernel-se
│ │ │ -001f8d70: 7276 6572 2050 6163 6b61 6765 3a20 456e rver Package: En
│ │ │ -001f8d80: 7375 7265 206e 6673 2d6b 6572 6e65 6c2d sure nfs-kernel-
│ │ │ -001f8d90: 7365 7276 6572 2069 7320 7265 6d6f 7665 server is remove
│ │ │ -001f8da0: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -001f8db0: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -001f8dc0: 2020 6e61 6d65 3a20 6e66 732d 6b65 726e name: nfs-kern
│ │ │ -001f8dd0: 656c 2d73 6572 7665 720a 2020 2020 7374 el-server. st
│ │ │ -001f8de0: 6174 653a 2061 6273 656e 740a 2020 7461 ate: absent. ta
│ │ │ -001f8df0: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_
│ │ │ -001f8e00: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -001f8e10: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -001f8e20: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -001f8e30: 202d 206c 6f77 5f73 6576 6572 6974 790a - low_severity.
│ │ │ -001f8e40: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -001f8e50: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -001f8e60: 5f6e 6673 2d6b 6572 6e65 6c2d 7365 7276 _nfs-kernel-serv
│ │ │ -001f8e70: 6572 5f72 656d 6f76 6564 0a3c 2f63 6f64 er_removed.Comp
│ │ │ +001f8a20: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +001f8a30: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +001f8a50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +001f8a70: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001f8a80: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001f8aa0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +001f8ab0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001f8ac0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +001f8ad0: 653a 2027 556e 696e 7374 616c 6c20 6e66 e: 'Uninstall nf
│ │ │ +001f8ae0: 732d 6b65 726e 656c 2d73 6572 7665 7220 s-kernel-server
│ │ │ +001f8af0: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ +001f8b00: 6e66 732d 6b65 726e 656c 2d73 6572 7665 nfs-kernel-serve
│ │ │ +001f8b10: 7220 6973 2072 656d 6f76 6564 270a 2020 r is removed'.
│ │ │ +001f8b20: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +001f8b30: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +001f8b40: 653a 206e 6673 2d6b 6572 6e65 6c2d 7365 e: nfs-kernel-se
│ │ │ +001f8b50: 7276 6572 0a20 2020 2073 7461 7465 3a20 rver. state:
│ │ │ +001f8b60: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ +001f8b70: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ +001f8b80: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +001f8b90: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +001f8ba0: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f isruption. - lo
│ │ │ +001f8bb0: 775f 7365 7665 7269 7479 0a20 202d 206e w_severity. - n
│ │ │ +001f8bc0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +001f8bd0: 2020 2d20 7061 636b 6167 655f 6e66 732d - package_nfs-
│ │ │ +001f8be0: 6b65 726e 656c 2d73 6572 7665 725f 7265 kernel-server_re
│ │ │ +001f8bf0: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.
Remediatio
│ │ │ +001f8cb0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +001f8cc0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +001f8d50: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +001f8d70: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001f8d80: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001f8d90: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001f8da0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001f8dc0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +001f8df0: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ +001f8e00: 6d6f 7665 5f6e 6673 2d6b 6572 6e65 6c2d move_nfs-kernel-
│ │ │ +001f8e10: 7365 7276 6572 0a0a 636c 6173 7320 7265 server..class re
│ │ │ +001f8e20: 6d6f 7665 5f6e 6673 2d6b 6572 6e65 6c2d move_nfs-kernel-
│ │ │ +001f8e30: 7365 7276 6572 207b 0a20 2070 6163 6b61 server {. packa
│ │ │ +001f8e40: 6765 207b 2027 6e66 732d 6b65 726e 656c ge { 'nfs-kernel
│ │ │ +001f8e50: 2d73 6572 7665 7227 3a0a 2020 2020 656e -server':. en
│ │ │ +001f8e60: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ +001f8e70: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.Remediation OSB
│ │ │ -001fae70: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ -001fae80: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ....[[
│ │ │ -001faed0: 7061 636b 6167 6573 5d5d 0a6e 616d 6520 packages]].name
│ │ │ -001faee0: 3d20 2273 7973 7465 6d64 2d74 696d 6573 = "systemd-times
│ │ │ -001faef0: 796e 6364 220a 7665 7273 696f 6e20 3d20 yncd".version =
│ │ │ -001faf00: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".
Remediation
│ │ │ -001fafc0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ -001fafd0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -001fb050: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -001fb060: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001fb070: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -001fb080: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -001fb0c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -001fb0d0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ -001fb0e0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ -001fb0f0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include instal
│ │ │ -001fb110: 6c5f 7379 7374 656d 642d 7469 6d65 7379 l_systemd-timesy
│ │ │ -001fb120: 6e63 640a 0a63 6c61 7373 2069 6e73 7461 ncd..class insta
│ │ │ -001fb130: 6c6c 5f73 7973 7465 6d64 2d74 696d 6573 ll_systemd-times
│ │ │ -001fb140: 796e 6364 207b 0a20 2070 6163 6b61 6765 yncd {. package
│ │ │ -001fb150: 207b 2027 7379 7374 656d 642d 7469 6d65 { 'systemd-time
│ │ │ -001fb160: 7379 6e63 6427 3a0a 2020 2020 656e 7375 syncd':. ensu
│ │ │ -001fb170: 7265 203d 2667 743b 2027 696e 7374 616c re => 'instal
│ │ │ -001fb180: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f led',. }.}.
<
│ │ │ -001fb1a0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -001fb1b0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -001fb1c0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -001fb1d0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -001fb1e0: 6437 3333 2220 7461 6269 6e64 6578 3d22 d733" tabindex="
│ │ │ -001fb1f0: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -001fb200: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -001fb210: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -001fb220: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -001fb230: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001fb240: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -001fb250: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001fb260: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001fb2e0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001fb310: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001fb330: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001fb340: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001fb360: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ -001fb370: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001fb380: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -001fb390: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ -001fb3a0: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ -001fb3b0: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ -001fb3c0: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ -001fb3d0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ -001fb3e0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ -001fb3f0: 202d 2050 4349 2d44 5353 2d52 6571 2d31 - PCI-DSS-Req-1
│ │ │ -001fb400: 302e 340a 2020 2d20 656e 6162 6c65 5f73 0.4. - enable_s
│ │ │ -001fb410: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high
│ │ │ -001fb420: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo
│ │ │ -001fb430: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -001fb440: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -001fb450: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -001fb460: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -001fb470: 5f74 696d 6573 796e 6364 5f69 6e73 7461 _timesyncd_insta
│ │ │ -001fb480: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e lled..- name: En
│ │ │ -001fb490: 7375 7265 2073 7973 7465 6d64 2d74 696d sure systemd-tim
│ │ │ -001fb4a0: 6573 796e 6364 2069 7320 696e 7374 616c esyncd is instal
│ │ │ -001fb4b0: 6c65 640a 2020 616e 7369 626c 652e 6275 led. ansible.bu
│ │ │ -001fb4c0: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ -001fb4d0: 2020 206e 616d 653a 2073 7973 7465 6d64 name: systemd
│ │ │ -001fb4e0: 2d74 696d 6573 796e 6364 0a20 2020 2073 -timesyncd. s
│ │ │ -001fb4f0: 7461 7465 3a20 7072 6573 656e 740a 2020 tate: present.
│ │ │ -001fb500: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba
│ │ │ -001fb510: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ -001fb520: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ -001fb530: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ -001fb540: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ -001fb550: 202d 2050 4349 2d44 5353 2d52 6571 2d31 - PCI-DSS-Req-1
│ │ │ -001fb560: 302e 340a 2020 2d20 656e 6162 6c65 5f73 0.4. - enable_s
│ │ │ -001fb570: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high
│ │ │ -001fb580: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo
│ │ │ -001fb590: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -001fb5a0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -001fb5b0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -001fb5c0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -001fb5d0: 5f74 696d 6573 796e 6364 5f69 6e73 7461 _timesyncd_insta
│ │ │ -001fb5e0: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled.Remediation Ans
│ │ │ +001fae70: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ +001fae80: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +001faf20: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +001faf30: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +001faf40: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001faf50: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +001faf60: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +001faf70: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +001faf80: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ +001faf90: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +001fafb0: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ +001fafc0: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ +001fafd0: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ +001fafe0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ +001faff0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ +001fb000: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ +001fb010: 2861 290a 2020 2d20 5043 492d 4453 532d (a). - PCI-DSS-
│ │ │ +001fb020: 5265 712d 3130 2e34 0a20 202d 2065 6e61 Req-10.4. - ena
│ │ │ +001fb030: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +001fb040: 2068 6967 685f 7365 7665 7269 7479 0a20 high_severity.
│ │ │ +001fb050: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +001fb060: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +001fb070: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo
│ │ │ +001fb080: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ +001fb090: 636b 6167 655f 7469 6d65 7379 6e63 645f ckage_timesyncd_
│ │ │ +001fb0a0: 696e 7374 616c 6c65 640a 0a2d 206e 616d installed..- nam
│ │ │ +001fb0b0: 653a 2045 6e73 7572 6520 7379 7374 656d e: Ensure system
│ │ │ +001fb0c0: 642d 7469 6d65 7379 6e63 6420 6973 2069 d-timesyncd is i
│ │ │ +001fb0d0: 6e73 7461 6c6c 6564 0a20 2061 6e73 6962 nstalled. ansib
│ │ │ +001fb0e0: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +001fb0f0: 6765 3a0a 2020 2020 6e61 6d65 3a20 7379 ge:. name: sy
│ │ │ +001fb100: 7374 656d 642d 7469 6d65 7379 6e63 640a stemd-timesyncd.
│ │ │ +001fb110: 2020 2020 7374 6174 653a 2070 7265 7365 state: prese
│ │ │ +001fb120: 6e74 0a20 2077 6865 6e3a 2027 226c 696e nt. when: '"lin
│ │ │ +001fb130: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ +001fb140: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ +001fb150: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. -
│ │ │ +001fb160: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ +001fb170: 2861 290a 2020 2d20 5043 492d 4453 532d (a). - PCI-DSS-
│ │ │ +001fb180: 5265 712d 3130 2e34 0a20 202d 2065 6e61 Req-10.4. - ena
│ │ │ +001fb190: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +001fb1a0: 2068 6967 685f 7365 7665 7269 7479 0a20 high_severity.
│ │ │ +001fb1b0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +001fb1c0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +001fb1d0: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo
│ │ │ +001fb1e0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ +001fb1f0: 636b 6167 655f 7469 6d65 7379 6e63 645f ckage_timesyncd_
│ │ │ +001fb200: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.
Remedi
│ │ │ +001fb2c0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +001fb2d0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001fb2e0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001fb310: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001fb360: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001fb370: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001fb380: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001fb390: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001fb3a0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001fb3b0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001fb3c0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001fb3d0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ +001fb3f0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ +001fb410: 696e 7374 616c 6c5f 7379 7374 656d 642d install_systemd-
│ │ │ +001fb420: 7469 6d65 7379 6e63 640a 0a63 6c61 7373 timesyncd..class
│ │ │ +001fb430: 2069 6e73 7461 6c6c 5f73 7973 7465 6d64 install_systemd
│ │ │ +001fb440: 2d74 696d 6573 796e 6364 207b 0a20 2070 -timesyncd {. p
│ │ │ +001fb450: 6163 6b61 6765 207b 2027 7379 7374 656d ackage { 'system
│ │ │ +001fb460: 642d 7469 6d65 7379 6e63 6427 3a0a 2020 d-timesyncd':.
│ │ │ +001fb470: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +001fb480: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a installed',. }.
│ │ │ +001fb490: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.<
│ │ │ +001fb4a0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation OS
│ │ │ +001fb550: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint
│ │ │ +001fb560: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001fb570: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>.[
│ │ │ +001fb5b0: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65 [packages]].name
│ │ │ +001fb5c0: 203d 2022 7379 7374 656d 642d 7469 6d65 = "systemd-time
│ │ │ +001fb5d0: 7379 6e63 6422 0a76 6572 7369 6f6e 203d syncd".version =
│ │ │ +001fb5e0: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
Re
│ │ │ -001fc390: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ -001fc3a0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ -001fc3b0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -001fc3c0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -001fc3d0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -001fc3e0: 7365 2220 6964 3d22 6964 3733 3622 3e3c se" id="id736"><
│ │ │ -001fc3f0: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust
│ │ │ -001fc400: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi
│ │ │ -001fc410: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [
│ │ │ -001fc420: 2263 6872 6f6e 7922 5d0a 3c2f 636f 6465 "chrony"]. Remedi
│ │ │ -001fc4e0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -001fc4f0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001fc500: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001fc530: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001fc580: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001fc590: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001fc5a0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001fc5b0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001fc5c0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001fc5d0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001fc5e0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001fc5f0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -001fc610: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ -001fc630: 656e 6162 6c65 5f63 6872 6f6e 790a 0a63 enable_chrony..c
│ │ │ -001fc640: 6c61 7373 2065 6e61 626c 655f 6368 726f lass enable_chro
│ │ │ -001fc650: 6e79 207b 0a20 2073 6572 7669 6365 207b ny {. service {
│ │ │ -001fc660: 2763 6872 6f6e 7927 3a0a 2020 2020 656e 'chrony':. en
│ │ │ -001fc670: 6162 6c65 203d 2667 743b 2074 7275 652c able => true,
│ │ │ -001fc680: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -001fc690: 3b20 2772 756e 6e69 6e67 272c 0a20 207d ; 'running',. }
│ │ │ -001fc6a0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -001fc6b0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation A
│ │ │ -001fc760: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ -001fc770: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -001fc7f0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -001fc800: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001fc810: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -001fc820: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -001fc860: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -001fc870: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ -001fc880: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ -001fc890: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ -001fc8b0: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ -001fc8c0: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ -001fc8d0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ -001fc8e0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ -001fc8f0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ -001fc900: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -001fc910: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -001fc920: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ -001fc930: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ -001fc940: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -001fc950: 0a20 202d 2073 6572 7669 6365 5f63 6872 . - service_chr
│ │ │ -001fc960: 6f6e 7964 5f65 6e61 626c 6564 0a0a 2d20 onyd_enabled..-
│ │ │ -001fc970: 6e61 6d65 3a20 5468 6520 4368 726f 6e79 name: The Chrony
│ │ │ -001fc980: 6420 7365 7276 6963 6520 6973 2065 6e61 d service is ena
│ │ │ -001fc990: 626c 6564 202d 2045 6e61 626c 6520 7365 bled - Enable se
│ │ │ -001fc9a0: 7276 6963 6520 6368 726f 6e79 0a20 2062 rvice chrony. b
│ │ │ -001fc9b0: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a lock:.. - name:
│ │ │ -001fc9c0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ -001fc9d0: 6167 6520 6661 6374 730a 2020 2020 616e age facts. an
│ │ │ -001fc9e0: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ -001fc9f0: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ -001fca00: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ -001fca10: 0a0a 2020 2d20 6e61 6d65 3a20 5468 6520 .. - name: The
│ │ │ -001fca20: 4368 726f 6e79 6420 7365 7276 6963 6520 Chronyd service
│ │ │ -001fca30: 6973 2065 6e61 626c 6564 202d 2045 6e61 is enabled - Ena
│ │ │ -001fca40: 626c 6520 5365 7276 6963 6520 6368 726f ble Service chro
│ │ │ -001fca50: 6e79 0a20 2020 2061 6e73 6962 6c65 2e62 ny. ansible.b
│ │ │ -001fca60: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a uiltin.systemd:.
│ │ │ -001fca70: 2020 2020 2020 6e61 6d65 3a20 6368 726f name: chro
│ │ │ -001fca80: 6e79 0a20 2020 2020 2065 6e61 626c 6564 ny. enabled
│ │ │ -001fca90: 3a20 7472 7565 0a20 2020 2020 2073 7461 : true. sta
│ │ │ -001fcaa0: 7465 3a20 7374 6172 7465 640a 2020 2020 te: started.
│ │ │ -001fcab0: 2020 6d61 736b 6564 3a20 6661 6c73 650a masked: false.
│ │ │ -001fcac0: 2020 2020 7768 656e 3a0a 2020 2020 2d20 when:. -
│ │ │ -001fcad0: 2722 6368 726f 6e79 2220 696e 2061 6e73 '"chrony" in ans
│ │ │ -001fcae0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -001fcaf0: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ -001fcb00: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -001fcb10: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -001fcb20: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -001fcb30: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -001fcb40: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -001fcb50: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -001fcb60: 2020 2d20 7365 7276 6963 655f 6368 726f - service_chro
│ │ │ -001fcb70: 6e79 645f 656e 6162 6c65 640a 2020 2d20 nyd_enabled. -
│ │ │ -001fcb80: 7370 6563 6961 6c5f 7365 7276 6963 655f special_service_
│ │ │ -001fcb90: 626c 6f63 6b0a 2020 7768 656e 3a0a 2020 block. when:.
│ │ │ -001fcba0: 2d20 2722 6c69 6e75 782d 6261 7365 2220 - '"linux-base"
│ │ │ -001fcbb0: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ -001fcbc0: 2e70 6163 6b61 6765 7327 0a20 202d 2027 .packages'. - '
│ │ │ -001fcbd0: 2263 6872 6f6e 7922 2069 6e20 616e 7369 "chrony" in ansi
│ │ │ -001fcbe0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -001fcbf0: 6573 270a 3c2f 636f 6465 3e3c 2f70 7265 es'.
C
│ │ │ +001fc430: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +001fc440: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001fc450: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +001fc460: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +001fc470: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +001fc4a0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +001fc4b0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ +001fc4c0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +001fc4e0: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +001fc4f0: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +001fc500: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ +001fc510: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ +001fc520: 0a20 2074 6167 733a 0a20 202d 2065 6e61 . tags:. - ena
│ │ │ +001fc530: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +001fc540: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +001fc550: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +001fc560: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ +001fc570: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ +001fc580: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +001fc590: 7365 7276 6963 655f 6368 726f 6e79 645f service_chronyd_
│ │ │ +001fc5a0: 656e 6162 6c65 640a 0a2d 206e 616d 653a enabled..- name:
│ │ │ +001fc5b0: 2054 6865 2043 6872 6f6e 7964 2073 6572 The Chronyd ser
│ │ │ +001fc5c0: 7669 6365 2069 7320 656e 6162 6c65 6420 vice is enabled
│ │ │ +001fc5d0: 2d20 456e 6162 6c65 2073 6572 7669 6365 - Enable service
│ │ │ +001fc5e0: 2063 6872 6f6e 790a 2020 626c 6f63 6b3a chrony. block:
│ │ │ +001fc5f0: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468 .. - name: Gath
│ │ │ +001fc600: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ +001fc610: 6163 7473 0a20 2020 2061 6e73 6962 6c65 acts. ansible
│ │ │ +001fc620: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +001fc630: 5f66 6163 7473 3a0a 2020 2020 2020 6d61 _facts:. ma
│ │ │ +001fc640: 6e61 6765 723a 2061 7574 6f0a 0a20 202d nager: auto.. -
│ │ │ +001fc650: 206e 616d 653a 2054 6865 2043 6872 6f6e name: The Chron
│ │ │ +001fc660: 7964 2073 6572 7669 6365 2069 7320 656e yd service is en
│ │ │ +001fc670: 6162 6c65 6420 2d20 456e 6162 6c65 2053 abled - Enable S
│ │ │ +001fc680: 6572 7669 6365 2063 6872 6f6e 790a 2020 ervice chrony.
│ │ │ +001fc690: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +001fc6a0: 6e2e 7379 7374 656d 643a 0a20 2020 2020 n.systemd:.
│ │ │ +001fc6b0: 206e 616d 653a 2063 6872 6f6e 790a 2020 name: chrony.
│ │ │ +001fc6c0: 2020 2020 656e 6162 6c65 643a 2074 7275 enabled: tru
│ │ │ +001fc6d0: 650a 2020 2020 2020 7374 6174 653a 2073 e. state: s
│ │ │ +001fc6e0: 7461 7274 6564 0a20 2020 2020 206d 6173 tarted. mas
│ │ │ +001fc6f0: 6b65 643a 2066 616c 7365 0a20 2020 2077 ked: false. w
│ │ │ +001fc700: 6865 6e3a 0a20 2020 202d 2027 2263 6872 hen:. - '"chr
│ │ │ +001fc710: 6f6e 7922 2069 6e20 616e 7369 626c 655f ony" in ansible_
│ │ │ +001fc720: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ +001fc730: 2020 7461 6773 3a0a 2020 2d20 656e 6162 tags:. - enab
│ │ │ +001fc740: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +001fc750: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +001fc760: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +001fc770: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ +001fc780: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ +001fc790: 6f6f 745f 6e65 6564 6564 0a20 202d 2073 oot_needed. - s
│ │ │ +001fc7a0: 6572 7669 6365 5f63 6872 6f6e 7964 5f65 ervice_chronyd_e
│ │ │ +001fc7b0: 6e61 626c 6564 0a20 202d 2073 7065 6369 nabled. - speci
│ │ │ +001fc7c0: 616c 5f73 6572 7669 6365 5f62 6c6f 636b al_service_block
│ │ │ +001fc7d0: 0a20 2077 6865 6e3a 0a20 202d 2027 226c . when:. - '"l
│ │ │ +001fc7e0: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ +001fc7f0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +001fc800: 6167 6573 270a 2020 2d20 2722 6368 726f ages'. - '"chro
│ │ │ +001fc810: 6e79 2220 696e 2061 6e73 6962 6c65 5f66 ny" in ansible_f
│ │ │ +001fc820: 6163 7473 2e70 6163 6b61 6765 7327 0a3c acts.packages'.<
│ │ │ +001fc830: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +001fc8e0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +001fc8f0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ +001fc980: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +001fc990: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001fc9a0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +001fc9b0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +001fc9c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +001fc9f0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +001fca00: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ +001fca10: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c inc
│ │ │ +001fca30: 6c75 6465 2065 6e61 626c 655f 6368 726f lude enable_chro
│ │ │ +001fca40: 6e79 0a0a 636c 6173 7320 656e 6162 6c65 ny..class enable
│ │ │ +001fca50: 5f63 6872 6f6e 7920 7b0a 2020 7365 7276 _chrony {. serv
│ │ │ +001fca60: 6963 6520 7b27 6368 726f 6e79 273a 0a20 ice {'chrony':.
│ │ │ +001fca70: 2020 2065 6e61 626c 6520 3d26 6774 3b20 enable =>
│ │ │ +001fca80: 7472 7565 2c0a 2020 2020 656e 7375 7265 true,. ensure
│ │ │ +001fca90: 203d 2667 743b 2027 7275 6e6e 696e 6727 => 'running'
│ │ │ +001fcaa0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ +001fcab0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediat
│ │ │ +001fcb60: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue
│ │ │ +001fcb70: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet ..
│ │ │ +001fcb80: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customizat
│ │ │ +001fcbd0: 696f 6e73 2e73 6572 7669 6365 735d 0a65 ions.services].e
│ │ │ +001fcbe0: 6e61 626c 6564 203d 205b 2263 6872 6f6e nabled = ["chron
│ │ │ +001fcbf0: 7922 5d0a 3c2f 636f 6465 3e3c 2f70 7265 y"].
│ │ │ -001fdf00: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu
│ │ │ -001fdf10: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn
│ │ │ -001fdf20: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.[cu
│ │ │ -001fdf70: 7374 6f6d 697a 6174 696f 6e73 2e73 6572 stomizations.ser
│ │ │ -001fdf80: 7669 6365 735d 0a65 6e61 626c 6564 203d vices].enabled =
│ │ │ -001fdf90: 205b 226e 7470 225d 0a3c 2f63 6f64 653e ["ntp"].
│ │ │ -001fdfa0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -001fe050: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ -001fe060: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -001fe070: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -001fe080: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -001fe090: 7365 2220 6964 3d22 6964 3734 3222 3e3c se" id="id742"><
│ │ │ -001fe0a0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -001fe0b0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -001fe0c0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -001fe0d0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -001fe0e0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -001fe0f0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -001fe100: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -001fe130: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -001fe140: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -001fe150: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -001fe170: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable <
│ │ │ -001fe180: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include e
│ │ │ -001fe1a0: 6e61 626c 655f 6e74 700a 0a63 6c61 7373 nable_ntp..class
│ │ │ -001fe1b0: 2065 6e61 626c 655f 6e74 7020 7b0a 2020 enable_ntp {.
│ │ │ -001fe1c0: 7365 7276 6963 6520 7b27 6e74 7027 3a0a service {'ntp':.
│ │ │ -001fe1d0: 2020 2020 656e 6162 6c65 203d 2667 743b enable =>
│ │ │ -001fe1e0: 2074 7275 652c 0a20 2020 2065 6e73 7572 true,. ensur
│ │ │ -001fe1f0: 6520 3d26 6774 3b20 2772 756e 6e69 6e67 e => 'running
│ │ │ -001fe200: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ -001fe210: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -001fe2c0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -001fe2d0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001fe2e0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001fe310: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001fe360: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001fe370: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001fe380: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001fe390: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001fe3a0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001fe3b0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001fe3c0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001fe3d0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -001fe3f0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -001fe410: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ -001fe420: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ -001fe430: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ -001fe440: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ -001fe450: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -001fe460: 2d35 332d 4155 2d38 2831 2928 6129 0a20 -53-AU-8(1)(a).
│ │ │ -001fe470: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -001fe480: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ -001fe490: 5353 2d52 6571 2d31 302e 340a 2020 2d20 SS-Req-10.4. -
│ │ │ -001fe4a0: 5043 492d 4453 5376 342d 3130 2e36 0a20 PCI-DSSv4-10.6.
│ │ │ -001fe4b0: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10.
│ │ │ -001fe4c0: 362e 310a 2020 2d20 656e 6162 6c65 5f73 6.1. - enable_s
│ │ │ -001fe4d0: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high
│ │ │ -001fe4e0: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo
│ │ │ -001fe4f0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -001fe500: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -001fe510: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -001fe520: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ -001fe530: 5f6e 7470 5f65 6e61 626c 6564 0a0a 2d20 _ntp_enabled..-
│ │ │ -001fe540: 6e61 6d65 3a20 456e 6162 6c65 2074 6865 name: Enable the
│ │ │ -001fe550: 204e 5450 2044 6165 6d6f 6e20 2d20 456e NTP Daemon - En
│ │ │ -001fe560: 6162 6c65 2073 6572 7669 6365 206e 7470 able service ntp
│ │ │ -001fe570: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e . block:.. - n
│ │ │ -001fe580: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ -001fe590: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ -001fe5a0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -001fe5b0: 6e2e 7061 636b 6167 655f 6661 6374 733a n.package_facts:
│ │ │ -001fe5c0: 0a20 2020 2020 206d 616e 6167 6572 3a20 . manager:
│ │ │ -001fe5d0: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20 auto.. - name:
│ │ │ -001fe5e0: 456e 6162 6c65 2074 6865 204e 5450 2044 Enable the NTP D
│ │ │ -001fe5f0: 6165 6d6f 6e20 2d20 456e 6162 6c65 2053 aemon - Enable S
│ │ │ -001fe600: 6572 7669 6365 206e 7470 0a20 2020 2061 ervice ntp. a
│ │ │ -001fe610: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73 nsible.builtin.s
│ │ │ -001fe620: 7973 7465 6d64 3a0a 2020 2020 2020 6e61 ystemd:. na
│ │ │ -001fe630: 6d65 3a20 6e74 700a 2020 2020 2020 656e me: ntp. en
│ │ │ -001fe640: 6162 6c65 643a 2074 7275 650a 2020 2020 abled: true.
│ │ │ -001fe650: 2020 7374 6174 653a 2073 7461 7274 6564 state: started
│ │ │ -001fe660: 0a20 2020 2020 206d 6173 6b65 643a 2066 . masked: f
│ │ │ -001fe670: 616c 7365 0a20 2020 2077 6865 6e3a 0a20 alse. when:.
│ │ │ -001fe680: 2020 202d 2027 226e 7470 2220 696e 2061 - '"ntp" in a
│ │ │ -001fe690: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -001fe6a0: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ -001fe6b0: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ -001fe6c0: 552d 3828 3129 2861 290a 2020 2d20 4e49 U-8(1)(a). - NI
│ │ │ -001fe6d0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ -001fe6e0: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ -001fe6f0: 712d 3130 2e34 0a20 202d 2050 4349 2d44 q-10.4. - PCI-D
│ │ │ -001fe700: 5353 7634 2d31 302e 360a 2020 2d20 5043 SSv4-10.6. - PC
│ │ │ -001fe710: 492d 4453 5376 342d 3130 2e36 2e31 0a20 I-DSSv4-10.6.1.
│ │ │ -001fe720: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ -001fe730: 6779 0a20 202d 2068 6967 685f 7365 7665 gy. - high_seve
│ │ │ -001fe740: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d rity. - low_com
│ │ │ -001fe750: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -001fe760: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ -001fe770: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -001fe780: 2020 2d20 7365 7276 6963 655f 6e74 705f - service_ntp_
│ │ │ -001fe790: 656e 6162 6c65 640a 2020 2d20 7370 6563 enabled. - spec
│ │ │ -001fe7a0: 6961 6c5f 7365 7276 6963 655f 626c 6f63 ial_service_bloc
│ │ │ -001fe7b0: 6b0a 2020 7768 656e 3a0a 2020 2d20 2722 k. when:. - '"
│ │ │ -001fe7c0: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ -001fe7d0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -001fe7e0: 6b61 6765 7327 0a20 202d 2027 226e 7470 kages'. - '"ntp
│ │ │ -001fe7f0: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ -001fe800: 7473 2e70 6163 6b61 6765 7327 0a3c 2f63 ts.packages'.
Complexity: low Disrup
│ │ │ +001fdfd0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +001fdfe0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001fdff0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +001fe000: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +001fe020: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +001fe030: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +001fe050: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ +001fe060: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ +001fe070: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ +001fe080: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ +001fe090: 746f 0a20 2074 6167 733a 0a20 202d 204e to. tags:. - N
│ │ │ +001fe0a0: 4953 542d 3830 302d 3533 2d41 552d 3828 IST-800-53-AU-8(
│ │ │ +001fe0b0: 3129 2861 290a 2020 2d20 4e49 5354 2d38 1)(a). - NIST-8
│ │ │ +001fe0c0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ +001fe0d0: 2d20 5043 492d 4453 532d 5265 712d 3130 - PCI-DSS-Req-10
│ │ │ +001fe0e0: 2e34 0a20 202d 2050 4349 2d44 5353 7634 .4. - PCI-DSSv4
│ │ │ +001fe0f0: 2d31 302e 360a 2020 2d20 5043 492d 4453 -10.6. - PCI-DS
│ │ │ +001fe100: 5376 342d 3130 2e36 2e31 0a20 202d 2065 Sv4-10.6.1. - e
│ │ │ +001fe110: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ +001fe120: 202d 2068 6967 685f 7365 7665 7269 7479 - high_severity
│ │ │ +001fe130: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +001fe140: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +001fe150: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re
│ │ │ +001fe160: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +001fe170: 7365 7276 6963 655f 6e74 705f 656e 6162 service_ntp_enab
│ │ │ +001fe180: 6c65 640a 0a2d 206e 616d 653a 2045 6e61 led..- name: Ena
│ │ │ +001fe190: 626c 6520 7468 6520 4e54 5020 4461 656d ble the NTP Daem
│ │ │ +001fe1a0: 6f6e 202d 2045 6e61 626c 6520 7365 7276 on - Enable serv
│ │ │ +001fe1b0: 6963 6520 6e74 700a 2020 626c 6f63 6b3a ice ntp. block:
│ │ │ +001fe1c0: 0a0a 2020 2d20 6e61 6d65 3a20 4761 7468 .. - name: Gath
│ │ │ +001fe1d0: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ +001fe1e0: 6163 7473 0a20 2020 2061 6e73 6962 6c65 acts. ansible
│ │ │ +001fe1f0: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +001fe200: 5f66 6163 7473 3a0a 2020 2020 2020 6d61 _facts:. ma
│ │ │ +001fe210: 6e61 6765 723a 2061 7574 6f0a 0a20 202d nager: auto.. -
│ │ │ +001fe220: 206e 616d 653a 2045 6e61 626c 6520 7468 name: Enable th
│ │ │ +001fe230: 6520 4e54 5020 4461 656d 6f6e 202d 2045 e NTP Daemon - E
│ │ │ +001fe240: 6e61 626c 6520 5365 7276 6963 6520 6e74 nable Service nt
│ │ │ +001fe250: 700a 2020 2020 616e 7369 626c 652e 6275 p. ansible.bu
│ │ │ +001fe260: 696c 7469 6e2e 7379 7374 656d 643a 0a20 iltin.systemd:.
│ │ │ +001fe270: 2020 2020 206e 616d 653a 206e 7470 0a20 name: ntp.
│ │ │ +001fe280: 2020 2020 2065 6e61 626c 6564 3a20 7472 enabled: tr
│ │ │ +001fe290: 7565 0a20 2020 2020 2073 7461 7465 3a20 ue. state:
│ │ │ +001fe2a0: 7374 6172 7465 640a 2020 2020 2020 6d61 started. ma
│ │ │ +001fe2b0: 736b 6564 3a20 6661 6c73 650a 2020 2020 sked: false.
│ │ │ +001fe2c0: 7768 656e 3a0a 2020 2020 2d20 2722 6e74 when:. - '"nt
│ │ │ +001fe2d0: 7022 2069 6e20 616e 7369 626c 655f 6661 p" in ansible_fa
│ │ │ +001fe2e0: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ +001fe2f0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ +001fe300: 3030 2d35 332d 4155 2d38 2831 2928 6129 00-53-AU-8(1)(a)
│ │ │ +001fe310: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +001fe320: 2d43 4d2d 3628 6129 0a20 202d 2050 4349 -CM-6(a). - PCI
│ │ │ +001fe330: 2d44 5353 2d52 6571 2d31 302e 340a 2020 -DSS-Req-10.4.
│ │ │ +001fe340: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6
│ │ │ +001fe350: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ +001fe360: 302e 362e 310a 2020 2d20 656e 6162 6c65 0.6.1. - enable
│ │ │ +001fe370: 5f73 7472 6174 6567 790a 2020 2d20 6869 _strategy. - hi
│ │ │ +001fe380: 6768 5f73 6576 6572 6974 790a 2020 2d20 gh_severity. -
│ │ │ +001fe390: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +001fe3a0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +001fe3b0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ +001fe3c0: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi
│ │ │ +001fe3d0: 6365 5f6e 7470 5f65 6e61 626c 6564 0a20 ce_ntp_enabled.
│ │ │ +001fe3e0: 202d 2073 7065 6369 616c 5f73 6572 7669 - special_servi
│ │ │ +001fe3f0: 6365 5f62 6c6f 636b 0a20 2077 6865 6e3a ce_block. when:
│ │ │ +001fe400: 0a20 202d 2027 226c 696e 7578 2d62 6173 . - '"linux-bas
│ │ │ +001fe410: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ +001fe420: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ +001fe430: 2d20 2722 6e74 7022 2069 6e20 616e 7369 - '"ntp" in ansi
│ │ │ +001fe440: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ +001fe450: 6573 270a 3c2f 636f 6465 3e3c 2f70 7265 es'.
Remediation
│ │ │ +001fe510: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ +001fe520: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001fe5a0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001fe5b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001fe5c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001fe5d0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001fe610: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001fe620: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ +001fe630: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ +001fe640: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include enable
│ │ │ +001fe660: 5f6e 7470 0a0a 636c 6173 7320 656e 6162 _ntp..class enab
│ │ │ +001fe670: 6c65 5f6e 7470 207b 0a20 2073 6572 7669 le_ntp {. servi
│ │ │ +001fe680: 6365 207b 276e 7470 273a 0a20 2020 2065 ce {'ntp':. e
│ │ │ +001fe690: 6e61 626c 6520 3d26 6774 3b20 7472 7565 nable => true
│ │ │ +001fe6a0: 2c0a 2020 2020 656e 7375 7265 203d 2667 ,. ensure =&g
│ │ │ +001fe6b0: 743b 2027 7275 6e6e 696e 6727 2c0a 2020 t; 'running',.
│ │ │ +001fe6c0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediation
│ │ │ +001fe780: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ +001fe790: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ +001fe7e0: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73 .[customizations
│ │ │ +001fe7f0: 2e73 6572 7669 6365 735d 0a65 6e61 626c .services].enabl
│ │ │ +001fe800: 6564 203d 205b 226e 7470 225d 0a3c 2f63 ed = ["ntp"].
│ │ │ 001fe820: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediation O
│ │ │ -001ffb00: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint
│ │ │ -001ffb10: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001ffb20: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.
│ │ │ -001ffb60: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e [customizations.
│ │ │ -001ffb70: 7365 7276 6963 6573 5d0a 656e 6162 6c65 services].enable
│ │ │ -001ffb80: 6420 3d20 5b22 7379 7374 656d 642d 7469 d = ["systemd-ti
│ │ │ -001ffb90: 6d65 7379 6e63 6422 5d0a 3c2f 636f 6465 mesyncd"].
Remedi
│ │ │ -001ffc50: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -001ffc60: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001ffc70: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001ffca0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001ffcf0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001ffd00: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001ffd10: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001ffd20: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001ffd30: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001ffd40: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001ffd50: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001ffd60: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -001ffd80: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ -001ffda0: 656e 6162 6c65 5f73 7973 7465 6d64 2d74 enable_systemd-t
│ │ │ -001ffdb0: 696d 6573 796e 6364 0a0a 636c 6173 7320 imesyncd..class
│ │ │ -001ffdc0: 656e 6162 6c65 5f73 7973 7465 6d64 2d74 enable_systemd-t
│ │ │ -001ffdd0: 696d 6573 796e 6364 207b 0a20 2073 6572 imesyncd {. ser
│ │ │ -001ffde0: 7669 6365 207b 2773 7973 7465 6d64 2d74 vice {'systemd-t
│ │ │ -001ffdf0: 696d 6573 796e 6364 273a 0a20 2020 2065 imesyncd':. e
│ │ │ -001ffe00: 6e61 626c 6520 3d26 6774 3b20 7472 7565 nable => true
│ │ │ -001ffe10: 2c0a 2020 2020 656e 7375 7265 203d 2667 ,. ensure =&g
│ │ │ -001ffe20: 743b 2027 7275 6e6e 696e 6727 2c0a 2020 t; 'running',.
│ │ │ -001ffe30: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}. Remediation
│ │ │ -001ffef0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -001fff00: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001fff90: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001fffb0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001fffd0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001fffe0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -00200000: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -00200010: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -00200020: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -00200040: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ -00200050: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ -00200060: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ -00200070: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ -00200080: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ -00200090: 552d 3828 3129 2861 290a 2020 2d20 4e49 U-8(1)(a). - NI
│ │ │ -002000a0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ -002000b0: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ -002000c0: 712d 3130 2e34 0a20 202d 2050 4349 2d44 q-10.4. - PCI-D
│ │ │ -002000d0: 5353 7634 2d31 302e 360a 2020 2d20 5043 SSv4-10.6. - PC
│ │ │ -002000e0: 492d 4453 5376 342d 3130 2e36 2e31 0a20 I-DSSv4-10.6.1.
│ │ │ -002000f0: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ -00200100: 6779 0a20 202d 2068 6967 685f 7365 7665 gy. - high_seve
│ │ │ -00200110: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d rity. - low_com
│ │ │ -00200120: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -00200130: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ -00200140: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -00200150: 2020 2d20 7365 7276 6963 655f 7469 6d65 - service_time
│ │ │ -00200160: 7379 6e63 645f 656e 6162 6c65 640a 0a2d syncd_enabled..-
│ │ │ -00200170: 206e 616d 653a 2045 6e61 626c 6520 7379 name: Enable sy
│ │ │ -00200180: 7374 656d 645f 7469 6d65 7379 6e63 6420 stemd_timesyncd
│ │ │ -00200190: 5365 7276 6963 6520 2d20 456e 6162 6c65 Service - Enable
│ │ │ -002001a0: 2073 6572 7669 6365 2073 7973 7465 6d64 service systemd
│ │ │ -002001b0: 2d74 696d 6573 796e 6364 0a20 2062 6c6f -timesyncd. blo
│ │ │ -002001c0: 636b 3a0a 0a20 202d 206e 616d 653a 2047 ck:.. - name: G
│ │ │ -002001d0: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ -002001e0: 6520 6661 6374 730a 2020 2020 616e 7369 e facts. ansi
│ │ │ -002001f0: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ -00200200: 6167 655f 6661 6374 733a 0a20 2020 2020 age_facts:.
│ │ │ -00200210: 206d 616e 6167 6572 3a20 6175 746f 0a0a manager: auto..
│ │ │ -00200220: 2020 2d20 6e61 6d65 3a20 456e 6162 6c65 - name: Enable
│ │ │ -00200230: 2073 7973 7465 6d64 5f74 696d 6573 796e systemd_timesyn
│ │ │ -00200240: 6364 2053 6572 7669 6365 202d 2045 6e61 cd Service - Ena
│ │ │ -00200250: 626c 6520 5365 7276 6963 6520 7379 7374 ble Service syst
│ │ │ -00200260: 656d 642d 7469 6d65 7379 6e63 640a 2020 emd-timesyncd.
│ │ │ -00200270: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -00200280: 6e2e 7379 7374 656d 643a 0a20 2020 2020 n.systemd:.
│ │ │ -00200290: 206e 616d 653a 2073 7973 7465 6d64 2d74 name: systemd-t
│ │ │ -002002a0: 696d 6573 796e 6364 0a20 2020 2020 2065 imesyncd. e
│ │ │ -002002b0: 6e61 626c 6564 3a20 7472 7565 0a20 2020 nabled: true.
│ │ │ -002002c0: 2020 2073 7461 7465 3a20 7374 6172 7465 state: starte
│ │ │ -002002d0: 640a 2020 2020 2020 6d61 736b 6564 3a20 d. masked:
│ │ │ -002002e0: 6661 6c73 650a 2020 2020 7768 656e 3a0a false. when:.
│ │ │ -002002f0: 2020 2020 2d20 2722 7379 7374 656d 6422 - '"systemd"
│ │ │ -00200300: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -00200310: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ -00200320: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -00200330: 2d35 332d 4155 2d38 2831 2928 6129 0a20 -53-AU-8(1)(a).
│ │ │ -00200340: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -00200350: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ -00200360: 5353 2d52 6571 2d31 302e 340a 2020 2d20 SS-Req-10.4. -
│ │ │ -00200370: 5043 492d 4453 5376 342d 3130 2e36 0a20 PCI-DSSv4-10.6.
│ │ │ -00200380: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10.
│ │ │ -00200390: 362e 310a 2020 2d20 656e 6162 6c65 5f73 6.1. - enable_s
│ │ │ -002003a0: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high
│ │ │ -002003b0: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo
│ │ │ -002003c0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -002003d0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -002003e0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -002003f0: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ -00200400: 5f74 696d 6573 796e 6364 5f65 6e61 626c _timesyncd_enabl
│ │ │ -00200410: 6564 0a20 202d 2073 7065 6369 616c 5f73 ed. - special_s
│ │ │ -00200420: 6572 7669 6365 5f62 6c6f 636b 0a20 2077 ervice_block. w
│ │ │ -00200430: 6865 6e3a 0a20 202d 2027 226c 696e 7578 hen:. - '"linux
│ │ │ -00200440: 2d62 6173 6522 2069 6e20 616e 7369 626c -base" in ansibl
│ │ │ -00200450: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -00200460: 270a 2020 2d20 2820 6e6f 7420 2820 2263 '. - ( not ( "c
│ │ │ -00200470: 6872 6f6e 7922 2069 6e20 616e 7369 626c hrony" in ansibl
│ │ │ -00200480: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -00200490: 2029 2061 6e64 206e 6f74 2028 2022 6e74 ) and not ( "nt
│ │ │ -002004a0: 7022 2069 6e20 616e 7369 626c 655f 6661 p" in ansible_fa
│ │ │ -002004b0: 6374 732e 7061 636b 6167 6573 0a20 2020 cts.packages.
│ │ │ -002004c0: 2029 2029 0a3c 2f63 6f64 653e 3c2f 7072 ) ).Remediation A
│ │ │ +001ffb00: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +001ffb10: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001ffb90: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001ffba0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001ffbb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001ffbc0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001ffc00: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001ffc10: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ +001ffc20: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ +001ffc30: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ +001ffc50: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ +001ffc60: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ +001ffc70: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ +001ffc80: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ +001ffc90: 2d20 4e49 5354 2d38 3030 2d35 332d 4155 - NIST-800-53-AU
│ │ │ +001ffca0: 2d38 2831 2928 6129 0a20 202d 204e 4953 -8(1)(a). - NIS
│ │ │ +001ffcb0: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +001ffcc0: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ +001ffcd0: 2d31 302e 340a 2020 2d20 5043 492d 4453 -10.4. - PCI-DS
│ │ │ +001ffce0: 5376 342d 3130 2e36 0a20 202d 2050 4349 Sv4-10.6. - PCI
│ │ │ +001ffcf0: 2d44 5353 7634 2d31 302e 362e 310a 2020 -DSSv4-10.6.1.
│ │ │ +001ffd00: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ +001ffd10: 790a 2020 2d20 6869 6768 5f73 6576 6572 y. - high_sever
│ │ │ +001ffd20: 6974 790a 2020 2d20 6c6f 775f 636f 6d70 ity. - low_comp
│ │ │ +001ffd30: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +001ffd40: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no
│ │ │ +001ffd50: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +001ffd60: 202d 2073 6572 7669 6365 5f74 696d 6573 - service_times
│ │ │ +001ffd70: 796e 6364 5f65 6e61 626c 6564 0a0a 2d20 yncd_enabled..-
│ │ │ +001ffd80: 6e61 6d65 3a20 456e 6162 6c65 2073 7973 name: Enable sys
│ │ │ +001ffd90: 7465 6d64 5f74 696d 6573 796e 6364 2053 temd_timesyncd S
│ │ │ +001ffda0: 6572 7669 6365 202d 2045 6e61 626c 6520 ervice - Enable
│ │ │ +001ffdb0: 7365 7276 6963 6520 7379 7374 656d 642d service systemd-
│ │ │ +001ffdc0: 7469 6d65 7379 6e63 640a 2020 626c 6f63 timesyncd. bloc
│ │ │ +001ffdd0: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761 k:.. - name: Ga
│ │ │ +001ffde0: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ +001ffdf0: 2066 6163 7473 0a20 2020 2061 6e73 6962 facts. ansib
│ │ │ +001ffe00: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +001ffe10: 6765 5f66 6163 7473 3a0a 2020 2020 2020 ge_facts:.
│ │ │ +001ffe20: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20 manager: auto..
│ │ │ +001ffe30: 202d 206e 616d 653a 2045 6e61 626c 6520 - name: Enable
│ │ │ +001ffe40: 7379 7374 656d 645f 7469 6d65 7379 6e63 systemd_timesync
│ │ │ +001ffe50: 6420 5365 7276 6963 6520 2d20 456e 6162 d Service - Enab
│ │ │ +001ffe60: 6c65 2053 6572 7669 6365 2073 7973 7465 le Service syste
│ │ │ +001ffe70: 6d64 2d74 696d 6573 796e 6364 0a20 2020 md-timesyncd.
│ │ │ +001ffe80: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +001ffe90: 2e73 7973 7465 6d64 3a0a 2020 2020 2020 .systemd:.
│ │ │ +001ffea0: 6e61 6d65 3a20 7379 7374 656d 642d 7469 name: systemd-ti
│ │ │ +001ffeb0: 6d65 7379 6e63 640a 2020 2020 2020 656e mesyncd. en
│ │ │ +001ffec0: 6162 6c65 643a 2074 7275 650a 2020 2020 abled: true.
│ │ │ +001ffed0: 2020 7374 6174 653a 2073 7461 7274 6564 state: started
│ │ │ +001ffee0: 0a20 2020 2020 206d 6173 6b65 643a 2066 . masked: f
│ │ │ +001ffef0: 616c 7365 0a20 2020 2077 6865 6e3a 0a20 alse. when:.
│ │ │ +001fff00: 2020 202d 2027 2273 7973 7465 6d64 2220 - '"systemd"
│ │ │ +001fff10: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ +001fff20: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag
│ │ │ +001fff30: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ +001fff40: 3533 2d41 552d 3828 3129 2861 290a 2020 53-AU-8(1)(a).
│ │ │ +001fff50: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ +001fff60: 2d36 2861 290a 2020 2d20 5043 492d 4453 -6(a). - PCI-DS
│ │ │ +001fff70: 532d 5265 712d 3130 2e34 0a20 202d 2050 S-Req-10.4. - P
│ │ │ +001fff80: 4349 2d44 5353 7634 2d31 302e 360a 2020 CI-DSSv4-10.6.
│ │ │ +001fff90: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6
│ │ │ +001fffa0: 2e31 0a20 202d 2065 6e61 626c 655f 7374 .1. - enable_st
│ │ │ +001fffb0: 7261 7465 6779 0a20 202d 2068 6967 685f rategy. - high_
│ │ │ +001fffc0: 7365 7665 7269 7479 0a20 202d 206c 6f77 severity. - low
│ │ │ +001fffd0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +001fffe0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +001ffff0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +00200000: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ +00200010: 7469 6d65 7379 6e63 645f 656e 6162 6c65 timesyncd_enable
│ │ │ +00200020: 640a 2020 2d20 7370 6563 6961 6c5f 7365 d. - special_se
│ │ │ +00200030: 7276 6963 655f 626c 6f63 6b0a 2020 7768 rvice_block. wh
│ │ │ +00200040: 656e 3a0a 2020 2d20 2722 6c69 6e75 782d en:. - '"linux-
│ │ │ +00200050: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ +00200060: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +00200070: 0a20 202d 2028 206e 6f74 2028 2022 6368 . - ( not ( "ch
│ │ │ +00200080: 726f 6e79 2220 696e 2061 6e73 6962 6c65 rony" in ansible
│ │ │ +00200090: 5f66 6163 7473 2e70 6163 6b61 6765 7320 _facts.packages
│ │ │ +002000a0: 2920 616e 6420 6e6f 7420 2820 226e 7470 ) and not ( "ntp
│ │ │ +002000b0: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +002000c0: 7473 2e70 6163 6b61 6765 730a 2020 2020 ts.packages.
│ │ │ +002000d0: 2920 290a 3c2f 636f 6465 3e3c 2f70 7265 ) ).
Remediation
│ │ │ +00200190: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ +002001a0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +00200220: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +00200230: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00200240: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +00200250: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +00200290: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +002002a0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ +002002b0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ +002002c0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include enable
│ │ │ +002002e0: 5f73 7973 7465 6d64 2d74 696d 6573 796e _systemd-timesyn
│ │ │ +002002f0: 6364 0a0a 636c 6173 7320 656e 6162 6c65 cd..class enable
│ │ │ +00200300: 5f73 7973 7465 6d64 2d74 696d 6573 796e _systemd-timesyn
│ │ │ +00200310: 6364 207b 0a20 2073 6572 7669 6365 207b cd {. service {
│ │ │ +00200320: 2773 7973 7465 6d64 2d74 696d 6573 796e 'systemd-timesyn
│ │ │ +00200330: 6364 273a 0a20 2020 2065 6e61 626c 6520 cd':. enable
│ │ │ +00200340: 3d26 6774 3b20 7472 7565 2c0a 2020 2020 => true,.
│ │ │ +00200350: 656e 7375 7265 203d 2667 743b 2027 7275 ensure => 'ru
│ │ │ +00200360: 6e6e 696e 6727 2c0a 2020 7d0a 7d0a 3c2f nning',. }.}.
│ │ │ +00200370: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +00200420: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ +00200430: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ +00200440: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +00200450: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +00200460: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +00200470: 7365 2220 6964 3d22 6964 3734 3822 3e3c se" id="id748"><
│ │ │ +00200480: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust
│ │ │ +00200490: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi
│ │ │ +002004a0: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [
│ │ │ +002004b0: 2273 7973 7465 6d64 2d74 696d 6573 796e "systemd-timesyn
│ │ │ +002004c0: 6364 225d 0a3c 2f63 6f64 653e 3c2f 7072 cd"].Remediat
│ │ │ -00204c40: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -00204c50: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -00204cd0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -00204ce0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -00204cf0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -00204d30: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -00204d40: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -00204d60: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -00204d70: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
.include
│ │ │ -00204d90: 7265 6d6f 7665 5f72 7368 2d63 6c69 656e remove_rsh-clien
│ │ │ -00204da0: 740a 0a63 6c61 7373 2072 656d 6f76 655f t..class remove_
│ │ │ -00204db0: 7273 682d 636c 6965 6e74 207b 0a20 2070 rsh-client {. p
│ │ │ -00204dc0: 6163 6b61 6765 207b 2027 7273 682d 636c ackage { 'rsh-cl
│ │ │ -00204dd0: 6965 6e74 273a 0a20 2020 2065 6e73 7572 ient':. ensur
│ │ │ -00204de0: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ -00204df0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ -00204e00: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ -00204eb0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ -00204ec0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -00204ed0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -00204ee0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -00204ef0: 7365 2220 6964 3d22 6964 3735 3822 3e3c se" id="id758"><
│ │ │ -00204f00: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -00204f10: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -00204f20: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -00204f30: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -00204f40: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -00204f50: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -00204f60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -00204f90: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -00204fa0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -00204fb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -00204fd0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -00204fe0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -00205000: 2755 6e69 6e73 7461 6c6c 2072 7368 2050 'Uninstall rsh P
│ │ │ -00205010: 6163 6b61 6765 3a20 456e 7375 7265 2072 ackage: Ensure r
│ │ │ -00205020: 7368 2d63 6c69 656e 7420 6973 2072 656d sh-client is rem
│ │ │ -00205030: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ -00205040: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -00205050: 0a20 2020 206e 616d 653a 2072 7368 2d63 . name: rsh-c
│ │ │ -00205060: 6c69 656e 740a 2020 2020 7374 6174 653a lient. state:
│ │ │ -00205070: 2061 6273 656e 740a 2020 7461 6773 3a0a absent. tags:.
│ │ │ -00205080: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171
│ │ │ -00205090: 2d33 2e31 2e31 330a 2020 2d20 5043 492d -3.1.13. - PCI-
│ │ │ -002050a0: 4453 5376 342d 322e 320a 2020 2d20 5043 DSSv4-2.2. - PC
│ │ │ -002050b0: 492d 4453 5376 342d 322e 322e 340a 2020 I-DSSv4-2.2.4.
│ │ │ -002050c0: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ -002050d0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ -002050e0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -002050f0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_
│ │ │ -00205100: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -00205110: 2d20 7061 636b 6167 655f 7273 685f 7265 - package_rsh_re
│ │ │ -00205120: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77 moved. - unknow
│ │ │ -00205130: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64 n_severity.
<
│ │ │ +00204c60: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +00204c70: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +00204c80: 7365 2220 6964 3d22 6964 3735 3722 3e3c se" id="id757"><
│ │ │ +00204c90: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +00204ca0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +00204cb0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +00204cc0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +00204cd0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +00204ce0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +00204cf0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +00204d20: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +00204d30: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +00204d40: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +00204d60: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +00204d70: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +00204d90: 2755 6e69 6e73 7461 6c6c 2072 7368 2050 'Uninstall rsh P
│ │ │ +00204da0: 6163 6b61 6765 3a20 456e 7375 7265 2072 ackage: Ensure r
│ │ │ +00204db0: 7368 2d63 6c69 656e 7420 6973 2072 656d sh-client is rem
│ │ │ +00204dc0: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ +00204dd0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ +00204de0: 0a20 2020 206e 616d 653a 2072 7368 2d63 . name: rsh-c
│ │ │ +00204df0: 6c69 656e 740a 2020 2020 7374 6174 653a lient. state:
│ │ │ +00204e00: 2061 6273 656e 740a 2020 7461 6773 3a0a absent. tags:.
│ │ │ +00204e10: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171
│ │ │ +00204e20: 2d33 2e31 2e31 330a 2020 2d20 5043 492d -3.1.13. - PCI-
│ │ │ +00204e30: 4453 5376 342d 322e 320a 2020 2d20 5043 DSSv4-2.2. - PC
│ │ │ +00204e40: 492d 4453 5376 342d 322e 322e 340a 2020 I-DSSv4-2.2.4.
│ │ │ +00204e50: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ +00204e60: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +00204e70: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +00204e80: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_
│ │ │ +00204e90: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +00204ea0: 2d20 7061 636b 6167 655f 7273 685f 7265 - package_rsh_re
│ │ │ +00204eb0: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77 moved. - unknow
│ │ │ +00204ec0: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64 n_severity. Remed
│ │ │ +00204f80: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ +00204f90: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +00205020: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +00205030: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00205040: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +00205050: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00205060: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +00205070: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +00205080: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +00205090: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ +002050c0: 7072 653e 3c63 6f64 653e 0a69 6e63 6c75 pre>.inclu
│ │ │ +002050d0: 6465 2072 656d 6f76 655f 7273 682d 636c de remove_rsh-cl
│ │ │ +002050e0: 6965 6e74 0a0a 636c 6173 7320 7265 6d6f ient..class remo
│ │ │ +002050f0: 7665 5f72 7368 2d63 6c69 656e 7420 7b0a ve_rsh-client {.
│ │ │ +00205100: 2020 7061 636b 6167 6520 7b20 2772 7368 package { 'rsh
│ │ │ +00205110: 2d63 6c69 656e 7427 3a0a 2020 2020 656e -client':. en
│ │ │ +00205120: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ +00205130: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.Remedi
│ │ │ -002074f0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -00207500: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00207510: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -00207540: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -00207590: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -002075a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -002075b0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -002075c0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -002075d0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -002075e0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -002075f0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -00207600: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ -00207640: 6520 7265 6d6f 7665 5f74 616c 6b0a 0a63 e remove_talk..c
│ │ │ -00207650: 6c61 7373 2072 656d 6f76 655f 7461 6c6b lass remove_talk
│ │ │ -00207660: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ -00207670: 7461 6c6b 273a 0a20 2020 2065 6e73 7572 talk':. ensur
│ │ │ -00207680: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ -00207690: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ -002076a0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ -00207750: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ -00207760: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -00207770: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -00207780: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -00207790: 7365 2220 6964 3d22 6964 3736 3422 3e3c se" id="id764"><
│ │ │ -002077a0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -002077b0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -002077c0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -002077d0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -002077e0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -002077f0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -00207800: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -00207830: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -00207840: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -00207850: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -00207870: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -00207880: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -002078a0: 2755 6e69 6e73 7461 6c6c 2074 616c 6b20 'Uninstall talk
│ │ │ -002078b0: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ -002078c0: 7461 6c6b 2069 7320 7265 6d6f 7665 6427 talk is removed'
│ │ │ -002078d0: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ -002078e0: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ -002078f0: 6e61 6d65 3a20 7461 6c6b 0a20 2020 2073 name: talk. s
│ │ │ -00207900: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ -00207910: 6167 733a 0a20 202d 2050 4349 2d44 5353 ags:. - PCI-DSS
│ │ │ -00207920: 7634 2d32 2e32 0a20 202d 2050 4349 2d44 v4-2.2. - PCI-D
│ │ │ -00207930: 5353 7634 2d32 2e32 2e34 0a20 202d 2064 SSv4-2.2.4. - d
│ │ │ -00207940: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ -00207950: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -00207960: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -00207970: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -00207980: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -00207990: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -002079a0: 202d 2070 6163 6b61 6765 5f74 616c 6b5f - package_talk_
│ │ │ -002079b0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c removed.<
│ │ │ +002074f0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ +00207500: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +00207590: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +002075a0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +002075b0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +002075c0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +002075d0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +002075e0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +002075f0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +00207600: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ +00207630: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ +00207640: 3a20 2755 6e69 6e73 7461 6c6c 2074 616c : 'Uninstall tal
│ │ │ +00207650: 6b20 5061 636b 6167 653a 2045 6e73 7572 k Package: Ensur
│ │ │ +00207660: 6520 7461 6c6b 2069 7320 7265 6d6f 7665 e talk is remove
│ │ │ +00207670: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ +00207680: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ +00207690: 2020 6e61 6d65 3a20 7461 6c6b 0a20 2020 name: talk.
│ │ │ +002076a0: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ +002076b0: 2074 6167 733a 0a20 202d 2050 4349 2d44 tags:. - PCI-D
│ │ │ +002076c0: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI
│ │ │ +002076d0: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d -DSSv4-2.2.4. -
│ │ │ +002076e0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ +002076f0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +00207700: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +00207710: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ +00207720: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ +00207730: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +00207740: 0a20 202d 2070 6163 6b61 6765 5f74 616c . - package_tal
│ │ │ +00207750: 6b5f 7265 6d6f 7665 640a 3c2f 636f 6465 k_removed.Remedi
│ │ │ +00207810: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +00207820: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00207830: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +00207860: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +002078b0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +002078c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +002078d0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +002078e0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +002078f0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +00207900: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +00207910: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +00207920: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ +00207960: 6520 7265 6d6f 7665 5f74 616c 6b0a 0a63 e remove_talk..c
│ │ │ +00207970: 6c61 7373 2072 656d 6f76 655f 7461 6c6b lass remove_talk
│ │ │ +00207980: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ +00207990: 7461 6c6b 273a 0a20 2020 2065 6e73 7572 talk':. ensur
│ │ │ +002079a0: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ +002079b0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ 002079c0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediatio
│ │ │ -00208c20: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -00208c30: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -00208cc0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -00208ce0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -00208cf0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -00208d00: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -00208d10: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -00208d30: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ -00208d60: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ -00208d70: 6d6f 7665 5f74 656c 6e65 740a 0a63 6c61 move_telnet..cla
│ │ │ -00208d80: 7373 2072 656d 6f76 655f 7465 6c6e 6574 ss remove_telnet
│ │ │ -00208d90: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ -00208da0: 7465 6c6e 6574 273a 0a20 2020 2065 6e73 telnet':. ens
│ │ │ -00208db0: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge
│ │ │ -00208dc0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.Remedi
│ │ │ -00208e80: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ -00208e90: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -00208f20: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -00208f30: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00208f40: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -00208f50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -00208f60: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -00208f70: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -00208f80: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -00208f90: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -00208fc0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -00208fd0: 3a20 2752 656d 6f76 6520 7465 6c6e 6574 : 'Remove telnet
│ │ │ -00208fe0: 2043 6c69 656e 7473 3a20 456e 7375 7265 Clients: Ensure
│ │ │ -00208ff0: 2074 656c 6e65 7420 6973 2072 656d 6f76 telnet is remov
│ │ │ -00209000: 6564 270a 2020 616e 7369 626c 652e 6275 ed'. ansible.bu
│ │ │ -00209010: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ -00209020: 2020 206e 616d 653a 2074 656c 6e65 740a name: telnet.
│ │ │ -00209030: 2020 2020 7374 6174 653a 2061 6273 656e state: absen
│ │ │ -00209040: 740a 2020 7461 6773 3a0a 2020 2d20 4e49 t. tags:. - NI
│ │ │ -00209050: 5354 2d38 3030 2d31 3731 2d33 2e31 2e31 ST-800-171-3.1.1
│ │ │ -00209060: 330a 2020 2d20 5043 492d 4453 5376 342d 3. - PCI-DSSv4-
│ │ │ -00209070: 322e 320a 2020 2d20 5043 492d 4453 5376 2.2. - PCI-DSSv
│ │ │ -00209080: 342d 322e 322e 340a 2020 2d20 6469 7361 4-2.2.4. - disa
│ │ │ -00209090: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -002090a0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -002090b0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -002090c0: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572 on. - low_sever
│ │ │ -002090d0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -002090e0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ -002090f0: 6b61 6765 5f74 656c 6e65 745f 7265 6d6f kage_telnet_remo
│ │ │ -00209100: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265 ved.
<
│ │ │ +00208cb0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +00208cc0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +00208cd0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00208ce0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +00208cf0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +00208d10: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +00208d20: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00208d30: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +00208d50: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +00208d60: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2752 - name: 'R
│ │ │ +00208d70: 656d 6f76 6520 7465 6c6e 6574 2043 6c69 emove telnet Cli
│ │ │ +00208d80: 656e 7473 3a20 456e 7375 7265 2074 656c ents: Ensure tel
│ │ │ +00208d90: 6e65 7420 6973 2072 656d 6f76 6564 270a net is removed'.
│ │ │ +00208da0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +00208db0: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ +00208dc0: 616d 653a 2074 656c 6e65 740a 2020 2020 ame: telnet.
│ │ │ +00208dd0: 7374 6174 653a 2061 6273 656e 740a 2020 state: absent.
│ │ │ +00208de0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ +00208df0: 3030 2d31 3731 2d33 2e31 2e31 330a 2020 00-171-3.1.13.
│ │ │ +00208e00: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2.
│ │ │ +00208e10: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ +00208e20: 322e 340a 2020 2d20 6469 7361 626c 655f 2.4. - disable_
│ │ │ +00208e30: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +00208e40: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +00208e50: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +00208e60: 202d 206c 6f77 5f73 6576 6572 6974 790a - low_severity.
│ │ │ +00208e70: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +00208e80: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +00208e90: 5f74 656c 6e65 745f 7265 6d6f 7665 640a _telnet_removed.
│ │ │ +00208ea0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +00208f50: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +00208f60: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +00208f70: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +00208ff0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +00209000: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +00209020: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +00209030: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +00209070: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +00209080: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ +002090a0: 696e 636c 7564 6520 7265 6d6f 7665 5f74 include remove_t
│ │ │ +002090b0: 656c 6e65 740a 0a63 6c61 7373 2072 656d elnet..class rem
│ │ │ +002090c0: 6f76 655f 7465 6c6e 6574 207b 0a20 2070 ove_telnet {. p
│ │ │ +002090d0: 6163 6b61 6765 207b 2027 7465 6c6e 6574 ackage { 'telnet
│ │ │ +002090e0: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ +002090f0: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',.
│ │ │ +00209100: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Re
│ │ │ -00209c10: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ -00209c20: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -00209c30: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -00209cb0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -00209cd0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -00209ce0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -00209cf0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00209d00: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -00209d10: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -00209d20: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -00209d30: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -00209d40: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ -00209d60: 636c 7564 6520 7265 6d6f 7665 5f72 7379 clude remove_rsy
│ │ │ -00209d70: 6e63 0a0a 636c 6173 7320 7265 6d6f 7665 nc..class remove
│ │ │ -00209d80: 5f72 7379 6e63 207b 0a20 2070 6163 6b61 _rsync {. packa
│ │ │ -00209d90: 6765 207b 2027 7273 796e 6327 3a0a 2020 ge { 'rsync':.
│ │ │ -00209da0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ -00209db0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.<
│ │ │ -00209dc0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -00209e70: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -00209e80: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -00209e90: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -00209f10: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -00209f20: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -00209f40: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -00209f50: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -00209f90: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ -00209fa0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ -00209fc0: 206e 616d 653a 2027 556e 696e 7374 616c name: 'Uninstal
│ │ │ -00209fd0: 6c20 7273 796e 6320 5061 636b 6167 653a l rsync Package:
│ │ │ -00209fe0: 2045 6e73 7572 6520 7273 796e 6320 6973 Ensure rsync is
│ │ │ -00209ff0: 2072 656d 6f76 6564 270a 2020 616e 7369 removed'. ansi
│ │ │ -0020a000: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ -0020a010: 6167 653a 0a20 2020 206e 616d 653a 2072 age:. name: r
│ │ │ -0020a020: 7379 6e63 0a20 2020 2073 7461 7465 3a20 sync. state:
│ │ │ -0020a030: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ -0020a040: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ -0020a050: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ -0020a060: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -0020a070: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ -0020a080: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ -0020a090: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -0020a0a0: 6564 0a20 202d 2070 6163 6b61 6765 5f72 ed. - package_r
│ │ │ -0020a0b0: 7379 6e63 5f72 656d 6f76 6564 0a3c 2f63 sync_removed.
C
│ │ │ +00209cb0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +00209cc0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +00209cd0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +00209ce0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +00209cf0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +00209d20: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +00209d30: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ +00209d40: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ +00209d60: 6e61 6d65 3a20 2755 6e69 6e73 7461 6c6c name: 'Uninstall
│ │ │ +00209d70: 2072 7379 6e63 2050 6163 6b61 6765 3a20 rsync Package:
│ │ │ +00209d80: 456e 7375 7265 2072 7379 6e63 2069 7320 Ensure rsync is
│ │ │ +00209d90: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ +00209da0: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +00209db0: 6765 3a0a 2020 2020 6e61 6d65 3a20 7273 ge:. name: rs
│ │ │ +00209dc0: 796e 630a 2020 2020 7374 6174 653a 2061 ync. state: a
│ │ │ +00209dd0: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:.
│ │ │ +00209de0: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ +00209df0: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +00209e00: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +00209e10: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +00209e20: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ +00209e30: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +00209e40: 640a 2020 2d20 7061 636b 6167 655f 7273 d. - package_rs
│ │ │ +00209e50: 796e 635f 7265 6d6f 7665 640a 3c2f 636f ync_removed.
<
│ │ │ +00209e70: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +00209e80: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +00209e90: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +00209ea0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +00209eb0: 6437 3732 2220 7461 6269 6e64 6578 3d22 d772" tabindex="
│ │ │ +00209ec0: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ +00209ed0: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ +00209ee0: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ +00209ef0: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ +00209f00: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ +00209f10: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ +00209f20: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +00209fb0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +00209fc0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +00209fe0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +0020a000: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +0020a010: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +0020a030: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +0020a040: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +0020a050: 3c70 7265 3e3c 636f 6465 3e0a 696e 636c .incl
│ │ │ +0020a060: 7564 6520 7265 6d6f 7665 5f72 7379 6e63 ude remove_rsync
│ │ │ +0020a070: 0a0a 636c 6173 7320 7265 6d6f 7665 5f72 ..class remove_r
│ │ │ +0020a080: 7379 6e63 207b 0a20 2070 6163 6b61 6765 sync {. package
│ │ │ +0020a090: 207b 2027 7273 796e 6327 3a0a 2020 2020 { 'rsync':.
│ │ │ +0020a0a0: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ +0020a0b0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ 0020a0d0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -0020b620: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -0020b630: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -0020b640: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -0020b6c0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -0020b6f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -0020b710: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -0020b720: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -0020b740: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ -0020b750: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ -0020b770: 6c75 6465 2072 656d 6f76 655f 6375 7073 lude remove_cups
│ │ │ -0020b780: 0a0a 636c 6173 7320 7265 6d6f 7665 5f63 ..class remove_c
│ │ │ -0020b790: 7570 7320 7b0a 2020 7061 636b 6167 6520 ups {. package
│ │ │ -0020b7a0: 7b20 2763 7570 7327 3a0a 2020 2020 656e { 'cups':. en
│ │ │ -0020b7b0: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ -0020b7c0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -0020b880: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -0020b890: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -0020b920: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -0020b930: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -0020b950: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -0020b970: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -0020b980: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -0020b9a0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -0020b9b0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -0020b9c0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -0020b9d0: 653a 2027 556e 696e 7374 616c 6c20 4355 e: 'Uninstall CU
│ │ │ -0020b9e0: 5053 2050 6163 6b61 6765 3a20 456e 7375 PS Package: Ensu
│ │ │ -0020b9f0: 7265 2063 7570 7320 6973 2072 656d 6f76 re cups is remov
│ │ │ -0020ba00: 6564 270a 2020 616e 7369 626c 652e 6275 ed'. ansible.bu
│ │ │ -0020ba10: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ -0020ba20: 2020 206e 616d 653a 2063 7570 730a 2020 name: cups.
│ │ │ -0020ba30: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ -0020ba40: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ -0020ba50: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -0020ba60: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -0020ba70: 434d 2d37 2861 290a 2020 2d20 4e49 5354 CM-7(a). - NIST
│ │ │ -0020ba80: 2d38 3030 2d35 332d 434d 2d37 2862 290a -800-53-CM-7(b).
│ │ │ -0020ba90: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ -0020baa0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -0020bab0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -0020bac0: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ -0020bad0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -0020bae0: 2020 2d20 7061 636b 6167 655f 6375 7073 - package_cups
│ │ │ -0020baf0: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk
│ │ │ -0020bb00: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.
│ │ │ +0020b620: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ +0020b630: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +0020b640: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +0020b6c0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +0020b6e0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +0020b6f0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +0020b700: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0020b710: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +0020b720: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +0020b730: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +0020b740: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +0020b750: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +0020b770: 616d 653a 2027 556e 696e 7374 616c 6c20 ame: 'Uninstall
│ │ │ +0020b780: 4355 5053 2050 6163 6b61 6765 3a20 456e CUPS Package: En
│ │ │ +0020b790: 7375 7265 2063 7570 7320 6973 2072 656d sure cups is rem
│ │ │ +0020b7a0: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ +0020b7b0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ +0020b7c0: 0a20 2020 206e 616d 653a 2063 7570 730a . name: cups.
│ │ │ +0020b7d0: 2020 2020 7374 6174 653a 2061 6273 656e state: absen
│ │ │ +0020b7e0: 740a 2020 7461 6773 3a0a 2020 2d20 4e49 t. tags:. - NI
│ │ │ +0020b7f0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ +0020b800: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ +0020b810: 332d 434d 2d37 2861 290a 2020 2d20 4e49 3-CM-7(a). - NI
│ │ │ +0020b820: 5354 2d38 3030 2d35 332d 434d 2d37 2862 ST-800-53-CM-7(b
│ │ │ +0020b830: 290a 2020 2d20 6469 7361 626c 655f 7374 ). - disable_st
│ │ │ +0020b840: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +0020b850: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +0020b860: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +0020b870: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +0020b880: 640a 2020 2d20 7061 636b 6167 655f 6375 d. - package_cu
│ │ │ +0020b890: 7073 5f72 656d 6f76 6564 0a20 202d 2075 ps_removed. - u
│ │ │ +0020b8a0: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a nknown_severity.
│ │ │ +0020b8b0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +0020b960: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +0020b970: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +0020b980: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +0020ba00: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +0020ba10: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +0020ba30: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +0020ba40: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +0020ba80: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +0020ba90: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ +0020bab0: 696e 636c 7564 6520 7265 6d6f 7665 5f63 include remove_c
│ │ │ +0020bac0: 7570 730a 0a63 6c61 7373 2072 656d 6f76 ups..class remov
│ │ │ +0020bad0: 655f 6375 7073 207b 0a20 2070 6163 6b61 e_cups {. packa
│ │ │ +0020bae0: 6765 207b 2027 6375 7073 273a 0a20 2020 ge { 'cups':.
│ │ │ +0020baf0: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p
│ │ │ +0020bb00: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
│ │ │ 0020bb10: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Remediation O
│ │ │ -0020cb20: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint
│ │ │ -0020cb30: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -0020cb40: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.
│ │ │ -0020cb80: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e [customizations.
│ │ │ -0020cb90: 7365 7276 6963 6573 5d0a 6d61 736b 6564 services].masked
│ │ │ -0020cba0: 203d 205b 2263 7570 7322 5d0a 3c2f 636f = ["cups"].
<
│ │ │ -0020cbc0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -0020cbd0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -0020cbe0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -0020cbf0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -0020cc00: 6437 3830 2220 7461 6269 6e64 6578 3d22 d780" tabindex="
│ │ │ -0020cc10: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -0020cc20: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -0020cc30: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -0020cc40: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -0020cc50: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -0020cc60: 6469 6174 696f 6e20 4b75 6265 726e 6574 diation Kubernet
│ │ │ -0020cc70: 6573 2073 6e69 7070 6574 20e2 87b2 3c2f es snippet ...
│ │ │ -0020cc80: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -0020cd00: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -0020cd10: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -0020cd30: 696f 6e3a 3c2f 7468 3e3c 7464 3e6d 6564 ion: med
│ │ │ -0020cd40: 6975 6d3c 2f74 643e 3c2f 7472 3e3c 7472 ium Reboot: true
│ │ │ -0020cd70: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr>Strat
│ │ │ -0020cd80: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ -0020cd90: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -0020cda0: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>apiVersion: mac
│ │ │ -0020cdc0: 6869 6e65 636f 6e66 6967 7572 6174 696f hineconfiguratio
│ │ │ -0020cdd0: 6e2e 6f70 656e 7368 6966 742e 696f 2f76 n.openshift.io/v
│ │ │ -0020cde0: 310a 6b69 6e64 3a20 4d61 6368 696e 6543 1.kind: MachineC
│ │ │ -0020cdf0: 6f6e 6669 670a 7370 6563 3a0a 2020 636f onfig.spec:. co
│ │ │ -0020ce00: 6e66 6967 3a0a 2020 2020 6967 6e69 7469 nfig:. igniti
│ │ │ -0020ce10: 6f6e 3a0a 2020 2020 2020 7665 7273 696f on:. versio
│ │ │ -0020ce20: 6e3a 2033 2e31 2e30 0a20 2020 2073 7973 n: 3.1.0. sys
│ │ │ -0020ce30: 7465 6d64 3a0a 2020 2020 2020 756e 6974 temd:. unit
│ │ │ -0020ce40: 733a 0a20 2020 2020 202d 206e 616d 653a s:. - name:
│ │ │ -0020ce50: 2063 7570 732e 7365 7276 6963 650a 2020 cups.service.
│ │ │ -0020ce60: 2020 2020 2020 656e 6162 6c65 643a 2066 enabled: f
│ │ │ -0020ce70: 616c 7365 0a20 2020 2020 2020 206d 6173 alse. mas
│ │ │ -0020ce80: 6b3a 2074 7275 650a 2020 2020 2020 2d20 k: true. -
│ │ │ -0020ce90: 6e61 6d65 3a20 6375 7073 2e73 6f63 6b65 name: cups.socke
│ │ │ -0020cea0: 740a 2020 2020 2020 2020 656e 6162 6c65 t. enable
│ │ │ -0020ceb0: 643a 2066 616c 7365 0a20 2020 2020 2020 d: false.
│ │ │ -0020cec0: 206d 6173 6b3a 2074 7275 650a 3c2f 636f mask: true.
<
│ │ │ -0020cee0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -0020cef0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -0020cf00: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -0020cf10: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -0020cf20: 6437 3831 2220 7461 6269 6e64 6578 3d22 d781" tabindex="
│ │ │ -0020cf30: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -0020cf40: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -0020cf50: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -0020cf60: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -0020cf70: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -0020cf80: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ -0020cf90: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -0020d020: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -0020d030: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -0020d050: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -0020d070: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -0020d080: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -0020d0a0: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ -0020d0c0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ
│ │ │ -0020d0d0: 6520 6469 7361 626c 655f 6375 7073 0a0a e disable_cups..
│ │ │ -0020d0e0: 636c 6173 7320 6469 7361 626c 655f 6375 class disable_cu
│ │ │ -0020d0f0: 7073 207b 0a20 2073 6572 7669 6365 207b ps {. service {
│ │ │ -0020d100: 2763 7570 7327 3a0a 2020 2020 656e 6162 'cups':. enab
│ │ │ -0020d110: 6c65 203d 2667 743b 2066 616c 7365 2c0a le => false,.
│ │ │ -0020d120: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ -0020d130: 2027 7374 6f70 7065 6427 2c0a 2020 7d0a 'stopped',. }.
│ │ │ -0020d140: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.<
│ │ │ -0020d150: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -0020d200: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -0020d210: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -0020d290: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -0020d2a0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -0020d2b0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -0020d2c0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -0020d2d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -0020d300: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -0020d310: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -0020d320: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -0020d330: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ -0020d350: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ -0020d360: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ -0020d370: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ -0020d380: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ -0020d390: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -0020d3a0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8
│ │ │ -0020d3b0: 3030 2d35 332d 434d 2d37 2861 290a 2020 00-53-CM-7(a).
│ │ │ -0020d3c0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -0020d3d0: 2d37 2862 290a 2020 2d20 6469 7361 626c -7(b). - disabl
│ │ │ -0020d3e0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -0020d3f0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -0020d400: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -0020d410: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -0020d420: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic
│ │ │ -0020d430: 655f 6375 7073 5f64 6973 6162 6c65 640a e_cups_disabled.
│ │ │ -0020d440: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665 - unknown_seve
│ │ │ -0020d450: 7269 7479 0a0a 2d20 6e61 6d65 3a20 4469 rity..- name: Di
│ │ │ -0020d460: 7361 626c 6520 7468 6520 4355 5053 2053 sable the CUPS S
│ │ │ -0020d470: 6572 7669 6365 202d 2044 6973 6162 6c65 ervice - Disable
│ │ │ -0020d480: 2073 6572 7669 6365 2063 7570 730a 2020 service cups.
│ │ │ -0020d490: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 block:.. - name
│ │ │ -0020d4a0: 3a20 4469 7361 626c 6520 7468 6520 4355 : Disable the CU
│ │ │ -0020d4b0: 5053 2053 6572 7669 6365 202d 2043 6f6c PS Service - Col
│ │ │ -0020d4c0: 6c65 6374 2073 7973 7465 6d64 2053 6572 lect systemd Ser
│ │ │ -0020d4d0: 7669 6365 7320 5072 6573 656e 7420 696e vices Present in
│ │ │ -0020d4e0: 2074 6865 2053 7973 7465 6d0a 2020 2020 the System.
│ │ │ -0020d4f0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -0020d500: 636f 6d6d 616e 643a 2073 7973 7465 6d63 command: systemc
│ │ │ -0020d510: 746c 202d 7120 6c69 7374 2d75 6e69 742d tl -q list-unit-
│ │ │ -0020d520: 6669 6c65 7320 2d2d 7479 7065 2073 6572 files --type ser
│ │ │ -0020d530: 7669 6365 0a20 2020 2072 6567 6973 7465 vice. registe
│ │ │ -0020d540: 723a 2073 6572 7669 6365 5f65 7869 7374 r: service_exist
│ │ │ -0020d550: 730a 2020 2020 6368 616e 6765 645f 7768 s. changed_wh
│ │ │ -0020d560: 656e 3a20 6661 6c73 650a 2020 2020 6661 en: false. fa
│ │ │ -0020d570: 696c 6564 5f77 6865 6e3a 2073 6572 7669 iled_when: servi
│ │ │ -0020d580: 6365 5f65 7869 7374 732e 7263 206e 6f74 ce_exists.rc not
│ │ │ -0020d590: 2069 6e20 5b30 2c20 315d 0a20 2020 2063 in [0, 1]. c
│ │ │ -0020d5a0: 6865 636b 5f6d 6f64 653a 2066 616c 7365 heck_mode: false
│ │ │ -0020d5b0: 0a0a 2020 2d20 6e61 6d65 3a20 4469 7361 .. - name: Disa
│ │ │ -0020d5c0: 626c 6520 7468 6520 4355 5053 2053 6572 ble the CUPS Ser
│ │ │ -0020d5d0: 7669 6365 202d 2045 6e73 7572 6520 6375 vice - Ensure cu
│ │ │ -0020d5e0: 7073 2e73 6572 7669 6365 2069 7320 4d61 ps.service is Ma
│ │ │ -0020d5f0: 736b 6564 0a20 2020 2061 6e73 6962 6c65 sked. ansible
│ │ │ -0020d600: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd
│ │ │ -0020d610: 3a0a 2020 2020 2020 6e61 6d65 3a20 6375 :. name: cu
│ │ │ -0020d620: 7073 2e73 6572 7669 6365 0a20 2020 2020 ps.service.
│ │ │ -0020d630: 2073 7461 7465 3a20 7374 6f70 7065 640a state: stopped.
│ │ │ -0020d640: 2020 2020 2020 656e 6162 6c65 643a 2066 enabled: f
│ │ │ -0020d650: 616c 7365 0a20 2020 2020 206d 6173 6b65 alse. maske
│ │ │ -0020d660: 643a 2074 7275 650a 2020 2020 7768 656e d: true. when
│ │ │ -0020d670: 3a20 7365 7276 6963 655f 6578 6973 7473 : service_exists
│ │ │ -0020d680: 2e73 7464 6f75 745f 6c69 6e65 7320 6973 .stdout_lines is
│ │ │ -0020d690: 2073 6561 7263 6828 2263 7570 732e 7365 search("cups.se
│ │ │ -0020d6a0: 7276 6963 6522 2c20 6d75 6c74 696c 696e rvice", multilin
│ │ │ -0020d6b0: 653d 5472 7565 290a 0a20 202d 206e 616d e=True).. - nam
│ │ │ -0020d6c0: 653a 2055 6e69 7420 536f 636b 6574 2045 e: Unit Socket E
│ │ │ -0020d6d0: 7869 7374 7320 2d20 6375 7073 2e73 6f63 xists - cups.soc
│ │ │ -0020d6e0: 6b65 740a 2020 2020 616e 7369 626c 652e ket. ansible.
│ │ │ -0020d6f0: 6275 696c 7469 6e2e 636f 6d6d 616e 643a builtin.command:
│ │ │ -0020d700: 2073 7973 7465 6d63 746c 202d 7120 6c69 systemctl -q li
│ │ │ -0020d710: 7374 2d75 6e69 742d 6669 6c65 7320 6375 st-unit-files cu
│ │ │ -0020d720: 7073 2e73 6f63 6b65 740a 2020 2020 7265 ps.socket. re
│ │ │ -0020d730: 6769 7374 6572 3a20 736f 636b 6574 5f66 gister: socket_f
│ │ │ -0020d740: 696c 655f 6578 6973 7473 0a20 2020 2063 ile_exists. c
│ │ │ -0020d750: 6861 6e67 6564 5f77 6865 6e3a 2066 616c hanged_when: fal
│ │ │ -0020d760: 7365 0a20 2020 2066 6169 6c65 645f 7768 se. failed_wh
│ │ │ -0020d770: 656e 3a20 736f 636b 6574 5f66 696c 655f en: socket_file_
│ │ │ -0020d780: 6578 6973 7473 2e72 6320 6e6f 7420 696e exists.rc not in
│ │ │ -0020d790: 205b 302c 2031 5d0a 2020 2020 6368 6563 [0, 1]. chec
│ │ │ -0020d7a0: 6b5f 6d6f 6465 3a20 6661 6c73 650a 0a20 k_mode: false..
│ │ │ -0020d7b0: 202d 206e 616d 653a 2044 6973 6162 6c65 - name: Disable
│ │ │ -0020d7c0: 2074 6865 2043 5550 5320 5365 7276 6963 the CUPS Servic
│ │ │ -0020d7d0: 6520 2d20 4469 7361 626c 6520 536f 636b e - Disable Sock
│ │ │ -0020d7e0: 6574 2063 7570 730a 2020 2020 616e 7369 et cups. ansi
│ │ │ -0020d7f0: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst
│ │ │ -0020d800: 656d 643a 0a20 2020 2020 206e 616d 653a emd:. name:
│ │ │ -0020d810: 2063 7570 732e 736f 636b 6574 0a20 2020 cups.socket.
│ │ │ -0020d820: 2020 2065 6e61 626c 6564 3a20 6661 6c73 enabled: fals
│ │ │ -0020d830: 650a 2020 2020 2020 7374 6174 653a 2073 e. state: s
│ │ │ -0020d840: 746f 7070 6564 0a20 2020 2020 206d 6173 topped. mas
│ │ │ -0020d850: 6b65 643a 2074 7275 650a 2020 2020 7768 ked: true. wh
│ │ │ -0020d860: 656e 3a20 736f 636b 6574 5f66 696c 655f en: socket_file_
│ │ │ -0020d870: 6578 6973 7473 2e73 7464 6f75 745f 6c69 exists.stdout_li
│ │ │ -0020d880: 6e65 7320 6973 2073 6561 7263 6828 2263 nes is search("c
│ │ │ -0020d890: 7570 732e 736f 636b 6574 222c 206d 756c ups.socket", mul
│ │ │ -0020d8a0: 7469 6c69 6e65 3d54 7275 6529 0a20 2074 tiline=True). t
│ │ │ -0020d8b0: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ -0020d8c0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -0020d8d0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -0020d8e0: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80
│ │ │ -0020d8f0: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). -
│ │ │ -0020d900: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ -0020d910: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -0020d920: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -0020d930: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r
│ │ │ -0020d940: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -0020d950: 2073 6572 7669 6365 5f63 7570 735f 6469 service_cups_di
│ │ │ -0020d960: 7361 626c 6564 0a20 202d 2073 7065 6369 sabled. - speci
│ │ │ -0020d970: 616c 5f73 6572 7669 6365 5f62 6c6f 636b al_service_block
│ │ │ -0020d980: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576 . - unknown_sev
│ │ │ -0020d990: 6572 6974 790a 2020 7768 656e 3a20 2722 erity. when: '"
│ │ │ -0020d9a0: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ -0020d9b0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -0020d9c0: 6b61 6765 7327 0a3c 2f63 6f64 653e 3c2f kages'.
│ │ │ +0020cb10: 2122 3e52 656d 6564 6961 7469 6f6e 2041 !">Remediation A
│ │ │ +0020cb20: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +0020cb30: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +0020cbb0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +0020cbc0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +0020cbd0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +0020cbe0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +0020cc20: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +0020cc30: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +0020cc40: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +0020cc50: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +0020cc70: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +0020cc80: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ +0020cc90: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ +0020cca0: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ +0020ccb0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +0020ccc0: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST-
│ │ │ +0020ccd0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20 800-53-CM-7(a).
│ │ │ +0020cce0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +0020ccf0: 4d2d 3728 6229 0a20 202d 2064 6973 6162 M-7(b). - disab
│ │ │ +0020cd00: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +0020cd10: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +0020cd20: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +0020cd30: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ +0020cd40: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi
│ │ │ +0020cd50: 6365 5f63 7570 735f 6469 7361 626c 6564 ce_cups_disabled
│ │ │ +0020cd60: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576 . - unknown_sev
│ │ │ +0020cd70: 6572 6974 790a 0a2d 206e 616d 653a 2044 erity..- name: D
│ │ │ +0020cd80: 6973 6162 6c65 2074 6865 2043 5550 5320 isable the CUPS
│ │ │ +0020cd90: 5365 7276 6963 6520 2d20 4469 7361 626c Service - Disabl
│ │ │ +0020cda0: 6520 7365 7276 6963 6520 6375 7073 0a20 e service cups.
│ │ │ +0020cdb0: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d block:.. - nam
│ │ │ +0020cdc0: 653a 2044 6973 6162 6c65 2074 6865 2043 e: Disable the C
│ │ │ +0020cdd0: 5550 5320 5365 7276 6963 6520 2d20 436f UPS Service - Co
│ │ │ +0020cde0: 6c6c 6563 7420 7379 7374 656d 6420 5365 llect systemd Se
│ │ │ +0020cdf0: 7276 6963 6573 2050 7265 7365 6e74 2069 rvices Present i
│ │ │ +0020ce00: 6e20 7468 6520 5379 7374 656d 0a20 2020 n the System.
│ │ │ +0020ce10: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +0020ce20: 2e63 6f6d 6d61 6e64 3a20 7379 7374 656d .command: system
│ │ │ +0020ce30: 6374 6c20 2d71 206c 6973 742d 756e 6974 ctl -q list-unit
│ │ │ +0020ce40: 2d66 696c 6573 202d 2d74 7970 6520 7365 -files --type se
│ │ │ +0020ce50: 7276 6963 650a 2020 2020 7265 6769 7374 rvice. regist
│ │ │ +0020ce60: 6572 3a20 7365 7276 6963 655f 6578 6973 er: service_exis
│ │ │ +0020ce70: 7473 0a20 2020 2063 6861 6e67 6564 5f77 ts. changed_w
│ │ │ +0020ce80: 6865 6e3a 2066 616c 7365 0a20 2020 2066 hen: false. f
│ │ │ +0020ce90: 6169 6c65 645f 7768 656e 3a20 7365 7276 ailed_when: serv
│ │ │ +0020cea0: 6963 655f 6578 6973 7473 2e72 6320 6e6f ice_exists.rc no
│ │ │ +0020ceb0: 7420 696e 205b 302c 2031 5d0a 2020 2020 t in [0, 1].
│ │ │ +0020cec0: 6368 6563 6b5f 6d6f 6465 3a20 6661 6c73 check_mode: fals
│ │ │ +0020ced0: 650a 0a20 202d 206e 616d 653a 2044 6973 e.. - name: Dis
│ │ │ +0020cee0: 6162 6c65 2074 6865 2043 5550 5320 5365 able the CUPS Se
│ │ │ +0020cef0: 7276 6963 6520 2d20 456e 7375 7265 2063 rvice - Ensure c
│ │ │ +0020cf00: 7570 732e 7365 7276 6963 6520 6973 204d ups.service is M
│ │ │ +0020cf10: 6173 6b65 640a 2020 2020 616e 7369 626c asked. ansibl
│ │ │ +0020cf20: 652e 6275 696c 7469 6e2e 7379 7374 656d e.builtin.system
│ │ │ +0020cf30: 643a 0a20 2020 2020 206e 616d 653a 2063 d:. name: c
│ │ │ +0020cf40: 7570 732e 7365 7276 6963 650a 2020 2020 ups.service.
│ │ │ +0020cf50: 2020 7374 6174 653a 2073 746f 7070 6564 state: stopped
│ │ │ +0020cf60: 0a20 2020 2020 2065 6e61 626c 6564 3a20 . enabled:
│ │ │ +0020cf70: 6661 6c73 650a 2020 2020 2020 6d61 736b false. mask
│ │ │ +0020cf80: 6564 3a20 7472 7565 0a20 2020 2077 6865 ed: true. whe
│ │ │ +0020cf90: 6e3a 2073 6572 7669 6365 5f65 7869 7374 n: service_exist
│ │ │ +0020cfa0: 732e 7374 646f 7574 5f6c 696e 6573 2069 s.stdout_lines i
│ │ │ +0020cfb0: 7320 7365 6172 6368 2822 6375 7073 2e73 s search("cups.s
│ │ │ +0020cfc0: 6572 7669 6365 222c 206d 756c 7469 6c69 ervice", multili
│ │ │ +0020cfd0: 6e65 3d54 7275 6529 0a0a 2020 2d20 6e61 ne=True).. - na
│ │ │ +0020cfe0: 6d65 3a20 556e 6974 2053 6f63 6b65 7420 me: Unit Socket
│ │ │ +0020cff0: 4578 6973 7473 202d 2063 7570 732e 736f Exists - cups.so
│ │ │ +0020d000: 636b 6574 0a20 2020 2061 6e73 6962 6c65 cket. ansible
│ │ │ +0020d010: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64 .builtin.command
│ │ │ +0020d020: 3a20 7379 7374 656d 6374 6c20 2d71 206c : systemctl -q l
│ │ │ +0020d030: 6973 742d 756e 6974 2d66 696c 6573 2063 ist-unit-files c
│ │ │ +0020d040: 7570 732e 736f 636b 6574 0a20 2020 2072 ups.socket. r
│ │ │ +0020d050: 6567 6973 7465 723a 2073 6f63 6b65 745f egister: socket_
│ │ │ +0020d060: 6669 6c65 5f65 7869 7374 730a 2020 2020 file_exists.
│ │ │ +0020d070: 6368 616e 6765 645f 7768 656e 3a20 6661 changed_when: fa
│ │ │ +0020d080: 6c73 650a 2020 2020 6661 696c 6564 5f77 lse. failed_w
│ │ │ +0020d090: 6865 6e3a 2073 6f63 6b65 745f 6669 6c65 hen: socket_file
│ │ │ +0020d0a0: 5f65 7869 7374 732e 7263 206e 6f74 2069 _exists.rc not i
│ │ │ +0020d0b0: 6e20 5b30 2c20 315d 0a20 2020 2063 6865 n [0, 1]. che
│ │ │ +0020d0c0: 636b 5f6d 6f64 653a 2066 616c 7365 0a0a ck_mode: false..
│ │ │ +0020d0d0: 2020 2d20 6e61 6d65 3a20 4469 7361 626c - name: Disabl
│ │ │ +0020d0e0: 6520 7468 6520 4355 5053 2053 6572 7669 e the CUPS Servi
│ │ │ +0020d0f0: 6365 202d 2044 6973 6162 6c65 2053 6f63 ce - Disable Soc
│ │ │ +0020d100: 6b65 7420 6375 7073 0a20 2020 2061 6e73 ket cups. ans
│ │ │ +0020d110: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys
│ │ │ +0020d120: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65 temd:. name
│ │ │ +0020d130: 3a20 6375 7073 2e73 6f63 6b65 740a 2020 : cups.socket.
│ │ │ +0020d140: 2020 2020 656e 6162 6c65 643a 2066 616c enabled: fal
│ │ │ +0020d150: 7365 0a20 2020 2020 2073 7461 7465 3a20 se. state:
│ │ │ +0020d160: 7374 6f70 7065 640a 2020 2020 2020 6d61 stopped. ma
│ │ │ +0020d170: 736b 6564 3a20 7472 7565 0a20 2020 2077 sked: true. w
│ │ │ +0020d180: 6865 6e3a 2073 6f63 6b65 745f 6669 6c65 hen: socket_file
│ │ │ +0020d190: 5f65 7869 7374 732e 7374 646f 7574 5f6c _exists.stdout_l
│ │ │ +0020d1a0: 696e 6573 2069 7320 7365 6172 6368 2822 ines is search("
│ │ │ +0020d1b0: 6375 7073 2e73 6f63 6b65 7422 2c20 6d75 cups.socket", mu
│ │ │ +0020d1c0: 6c74 696c 696e 653d 5472 7565 290a 2020 ltiline=True).
│ │ │ +0020d1d0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ +0020d1e0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ +0020d1f0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ +0020d200: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8
│ │ │ +0020d210: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b).
│ │ │ +0020d220: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ +0020d230: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +0020d240: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +0020d250: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_
│ │ │ +0020d260: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +0020d270: 2d20 7365 7276 6963 655f 6375 7073 5f64 - service_cups_d
│ │ │ +0020d280: 6973 6162 6c65 640a 2020 2d20 7370 6563 isabled. - spec
│ │ │ +0020d290: 6961 6c5f 7365 7276 6963 655f 626c 6f63 ial_service_bloc
│ │ │ +0020d2a0: 6b0a 2020 2d20 756e 6b6e 6f77 6e5f 7365 k. - unknown_se
│ │ │ +0020d2b0: 7665 7269 7479 0a20 2077 6865 6e3a 2027 verity. when: '
│ │ │ +0020d2c0: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ +0020d2d0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ +0020d2e0: 636b 6167 6573 270a 3c2f 636f 6465 3e3c ckages'.<
│ │ │ +0020d2f0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ +0020d3a0: 696f 6e20 4b75 6265 726e 6574 6573 2073 ion Kubernetes s
│ │ │ +0020d3b0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +0020d440: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +0020d450: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +0020d470: 3c2f 7468 3e3c 7464 3e6d 6564 6975 6d3c medium<
│ │ │ +0020d480: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: true <
│ │ │ +0020d4b0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +0020d4c0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +0020d4d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c api
│ │ │ +0020d4f0: 5665 7273 696f 6e3a 206d 6163 6869 6e65 Version: machine
│ │ │ +0020d500: 636f 6e66 6967 7572 6174 696f 6e2e 6f70 configuration.op
│ │ │ +0020d510: 656e 7368 6966 742e 696f 2f76 310a 6b69 enshift.io/v1.ki
│ │ │ +0020d520: 6e64 3a20 4d61 6368 696e 6543 6f6e 6669 nd: MachineConfi
│ │ │ +0020d530: 670a 7370 6563 3a0a 2020 636f 6e66 6967 g.spec:. config
│ │ │ +0020d540: 3a0a 2020 2020 6967 6e69 7469 6f6e 3a0a :. ignition:.
│ │ │ +0020d550: 2020 2020 2020 7665 7273 696f 6e3a 2033 version: 3
│ │ │ +0020d560: 2e31 2e30 0a20 2020 2073 7973 7465 6d64 .1.0. systemd
│ │ │ +0020d570: 3a0a 2020 2020 2020 756e 6974 733a 0a20 :. units:.
│ │ │ +0020d580: 2020 2020 202d 206e 616d 653a 2063 7570 - name: cup
│ │ │ +0020d590: 732e 7365 7276 6963 650a 2020 2020 2020 s.service.
│ │ │ +0020d5a0: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false
│ │ │ +0020d5b0: 0a20 2020 2020 2020 206d 6173 6b3a 2074 . mask: t
│ │ │ +0020d5c0: 7275 650a 2020 2020 2020 2d20 6e61 6d65 rue. - name
│ │ │ +0020d5d0: 3a20 6375 7073 2e73 6f63 6b65 740a 2020 : cups.socket.
│ │ │ +0020d5e0: 2020 2020 2020 656e 6162 6c65 643a 2066 enabled: f
│ │ │ +0020d5f0: 616c 7365 0a20 2020 2020 2020 206d 6173 alse. mas
│ │ │ +0020d600: 6b3a 2074 7275 650a 3c2f 636f 6465 3e3c k: true.<
│ │ │ +0020d610: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediat
│ │ │ +0020d6c0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ +0020d6d0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +0020d750: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +0020d760: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +0020d770: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +0020d7b0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +0020d7c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +0020d7e0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +0020d7f0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +0020d800: 3c63 6f64 653e 696e 636c 7564 6520 6469 include di
│ │ │ +0020d810: 7361 626c 655f 6375 7073 0a0a 636c 6173 sable_cups..clas
│ │ │ +0020d820: 7320 6469 7361 626c 655f 6375 7073 207b s disable_cups {
│ │ │ +0020d830: 0a20 2073 6572 7669 6365 207b 2763 7570 . service {'cup
│ │ │ +0020d840: 7327 3a0a 2020 2020 656e 6162 6c65 203d s':. enable =
│ │ │ +0020d850: 2667 743b 2066 616c 7365 2c0a 2020 2020 > false,.
│ │ │ +0020d860: 656e 7375 7265 203d 2667 743b 2027 7374 ensure => 'st
│ │ │ +0020d870: 6f70 7065 6427 2c0a 2020 7d0a 7d0a 3c2f opped',. }.}.
│ │ │ +0020d880: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +0020d930: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ +0020d940: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ +0020d950: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +0020d960: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +0020d970: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +0020d980: 7365 2220 6964 3d22 6964 3738 3222 3e3c se" id="id782"><
│ │ │ +0020d990: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust
│ │ │ +0020d9a0: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi
│ │ │ +0020d9b0: 6365 735d 0a6d 6173 6b65 6420 3d20 5b22 ces].masked = ["
│ │ │ +0020d9c0: 6375 7073 225d 0a3c 2f63 6f64 653e 3c2f cups"].
│ │ │ 0020d9d0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediatio
│ │ │ -0020efd0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -0020efe0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -0020f070: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -0020f090: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -0020f0a0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0020f0b0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -0020f0c0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -0020f0e0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ -0020f110: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ -0020f120: 6d6f 7665 5f73 7175 6964 0a0a 636c 6173 move_squid..clas
│ │ │ -0020f130: 7320 7265 6d6f 7665 5f73 7175 6964 207b s remove_squid {
│ │ │ -0020f140: 0a20 2070 6163 6b61 6765 207b 2027 7371 . package { 'sq
│ │ │ -0020f150: 7569 6427 3a0a 2020 2020 656e 7375 7265 uid':. ensure
│ │ │ -0020f160: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ -0020f170: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -0020f180: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ -0020f230: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ -0020f240: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0020f2c0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -0020f2d0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -0020f2e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -0020f320: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -0020f330: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -0020f350: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -0020f360: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: '
│ │ │ -0020f380: 556e 696e 7374 616c 6c20 7371 7569 6420 Uninstall squid
│ │ │ -0020f390: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ -0020f3a0: 7371 7569 6420 6973 2072 656d 6f76 6564 squid is removed
│ │ │ -0020f3b0: 270a 2020 616e 7369 626c 652e 6275 696c '. ansible.buil
│ │ │ -0020f3c0: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ -0020f3d0: 206e 616d 653a 2073 7175 6964 0a20 2020 name: squid.
│ │ │ -0020f3e0: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ -0020f3f0: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab
│ │ │ -0020f400: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -0020f410: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -0020f420: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -0020f430: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ -0020f440: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ -0020f450: 6765 5f73 7175 6964 5f72 656d 6f76 6564 ge_squid_removed
│ │ │ -0020f460: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576 . - unknown_sev
│ │ │ -0020f470: 6572 6974 790a 3c2f 636f 6465 3e3c 2f70 erity.
<
│ │ │ +0020f060: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +0020f070: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +0020f080: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0020f090: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +0020f0a0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +0020f0c0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +0020f0d0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0020f0e0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +0020f100: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +0020f110: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2755 - name: 'U
│ │ │ +0020f120: 6e69 6e73 7461 6c6c 2073 7175 6964 2050 ninstall squid P
│ │ │ +0020f130: 6163 6b61 6765 3a20 456e 7375 7265 2073 ackage: Ensure s
│ │ │ +0020f140: 7175 6964 2069 7320 7265 6d6f 7665 6427 quid is removed'
│ │ │ +0020f150: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ +0020f160: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ +0020f170: 6e61 6d65 3a20 7371 7569 640a 2020 2020 name: squid.
│ │ │ +0020f180: 7374 6174 653a 2061 6273 656e 740a 2020 state: absent.
│ │ │ +0020f190: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl
│ │ │ +0020f1a0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ +0020f1b0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ +0020f1c0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ +0020f1d0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +0020f1e0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ +0020f1f0: 655f 7371 7569 645f 7265 6d6f 7665 640a e_squid_removed.
│ │ │ +0020f200: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665 - unknown_seve
│ │ │ +0020f210: 7269 7479 0a3c 2f63 6f64 653e 3c2f 7072 rity.
Remediation
│ │ │ +0020f2d0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ +0020f2e0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +0020f370: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +0020f390: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +0020f3b0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +0020f3c0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +0020f3e0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +0020f3f0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ +0020f420: 6f76 655f 7371 7569 640a 0a63 6c61 7373 ove_squid..class
│ │ │ +0020f430: 2072 656d 6f76 655f 7371 7569 6420 7b0a remove_squid {.
│ │ │ +0020f440: 2020 7061 636b 6167 6520 7b20 2773 7175 package { 'squ
│ │ │ +0020f450: 6964 273a 0a20 2020 2065 6e73 7572 6520 id':. ensure
│ │ │ +0020f460: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ +0020f470: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediatio
│ │ │ -002108b0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -002108c0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -00210950: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -00210970: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -00210980: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -00210990: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -002109a0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -002109c0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ -002109f0: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ -00210a00: 6d6f 7665 5f73 616d 6261 0a0a 636c 6173 move_samba..clas
│ │ │ -00210a10: 7320 7265 6d6f 7665 5f73 616d 6261 207b s remove_samba {
│ │ │ -00210a20: 0a20 2070 6163 6b61 6765 207b 2027 7361 . package { 'sa
│ │ │ -00210a30: 6d62 6127 3a0a 2020 2020 656e 7375 7265 mba':. ensure
│ │ │ -00210a40: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ -00210a50: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -00210a60: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ -00210b10: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ -00210b20: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -00210ba0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -00210bb0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -00210bc0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -00210c00: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -00210c10: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -00210c30: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -00210c40: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: '
│ │ │ -00210c60: 556e 696e 7374 616c 6c20 5361 6d62 6120 Uninstall Samba
│ │ │ -00210c70: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ -00210c80: 7361 6d62 6120 6973 2072 656d 6f76 6564 samba is removed
│ │ │ -00210c90: 270a 2020 616e 7369 626c 652e 6275 696c '. ansible.buil
│ │ │ -00210ca0: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ -00210cb0: 206e 616d 653a 2073 616d 6261 0a20 2020 name: samba.
│ │ │ -00210cc0: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ -00210cd0: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab
│ │ │ -00210ce0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -00210cf0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -00210d00: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -00210d10: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ -00210d20: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ -00210d30: 6765 5f73 616d 6261 5f72 656d 6f76 6564 ge_samba_removed
│ │ │ -00210d40: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576 . - unknown_sev
│ │ │ -00210d50: 6572 6974 790a 3c2f 636f 6465 3e3c 2f70 erity.
<
│ │ │ +00210940: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +00210950: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +00210960: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00210970: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +00210980: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +002109a0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +002109b0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +002109c0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +002109e0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +002109f0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2755 - name: 'U
│ │ │ +00210a00: 6e69 6e73 7461 6c6c 2053 616d 6261 2050 ninstall Samba P
│ │ │ +00210a10: 6163 6b61 6765 3a20 456e 7375 7265 2073 ackage: Ensure s
│ │ │ +00210a20: 616d 6261 2069 7320 7265 6d6f 7665 6427 amba is removed'
│ │ │ +00210a30: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ +00210a40: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ +00210a50: 6e61 6d65 3a20 7361 6d62 610a 2020 2020 name: samba.
│ │ │ +00210a60: 7374 6174 653a 2061 6273 656e 740a 2020 state: absent.
│ │ │ +00210a70: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl
│ │ │ +00210a80: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ +00210a90: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ +00210aa0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ +00210ab0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +00210ac0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ +00210ad0: 655f 7361 6d62 615f 7265 6d6f 7665 640a e_samba_removed.
│ │ │ +00210ae0: 2020 2d20 756e 6b6e 6f77 6e5f 7365 7665 - unknown_seve
│ │ │ +00210af0: 7269 7479 0a3c 2f63 6f64 653e 3c2f 7072 rity.
Remediation
│ │ │ +00210bb0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ +00210bc0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +00210c50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +00210c70: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +00210c90: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +00210ca0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +00210cc0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +00210cd0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ +00210d00: 6f76 655f 7361 6d62 610a 0a63 6c61 7373 ove_samba..class
│ │ │ +00210d10: 2072 656d 6f76 655f 7361 6d62 6120 7b0a remove_samba {.
│ │ │ +00210d20: 2020 7061 636b 6167 6520 7b20 2773 616d package { 'sam
│ │ │ +00210d30: 6261 273a 0a20 2020 2065 6e73 7572 6520 ba':. ensure
│ │ │ +00210d40: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ +00210d50: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remed
│ │ │ -00212160: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -00212170: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -00212200: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -00212210: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00212220: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -00212230: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -00212240: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -00212250: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -00212260: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -00212270: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -002122a0: 7072 653e 3c63 6f64 653e 0a69 6e63 6c75 pre>.inclu
│ │ │ -002122b0: 6465 2072 656d 6f76 655f 736e 6d70 0a0a de remove_snmp..
│ │ │ -002122c0: 636c 6173 7320 7265 6d6f 7665 5f73 6e6d class remove_snm
│ │ │ -002122d0: 7020 7b0a 2020 7061 636b 6167 6520 7b20 p {. package {
│ │ │ -002122e0: 2773 6e6d 7027 3a0a 2020 2020 656e 7375 'snmp':. ensu
│ │ │ -002122f0: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged
│ │ │ -00212300: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ -00212310: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063 Remedia
│ │ │ -002123c0: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -002123d0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -002123e0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -00212410: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -00212460: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -00212470: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00212480: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -00212490: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -002124a0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -002124b0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -002124c0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -002124d0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ -00212510: 2027 556e 696e 7374 616c 6c20 6e65 742d 'Uninstall net-
│ │ │ -00212520: 736e 6d70 2050 6163 6b61 6765 3a20 456e snmp Package: En
│ │ │ -00212530: 7375 7265 2073 6e6d 7020 6973 2072 656d sure snmp is rem
│ │ │ -00212540: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ -00212550: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -00212560: 0a20 2020 206e 616d 653a 2073 6e6d 700a . name: snmp.
│ │ │ -00212570: 2020 2020 7374 6174 653a 2061 6273 656e state: absen
│ │ │ -00212580: 740a 2020 7461 6773 3a0a 2020 2d20 5043 t. tags:. - PC
│ │ │ -00212590: 492d 4453 5376 342d 322e 320a 2020 2d20 I-DSSv4-2.2. -
│ │ │ -002125a0: 5043 492d 4453 5376 342d 322e 322e 340a PCI-DSSv4-2.2.4.
│ │ │ -002125b0: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ -002125c0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -002125d0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -002125e0: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ -002125f0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -00212600: 2020 2d20 7061 636b 6167 655f 6e65 742d - package_net-
│ │ │ -00212610: 736e 6d70 5f72 656d 6f76 6564 0a20 202d snmp_removed. -
│ │ │ -00212620: 2075 6e6b 6e6f 776e 5f73 6576 6572 6974 unknown_severit
│ │ │ -00212630: 790a 3c2f 636f 6465 3e3c 2f70 7265 3e3c y.<
│ │ │ +00212160: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ +00212170: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +00212200: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +00212210: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +00212230: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +00212250: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +00212260: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +00212280: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +00212290: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +002122a0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +002122b0: 653a 2027 556e 696e 7374 616c 6c20 6e65 e: 'Uninstall ne
│ │ │ +002122c0: 742d 736e 6d70 2050 6163 6b61 6765 3a20 t-snmp Package:
│ │ │ +002122d0: 456e 7375 7265 2073 6e6d 7020 6973 2072 Ensure snmp is r
│ │ │ +002122e0: 656d 6f76 6564 270a 2020 616e 7369 626c emoved'. ansibl
│ │ │ +002122f0: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ +00212300: 653a 0a20 2020 206e 616d 653a 2073 6e6d e:. name: snm
│ │ │ +00212310: 700a 2020 2020 7374 6174 653a 2061 6273 p. state: abs
│ │ │ +00212320: 656e 740a 2020 7461 6773 3a0a 2020 2d20 ent. tags:. -
│ │ │ +00212330: 5043 492d 4453 5376 342d 322e 320a 2020 PCI-DSSv4-2.2.
│ │ │ +00212340: 2d20 5043 492d 4453 5376 342d 322e 322e - PCI-DSSv4-2.2.
│ │ │ +00212350: 340a 2020 2d20 6469 7361 626c 655f 7374 4. - disable_st
│ │ │ +00212360: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +00212370: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +00212380: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +00212390: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +002123a0: 640a 2020 2d20 7061 636b 6167 655f 6e65 d. - package_ne
│ │ │ +002123b0: 742d 736e 6d70 5f72 656d 6f76 6564 0a20 t-snmp_removed.
│ │ │ +002123c0: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572 - unknown_sever
│ │ │ +002123d0: 6974 790a 3c2f 636f 6465 3e3c 2f70 7265 ity.
Remediation
│ │ │ +00212490: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ +002124a0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +00212520: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +00212530: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00212540: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +00212550: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +00212590: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +002125a0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +002125b0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +002125c0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
.include remo
│ │ │ +002125e0: 7665 5f73 6e6d 700a 0a63 6c61 7373 2072 ve_snmp..class r
│ │ │ +002125f0: 656d 6f76 655f 736e 6d70 207b 0a20 2070 emove_snmp {. p
│ │ │ +00212600: 6163 6b61 6765 207b 2027 736e 6d70 273a ackage { 'snmp':
│ │ │ +00212610: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +00212620: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ +00212630: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ 00212640: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>
│ │ │ -00244230: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ -00244240: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ -00244250: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
include ssh_pri
│ │ │ -002442a0: 7661 7465 5f6b 6579 5f70 6572 6d73 0a0a vate_key_perms..
│ │ │ -002442b0: 636c 6173 7320 7373 685f 7072 6976 6174 class ssh_privat
│ │ │ -002442c0: 655f 6b65 795f 7065 726d 7320 7b0a 2020 e_key_perms {.
│ │ │ -002442d0: 6578 6563 207b 2027 7373 6864 5f70 7269 exec { 'sshd_pri
│ │ │ -002442e0: 765f 6b65 7927 3a0a 2020 2020 636f 6d6d v_key':. comm
│ │ │ -002442f0: 616e 6420 3d26 6774 3b20 2263 686d 6f64 and => "chmod
│ │ │ -00244300: 2030 3634 3020 2f65 7463 2f73 7368 2f2a 0640 /etc/ssh/*
│ │ │ -00244310: 5f6b 6579 222c 0a20 2020 2070 6174 6820 _key",. path
│ │ │ -00244320: 2020 203d 2667 743b 2027 2f62 696e 3a2f => '/bin:/
│ │ │ -00244330: 7573 722f 6269 6e27 0a20 207d 0a7d 0a3c usr/bin'. }.}.<
│ │ │ -00244340: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -002443f0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -00244400: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -00244410: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -00244490: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -002444a0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -002444c0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -002444d0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -00244510: 793a 3c2f 7468 3e3c 7464 3e63 6f6e 6669 y: confi
│ │ │ -00244520: 6775 7265 3c2f 7464 3e3c 2f74 723e 3c2f gure
│ │ │ -00244530: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: Gather
│ │ │ -00244550: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ -00244560: 730a 2020 7061 636b 6167 655f 6661 6374 s. package_fact
│ │ │ -00244570: 733a 0a20 2020 206d 616e 6167 6572 3a20 s:. manager:
│ │ │ -00244580: 6175 746f 0a20 2074 6167 733a 0a20 202d auto. tags:. -
│ │ │ -00244590: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ -002445a0: 312e 3133 0a20 202d 204e 4953 542d 3830 1.13. - NIST-80
│ │ │ -002445b0: 302d 3137 312d 332e 3133 2e31 300a 2020 0-171-3.13.10.
│ │ │ -002445c0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ -002445d0: 2d31 3728 6129 0a20 202d 204e 4953 542d -17(a). - NIST-
│ │ │ -002445e0: 3830 302d 3533 2d41 432d 3628 3129 0a20 800-53-AC-6(1).
│ │ │ -002445f0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -00244600: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ -00244610: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d SS-Req-2.2.4. -
│ │ │ -00244620: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2.
│ │ │ -00244630: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ -00244640: 2e36 0a20 202d 2063 6f6e 6669 6775 7265 .6. - configure
│ │ │ -00244650: 5f73 7472 6174 6567 790a 2020 2d20 6669 _strategy. - fi
│ │ │ -00244660: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73 le_permissions_s
│ │ │ -00244670: 7368 645f 7072 6976 6174 655f 6b65 790a shd_private_key.
│ │ │ -00244680: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -00244690: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -002446a0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -002446b0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -002446c0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a0a _reboot_needed..
│ │ │ -002446d0: 2d20 6e61 6d65 3a20 4669 6e64 2072 6f6f - name: Find roo
│ │ │ -002446e0: 743a 726f 6f74 2d6f 776e 6564 206b 6579 t:root-owned key
│ │ │ -002446f0: 730a 2020 616e 7369 626c 652e 6275 696c s. ansible.buil
│ │ │ -00244700: 7469 6e2e 636f 6d6d 616e 643a 2066 696e tin.command: fin
│ │ │ -00244710: 6420 2d48 202f 6574 632f 7373 682f 202d d -H /etc/ssh/ -
│ │ │ -00244720: 6d61 7864 6570 7468 2031 202d 7573 6572 maxdepth 1 -user
│ │ │ -00244730: 2072 6f6f 7420 2d72 6567 6578 2022 2e2a root -regex ".*
│ │ │ -00244740: 5f6b 6579 2422 0a20 2020 202d 7479 7065 _key$". -type
│ │ │ -00244750: 2066 202d 6772 6f75 7020 726f 6f74 202d f -group root -
│ │ │ -00244760: 7065 726d 202f 752b 7873 2c67 2b78 7772 perm /u+xs,g+xwr
│ │ │ -00244770: 732c 6f2b 7877 7274 0a20 2072 6567 6973 s,o+xwrt. regis
│ │ │ -00244780: 7465 723a 2072 6f6f 745f 6f77 6e65 645f ter: root_owned_
│ │ │ -00244790: 6b65 7973 0a20 2063 6861 6e67 6564 5f77 keys. changed_w
│ │ │ -002447a0: 6865 6e3a 2066 616c 7365 0a20 2066 6169 hen: false. fai
│ │ │ -002447b0: 6c65 645f 7768 656e 3a20 6661 6c73 650a led_when: false.
│ │ │ -002447c0: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661 check_mode: fa
│ │ │ -002447d0: 6c73 650a 2020 7768 656e 3a20 2722 6c69 lse. when: '"li
│ │ │ -002447e0: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ -002447f0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -00244800: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ -00244810: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ -00244820: 312e 3133 0a20 202d 204e 4953 542d 3830 1.13. - NIST-80
│ │ │ -00244830: 302d 3137 312d 332e 3133 2e31 300a 2020 0-171-3.13.10.
│ │ │ -00244840: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ -00244850: 2d31 3728 6129 0a20 202d 204e 4953 542d -17(a). - NIST-
│ │ │ -00244860: 3830 302d 3533 2d41 432d 3628 3129 0a20 800-53-AC-6(1).
│ │ │ -00244870: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -00244880: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ -00244890: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d SS-Req-2.2.4. -
│ │ │ -002448a0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2.
│ │ │ -002448b0: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ -002448c0: 2e36 0a20 202d 2063 6f6e 6669 6775 7265 .6. - configure
│ │ │ -002448d0: 5f73 7472 6174 6567 790a 2020 2d20 6669 _strategy. - fi
│ │ │ -002448e0: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73 le_permissions_s
│ │ │ -002448f0: 7368 645f 7072 6976 6174 655f 6b65 790a shd_private_key.
│ │ │ -00244900: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -00244910: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -00244920: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -00244930: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -00244940: 5f72 6562 6f6f 745f 6e65 6564 6564 0a0a _reboot_needed..
│ │ │ -00244950: 2d20 6e61 6d65 3a20 5365 7420 7065 726d - name: Set perm
│ │ │ -00244960: 6973 7369 6f6e 7320 666f 7220 726f 6f74 issions for root
│ │ │ -00244970: 3a72 6f6f 742d 6f77 6e65 6420 6b65 7973 :root-owned keys
│ │ │ -00244980: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ -00244990: 696e 2e66 696c 653a 0a20 2020 2070 6174 in.file:. pat
│ │ │ -002449a0: 683a 2027 7b7b 2069 7465 6d20 7d7d 270a h: '{{ item }}'.
│ │ │ -002449b0: 2020 2020 6d6f 6465 3a20 752d 7873 2c67 mode: u-xs,g
│ │ │ -002449c0: 2d78 7772 732c 6f2d 7877 7274 0a20 2020 -xwrs,o-xwrt.
│ │ │ -002449d0: 2073 7461 7465 3a20 6669 6c65 0a20 2077 state: file. w
│ │ │ -002449e0: 6974 685f 6974 656d 733a 0a20 202d 2027 ith_items:. - '
│ │ │ -002449f0: 7b7b 2072 6f6f 745f 6f77 6e65 645f 6b65 {{ root_owned_ke
│ │ │ -00244a00: 7973 2e73 7464 6f75 745f 6c69 6e65 7320 ys.stdout_lines
│ │ │ -00244a10: 7d7d 270a 2020 7768 656e 3a20 2722 6c69 }}'. when: '"li
│ │ │ -00244a20: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ -00244a30: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -00244a40: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ -00244a50: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ -00244a60: 312e 3133 0a20 202d 204e 4953 542d 3830 1.13. - NIST-80
│ │ │ -00244a70: 302d 3137 312d 332e 3133 2e31 300a 2020 0-171-3.13.10.
│ │ │ -00244a80: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ -00244a90: 2d31 3728 6129 0a20 202d 204e 4953 542d -17(a). - NIST-
│ │ │ -00244aa0: 3830 302d 3533 2d41 432d 3628 3129 0a20 800-53-AC-6(1).
│ │ │ -00244ab0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -00244ac0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ -00244ad0: 5353 2d52 6571 2d32 2e32 2e34 0a20 202d SS-Req-2.2.4. -
│ │ │ -00244ae0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2.
│ │ │ -00244af0: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ -00244b00: 2e36 0a20 202d 2063 6f6e 6669 6775 7265 .6. - configure
│ │ │ -00244b10: 5f73 7472 6174 6567 790a 2020 2d20 6669 _strategy. - fi
│ │ │ -00244b20: 6c65 5f70 6572 6d69 7373 696f 6e73 5f73 le_permissions_s
│ │ │ -00244b30: 7368 645f 7072 6976 6174 655f 6b65 790a shd_private_key.
│ │ │ -00244b40: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -00244b50: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -00244b60: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -00244b70: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -00244b80: 5f72 6562 6f6f 745f 6e65 6564 6564 0a3c _reboot_needed.<
│ │ │ +00244230: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ +00244240: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ +00244250: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +00244300: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +00244310: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00244320: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +00244330: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +00244350: 6779 3a3c 2f74 683e 3c74 643e 636f 6e66 gy: conf
│ │ │ +00244360: 6967 7572 653c 2f74 643e 3c2f 7472 3e3c igure <
│ │ │ +00244370: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ +00244390: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ +002443a0: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ +002443b0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ +002443c0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ +002443d0: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3
│ │ │ +002443e0: 2e31 2e31 330a 2020 2d20 4e49 5354 2d38 .1.13. - NIST-8
│ │ │ +002443f0: 3030 2d31 3731 2d33 2e31 332e 3130 0a20 00-171-3.13.10.
│ │ │ +00244400: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ +00244410: 432d 3137 2861 290a 2020 2d20 4e49 5354 C-17(a). - NIST
│ │ │ +00244420: 2d38 3030 2d35 332d 4143 2d36 2831 290a -800-53-AC-6(1).
│ │ │ +00244430: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +00244440: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ +00244450: 4453 532d 5265 712d 322e 322e 340a 2020 DSS-Req-2.2.4.
│ │ │ +00244460: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2.
│ │ │ +00244470: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ +00244480: 322e 360a 2020 2d20 636f 6e66 6967 7572 2.6. - configur
│ │ │ +00244490: 655f 7374 7261 7465 6779 0a20 202d 2066 e_strategy. - f
│ │ │ +002444a0: 696c 655f 7065 726d 6973 7369 6f6e 735f ile_permissions_
│ │ │ +002444b0: 7373 6864 5f70 7269 7661 7465 5f6b 6579 sshd_private_key
│ │ │ +002444c0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +002444d0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +002444e0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ +002444f0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +00244500: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +00244510: 0a2d 206e 616d 653a 2046 696e 6420 726f .- name: Find ro
│ │ │ +00244520: 6f74 3a72 6f6f 742d 6f77 6e65 6420 6b65 ot:root-owned ke
│ │ │ +00244530: 7973 0a20 2061 6e73 6962 6c65 2e62 7569 ys. ansible.bui
│ │ │ +00244540: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 6669 ltin.command: fi
│ │ │ +00244550: 6e64 202d 4820 2f65 7463 2f73 7368 2f20 nd -H /etc/ssh/
│ │ │ +00244560: 2d6d 6178 6465 7074 6820 3120 2d75 7365 -maxdepth 1 -use
│ │ │ +00244570: 7220 726f 6f74 202d 7265 6765 7820 222e r root -regex ".
│ │ │ +00244580: 2a5f 6b65 7924 220a 2020 2020 2d74 7970 *_key$". -typ
│ │ │ +00244590: 6520 6620 2d67 726f 7570 2072 6f6f 7420 e f -group root
│ │ │ +002445a0: 2d70 6572 6d20 2f75 2b78 732c 672b 7877 -perm /u+xs,g+xw
│ │ │ +002445b0: 7273 2c6f 2b78 7772 740a 2020 7265 6769 rs,o+xwrt. regi
│ │ │ +002445c0: 7374 6572 3a20 726f 6f74 5f6f 776e 6564 ster: root_owned
│ │ │ +002445d0: 5f6b 6579 730a 2020 6368 616e 6765 645f _keys. changed_
│ │ │ +002445e0: 7768 656e 3a20 6661 6c73 650a 2020 6661 when: false. fa
│ │ │ +002445f0: 696c 6564 5f77 6865 6e3a 2066 616c 7365 iled_when: false
│ │ │ +00244600: 0a20 2063 6865 636b 5f6d 6f64 653a 2066 . check_mode: f
│ │ │ +00244610: 616c 7365 0a20 2077 6865 6e3a 2027 226c alse. when: '"l
│ │ │ +00244620: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ +00244630: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +00244640: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ +00244650: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3
│ │ │ +00244660: 2e31 2e31 330a 2020 2d20 4e49 5354 2d38 .1.13. - NIST-8
│ │ │ +00244670: 3030 2d31 3731 2d33 2e31 332e 3130 0a20 00-171-3.13.10.
│ │ │ +00244680: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ +00244690: 432d 3137 2861 290a 2020 2d20 4e49 5354 C-17(a). - NIST
│ │ │ +002446a0: 2d38 3030 2d35 332d 4143 2d36 2831 290a -800-53-AC-6(1).
│ │ │ +002446b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +002446c0: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ +002446d0: 4453 532d 5265 712d 322e 322e 340a 2020 DSS-Req-2.2.4.
│ │ │ +002446e0: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2.
│ │ │ +002446f0: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ +00244700: 322e 360a 2020 2d20 636f 6e66 6967 7572 2.6. - configur
│ │ │ +00244710: 655f 7374 7261 7465 6779 0a20 202d 2066 e_strategy. - f
│ │ │ +00244720: 696c 655f 7065 726d 6973 7369 6f6e 735f ile_permissions_
│ │ │ +00244730: 7373 6864 5f70 7269 7661 7465 5f6b 6579 sshd_private_key
│ │ │ +00244740: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +00244750: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +00244760: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ +00244770: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +00244780: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +00244790: 0a2d 206e 616d 653a 2053 6574 2070 6572 .- name: Set per
│ │ │ +002447a0: 6d69 7373 696f 6e73 2066 6f72 2072 6f6f missions for roo
│ │ │ +002447b0: 743a 726f 6f74 2d6f 776e 6564 206b 6579 t:root-owned key
│ │ │ +002447c0: 730a 2020 616e 7369 626c 652e 6275 696c s. ansible.buil
│ │ │ +002447d0: 7469 6e2e 6669 6c65 3a0a 2020 2020 7061 tin.file:. pa
│ │ │ +002447e0: 7468 3a20 277b 7b20 6974 656d 207d 7d27 th: '{{ item }}'
│ │ │ +002447f0: 0a20 2020 206d 6f64 653a 2075 2d78 732c . mode: u-xs,
│ │ │ +00244800: 672d 7877 7273 2c6f 2d78 7772 740a 2020 g-xwrs,o-xwrt.
│ │ │ +00244810: 2020 7374 6174 653a 2066 696c 650a 2020 state: file.
│ │ │ +00244820: 7769 7468 5f69 7465 6d73 3a0a 2020 2d20 with_items:. -
│ │ │ +00244830: 277b 7b20 726f 6f74 5f6f 776e 6564 5f6b '{{ root_owned_k
│ │ │ +00244840: 6579 732e 7374 646f 7574 5f6c 696e 6573 eys.stdout_lines
│ │ │ +00244850: 207d 7d27 0a20 2077 6865 6e3a 2027 226c }}'. when: '"l
│ │ │ +00244860: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ +00244870: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +00244880: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ +00244890: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3
│ │ │ +002448a0: 2e31 2e31 330a 2020 2d20 4e49 5354 2d38 .1.13. - NIST-8
│ │ │ +002448b0: 3030 2d31 3731 2d33 2e31 332e 3130 0a20 00-171-3.13.10.
│ │ │ +002448c0: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ +002448d0: 432d 3137 2861 290a 2020 2d20 4e49 5354 C-17(a). - NIST
│ │ │ +002448e0: 2d38 3030 2d35 332d 4143 2d36 2831 290a -800-53-AC-6(1).
│ │ │ +002448f0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +00244900: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ +00244910: 4453 532d 5265 712d 322e 322e 340a 2020 DSS-Req-2.2.4.
│ │ │ +00244920: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2.
│ │ │ +00244930: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ +00244940: 322e 360a 2020 2d20 636f 6e66 6967 7572 2.6. - configur
│ │ │ +00244950: 655f 7374 7261 7465 6779 0a20 202d 2066 e_strategy. - f
│ │ │ +00244960: 696c 655f 7065 726d 6973 7369 6f6e 735f ile_permissions_
│ │ │ +00244970: 7373 6864 5f70 7269 7661 7465 5f6b 6579 sshd_private_key
│ │ │ +00244980: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +00244990: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +002449a0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ +002449b0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +002449c0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +002449d0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +00244a80: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +00244a90: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +00244aa0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
include ssh_pri
│ │ │ +00244af0: 7661 7465 5f6b 6579 5f70 6572 6d73 0a0a vate_key_perms..
│ │ │ +00244b00: 636c 6173 7320 7373 685f 7072 6976 6174 class ssh_privat
│ │ │ +00244b10: 655f 6b65 795f 7065 726d 7320 7b0a 2020 e_key_perms {.
│ │ │ +00244b20: 6578 6563 207b 2027 7373 6864 5f70 7269 exec { 'sshd_pri
│ │ │ +00244b30: 765f 6b65 7927 3a0a 2020 2020 636f 6d6d v_key':. comm
│ │ │ +00244b40: 616e 6420 3d26 6774 3b20 2263 686d 6f64 and => "chmod
│ │ │ +00244b50: 2030 3634 3020 2f65 7463 2f73 7368 2f2a 0640 /etc/ssh/*
│ │ │ +00244b60: 5f6b 6579 222c 0a20 2020 2070 6174 6820 _key",. path
│ │ │ +00244b70: 2020 203d 2667 743b 2027 2f62 696e 3a2f => '/bin:/
│ │ │ +00244b80: 7573 722f 6269 6e27 0a20 207d 0a7d 0a3c usr/bin'. }.}.<
│ │ │ 00244b90: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediation
│ │ │ -00246000: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ -00246010: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
<
│ │ │ -00246050: 636f 6465 3e69 6e63 6c75 6465 2073 7368 code>include ssh
│ │ │ -00246060: 5f70 7562 6c69 635f 6b65 795f 7065 726d _public_key_perm
│ │ │ -00246070: 730a 0a63 6c61 7373 2073 7368 5f70 7562 s..class ssh_pub
│ │ │ -00246080: 6c69 635f 6b65 795f 7065 726d 7320 7b0a lic_key_perms {.
│ │ │ -00246090: 2020 6578 6563 207b 2027 7373 6864 5f70 exec { 'sshd_p
│ │ │ -002460a0: 7562 5f6b 6579 273a 0a20 2020 2063 6f6d ub_key':. com
│ │ │ -002460b0: 6d61 6e64 203d 2667 743b 2022 6368 6d6f mand => "chmo
│ │ │ -002460c0: 6420 3036 3434 202f 6574 632f 7373 682f d 0644 /etc/ssh/
│ │ │ -002460d0: 2a2e 7075 6222 2c0a 2020 2020 7061 7468 *.pub",. path
│ │ │ -002460e0: 2020 2020 3d26 6774 3b20 272f 6269 6e3a => '/bin:
│ │ │ -002460f0: 2f75 7372 2f62 696e 270a 2020 7d0a 7d0a /usr/bin'. }.}.
│ │ │ -00246100: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -002461b0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ -002461c0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ -002461d0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -00246280: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -00246290: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -002462a0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -002462b0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -002462d0: 6779 3a3c 2f74 683e 3c74 643e 636f 6e66 gy: conf
│ │ │ -002462e0: 6967 7572 653c 2f74 643e 3c2f 7472 3e3c igure <
│ │ │ -002462f0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ -00246310: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ -00246320: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ -00246330: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ -00246340: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ -00246350: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3
│ │ │ -00246360: 2e31 2e31 330a 2020 2d20 4e49 5354 2d38 .1.13. - NIST-8
│ │ │ -00246370: 3030 2d31 3731 2d33 2e31 332e 3130 0a20 00-171-3.13.10.
│ │ │ -00246380: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ -00246390: 432d 3137 2861 290a 2020 2d20 4e49 5354 C-17(a). - NIST
│ │ │ -002463a0: 2d38 3030 2d35 332d 4143 2d36 2831 290a -800-53-AC-6(1).
│ │ │ -002463b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -002463c0: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ -002463d0: 4453 532d 5265 712d 322e 322e 340a 2020 DSS-Req-2.2.4.
│ │ │ -002463e0: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2.
│ │ │ -002463f0: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ -00246400: 322e 360a 2020 2d20 636f 6e66 6967 7572 2.6. - configur
│ │ │ -00246410: 655f 7374 7261 7465 6779 0a20 202d 2066 e_strategy. - f
│ │ │ -00246420: 696c 655f 7065 726d 6973 7369 6f6e 735f ile_permissions_
│ │ │ -00246430: 7373 6864 5f70 7562 5f6b 6579 0a20 202d sshd_pub_key. -
│ │ │ -00246440: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -00246450: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -00246460: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -00246470: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -00246480: 626f 6f74 5f6e 6565 6465 640a 0a2d 206e boot_needed..- n
│ │ │ -00246490: 616d 653a 2046 696e 6420 2f65 7463 2f73 ame: Find /etc/s
│ │ │ -002464a0: 7368 2f20 6669 6c65 2873 290a 2020 616e sh/ file(s). an
│ │ │ -002464b0: 7369 626c 652e 6275 696c 7469 6e2e 636f sible.builtin.co
│ │ │ -002464c0: 6d6d 616e 643a 2066 696e 6420 2d50 202f mmand: find -P /
│ │ │ -002464d0: 6574 632f 7373 682f 202d 6d61 7864 6570 etc/ssh/ -maxdep
│ │ │ -002464e0: 7468 2031 202d 7065 726d 202f 752b 7873 th 1 -perm /u+xs
│ │ │ -002464f0: 2c67 2b78 7773 2c6f 2b78 7774 2020 2d74 ,g+xws,o+xwt -t
│ │ │ -00246500: 7970 650a 2020 2020 6620 2d72 6567 6578 ype. f -regex
│ │ │ -00246510: 7479 7065 2070 6f73 6978 2d65 7874 656e type posix-exten
│ │ │ -00246520: 6465 6420 2d72 6567 6578 2022 5e2e 2a5c ded -regex "^.*\
│ │ │ -00246530: 2e70 7562 2422 0a20 2072 6567 6973 7465 .pub$". registe
│ │ │ -00246540: 723a 2066 696c 6573 5f66 6f75 6e64 0a20 r: files_found.
│ │ │ -00246550: 2063 6861 6e67 6564 5f77 6865 6e3a 2066 changed_when: f
│ │ │ -00246560: 616c 7365 0a20 2066 6169 6c65 645f 7768 alse. failed_wh
│ │ │ -00246570: 656e 3a20 6661 6c73 650a 2020 6368 6563 en: false. chec
│ │ │ -00246580: 6b5f 6d6f 6465 3a20 6661 6c73 650a 2020 k_mode: false.
│ │ │ -00246590: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba
│ │ │ -002465a0: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ -002465b0: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ -002465c0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ -002465d0: 3830 302d 3137 312d 332e 312e 3133 0a20 800-171-3.1.13.
│ │ │ -002465e0: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171-
│ │ │ -002465f0: 332e 3133 2e31 300a 2020 2d20 4e49 5354 3.13.10. - NIST
│ │ │ -00246600: 2d38 3030 2d35 332d 4143 2d31 3728 6129 -800-53-AC-17(a)
│ │ │ -00246610: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00246620: 2d41 432d 3628 3129 0a20 202d 204e 4953 -AC-6(1). - NIS
│ │ │ -00246630: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ -00246640: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ -00246650: 2d32 2e32 2e34 0a20 202d 2050 4349 2d44 -2.2.4. - PCI-D
│ │ │ -00246660: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI
│ │ │ -00246670: 2d44 5353 7634 2d32 2e32 2e36 0a20 202d -DSSv4-2.2.6. -
│ │ │ -00246680: 2063 6f6e 6669 6775 7265 5f73 7472 6174 configure_strat
│ │ │ -00246690: 6567 790a 2020 2d20 6669 6c65 5f70 6572 egy. - file_per
│ │ │ -002466a0: 6d69 7373 696f 6e73 5f73 7368 645f 7075 missions_sshd_pu
│ │ │ -002466b0: 625f 6b65 790a 2020 2d20 6c6f 775f 636f b_key. - low_co
│ │ │ -002466c0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -002466d0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -002466e0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -002466f0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -00246700: 6564 6564 0a0a 2d20 6e61 6d65 3a20 5365 eded..- name: Se
│ │ │ -00246710: 7420 7065 726d 6973 7369 6f6e 7320 666f t permissions fo
│ │ │ -00246720: 7220 2f65 7463 2f73 7368 2f20 6669 6c65 r /etc/ssh/ file
│ │ │ -00246730: 2873 290a 2020 616e 7369 626c 652e 6275 (s). ansible.bu
│ │ │ -00246740: 696c 7469 6e2e 6669 6c65 3a0a 2020 2020 iltin.file:.
│ │ │ -00246750: 7061 7468 3a20 277b 7b20 6974 656d 207d path: '{{ item }
│ │ │ -00246760: 7d27 0a20 2020 206d 6f64 653a 2075 2d78 }'. mode: u-x
│ │ │ -00246770: 732c 672d 7877 732c 6f2d 7877 740a 2020 s,g-xws,o-xwt.
│ │ │ -00246780: 2020 7374 6174 653a 2066 696c 650a 2020 state: file.
│ │ │ -00246790: 7769 7468 5f69 7465 6d73 3a0a 2020 2d20 with_items:. -
│ │ │ -002467a0: 277b 7b20 6669 6c65 735f 666f 756e 642e '{{ files_found.
│ │ │ -002467b0: 7374 646f 7574 5f6c 696e 6573 207d 7d27 stdout_lines }}'
│ │ │ -002467c0: 0a20 2077 6865 6e3a 2027 226c 696e 7578 . when: '"linux
│ │ │ -002467d0: 2d62 6173 6522 2069 6e20 616e 7369 626c -base" in ansibl
│ │ │ -002467e0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -002467f0: 270a 2020 7461 6773 3a0a 2020 2d20 4e49 '. tags:. - NI
│ │ │ -00246800: 5354 2d38 3030 2d31 3731 2d33 2e31 2e31 ST-800-171-3.1.1
│ │ │ -00246810: 330a 2020 2d20 4e49 5354 2d38 3030 2d31 3. - NIST-800-1
│ │ │ -00246820: 3731 2d33 2e31 332e 3130 0a20 202d 204e 71-3.13.10. - N
│ │ │ -00246830: 4953 542d 3830 302d 3533 2d41 432d 3137 IST-800-53-AC-17
│ │ │ -00246840: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -00246850: 2d35 332d 4143 2d36 2831 290a 2020 2d20 -53-AC-6(1). -
│ │ │ -00246860: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ -00246870: 2861 290a 2020 2d20 5043 492d 4453 532d (a). - PCI-DSS-
│ │ │ -00246880: 5265 712d 322e 322e 340a 2020 2d20 5043 Req-2.2.4. - PC
│ │ │ -00246890: 492d 4453 5376 342d 322e 320a 2020 2d20 I-DSSv4-2.2. -
│ │ │ -002468a0: 5043 492d 4453 5376 342d 322e 322e 360a PCI-DSSv4-2.2.6.
│ │ │ -002468b0: 2020 2d20 636f 6e66 6967 7572 655f 7374 - configure_st
│ │ │ -002468c0: 7261 7465 6779 0a20 202d 2066 696c 655f rategy. - file_
│ │ │ -002468d0: 7065 726d 6973 7369 6f6e 735f 7373 6864 permissions_sshd
│ │ │ -002468e0: 5f70 7562 5f6b 6579 0a20 202d 206c 6f77 _pub_key. - low
│ │ │ -002468f0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -00246900: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -00246910: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -00246920: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -00246930: 5f6e 6565 6465 640a 3c2f 636f 6465 3e3c _needed.<
│ │ │ +00246000: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ +00246010: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +002460a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +002460c0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +002460e0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +002460f0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +00246110: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +00246120: 636f 6e66 6967 7572 653c 2f74 643e 3c2f configure
│ │ │ +00246130: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +00246140: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761 - name: Ga
│ │ │ +00246150: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ +00246160: 2066 6163 7473 0a20 2070 6163 6b61 6765 facts. package
│ │ │ +00246170: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61 _facts:. mana
│ │ │ +00246180: 6765 723a 2061 7574 6f0a 2020 7461 6773 ger: auto. tags
│ │ │ +00246190: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d31 :. - NIST-800-1
│ │ │ +002461a0: 3731 2d33 2e31 2e31 330a 2020 2d20 4e49 71-3.1.13. - NI
│ │ │ +002461b0: 5354 2d38 3030 2d31 3731 2d33 2e31 332e ST-800-171-3.13.
│ │ │ +002461c0: 3130 0a20 202d 204e 4953 542d 3830 302d 10. - NIST-800-
│ │ │ +002461d0: 3533 2d41 432d 3137 2861 290a 2020 2d20 53-AC-17(a). -
│ │ │ +002461e0: 4e49 5354 2d38 3030 2d35 332d 4143 2d36 NIST-800-53-AC-6
│ │ │ +002461f0: 2831 290a 2020 2d20 4e49 5354 2d38 3030 (1). - NIST-800
│ │ │ +00246200: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ +00246210: 5043 492d 4453 532d 5265 712d 322e 322e PCI-DSS-Req-2.2.
│ │ │ +00246220: 340a 2020 2d20 5043 492d 4453 5376 342d 4. - PCI-DSSv4-
│ │ │ +00246230: 322e 320a 2020 2d20 5043 492d 4453 5376 2.2. - PCI-DSSv
│ │ │ +00246240: 342d 322e 322e 360a 2020 2d20 636f 6e66 4-2.2.6. - conf
│ │ │ +00246250: 6967 7572 655f 7374 7261 7465 6779 0a20 igure_strategy.
│ │ │ +00246260: 202d 2066 696c 655f 7065 726d 6973 7369 - file_permissi
│ │ │ +00246270: 6f6e 735f 7373 6864 5f70 7562 5f6b 6579 ons_sshd_pub_key
│ │ │ +00246280: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +00246290: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +002462a0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ +002462b0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +002462c0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +002462d0: 0a2d 206e 616d 653a 2046 696e 6420 2f65 .- name: Find /e
│ │ │ +002462e0: 7463 2f73 7368 2f20 6669 6c65 2873 290a tc/ssh/ file(s).
│ │ │ +002462f0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +00246300: 6e2e 636f 6d6d 616e 643a 2066 696e 6420 n.command: find
│ │ │ +00246310: 2d50 202f 6574 632f 7373 682f 202d 6d61 -P /etc/ssh/ -ma
│ │ │ +00246320: 7864 6570 7468 2031 202d 7065 726d 202f xdepth 1 -perm /
│ │ │ +00246330: 752b 7873 2c67 2b78 7773 2c6f 2b78 7774 u+xs,g+xws,o+xwt
│ │ │ +00246340: 2020 2d74 7970 650a 2020 2020 6620 2d72 -type. f -r
│ │ │ +00246350: 6567 6578 7479 7065 2070 6f73 6978 2d65 egextype posix-e
│ │ │ +00246360: 7874 656e 6465 6420 2d72 6567 6578 2022 xtended -regex "
│ │ │ +00246370: 5e2e 2a5c 2e70 7562 2422 0a20 2072 6567 ^.*\.pub$". reg
│ │ │ +00246380: 6973 7465 723a 2066 696c 6573 5f66 6f75 ister: files_fou
│ │ │ +00246390: 6e64 0a20 2063 6861 6e67 6564 5f77 6865 nd. changed_whe
│ │ │ +002463a0: 6e3a 2066 616c 7365 0a20 2066 6169 6c65 n: false. faile
│ │ │ +002463b0: 645f 7768 656e 3a20 6661 6c73 650a 2020 d_when: false.
│ │ │ +002463c0: 6368 6563 6b5f 6d6f 6465 3a20 6661 6c73 check_mode: fals
│ │ │ +002463d0: 650a 2020 7768 656e 3a20 2722 6c69 6e75 e. when: '"linu
│ │ │ +002463e0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ +002463f0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ +00246400: 7327 0a20 2074 6167 733a 0a20 202d 204e s'. tags:. - N
│ │ │ +00246410: 4953 542d 3830 302d 3137 312d 332e 312e IST-800-171-3.1.
│ │ │ +00246420: 3133 0a20 202d 204e 4953 542d 3830 302d 13. - NIST-800-
│ │ │ +00246430: 3137 312d 332e 3133 2e31 300a 2020 2d20 171-3.13.10. -
│ │ │ +00246440: 4e49 5354 2d38 3030 2d35 332d 4143 2d31 NIST-800-53-AC-1
│ │ │ +00246450: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80
│ │ │ +00246460: 302d 3533 2d41 432d 3628 3129 0a20 202d 0-53-AC-6(1). -
│ │ │ +00246470: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +00246480: 3628 6129 0a20 202d 2050 4349 2d44 5353 6(a). - PCI-DSS
│ │ │ +00246490: 2d52 6571 2d32 2e32 2e34 0a20 202d 2050 -Req-2.2.4. - P
│ │ │ +002464a0: 4349 2d44 5353 7634 2d32 2e32 0a20 202d CI-DSSv4-2.2. -
│ │ │ +002464b0: 2050 4349 2d44 5353 7634 2d32 2e32 2e36 PCI-DSSv4-2.2.6
│ │ │ +002464c0: 0a20 202d 2063 6f6e 6669 6775 7265 5f73 . - configure_s
│ │ │ +002464d0: 7472 6174 6567 790a 2020 2d20 6669 6c65 trategy. - file
│ │ │ +002464e0: 5f70 6572 6d69 7373 696f 6e73 5f73 7368 _permissions_ssh
│ │ │ +002464f0: 645f 7075 625f 6b65 790a 2020 2d20 6c6f d_pub_key. - lo
│ │ │ +00246500: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +00246510: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +00246520: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +00246530: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +00246540: 745f 6e65 6564 6564 0a0a 2d20 6e61 6d65 t_needed..- name
│ │ │ +00246550: 3a20 5365 7420 7065 726d 6973 7369 6f6e : Set permission
│ │ │ +00246560: 7320 666f 7220 2f65 7463 2f73 7368 2f20 s for /etc/ssh/
│ │ │ +00246570: 6669 6c65 2873 290a 2020 616e 7369 626c file(s). ansibl
│ │ │ +00246580: 652e 6275 696c 7469 6e2e 6669 6c65 3a0a e.builtin.file:.
│ │ │ +00246590: 2020 2020 7061 7468 3a20 277b 7b20 6974 path: '{{ it
│ │ │ +002465a0: 656d 207d 7d27 0a20 2020 206d 6f64 653a em }}'. mode:
│ │ │ +002465b0: 2075 2d78 732c 672d 7877 732c 6f2d 7877 u-xs,g-xws,o-xw
│ │ │ +002465c0: 740a 2020 2020 7374 6174 653a 2066 696c t. state: fil
│ │ │ +002465d0: 650a 2020 7769 7468 5f69 7465 6d73 3a0a e. with_items:.
│ │ │ +002465e0: 2020 2d20 277b 7b20 6669 6c65 735f 666f - '{{ files_fo
│ │ │ +002465f0: 756e 642e 7374 646f 7574 5f6c 696e 6573 und.stdout_lines
│ │ │ +00246600: 207d 7d27 0a20 2077 6865 6e3a 2027 226c }}'. when: '"l
│ │ │ +00246610: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ +00246620: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +00246630: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ +00246640: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3
│ │ │ +00246650: 2e31 2e31 330a 2020 2d20 4e49 5354 2d38 .1.13. - NIST-8
│ │ │ +00246660: 3030 2d31 3731 2d33 2e31 332e 3130 0a20 00-171-3.13.10.
│ │ │ +00246670: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ +00246680: 432d 3137 2861 290a 2020 2d20 4e49 5354 C-17(a). - NIST
│ │ │ +00246690: 2d38 3030 2d35 332d 4143 2d36 2831 290a -800-53-AC-6(1).
│ │ │ +002466a0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +002466b0: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ +002466c0: 4453 532d 5265 712d 322e 322e 340a 2020 DSS-Req-2.2.4.
│ │ │ +002466d0: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2.
│ │ │ +002466e0: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ +002466f0: 322e 360a 2020 2d20 636f 6e66 6967 7572 2.6. - configur
│ │ │ +00246700: 655f 7374 7261 7465 6779 0a20 202d 2066 e_strategy. - f
│ │ │ +00246710: 696c 655f 7065 726d 6973 7369 6f6e 735f ile_permissions_
│ │ │ +00246720: 7373 6864 5f70 7562 5f6b 6579 0a20 202d sshd_pub_key. -
│ │ │ +00246730: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +00246740: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +00246750: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ +00246760: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ +00246770: 626f 6f74 5f6e 6565 6465 640a 3c2f 636f boot_needed.
<
│ │ │ +00246790: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +002467a0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +002467b0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +002467c0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +002467d0: 6438 3638 2220 7461 6269 6e64 6578 3d22 d868" tabindex="
│ │ │ +002467e0: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ +002467f0: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ +00246800: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ +00246810: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ +00246820: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ +00246830: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ +00246840: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...inc
│ │ │ +00246890: 6c75 6465 2073 7368 5f70 7562 6c69 635f lude ssh_public_
│ │ │ +002468a0: 6b65 795f 7065 726d 730a 0a63 6c61 7373 key_perms..class
│ │ │ +002468b0: 2073 7368 5f70 7562 6c69 635f 6b65 795f ssh_public_key_
│ │ │ +002468c0: 7065 726d 7320 7b0a 2020 6578 6563 207b perms {. exec {
│ │ │ +002468d0: 2027 7373 6864 5f70 7562 5f6b 6579 273a 'sshd_pub_key':
│ │ │ +002468e0: 0a20 2020 2063 6f6d 6d61 6e64 203d 2667 . command =&g
│ │ │ +002468f0: 743b 2022 6368 6d6f 6420 3036 3434 202f t; "chmod 0644 /
│ │ │ +00246900: 6574 632f 7373 682f 2a2e 7075 6222 2c0a etc/ssh/*.pub",.
│ │ │ +00246910: 2020 2020 7061 7468 2020 2020 3d26 6774 path =>
│ │ │ +00246920: 3b20 272f 6269 6e3a 2f75 7372 2f62 696e ; '/bin:/usr/bin
│ │ │ +00246930: 270a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c '. }.}.<
│ │ │ 00246940: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
│ │ │ -00248600: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ -00248610: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ -00248620: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -002486a0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -002486b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -002486d0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -002486e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -00248720: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ -00248730: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ -00248750: 696e 636c 7564 6520 7265 6d6f 7665 5f78 include remove_x
│ │ │ -00248760: 7365 7276 6572 2d78 6f72 670a 0a63 6c61 server-xorg..cla
│ │ │ -00248770: 7373 2072 656d 6f76 655f 7873 6572 7665 ss remove_xserve
│ │ │ -00248780: 722d 786f 7267 207b 0a20 2070 6163 6b61 r-xorg {. packa
│ │ │ -00248790: 6765 207b 2027 7873 6572 7665 722d 786f ge { 'xserver-xo
│ │ │ -002487a0: 7267 273a 0a20 2020 2065 6e73 7572 6520 rg':. ensure
│ │ │ -002487b0: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ -002487c0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Remediatio
│ │ │ -00248880: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ -00248890: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -00248910: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -00248920: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -00248930: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00248940: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -00248950: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -00248970: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -00248980: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00248990: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -002489b0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -002489c0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2752 - name: 'R
│ │ │ -002489d0: 656d 6f76 6520 7468 6520 5820 5769 6e64 emove the X Wind
│ │ │ -002489e0: 6f77 7320 5061 636b 6167 6520 4772 6f75 ows Package Grou
│ │ │ -002489f0: 703a 2045 6e73 7572 6520 7873 6572 7665 p: Ensure xserve
│ │ │ -00248a00: 722d 786f 7267 2069 7320 7265 6d6f 7665 r-xorg is remove
│ │ │ -00248a10: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -00248a20: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -00248a30: 2020 6e61 6d65 3a20 7873 6572 7665 722d name: xserver-
│ │ │ -00248a40: 786f 7267 0a20 2020 2073 7461 7465 3a20 xorg. state:
│ │ │ -00248a50: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ -00248a60: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -00248a70: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST-
│ │ │ -00248a80: 3830 302d 3533 2d43 4d2d 3728 6129 0a20 800-53-CM-7(a).
│ │ │ -00248a90: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -00248aa0: 4d2d 3728 6229 0a20 202d 2064 6973 6162 M-7(b). - disab
│ │ │ -00248ab0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -00248ac0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -00248ad0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -00248ae0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ -00248af0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ -00248b00: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -00248b10: 6163 6b61 6765 5f78 6f72 672d 7831 312d ackage_xorg-x11-
│ │ │ -00248b20: 7365 7276 6572 2d63 6f6d 6d6f 6e5f 7265 server-common_re
│ │ │ -00248b30: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.
Complexity: low Disrup
│ │ │ +002486d0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +002486e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +002486f0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +00248700: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +00248720: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ +00248730: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +00248750: 2d20 6e61 6d65 3a20 2752 656d 6f76 6520 - name: 'Remove
│ │ │ +00248760: 7468 6520 5820 5769 6e64 6f77 7320 5061 the X Windows Pa
│ │ │ +00248770: 636b 6167 6520 4772 6f75 703a 2045 6e73 ckage Group: Ens
│ │ │ +00248780: 7572 6520 7873 6572 7665 722d 786f 7267 ure xserver-xorg
│ │ │ +00248790: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ +002487a0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ +002487b0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ +002487c0: 3a20 7873 6572 7665 722d 786f 7267 0a20 : xserver-xorg.
│ │ │ +002487d0: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ +002487e0: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ +002487f0: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +00248800: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +00248810: 2d43 4d2d 3728 6129 0a20 202d 204e 4953 -CM-7(a). - NIS
│ │ │ +00248820: 542d 3830 302d 3533 2d43 4d2d 3728 6229 T-800-53-CM-7(b)
│ │ │ +00248830: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +00248840: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +00248850: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +00248860: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +00248870: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +00248880: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +00248890: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +002488a0: 5f78 6f72 672d 7831 312d 7365 7276 6572 _xorg-x11-server
│ │ │ +002488b0: 2d63 6f6d 6d6f 6e5f 7265 6d6f 7665 640a -common_removed.
│ │ │ +002488c0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +00248970: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +00248980: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +00248990: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +00248a10: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +00248a20: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +00248a40: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +00248a50: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +00248a90: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +00248aa0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ +00248ac0: 696e 636c 7564 6520 7265 6d6f 7665 5f78 include remove_x
│ │ │ +00248ad0: 7365 7276 6572 2d78 6f72 670a 0a63 6c61 server-xorg..cla
│ │ │ +00248ae0: 7373 2072 656d 6f76 655f 7873 6572 7665 ss remove_xserve
│ │ │ +00248af0: 722d 786f 7267 207b 0a20 2070 6163 6b61 r-xorg {. packa
│ │ │ +00248b00: 6765 207b 2027 7873 6572 7665 722d 786f ge { 'xserver-xo
│ │ │ +00248b10: 7267 273a 0a20 2020 2065 6e73 7572 6520 rg':. ensure
│ │ │ +00248b20: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ +00248b30: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Remedia
│ │ │ -004853b0: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu
│ │ │ -004853c0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet .
│ │ │ -004853d0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -00485410: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765 .[[package
│ │ │ -00485420: 735d 5d0a 6e61 6d65 203d 2022 6175 6469 s]].name = "audi
│ │ │ -00485430: 7464 220a 7665 7273 696f 6e20 3d20 222a td".version = "*
│ │ │ -00485440: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ".
<
│ │ │ -00485450: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation P
│ │ │ -00485500: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -00485510: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
│ │ │ -00485590: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -004855a0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -004855b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -004855c0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -00485600: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -00485610: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ -00485620: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ -00485630: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include instal
│ │ │ -00485650: 6c5f 6175 6469 7464 0a0a 636c 6173 7320 l_auditd..class
│ │ │ -00485660: 696e 7374 616c 6c5f 6175 6469 7464 207b install_auditd {
│ │ │ -00485670: 0a20 2070 6163 6b61 6765 207b 2027 6175 . package { 'au
│ │ │ -00485680: 6469 7464 273a 0a20 2020 2065 6e73 7572 ditd':. ensur
│ │ │ -00485690: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install
│ │ │ -004856a0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Reme
│ │ │ -00485760: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -00485770: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -00485780: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Co
│ │ │ -00485800: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -00485820: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -00485830: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -00485840: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00485850: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -00485860: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -00485870: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -00485880: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -00485890: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -004858b0: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ -004858c0: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ -004858d0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -004858e0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ -004858f0: 2020 7461 6773 3a0a 2020 2d20 4449 5341 tags:. - DISA
│ │ │ -00485900: 2d53 5449 472d 5542 5455 2d32 322d 3635 -STIG-UBTU-22-65
│ │ │ -00485910: 3330 3130 0a20 202d 204e 4953 542d 3830 3010. - NIST-80
│ │ │ -00485920: 302d 3533 2d41 432d 3728 6129 0a20 202d 0-53-AC-7(a). -
│ │ │ -00485930: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU-
│ │ │ -00485940: 3132 2832 290a 2020 2d20 4e49 5354 2d38 12(2). - NIST-8
│ │ │ -00485950: 3030 2d35 332d 4155 2d31 340a 2020 2d20 00-53-AU-14. -
│ │ │ -00485960: 4e49 5354 2d38 3030 2d35 332d 4155 2d32 NIST-800-53-AU-2
│ │ │ -00485970: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -00485980: 2d35 332d 4155 2d37 2831 290a 2020 2d20 -53-AU-7(1). -
│ │ │ -00485990: 4e49 5354 2d38 3030 2d35 332d 4155 2d37 NIST-800-53-AU-7
│ │ │ -004859a0: 2832 290a 2020 2d20 4e49 5354 2d38 3030 (2). - NIST-800
│ │ │ -004859b0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -004859c0: 5043 492d 4453 532d 5265 712d 3130 2e31 PCI-DSS-Req-10.1
│ │ │ -004859d0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ -004859e0: 302e 320a 2020 2d20 5043 492d 4453 5376 0.2. - PCI-DSSv
│ │ │ -004859f0: 342d 3130 2e32 2e31 0a20 202d 2065 6e61 4-10.2.1. - ena
│ │ │ -00485a00: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -00485a10: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -00485a20: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -00485a30: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -00485a40: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -00485a50: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -00485a60: 7061 636b 6167 655f 6175 6469 745f 696e package_audit_in
│ │ │ -00485a70: 7374 616c 6c65 640a 0a2d 206e 616d 653a stalled..- name:
│ │ │ -00485a80: 2045 6e73 7572 6520 6175 6469 7464 2069 Ensure auditd i
│ │ │ -00485a90: 7320 696e 7374 616c 6c65 640a 2020 616e s installed. an
│ │ │ -00485aa0: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ -00485ab0: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ -00485ac0: 2061 7564 6974 640a 2020 2020 7374 6174 auditd. stat
│ │ │ -00485ad0: 653a 2070 7265 7365 6e74 0a20 2077 6865 e: present. whe
│ │ │ -00485ae0: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ -00485af0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -00485b00: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ -00485b10: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI
│ │ │ -00485b20: 472d 5542 5455 2d32 322d 3635 3330 3130 G-UBTU-22-653010
│ │ │ -00485b30: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00485b40: 2d41 432d 3728 6129 0a20 202d 204e 4953 -AC-7(a). - NIS
│ │ │ -00485b50: 542d 3830 302d 3533 2d41 552d 3132 2832 T-800-53-AU-12(2
│ │ │ -00485b60: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -00485b70: 332d 4155 2d31 340a 2020 2d20 4e49 5354 3-AU-14. - NIST
│ │ │ -00485b80: 2d38 3030 2d35 332d 4155 2d32 2861 290a -800-53-AU-2(a).
│ │ │ -00485b90: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -00485ba0: 4155 2d37 2831 290a 2020 2d20 4e49 5354 AU-7(1). - NIST
│ │ │ -00485bb0: 2d38 3030 2d35 332d 4155 2d37 2832 290a -800-53-AU-7(2).
│ │ │ -00485bc0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -00485bd0: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ -00485be0: 4453 532d 5265 712d 3130 2e31 0a20 202d DSS-Req-10.1. -
│ │ │ -00485bf0: 2050 4349 2d44 5353 7634 2d31 302e 320a PCI-DSSv4-10.2.
│ │ │ -00485c00: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10
│ │ │ -00485c10: 2e32 2e31 0a20 202d 2065 6e61 626c 655f .2.1. - enable_
│ │ │ -00485c20: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -00485c30: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -00485c40: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -00485c50: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -00485c60: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -00485c70: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -00485c80: 6167 655f 6175 6469 745f 696e 7374 616c age_audit_instal
│ │ │ -00485c90: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
│ │ │ +004853d0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65 Compl
│ │ │ +00485450: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +00485460: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00485470: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +00485480: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00485490: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +004854a0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +004854b0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +004854c0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
- name:
│ │ │ +00485500: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ +00485510: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ +00485520: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ +00485530: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ +00485540: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ +00485550: 4947 2d55 4254 552d 3232 2d36 3533 3031 IG-UBTU-22-65301
│ │ │ +00485560: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +00485570: 332d 4143 2d37 2861 290a 2020 2d20 4e49 3-AC-7(a). - NI
│ │ │ +00485580: 5354 2d38 3030 2d35 332d 4155 2d31 3228 ST-800-53-AU-12(
│ │ │ +00485590: 3229 0a20 202d 204e 4953 542d 3830 302d 2). - NIST-800-
│ │ │ +004855a0: 3533 2d41 552d 3134 0a20 202d 204e 4953 53-AU-14. - NIS
│ │ │ +004855b0: 542d 3830 302d 3533 2d41 552d 3228 6129 T-800-53-AU-2(a)
│ │ │ +004855c0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +004855d0: 2d41 552d 3728 3129 0a20 202d 204e 4953 -AU-7(1). - NIS
│ │ │ +004855e0: 542d 3830 302d 3533 2d41 552d 3728 3229 T-800-53-AU-7(2)
│ │ │ +004855f0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +00485600: 2d43 4d2d 3628 6129 0a20 202d 2050 4349 -CM-6(a). - PCI
│ │ │ +00485610: 2d44 5353 2d52 6571 2d31 302e 310a 2020 -DSS-Req-10.1.
│ │ │ +00485620: 2d20 5043 492d 4453 5376 342d 3130 2e32 - PCI-DSSv4-10.2
│ │ │ +00485630: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ +00485640: 302e 322e 310a 2020 2d20 656e 6162 6c65 0.2.1. - enable
│ │ │ +00485650: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +00485660: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +00485670: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +00485680: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +00485690: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +004856a0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +004856b0: 6b61 6765 5f61 7564 6974 5f69 6e73 7461 kage_audit_insta
│ │ │ +004856c0: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e lled..- name: En
│ │ │ +004856d0: 7375 7265 2061 7564 6974 6420 6973 2069 sure auditd is i
│ │ │ +004856e0: 6e73 7461 6c6c 6564 0a20 2061 6e73 6962 nstalled. ansib
│ │ │ +004856f0: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +00485700: 6765 3a0a 2020 2020 6e61 6d65 3a20 6175 ge:. name: au
│ │ │ +00485710: 6469 7464 0a20 2020 2073 7461 7465 3a20 ditd. state:
│ │ │ +00485720: 7072 6573 656e 740a 2020 7768 656e 3a20 present. when:
│ │ │ +00485730: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in
│ │ │ +00485740: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +00485750: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ +00485760: 0a20 202d 2044 4953 412d 5354 4947 2d55 . - DISA-STIG-U
│ │ │ +00485770: 4254 552d 3232 2d36 3533 3031 300a 2020 BTU-22-653010.
│ │ │ +00485780: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ +00485790: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8
│ │ │ +004857a0: 3030 2d35 332d 4155 2d31 3228 3229 0a20 00-53-AU-12(2).
│ │ │ +004857b0: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ +004857c0: 552d 3134 0a20 202d 204e 4953 542d 3830 U-14. - NIST-80
│ │ │ +004857d0: 302d 3533 2d41 552d 3228 6129 0a20 202d 0-53-AU-2(a). -
│ │ │ +004857e0: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU-
│ │ │ +004857f0: 3728 3129 0a20 202d 204e 4953 542d 3830 7(1). - NIST-80
│ │ │ +00485800: 302d 3533 2d41 552d 3728 3229 0a20 202d 0-53-AU-7(2). -
│ │ │ +00485810: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +00485820: 3628 6129 0a20 202d 2050 4349 2d44 5353 6(a). - PCI-DSS
│ │ │ +00485830: 2d52 6571 2d31 302e 310a 2020 2d20 5043 -Req-10.1. - PC
│ │ │ +00485840: 492d 4453 5376 342d 3130 2e32 0a20 202d I-DSSv4-10.2. -
│ │ │ +00485850: 2050 4349 2d44 5353 7634 2d31 302e 322e PCI-DSSv4-10.2.
│ │ │ +00485860: 310a 2020 2d20 656e 6162 6c65 5f73 7472 1. - enable_str
│ │ │ +00485870: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +00485880: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +00485890: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +004858a0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +004858b0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +004858c0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +004858d0: 5f61 7564 6974 5f69 6e73 7461 6c6c 6564 _audit_installed
│ │ │ +004858e0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +004858f0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pu
│ │ │ +004859a0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ +004859b0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
<
│ │ │ +00485a30: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +00485a40: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +00485a50: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +00485a60: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +00485a70: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +00485aa0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +00485ab0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ +00485ac0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +00485ad0: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include install
│ │ │ +00485af0: 5f61 7564 6974 640a 0a63 6c61 7373 2069 _auditd..class i
│ │ │ +00485b00: 6e73 7461 6c6c 5f61 7564 6974 6420 7b0a nstall_auditd {.
│ │ │ +00485b10: 2020 7061 636b 6167 6520 7b20 2761 7564 package { 'aud
│ │ │ +00485b20: 6974 6427 3a0a 2020 2020 656e 7375 7265 itd':. ensure
│ │ │ +00485b30: 203d 2667 743b 2027 696e 7374 616c 6c65 => 'installe
│ │ │ +00485b40: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remed
│ │ │ +00485c00: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ +00485c10: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ +00485c20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[[packa
│ │ │ +00485c70: 6765 735d 5d0a 6e61 6d65 203d 2022 6175 ges]].name = "au
│ │ │ +00485c80: 6469 7464 220a 7665 7273 696f 6e20 3d20 ditd".version =
│ │ │ +00485c90: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*". Reme
│ │ │ -004879c0: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild
│ │ │ -004879d0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe
│ │ │ -004879e0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
.[custo
│ │ │ -00487a30: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic
│ │ │ -00487a40: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = ["
│ │ │ -00487a50: 6175 6469 7464 225d 0a3c 2f63 6f64 653e auditd"].
│ │ │ -00487a60: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063 Remedi
│ │ │ -00487b10: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -00487b20: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00487b30: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
Compl
│ │ │ -00487bb0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -00487bc0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00487bd0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -00487be0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -00487bf0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -00487c00: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -00487c10: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -00487c20: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
include
│ │ │ -00487c60: 2065 6e61 626c 655f 6175 6469 7464 0a0a enable_auditd..
│ │ │ -00487c70: 636c 6173 7320 656e 6162 6c65 5f61 7564 class enable_aud
│ │ │ -00487c80: 6974 6420 7b0a 2020 7365 7276 6963 6520 itd {. service
│ │ │ -00487c90: 7b27 6175 6469 7464 273a 0a20 2020 2065 {'auditd':. e
│ │ │ -00487ca0: 6e61 626c 6520 3d26 6774 3b20 7472 7565 nable => true
│ │ │ -00487cb0: 2c0a 2020 2020 656e 7375 7265 203d 2667 ,. ensure =&g
│ │ │ -00487cc0: 743b 2027 7275 6e6e 696e 6727 2c0a 2020 t; 'running',.
│ │ │ -00487cd0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediation
│ │ │ -00487d90: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ -00487da0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
<
│ │ │ -00487e20: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -00487e30: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -00487e40: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00487e50: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -00487e60: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -00487e80: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -00487e90: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00487ea0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -00487ed0: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ -00487ee0: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ -00487ef0: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ -00487f00: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ -00487f10: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ -00487f20: 0a20 202d 2043 4a49 532d 352e 342e 312e . - CJIS-5.4.1.
│ │ │ -00487f30: 310a 2020 2d20 4449 5341 2d53 5449 472d 1. - DISA-STIG-
│ │ │ -00487f40: 5542 5455 2d32 322d 3635 3330 3135 0a20 UBTU-22-653015.
│ │ │ -00487f50: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171-
│ │ │ -00487f60: 332e 332e 310a 2020 2d20 4e49 5354 2d38 3.3.1. - NIST-8
│ │ │ -00487f70: 3030 2d31 3731 2d33 2e33 2e32 0a20 202d 00-171-3.3.2. -
│ │ │ -00487f80: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ -00487f90: 332e 360a 2020 2d20 4e49 5354 2d38 3030 3.6. - NIST-800
│ │ │ -00487fa0: 2d35 332d 4143 2d32 2867 290a 2020 2d20 -53-AC-2(g). -
│ │ │ -00487fb0: 4e49 5354 2d38 3030 2d35 332d 4143 2d36 NIST-800-53-AC-6
│ │ │ -00487fc0: 2839 290a 2020 2d20 4e49 5354 2d38 3030 (9). - NIST-800
│ │ │ -00487fd0: 2d35 332d 4155 2d31 300a 2020 2d20 4e49 -53-AU-10. - NI
│ │ │ -00487fe0: 5354 2d38 3030 2d35 332d 4155 2d31 3228 ST-800-53-AU-12(
│ │ │ -00487ff0: 6329 0a20 202d 204e 4953 542d 3830 302d c). - NIST-800-
│ │ │ -00488000: 3533 2d41 552d 3134 2831 290a 2020 2d20 53-AU-14(1). -
│ │ │ -00488010: 4e49 5354 2d38 3030 2d35 332d 4155 2d32 NIST-800-53-AU-2
│ │ │ -00488020: 2864 290a 2020 2d20 4e49 5354 2d38 3030 (d). - NIST-800
│ │ │ -00488030: 2d35 332d 4155 2d33 0a20 202d 204e 4953 -53-AU-3. - NIS
│ │ │ -00488040: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ -00488050: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00488060: 2d53 492d 3428 3233 290a 2020 2d20 5043 -SI-4(23). - PC
│ │ │ -00488070: 492d 4453 532d 5265 712d 3130 2e31 0a20 I-DSS-Req-10.1.
│ │ │ -00488080: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10.
│ │ │ -00488090: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ -004880a0: 3130 2e32 2e31 0a20 202d 2065 6e61 626c 10.2.1. - enabl
│ │ │ -004880b0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -004880c0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -004880d0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -004880e0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -004880f0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -00488100: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ -00488110: 7276 6963 655f 6175 6469 7464 5f65 6e61 rvice_auditd_ena
│ │ │ -00488120: 626c 6564 0a0a 2d20 6e61 6d65 3a20 456e bled..- name: En
│ │ │ -00488130: 6162 6c65 2061 7564 6974 6420 5365 7276 able auditd Serv
│ │ │ -00488140: 6963 6520 2d20 456e 6162 6c65 2073 6572 ice - Enable ser
│ │ │ -00488150: 7669 6365 2061 7564 6974 640a 2020 626c vice auditd. bl
│ │ │ -00488160: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 ock:.. - name:
│ │ │ -00488170: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ -00488180: 6765 2066 6163 7473 0a20 2020 2061 6e73 ge facts. ans
│ │ │ -00488190: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ -004881a0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ -004881b0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ -004881c0: 0a20 202d 206e 616d 653a 2045 6e61 626c . - name: Enabl
│ │ │ -004881d0: 6520 6175 6469 7464 2053 6572 7669 6365 e auditd Service
│ │ │ -004881e0: 202d 2045 6e61 626c 6520 5365 7276 6963 - Enable Servic
│ │ │ -004881f0: 6520 6175 6469 7464 0a20 2020 2061 6e73 e auditd. ans
│ │ │ -00488200: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys
│ │ │ -00488210: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65 temd:. name
│ │ │ -00488220: 3a20 6175 6469 7464 0a20 2020 2020 2065 : auditd. e
│ │ │ -00488230: 6e61 626c 6564 3a20 7472 7565 0a20 2020 nabled: true.
│ │ │ -00488240: 2020 2073 7461 7465 3a20 7374 6172 7465 state: starte
│ │ │ -00488250: 640a 2020 2020 2020 6d61 736b 6564 3a20 d. masked:
│ │ │ -00488260: 6661 6c73 650a 2020 2020 7768 656e 3a0a false. when:.
│ │ │ -00488270: 2020 2020 2d20 2722 6175 6469 7464 2220 - '"auditd"
│ │ │ -00488280: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ -00488290: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag
│ │ │ -004882a0: 733a 0a20 202d 2043 4a49 532d 352e 342e s:. - CJIS-5.4.
│ │ │ -004882b0: 312e 310a 2020 2d20 4449 5341 2d53 5449 1.1. - DISA-STI
│ │ │ -004882c0: 472d 5542 5455 2d32 322d 3635 3330 3135 G-UBTU-22-653015
│ │ │ -004882d0: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17
│ │ │ -004882e0: 312d 332e 332e 310a 2020 2d20 4e49 5354 1-3.3.1. - NIST
│ │ │ -004882f0: 2d38 3030 2d31 3731 2d33 2e33 2e32 0a20 -800-171-3.3.2.
│ │ │ -00488300: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171-
│ │ │ -00488310: 332e 332e 360a 2020 2d20 4e49 5354 2d38 3.3.6. - NIST-8
│ │ │ -00488320: 3030 2d35 332d 4143 2d32 2867 290a 2020 00-53-AC-2(g).
│ │ │ -00488330: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ -00488340: 2d36 2839 290a 2020 2d20 4e49 5354 2d38 -6(9). - NIST-8
│ │ │ -00488350: 3030 2d35 332d 4155 2d31 300a 2020 2d20 00-53-AU-10. -
│ │ │ -00488360: 4e49 5354 2d38 3030 2d35 332d 4155 2d31 NIST-800-53-AU-1
│ │ │ -00488370: 3228 6329 0a20 202d 204e 4953 542d 3830 2(c). - NIST-80
│ │ │ -00488380: 302d 3533 2d41 552d 3134 2831 290a 2020 0-53-AU-14(1).
│ │ │ -00488390: 2d20 4e49 5354 2d38 3030 2d35 332d 4155 - NIST-800-53-AU
│ │ │ -004883a0: 2d32 2864 290a 2020 2d20 4e49 5354 2d38 -2(d). - NIST-8
│ │ │ -004883b0: 3030 2d35 332d 4155 2d33 0a20 202d 204e 00-53-AU-3. - N
│ │ │ -004883c0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ -004883d0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ -004883e0: 3533 2d53 492d 3428 3233 290a 2020 2d20 53-SI-4(23). -
│ │ │ -004883f0: 5043 492d 4453 532d 5265 712d 3130 2e31 PCI-DSS-Req-10.1
│ │ │ -00488400: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ -00488410: 302e 320a 2020 2d20 5043 492d 4453 5376 0.2. - PCI-DSSv
│ │ │ -00488420: 342d 3130 2e32 2e31 0a20 202d 2065 6e61 4-10.2.1. - ena
│ │ │ -00488430: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -00488440: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -00488450: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -00488460: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -00488470: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -00488480: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -00488490: 7365 7276 6963 655f 6175 6469 7464 5f65 service_auditd_e
│ │ │ -004884a0: 6e61 626c 6564 0a20 202d 2073 7065 6369 nabled. - speci
│ │ │ -004884b0: 616c 5f73 6572 7669 6365 5f62 6c6f 636b al_service_block
│ │ │ -004884c0: 0a20 2077 6865 6e3a 0a20 202d 2027 226c . when:. - '"l
│ │ │ -004884d0: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ -004884e0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ -004884f0: 6167 6573 270a 2020 2d20 2722 6175 6469 ages'. - '"audi
│ │ │ -00488500: 7464 2220 696e 2061 6e73 6962 6c65 5f66 td" in ansible_f
│ │ │ -00488510: 6163 7473 2e70 6163 6b61 6765 7327 0a3c acts.packages'.<
│ │ │ +004879c0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ +004879d0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +004879e0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Co
│ │ │ +00487a60: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +00487a80: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +00487a90: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +00487aa0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00487ab0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +00487ac0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +00487ad0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +00487ae0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +00487af0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +00487b10: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +00487b20: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ +00487b30: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ +00487b40: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +00487b50: 2020 7461 6773 3a0a 2020 2d20 434a 4953 tags:. - CJIS
│ │ │ +00487b60: 2d35 2e34 2e31 2e31 0a20 202d 2044 4953 -5.4.1.1. - DIS
│ │ │ +00487b70: 412d 5354 4947 2d55 4254 552d 3232 2d36 A-STIG-UBTU-22-6
│ │ │ +00487b80: 3533 3031 350a 2020 2d20 4e49 5354 2d38 53015. - NIST-8
│ │ │ +00487b90: 3030 2d31 3731 2d33 2e33 2e31 0a20 202d 00-171-3.3.1. -
│ │ │ +00487ba0: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ +00487bb0: 332e 320a 2020 2d20 4e49 5354 2d38 3030 3.2. - NIST-800
│ │ │ +00487bc0: 2d31 3731 2d33 2e33 2e36 0a20 202d 204e -171-3.3.6. - N
│ │ │ +00487bd0: 4953 542d 3830 302d 3533 2d41 432d 3228 IST-800-53-AC-2(
│ │ │ +00487be0: 6729 0a20 202d 204e 4953 542d 3830 302d g). - NIST-800-
│ │ │ +00487bf0: 3533 2d41 432d 3628 3929 0a20 202d 204e 53-AC-6(9). - N
│ │ │ +00487c00: 4953 542d 3830 302d 3533 2d41 552d 3130 IST-800-53-AU-10
│ │ │ +00487c10: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +00487c20: 2d41 552d 3132 2863 290a 2020 2d20 4e49 -AU-12(c). - NI
│ │ │ +00487c30: 5354 2d38 3030 2d35 332d 4155 2d31 3428 ST-800-53-AU-14(
│ │ │ +00487c40: 3129 0a20 202d 204e 4953 542d 3830 302d 1). - NIST-800-
│ │ │ +00487c50: 3533 2d41 552d 3228 6429 0a20 202d 204e 53-AU-2(d). - N
│ │ │ +00487c60: 4953 542d 3830 302d 3533 2d41 552d 330a IST-800-53-AU-3.
│ │ │ +00487c70: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +00487c80: 434d 2d36 2861 290a 2020 2d20 4e49 5354 CM-6(a). - NIST
│ │ │ +00487c90: 2d38 3030 2d35 332d 5349 2d34 2832 3329 -800-53-SI-4(23)
│ │ │ +00487ca0: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ +00487cb0: 2d31 302e 310a 2020 2d20 5043 492d 4453 -10.1. - PCI-DS
│ │ │ +00487cc0: 5376 342d 3130 2e32 0a20 202d 2050 4349 Sv4-10.2. - PCI
│ │ │ +00487cd0: 2d44 5353 7634 2d31 302e 322e 310a 2020 -DSSv4-10.2.1.
│ │ │ +00487ce0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ +00487cf0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +00487d00: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +00487d10: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ +00487d20: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ +00487d30: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +00487d40: 0a20 202d 2073 6572 7669 6365 5f61 7564 . - service_aud
│ │ │ +00487d50: 6974 645f 656e 6162 6c65 640a 0a2d 206e itd_enabled..- n
│ │ │ +00487d60: 616d 653a 2045 6e61 626c 6520 6175 6469 ame: Enable audi
│ │ │ +00487d70: 7464 2053 6572 7669 6365 202d 2045 6e61 td Service - Ena
│ │ │ +00487d80: 626c 6520 7365 7276 6963 6520 6175 6469 ble service audi
│ │ │ +00487d90: 7464 0a20 2062 6c6f 636b 3a0a 0a20 202d td. block:.. -
│ │ │ +00487da0: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ +00487db0: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ +00487dc0: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ +00487dd0: 7469 6e2e 7061 636b 6167 655f 6661 6374 tin.package_fact
│ │ │ +00487de0: 733a 0a20 2020 2020 206d 616e 6167 6572 s:. manager
│ │ │ +00487df0: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65 : auto.. - name
│ │ │ +00487e00: 3a20 456e 6162 6c65 2061 7564 6974 6420 : Enable auditd
│ │ │ +00487e10: 5365 7276 6963 6520 2d20 456e 6162 6c65 Service - Enable
│ │ │ +00487e20: 2053 6572 7669 6365 2061 7564 6974 640a Service auditd.
│ │ │ +00487e30: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ +00487e40: 7469 6e2e 7379 7374 656d 643a 0a20 2020 tin.systemd:.
│ │ │ +00487e50: 2020 206e 616d 653a 2061 7564 6974 640a name: auditd.
│ │ │ +00487e60: 2020 2020 2020 656e 6162 6c65 643a 2074 enabled: t
│ │ │ +00487e70: 7275 650a 2020 2020 2020 7374 6174 653a rue. state:
│ │ │ +00487e80: 2073 7461 7274 6564 0a20 2020 2020 206d started. m
│ │ │ +00487e90: 6173 6b65 643a 2066 616c 7365 0a20 2020 asked: false.
│ │ │ +00487ea0: 2077 6865 6e3a 0a20 2020 202d 2027 2261 when:. - '"a
│ │ │ +00487eb0: 7564 6974 6422 2069 6e20 616e 7369 626c uditd" in ansibl
│ │ │ +00487ec0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ +00487ed0: 270a 2020 7461 6773 3a0a 2020 2d20 434a '. tags:. - CJ
│ │ │ +00487ee0: 4953 2d35 2e34 2e31 2e31 0a20 202d 2044 IS-5.4.1.1. - D
│ │ │ +00487ef0: 4953 412d 5354 4947 2d55 4254 552d 3232 ISA-STIG-UBTU-22
│ │ │ +00487f00: 2d36 3533 3031 350a 2020 2d20 4e49 5354 -653015. - NIST
│ │ │ +00487f10: 2d38 3030 2d31 3731 2d33 2e33 2e31 0a20 -800-171-3.3.1.
│ │ │ +00487f20: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171-
│ │ │ +00487f30: 332e 332e 320a 2020 2d20 4e49 5354 2d38 3.3.2. - NIST-8
│ │ │ +00487f40: 3030 2d31 3731 2d33 2e33 2e36 0a20 202d 00-171-3.3.6. -
│ │ │ +00487f50: 204e 4953 542d 3830 302d 3533 2d41 432d NIST-800-53-AC-
│ │ │ +00487f60: 3228 6729 0a20 202d 204e 4953 542d 3830 2(g). - NIST-80
│ │ │ +00487f70: 302d 3533 2d41 432d 3628 3929 0a20 202d 0-53-AC-6(9). -
│ │ │ +00487f80: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU-
│ │ │ +00487f90: 3130 0a20 202d 204e 4953 542d 3830 302d 10. - NIST-800-
│ │ │ +00487fa0: 3533 2d41 552d 3132 2863 290a 2020 2d20 53-AU-12(c). -
│ │ │ +00487fb0: 4e49 5354 2d38 3030 2d35 332d 4155 2d31 NIST-800-53-AU-1
│ │ │ +00487fc0: 3428 3129 0a20 202d 204e 4953 542d 3830 4(1). - NIST-80
│ │ │ +00487fd0: 302d 3533 2d41 552d 3228 6429 0a20 202d 0-53-AU-2(d). -
│ │ │ +00487fe0: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU-
│ │ │ +00487ff0: 330a 2020 2d20 4e49 5354 2d38 3030 2d35 3. - NIST-800-5
│ │ │ +00488000: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI
│ │ │ +00488010: 5354 2d38 3030 2d35 332d 5349 2d34 2832 ST-800-53-SI-4(2
│ │ │ +00488020: 3329 0a20 202d 2050 4349 2d44 5353 2d52 3). - PCI-DSS-R
│ │ │ +00488030: 6571 2d31 302e 310a 2020 2d20 5043 492d eq-10.1. - PCI-
│ │ │ +00488040: 4453 5376 342d 3130 2e32 0a20 202d 2050 DSSv4-10.2. - P
│ │ │ +00488050: 4349 2d44 5353 7634 2d31 302e 322e 310a CI-DSSv4-10.2.1.
│ │ │ +00488060: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat
│ │ │ +00488070: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +00488080: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +00488090: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ +004880a0: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +004880b0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +004880c0: 6564 0a20 202d 2073 6572 7669 6365 5f61 ed. - service_a
│ │ │ +004880d0: 7564 6974 645f 656e 6162 6c65 640a 2020 uditd_enabled.
│ │ │ +004880e0: 2d20 7370 6563 6961 6c5f 7365 7276 6963 - special_servic
│ │ │ +004880f0: 655f 626c 6f63 6b0a 2020 7768 656e 3a0a e_block. when:.
│ │ │ +00488100: 2020 2d20 2722 6c69 6e75 782d 6261 7365 - '"linux-base
│ │ │ +00488110: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +00488120: 7473 2e70 6163 6b61 6765 7327 0a20 202d ts.packages'. -
│ │ │ +00488130: 2027 2261 7564 6974 6422 2069 6e20 616e '"auditd" in an
│ │ │ +00488140: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +00488150: 6167 6573 270a 3c2f 636f 6465 3e3c 2f70 ages'.
Remediati
│ │ │ +00488210: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +00488220: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
│ │ │ +004882a0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +004882b0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +004882c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +00488300: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +00488310: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +00488330: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +00488340: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +00488350: 3c63 6f64 653e 696e 636c 7564 6520 656e include en
│ │ │ +00488360: 6162 6c65 5f61 7564 6974 640a 0a63 6c61 able_auditd..cla
│ │ │ +00488370: 7373 2065 6e61 626c 655f 6175 6469 7464 ss enable_auditd
│ │ │ +00488380: 207b 0a20 2073 6572 7669 6365 207b 2761 {. service {'a
│ │ │ +00488390: 7564 6974 6427 3a0a 2020 2020 656e 6162 uditd':. enab
│ │ │ +004883a0: 6c65 203d 2667 743b 2074 7275 652c 0a20 le => true,.
│ │ │ +004883b0: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ +004883c0: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d 'running',. }.}
│ │ │ +004883d0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +004883e0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation OS
│ │ │ +00488490: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint
│ │ │ +004884a0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +004884b0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>.
│ │ │ +004884f0: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e [customizations.
│ │ │ +00488500: 7365 7276 6963 6573 5d0a 656e 6162 6c65 services].enable
│ │ │ +00488510: 6420 3d20 5b22 6175 6469 7464 225d 0a3c d = ["auditd"].<
│ │ │ 00488520: 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:
│ │ │ │ @@ -184,14 +167,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -812,27 +812,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:
│ │ │ │ @@ -866,14 +853,27 @@
│ │ │ │ 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 ]];
│ │ │ │ @@ -1877,27 +1877,14 @@
│ │ │ │ Rationale: system. A graphical environment is unnecessary for certain types of systems including a
│ │ │ │ virtualization hypervisor.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_gdm_removed
│ │ │ │ _n_i_s_t CM-7(a), CM-7(b), CM-6(a)
│ │ │ │ References: _o_s_-_s_r_g SRG-OS-000480-GPOS-00227
│ │ │ │ _c_i_s 1.8.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_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:
│ │ │ │ @@ -1924,14 +1911,27 @@
│ │ │ │ - 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}' 'gdm3' 2>/dev/null | grep -q '^installed$';
│ │ │ │ @@ -2031,31 +2031,14 @@
│ │ │ │ _i_s_m 1382, 1384, 1386
│ │ │ │ _n_i_s_t CM-6(a)
│ │ │ │ _o_s_p_p FMT_MOF_EXT.1
│ │ │ │ References: _o_s_-_s_r_g SRG-OS-000324-GPOS-00125
│ │ │ │ _a_n_s_s_i R33
│ │ │ │ _c_i_s 5.3.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 = "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:
│ │ │ │ @@ -2082,14 +2065,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -5926,31 +5926,14 @@
│ │ │ │ attacks on the system.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_pam_pwquality_installed
│ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00225
│ │ │ │ References: _c_i_s 5.4.1
│ │ │ │ _s_t_i_g_i_d UBTU-22-215010
│ │ │ │ _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:
│ │ │ │ @@ -5973,14 +5956,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}' 'libpam-runtime' 2>/dev/null | grep -
│ │ │ │ @@ -8211,31 +8211,14 @@
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_apparmor_installed
│ │ │ │ _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: _a_n_s_s_i R45
│ │ │ │ _c_i_s 1.6.1.1
│ │ │ │ _s_t_i_g_i_d UBTU-22-431010
│ │ │ │ _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
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -8246,14 +8229,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
│ │ │ │ @@ -8824,31 +8824,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:
│ │ │ │ @@ -8869,14 +8852,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -8895,31 +8895,14 @@
│ │ │ │ Rationale: determine cause of failure and any information necessary to return to operations with
│ │ │ │ least disruption to system processes.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_systemd-journald_enabled
│ │ │ │ _n_i_s_t SC-24
│ │ │ │ References: _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:
│ │ │ │ @@ -8954,14 +8937,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_systemd-journald_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -9691,31 +9691,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)
│ │ │ │ _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:
│ │ │ │ @@ -9738,14 +9721,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -9775,31 +9775,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
│ │ │ │ _c_i_s 4.2.2.2
│ │ │ │ _s_t_i_g_i_d UBTU-22-652010
│ │ │ │ _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:
│ │ │ │ @@ -9838,14 +9821,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_rsyslog_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -10343,31 +10343,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:
│ │ │ │ @@ -10392,14 +10375,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 ( ! (systemctl is-active nftables &>/dev/null) && ! (systemctl is-active ufw &>/dev/null) &&
│ │ │ │ @@ -10415,27 +10415,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:
│ │ │ │ @@ -10456,14 +10443,27 @@
│ │ │ │ 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}' 'ufw' 2>/dev/null | grep -q '^installed$';
│ │ │ │ @@ -15743,31 +15743,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:
│ │ │ │ @@ -15792,14 +15775,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 ( ! (systemctl is-active iptables &>/dev/null) && ! (systemctl is-active ufw &>/dev/null) &&
│ │ │ │ @@ -15816,31 +15816,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:
│ │ │ │ @@ -15874,14 +15857,31 @@
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_nftables_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: ( "nftables" in ansible_facts.packages and "linux-base" in ansible_facts.packages
│ │ │ │ )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'nftables' 2>/dev/null | grep -
│ │ │ │ @@ -16406,27 +16406,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, 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:
│ │ │ │ @@ -16447,14 +16434,27 @@
│ │ │ │ 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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -16478,31 +16478,14 @@
│ │ │ │ Rationale: The ufw service must be enabled and running in order for ufw to protect the system
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_ufw_enabled
│ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115
│ │ │ │ References: _c_i_s 3.5.1.3
│ │ │ │ _s_t_i_g_i_d UBTU-22-251020
│ │ │ │ _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:
│ │ │ │ @@ -16539,14 +16522,31 @@
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_ufw_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - ( "ufw" in ansible_facts.packages and "linux-base" in ansible_facts.packages )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -19514,50 +19514,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:
│ │ │ │ @@ -19618,14 +19582,50 @@
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_autofs_disabled
│ │ │ │ - special_service_block
│ │ │ │ when: ( "autofs" in ansible_facts.packages and "linux-base" in ansible_facts.packages
│ │ │ │ )
│ │ │ │ +_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}' 'autofs' 2>/dev/null | grep -
│ │ │ │ @@ -24685,50 +24685,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:
│ │ │ │ @@ -24778,14 +24742,50 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_apport_disabled
│ │ │ │ - special_service_block
│ │ │ │ - unknown_severity
│ │ │ │ when: '"apport" in ansible_facts.packages'
│ │ │ │ +_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}' 'apport' 2>/dev/null | grep -
│ │ │ │ @@ -24837,27 +24837,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.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: 'Uninstall avahi Server Package: Ensure avahi-daemon is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -24869,14 +24856,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -24905,50 +24905,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:
│ │ │ │ @@ -25010,14 +24974,50 @@
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_avahi-daemon_disabled
│ │ │ │ - special_service_block
│ │ │ │ when: ( "avahi-daemon" in ansible_facts.packages and "linux-base" in ansible_facts.packages
│ │ │ │ )
│ │ │ │ +_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}' 'avahi-daemon' 2>/dev/null | grep -
│ │ │ │ @@ -25805,31 +25805,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:
│ │ │ │ @@ -25864,14 +25847,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_cron_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -27712,27 +27712,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: 'Uninstall the nis package: Ensure nis is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27741,14 +27728,27 @@
│ │ │ │ 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
│ │ │ │ @@ -27790,27 +27790,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
│ │ │ │ _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.2.4
│ │ │ │ _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: 'Uninstall DHCP Server Package: Ensure isc-dhcp-server is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27824,14 +27811,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -27867,27 +27867,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.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: 'Uninstall bind Package: Ensure bind9 is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27899,14 +27886,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -27945,27 +27945,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: 'Uninstall vsftpd Package: Ensure vsftpd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27981,14 +27968,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -28028,27 +28028,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: 'Uninstall apache2 Package: Ensure apache2 is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28060,14 +28047,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -28096,27 +28096,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: 'Uninstall nginx Package: Ensure nginx is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28128,14 +28115,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -28156,27 +28156,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: 'Uninstall cyrus-imapd Package: Ensure cyrus-imapd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28185,14 +28172,27 @@
│ │ │ │ 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
│ │ │ │ @@ -28210,27 +28210,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: 'Uninstall dovecot Package: Ensure dovecot-core is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28239,14 +28226,27 @@
│ │ │ │ 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
│ │ │ │ @@ -28277,27 +28277,14 @@
│ │ │ │ command:
│ │ │ │ $ apt-get remove ldap-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 client is not installed: Ensure ldap-utils is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28306,14 +28293,27 @@
│ │ │ │ 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
│ │ │ │ @@ -28344,27 +28344,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.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: 'Uninstall openldap-servers Package: Ensure slapd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28376,14 +28363,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -28501,27 +28501,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:
│ │ │ │ @@ -28542,14 +28529,27 @@
│ │ │ │ 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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -28571,27 +28571,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: 'Uninstall nfs-kernel-server Package: Ensure nfs-kernel-server is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28600,14 +28587,27 @@
│ │ │ │ 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
│ │ │ │ @@ -28673,31 +28673,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
│ │ │ │ _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)
│ │ │ │ _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:
│ │ │ │ @@ -28722,14 +28705,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -28749,31 +28749,14 @@
│ │ │ │ Rationale: If chrony is in use on the system proper configuration is vital to ensuring time
│ │ │ │ synchronization is working properly.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_chronyd_enabled
│ │ │ │ _i_s_m 0988, 1405
│ │ │ │ References: _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:
│ │ │ │ @@ -28808,14 +28791,31 @@
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_chronyd_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - '"chrony" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -28851,31 +28851,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:
│ │ │ │ @@ -28920,14 +28903,31 @@
│ │ │ │ - low_disruption
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_ntp_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - '"ntp" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -28962,31 +28962,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:
│ │ │ │ @@ -29032,14 +29015,31 @@
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_timesyncd_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - ( not ( "chrony" in ansible_facts.packages ) and not ( "ntp" in ansible_facts.packages
│ │ │ │ ) )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -29212,27 +29212,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
│ │ │ │ _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.3.2
│ │ │ │ _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: 'Uninstall rsh Package: Ensure rsh-client is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29244,14 +29231,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -29318,27 +29318,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: _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.3.3
│ │ │ │ _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: 'Uninstall talk Package: Ensure talk is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29349,14 +29336,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -29381,27 +29381,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
│ │ │ │ _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.3.4
│ │ │ │ _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: 'Remove telnet Clients: Ensure telnet is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29413,14 +29400,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -29436,27 +29436,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: 'Uninstall rsync Package: Ensure rsync is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29465,14 +29452,27 @@
│ │ │ │ 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
│ │ │ │ @@ -29506,27 +29506,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: 'Uninstall CUPS Package: Ensure cups is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29538,14 +29525,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -29571,50 +29571,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:
│ │ │ │ @@ -29670,14 +29634,50 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_cups_disabled
│ │ │ │ - special_service_block
│ │ │ │ - unknown_severity
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -29717,27 +29717,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: 'Uninstall squid Package: Ensure squid is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29746,14 +29733,27 @@
│ │ │ │ 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
│ │ │ │ @@ -29779,27 +29779,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: 'Uninstall Samba Package: Ensure samba is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29808,14 +29795,27 @@
│ │ │ │ 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
│ │ │ │ @@ -29841,27 +29841,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: 'Uninstall net-snmp Package: Ensure snmp is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29872,14 +29859,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -33326,23 +33326,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
│ │ │ │ _a_n_s_s_i R50
│ │ │ │ _c_i_s 5.2.2
│ │ │ │ _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:
│ │ │ │ @@ -33406,14 +33397,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
│ │ │ │ @@ -33453,23 +33453,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
│ │ │ │ _a_n_s_s_i R50
│ │ │ │ _c_i_s 5.2.3
│ │ │ │ _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:
│ │ │ │ @@ -33533,14 +33524,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -33583,27 +33583,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: 'Remove the X Windows Package Group: Ensure xserver-xorg is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -33615,14 +33602,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -85557,31 +85557,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
│ │ │ │ _a_n_s_s_i R33, R73
│ │ │ │ _c_i_s 4.1.1.1
│ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2
│ │ │ │ _s_t_i_g_i_d UBTU-22-653010
│ │ │ │ _s_t_i_g_r_e_f SV-260590r1015022_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:
│ │ │ │ @@ -85624,14 +85607,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -85693,31 +85693,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
│ │ │ │ _a_n_s_s_i R33, R73
│ │ │ │ _c_i_s 4.1.1.2
│ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2
│ │ │ │ _s_t_i_g_i_d UBTU-22-653015
│ │ │ │ _s_t_i_g_r_e_f SV-260591r1015023_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:
│ │ │ │ @@ -85786,14 +85769,31 @@
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_auditd_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - '"auditd" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2204-guide-cis_level2_workstation.html
│ │ │ @@ -15131,137 +15131,137 @@
│ │ │ 0003b1a0: 612d 7461 7267 6574 3d22 2369 6438 2220 a-target="#id8"
│ │ │ 0003b1b0: 7461 6269 6e64 6578 3d22 3022 2072 6f6c tabindex="0" rol
│ │ │ 0003b1c0: 653d 2262 7574 746f 6e22 2061 7269 612d e="button" aria-
│ │ │ 0003b1d0: 6578 7061 6e64 6564 3d22 6661 6c73 6522 expanded="false"
│ │ │ 0003b1e0: 2074 6974 6c65 3d22 4163 7469 7661 7465 title="Activate
│ │ │ 0003b1f0: 2074 6f20 7265 7665 616c 2220 6872 6566 to reveal" href
│ │ │ 0003b200: 3d22 2321 223e 5265 6d65 6469 6174 696f ="#!">Remediatio
│ │ │ -0003b210: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr
│ │ │ -0003b220: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...<
│ │ │ -0003b230: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -0003b270: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61 .[[packages]].na
│ │ │ -0003b280: 6d65 203d 2022 6169 6465 220a 7665 7273 me = "aide".vers
│ │ │ -0003b290: 696f 6e20 3d20 222a 220a 3c2f 636f 6465 ion = "*".
Remediat
│ │ │ -0003b350: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -0003b360: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
Complexity
│ │ │ -0003b3f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -0003b410: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -0003b420: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0003b430: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -0003b440: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -0003b460: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include inst
│ │ │ -0003b4a0: 616c 6c5f 6169 6465 0a0a 636c 6173 7320 all_aide..class
│ │ │ -0003b4b0: 696e 7374 616c 6c5f 6169 6465 207b 0a20 install_aide {.
│ │ │ -0003b4c0: 2070 6163 6b61 6765 207b 2027 6169 6465 package { 'aide
│ │ │ -0003b4d0: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ -0003b4e0: 6774 3b20 2769 6e73 7461 6c6c 6564 272c gt; 'installed',
│ │ │ -0003b4f0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -0003b500: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediatio
│ │ │ -0003b5b0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ -0003b5c0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
Complexity
│ │ │ -0003b650: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -0003b670: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -0003b680: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0003b690: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -0003b6a0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -0003b6c0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
- name: Gath
│ │ │ -0003b700: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ -0003b710: 6163 7473 0a20 2070 6163 6b61 6765 5f66 acts. package_f
│ │ │ -0003b720: 6163 7473 3a0a 2020 2020 6d61 6e61 6765 acts:. manage
│ │ │ -0003b730: 723a 2061 7574 6f0a 2020 7461 6773 3a0a r: auto. tags:.
│ │ │ -0003b740: 2020 2d20 434a 4953 2d35 2e31 302e 312e - CJIS-5.10.1.
│ │ │ -0003b750: 330a 2020 2d20 4449 5341 2d53 5449 472d 3. - DISA-STIG-
│ │ │ -0003b760: 5542 5455 2d32 322d 3635 3130 3130 0a20 UBTU-22-651010.
│ │ │ -0003b770: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -0003b780: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ -0003b790: 5353 2d52 6571 2d31 312e 350a 2020 2d20 SS-Req-11.5. -
│ │ │ -0003b7a0: 5043 492d 4453 5376 342d 3131 2e35 2e32 PCI-DSSv4-11.5.2
│ │ │ -0003b7b0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ -0003b7c0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -0003b7d0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -0003b7e0: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ -0003b7f0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ -0003b800: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -0003b810: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ -0003b820: 6169 6465 5f69 6e73 7461 6c6c 6564 0a0a aide_installed..
│ │ │ -0003b830: 2d20 6e61 6d65 3a20 456e 7375 7265 2061 - name: Ensure a
│ │ │ -0003b840: 6964 6520 6973 2069 6e73 7461 6c6c 6564 ide is installed
│ │ │ -0003b850: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ -0003b860: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ -0003b870: 6e61 6d65 3a20 6169 6465 0a20 2020 2073 name: aide. s
│ │ │ -0003b880: 7461 7465 3a20 7072 6573 656e 740a 2020 tate: present.
│ │ │ -0003b890: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba
│ │ │ -0003b8a0: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ -0003b8b0: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ -0003b8c0: 2074 6167 733a 0a20 202d 2043 4a49 532d tags:. - CJIS-
│ │ │ -0003b8d0: 352e 3130 2e31 2e33 0a20 202d 2044 4953 5.10.1.3. - DIS
│ │ │ -0003b8e0: 412d 5354 4947 2d55 4254 552d 3232 2d36 A-STIG-UBTU-22-6
│ │ │ -0003b8f0: 3531 3031 300a 2020 2d20 4e49 5354 2d38 51010. - NIST-8
│ │ │ -0003b900: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ -0003b910: 2d20 5043 492d 4453 532d 5265 712d 3131 - PCI-DSS-Req-11
│ │ │ -0003b920: 2e35 0a20 202d 2050 4349 2d44 5353 7634 .5. - PCI-DSSv4
│ │ │ -0003b930: 2d31 312e 352e 320a 2020 2d20 656e 6162 -11.5.2. - enab
│ │ │ -0003b940: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -0003b950: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -0003b960: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -0003b970: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ -0003b980: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ -0003b990: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -0003b9a0: 6163 6b61 6765 5f61 6964 655f 696e 7374 ackage_aide_inst
│ │ │ -0003b9b0: 616c 6c65 640a 3c2f 636f 6465 3e3c 2f70 alled.
Complexity:
│ │ │ +0003b2b0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +0003b2d0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +0003b2f0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +0003b300: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +0003b320: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +0003b330: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +0003b340: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +0003b360: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +0003b370: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ +0003b380: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ +0003b390: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ +0003b3a0: 202d 2043 4a49 532d 352e 3130 2e31 2e33 - CJIS-5.10.1.3
│ │ │ +0003b3b0: 0a20 202d 2044 4953 412d 5354 4947 2d55 . - DISA-STIG-U
│ │ │ +0003b3c0: 4254 552d 3232 2d36 3531 3031 300a 2020 BTU-22-651010.
│ │ │ +0003b3d0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ +0003b3e0: 2d36 2861 290a 2020 2d20 5043 492d 4453 -6(a). - PCI-DS
│ │ │ +0003b3f0: 532d 5265 712d 3131 2e35 0a20 202d 2050 S-Req-11.5. - P
│ │ │ +0003b400: 4349 2d44 5353 7634 2d31 312e 352e 320a CI-DSSv4-11.5.2.
│ │ │ +0003b410: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat
│ │ │ +0003b420: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +0003b430: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +0003b440: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ +0003b450: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +0003b460: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +0003b470: 6564 0a20 202d 2070 6163 6b61 6765 5f61 ed. - package_a
│ │ │ +0003b480: 6964 655f 696e 7374 616c 6c65 640a 0a2d ide_installed..-
│ │ │ +0003b490: 206e 616d 653a 2045 6e73 7572 6520 6169 name: Ensure ai
│ │ │ +0003b4a0: 6465 2069 7320 696e 7374 616c 6c65 640a de is installed.
│ │ │ +0003b4b0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +0003b4c0: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ +0003b4d0: 616d 653a 2061 6964 650a 2020 2020 7374 ame: aide. st
│ │ │ +0003b4e0: 6174 653a 2070 7265 7365 6e74 0a20 2077 ate: present. w
│ │ │ +0003b4f0: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas
│ │ │ +0003b500: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ +0003b510: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ +0003b520: 7461 6773 3a0a 2020 2d20 434a 4953 2d35 tags:. - CJIS-5
│ │ │ +0003b530: 2e31 302e 312e 330a 2020 2d20 4449 5341 .10.1.3. - DISA
│ │ │ +0003b540: 2d53 5449 472d 5542 5455 2d32 322d 3635 -STIG-UBTU-22-65
│ │ │ +0003b550: 3130 3130 0a20 202d 204e 4953 542d 3830 1010. - NIST-80
│ │ │ +0003b560: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ +0003b570: 2050 4349 2d44 5353 2d52 6571 2d31 312e PCI-DSS-Req-11.
│ │ │ +0003b580: 350a 2020 2d20 5043 492d 4453 5376 342d 5. - PCI-DSSv4-
│ │ │ +0003b590: 3131 2e35 2e32 0a20 202d 2065 6e61 626c 11.5.2. - enabl
│ │ │ +0003b5a0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ +0003b5b0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ +0003b5c0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ +0003b5d0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ +0003b5e0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ +0003b5f0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ +0003b600: 636b 6167 655f 6169 6465 5f69 6e73 7461 ckage_aide_insta
│ │ │ +0003b610: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled.
Remediation P
│ │ │ +0003b6d0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ +0003b6e0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: low Disrup
│ │ │ +0003b790: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +0003b7a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +0003b7b0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +0003b7c0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +0003b7e0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +0003b7f0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ +0003b810: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f61 nclude install_a
│ │ │ +0003b820: 6964 650a 0a63 6c61 7373 2069 6e73 7461 ide..class insta
│ │ │ +0003b830: 6c6c 5f61 6964 6520 7b0a 2020 7061 636b ll_aide {. pack
│ │ │ +0003b840: 6167 6520 7b20 2761 6964 6527 3a0a 2020 age { 'aide':.
│ │ │ +0003b850: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +0003b860: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a installed',. }.
│ │ │ +0003b870: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ +0003b880: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation OSB
│ │ │ +0003b930: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ +0003b940: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ....[[p
│ │ │ +0003b990: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d ackages]].name =
│ │ │ +0003b9a0: 2022 6169 6465 220a 7665 7273 696f 6e20 "aide".version
│ │ │ +0003b9b0: 3d20 222a 220a 3c2f 636f 6465 3e3c 2f70 = "*".
Remed
│ │ │ -000435b0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -000435c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
│ │ │ -00043600: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -00043650: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -00043660: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00043670: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -00043680: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00043690: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -000436a0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -000436b0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -000436c0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ -00043700: 6520 7265 6d6f 7665 5f70 7265 6c69 6e6b e remove_prelink
│ │ │ -00043710: 0a0a 636c 6173 7320 7265 6d6f 7665 5f70 ..class remove_p
│ │ │ -00043720: 7265 6c69 6e6b 207b 0a20 2070 6163 6b61 relink {. packa
│ │ │ -00043730: 6765 207b 2027 7072 656c 696e 6b27 3a0a ge { 'prelink':.
│ │ │ -00043740: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ -00043750: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.}
│ │ │ -00043760: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ -00043770: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>
│ │ │ -00043810: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ -00043820: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ -00043830: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -000438b0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -000438c0: 3c74 643e 6d65 6469 756d 3c2f 7464 3e3c medium <
│ │ │ -000438d0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr>Disr
│ │ │ -000438e0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -000438f0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -00043920: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -00043930: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -00043940: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -00043950: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Check
│ │ │ -00043970: 4966 2050 7265 6c69 6e6b 6564 2049 7320 If Prelinked Is
│ │ │ -00043980: 496e 7374 616c 6c65 640a 2020 616e 7369 Installed. ansi
│ │ │ -00043990: 626c 652e 6275 696c 7469 6e2e 7374 6174 ble.builtin.stat
│ │ │ -000439a0: 3a0a 2020 2020 7061 7468 3a20 2f75 7372 :. path: /usr
│ │ │ -000439b0: 2f73 6269 6e2f 7072 656c 696e 6b0a 2020 /sbin/prelink.
│ │ │ -000439c0: 2020 6765 745f 6368 6563 6b73 756d 3a20 get_checksum:
│ │ │ -000439d0: 6661 6c73 650a 2020 7265 6769 7374 6572 false. register
│ │ │ -000439e0: 3a20 7072 656c 696e 6b0a 2020 7461 6773 : prelink. tags
│ │ │ -000439f0: 3a0a 2020 2d20 6469 7361 626c 655f 7374 :. - disable_st
│ │ │ -00043a00: 7261 7465 6779 0a20 202d 206c 6f77 5f64 rategy. - low_d
│ │ │ -00043a10: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ -00043a20: 6469 756d 5f63 6f6d 706c 6578 6974 790a dium_complexity.
│ │ │ -00043a30: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ -00043a40: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -00043a50: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ -00043a60: 6b61 6765 5f70 7265 6c69 6e6b 5f72 656d kage_prelink_rem
│ │ │ -00043a70: 6f76 6564 0a0a 2d20 6e61 6d65 3a20 5265 oved..- name: Re
│ │ │ -00043a80: 7374 6f72 6520 5072 656c 696e 6b65 6420 store Prelinked
│ │ │ -00043a90: 4269 6e61 7269 6573 0a20 2061 6e73 6962 Binaries. ansib
│ │ │ -00043aa0: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61 le.builtin.comma
│ │ │ -00043ab0: 6e64 3a0a 2020 2020 636d 643a 2070 7265 nd:. cmd: pre
│ │ │ -00043ac0: 6c69 6e6b 202d 7561 0a20 2077 6865 6e3a link -ua. when:
│ │ │ -00043ad0: 2070 7265 6c69 6e6b 2e73 7461 742e 6578 prelink.stat.ex
│ │ │ -00043ae0: 6973 7473 0a20 2074 6167 733a 0a20 202d ists. tags:. -
│ │ │ -00043af0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ -00043b00: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -00043b10: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -00043b20: 636f 6d70 6c65 7869 7479 0a20 202d 206d complexity. - m
│ │ │ -00043b30: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ -00043b40: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -00043b50: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ -00043b60: 7072 656c 696e 6b5f 7265 6d6f 7665 640a prelink_removed.
│ │ │ -00043b70: 0a2d 206e 616d 653a 2045 6e73 7572 6520 .- name: Ensure
│ │ │ -00043b80: 7072 656c 696e 6b20 6973 2052 656d 6f76 prelink is Remov
│ │ │ -00043b90: 6564 0a20 2061 6e73 6962 6c65 2e62 7569 ed. ansible.bui
│ │ │ -00043ba0: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -00043bb0: 2020 6e61 6d65 3a20 7072 656c 696e 6b0a name: prelink.
│ │ │ -00043bc0: 2020 2020 7374 6174 653a 2061 6273 656e state: absen
│ │ │ -00043bd0: 740a 2020 7461 6773 3a0a 2020 2d20 6469 t. tags:. - di
│ │ │ -00043be0: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ -00043bf0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -00043c00: 6e0a 2020 2d20 6d65 6469 756d 5f63 6f6d n. - medium_com
│ │ │ -00043c10: 706c 6578 6974 790a 2020 2d20 6d65 6469 plexity. - medi
│ │ │ -00043c20: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ -00043c30: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -00043c40: 0a20 202d 2070 6163 6b61 6765 5f70 7265 . - package_pre
│ │ │ -00043c50: 6c69 6e6b 5f72 656d 6f76 6564 0a3c 2f63 link_removed.Compl
│ │ │ +00043650: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6d exity: m
│ │ │ +00043660: 6564 6975 6d3c 2f74 643e 3c2f 7472 3e3c edium <
│ │ │ +00043670: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +00043680: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +00043690: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000436a0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +000436b0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +000436c0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +000436d0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +000436e0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +00043700: 616d 653a 2043 6865 636b 2049 6620 5072 ame: Check If Pr
│ │ │ +00043710: 656c 696e 6b65 6420 4973 2049 6e73 7461 elinked Is Insta
│ │ │ +00043720: 6c6c 6564 0a20 2061 6e73 6962 6c65 2e62 lled. ansible.b
│ │ │ +00043730: 7569 6c74 696e 2e73 7461 743a 0a20 2020 uiltin.stat:.
│ │ │ +00043740: 2070 6174 683a 202f 7573 722f 7362 696e path: /usr/sbin
│ │ │ +00043750: 2f70 7265 6c69 6e6b 0a20 2020 2067 6574 /prelink. get
│ │ │ +00043760: 5f63 6865 636b 7375 6d3a 2066 616c 7365 _checksum: false
│ │ │ +00043770: 0a20 2072 6567 6973 7465 723a 2070 7265 . register: pre
│ │ │ +00043780: 6c69 6e6b 0a20 2074 6167 733a 0a20 202d link. tags:. -
│ │ │ +00043790: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ +000437a0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +000437b0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ +000437c0: 636f 6d70 6c65 7869 7479 0a20 202d 206d complexity. - m
│ │ │ +000437d0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +000437e0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +000437f0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ +00043800: 7072 656c 696e 6b5f 7265 6d6f 7665 640a prelink_removed.
│ │ │ +00043810: 0a2d 206e 616d 653a 2052 6573 746f 7265 .- name: Restore
│ │ │ +00043820: 2050 7265 6c69 6e6b 6564 2042 696e 6172 Prelinked Binar
│ │ │ +00043830: 6965 730a 2020 616e 7369 626c 652e 6275 ies. ansible.bu
│ │ │ +00043840: 696c 7469 6e2e 636f 6d6d 616e 643a 0a20 iltin.command:.
│ │ │ +00043850: 2020 2063 6d64 3a20 7072 656c 696e 6b20 cmd: prelink
│ │ │ +00043860: 2d75 610a 2020 7768 656e 3a20 7072 656c -ua. when: prel
│ │ │ +00043870: 696e 6b2e 7374 6174 2e65 7869 7374 730a ink.stat.exists.
│ │ │ +00043880: 2020 7461 6773 3a0a 2020 2d20 6469 7361 tags:. - disa
│ │ │ +00043890: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +000438a0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +000438b0: 2020 2d20 6d65 6469 756d 5f63 6f6d 706c - medium_compl
│ │ │ +000438c0: 6578 6974 790a 2020 2d20 6d65 6469 756d exity. - medium
│ │ │ +000438d0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +000438e0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +000438f0: 202d 2070 6163 6b61 6765 5f70 7265 6c69 - package_preli
│ │ │ +00043900: 6e6b 5f72 656d 6f76 6564 0a0a 2d20 6e61 nk_removed..- na
│ │ │ +00043910: 6d65 3a20 456e 7375 7265 2070 7265 6c69 me: Ensure preli
│ │ │ +00043920: 6e6b 2069 7320 5265 6d6f 7665 640a 2020 nk is Removed.
│ │ │ +00043930: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +00043940: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +00043950: 653a 2070 7265 6c69 6e6b 0a20 2020 2073 e: prelink. s
│ │ │ +00043960: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ +00043970: 6167 733a 0a20 202d 2064 6973 6162 6c65 ags:. - disable
│ │ │ +00043980: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +00043990: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +000439a0: 206d 6564 6975 6d5f 636f 6d70 6c65 7869 medium_complexi
│ │ │ +000439b0: 7479 0a20 202d 206d 6564 6975 6d5f 7365 ty. - medium_se
│ │ │ +000439c0: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ +000439d0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +000439e0: 7061 636b 6167 655f 7072 656c 696e 6b5f package_prelink_
│ │ │ +000439f0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c removed.<
│ │ │ +00043a00: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediati
│ │ │ +00043ab0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +00043ac0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
Complexity
│ │ │ +00043b50: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +00043b70: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +00043b80: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +00043b90: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +00043ba0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +00043bc0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +00043bf0: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ +00043c00: 6d6f 7665 5f70 7265 6c69 6e6b 0a0a 636c move_prelink..cl
│ │ │ +00043c10: 6173 7320 7265 6d6f 7665 5f70 7265 6c69 ass remove_preli
│ │ │ +00043c20: 6e6b 207b 0a20 2070 6163 6b61 6765 207b nk {. package {
│ │ │ +00043c30: 2027 7072 656c 696e 6b27 3a0a 2020 2020 'prelink':.
│ │ │ +00043c40: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ +00043c50: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ 00043c70: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediatio
│ │ │ -000599d0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr
│ │ │ -000599e0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...<
│ │ │ -000599f0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[[packages]].n
│ │ │ -00059a40: 616d 6520 3d20 2273 7564 6f22 0a76 6572 ame = "sudo".ver
│ │ │ -00059a50: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64 sion = "*".
Remedi
│ │ │ -00059b10: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -00059b20: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00059b30: 3c64 6976 2063 6c61 7373 3d22 7061 6e65 <
│ │ │ -00059b60: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -00059b70: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -00059b80: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -00059b90: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -00059ba0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -00059bb0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -00059bc0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -00059bf0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -00059c00: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -00059c10: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -00059c30: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable <
│ │ │ -00059c40: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include i
│ │ │ -00059c60: 6e73 7461 6c6c 5f73 7564 6f0a 0a63 6c61 nstall_sudo..cla
│ │ │ -00059c70: 7373 2069 6e73 7461 6c6c 5f73 7564 6f20 ss install_sudo
│ │ │ -00059c80: 7b0a 2020 7061 636b 6167 6520 7b20 2773 {. package { 's
│ │ │ -00059c90: 7564 6f27 3a0a 2020 2020 656e 7375 7265 udo':. ensure
│ │ │ -00059ca0: 203d 2667 743b 2027 696e 7374 616c 6c65 => 'installe
│ │ │ -00059cb0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remedia
│ │ │ -00059d70: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -00059d80: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00059d90: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
<
│ │ │ -00059dc0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -00059dd0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -00059de0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -00059df0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -00059e00: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -00059e10: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -00059e20: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -00059e50: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -00059e60: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -00059e70: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -00059e90: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable <
│ │ │ -00059ea0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -00059ec0: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ -00059ed0: 6520 6661 6374 730a 2020 7061 636b 6167 e facts. packag
│ │ │ -00059ee0: 655f 6661 6374 733a 0a20 2020 206d 616e e_facts:. man
│ │ │ -00059ef0: 6167 6572 3a20 6175 746f 0a20 2074 6167 ager: auto. tag
│ │ │ -00059f00: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ -00059f10: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ -00059f20: 4349 2d44 5353 7634 2d32 2e32 0a20 202d CI-DSSv4-2.2. -
│ │ │ -00059f30: 2050 4349 2d44 5353 7634 2d32 2e32 2e36 PCI-DSSv4-2.2.6
│ │ │ -00059f40: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ -00059f50: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -00059f60: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -00059f70: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ -00059f80: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ -00059f90: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -00059fa0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ -00059fb0: 7375 646f 5f69 6e73 7461 6c6c 6564 0a0a sudo_installed..
│ │ │ -00059fc0: 2d20 6e61 6d65 3a20 456e 7375 7265 2073 - name: Ensure s
│ │ │ -00059fd0: 7564 6f20 6973 2069 6e73 7461 6c6c 6564 udo is installed
│ │ │ -00059fe0: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ -00059ff0: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ -0005a000: 6e61 6d65 3a20 7375 646f 0a20 2020 2073 name: sudo. s
│ │ │ -0005a010: 7461 7465 3a20 7072 6573 656e 740a 2020 tate: present.
│ │ │ -0005a020: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba
│ │ │ -0005a030: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ -0005a040: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ -0005a050: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ -0005a060: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ -0005a070: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ -0005a080: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ -0005a090: 2e32 2e36 0a20 202d 2065 6e61 626c 655f .2.6. - enable_
│ │ │ -0005a0a0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -0005a0b0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -0005a0c0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -0005a0d0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -0005a0e0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -0005a0f0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -0005a100: 6167 655f 7375 646f 5f69 6e73 7461 6c6c age_sudo_install
│ │ │ -0005a110: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +000599d0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ +000599e0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
Complexity
│ │ │ +00059a70: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +00059a90: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +00059aa0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +00059ab0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +00059ac0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +00059ae0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
- name: Gath
│ │ │ +00059b20: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ +00059b30: 6163 7473 0a20 2070 6163 6b61 6765 5f66 acts. package_f
│ │ │ +00059b40: 6163 7473 3a0a 2020 2020 6d61 6e61 6765 acts:. manage
│ │ │ +00059b50: 723a 2061 7574 6f0a 2020 7461 6773 3a0a r: auto. tags:.
│ │ │ +00059b60: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +00059b70: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ +00059b80: 4453 5376 342d 322e 320a 2020 2d20 5043 DSSv4-2.2. - PC
│ │ │ +00059b90: 492d 4453 5376 342d 322e 322e 360a 2020 I-DSSv4-2.2.6.
│ │ │ +00059ba0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ +00059bb0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +00059bc0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +00059bd0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ +00059be0: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ +00059bf0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +00059c00: 0a20 202d 2070 6163 6b61 6765 5f73 7564 . - package_sud
│ │ │ +00059c10: 6f5f 696e 7374 616c 6c65 640a 0a2d 206e o_installed..- n
│ │ │ +00059c20: 616d 653a 2045 6e73 7572 6520 7375 646f ame: Ensure sudo
│ │ │ +00059c30: 2069 7320 696e 7374 616c 6c65 640a 2020 is installed.
│ │ │ +00059c40: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +00059c50: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +00059c60: 653a 2073 7564 6f0a 2020 2020 7374 6174 e: sudo. stat
│ │ │ +00059c70: 653a 2070 7265 7365 6e74 0a20 2077 6865 e: present. whe
│ │ │ +00059c80: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ +00059c90: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +00059ca0: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ +00059cb0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ +00059cc0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ +00059cd0: 5043 492d 4453 5376 342d 322e 320a 2020 PCI-DSSv4-2.2.
│ │ │ +00059ce0: 2d20 5043 492d 4453 5376 342d 322e 322e - PCI-DSSv4-2.2.
│ │ │ +00059cf0: 360a 2020 2d20 656e 6162 6c65 5f73 7472 6. - enable_str
│ │ │ +00059d00: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +00059d10: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +00059d20: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +00059d30: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +00059d40: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +00059d50: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +00059d60: 5f73 7564 6f5f 696e 7374 616c 6c65 640a _sudo_installed.
│ │ │ +00059d70: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
R
│ │ │ +00059e20: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +00059e30: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
Co
│ │ │ +00059ec0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +00059ee0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +00059ef0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +00059f00: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00059f10: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +00059f20: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +00059f30: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +00059f40: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +00059f50: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ +00059f70: 7564 6520 696e 7374 616c 6c5f 7375 646f ude install_sudo
│ │ │ +00059f80: 0a0a 636c 6173 7320 696e 7374 616c 6c5f ..class install_
│ │ │ +00059f90: 7375 646f 207b 0a20 2070 6163 6b61 6765 sudo {. package
│ │ │ +00059fa0: 207b 2027 7375 646f 273a 0a20 2020 2065 { 'sudo':. e
│ │ │ +00059fb0: 6e73 7572 6520 3d26 6774 3b20 2769 6e73 nsure => 'ins
│ │ │ +00059fc0: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c talled',. }.}.<
│ │ │ +00059fd0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Re
│ │ │ +0005a080: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ +0005a090: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ +0005a0a0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +0005a0b0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +0005a0c0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +0005a0d0: 7365 2220 6964 3d22 6964 3530 223e 3c70 se" id="id50">.[[pack
│ │ │ +0005a0f0: 6167 6573 5d5d 0a6e 616d 6520 3d20 2273 ages]].name = "s
│ │ │ +0005a100: 7564 6f22 0a76 6572 7369 6f6e 203d 2022 udo".version = "
│ │ │ +0005a110: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".
│ │ │ 0005a120: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediatio
│ │ │ -00096860: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr
│ │ │ -00096870: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...<
│ │ │ -00096880: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[[packages]].
│ │ │ -000968d0: 6e61 6d65 203d 2022 6c69 6270 616d 2d70 name = "libpam-p
│ │ │ -000968e0: 7771 7561 6c69 7479 220a 7665 7273 696f wquality".versio
│ │ │ -000968f0: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c n = "*".<
│ │ │ -00096900: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ -000969b0: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -000969c0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -00096a40: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -00096a50: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -00096a60: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -00096aa0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -00096ab0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -00096ad0: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -00096ae0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -00096af0: 3c63 6f64 653e 696e 636c 7564 6520 696e include in
│ │ │ -00096b00: 7374 616c 6c5f 6c69 6270 616d 2d70 7771 stall_libpam-pwq
│ │ │ -00096b10: 7561 6c69 7479 0a0a 636c 6173 7320 696e uality..class in
│ │ │ -00096b20: 7374 616c 6c5f 6c69 6270 616d 2d70 7771 stall_libpam-pwq
│ │ │ -00096b30: 7561 6c69 7479 207b 0a20 2070 6163 6b61 uality {. packa
│ │ │ -00096b40: 6765 207b 2027 6c69 6270 616d 2d70 7771 ge { 'libpam-pwq
│ │ │ -00096b50: 7561 6c69 7479 273a 0a20 2020 2065 6e73 uality':. ens
│ │ │ -00096b60: 7572 6520 3d26 6774 3b20 2769 6e73 7461 ure => 'insta
│ │ │ -00096b70: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63 lled',. }.}.
│ │ │ -00096b90: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -00096c30: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -00096c40: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -00096c50: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -00096cd0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -00096cf0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -00096d00: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -00096d10: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00096d20: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -00096d30: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -00096d40: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -00096d50: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -00096d60: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -00096d80: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ -00096d90: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ -00096da0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -00096db0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ -00096dc0: 2020 7461 6773 3a0a 2020 2d20 4449 5341 tags:. - DISA
│ │ │ -00096dd0: 2d53 5449 472d 5542 5455 2d32 322d 3231 -STIG-UBTU-22-21
│ │ │ -00096de0: 3530 3130 0a20 202d 2065 6e61 626c 655f 5010. - enable_
│ │ │ -00096df0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -00096e00: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -00096e10: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -00096e20: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -00096e30: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -00096e40: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -00096e50: 6167 655f 7061 6d5f 7077 7175 616c 6974 age_pam_pwqualit
│ │ │ -00096e60: 795f 696e 7374 616c 6c65 640a 0a2d 206e y_installed..- n
│ │ │ -00096e70: 616d 653a 2045 6e73 7572 6520 6c69 6270 ame: Ensure libp
│ │ │ -00096e80: 616d 2d70 7771 7561 6c69 7479 2069 7320 am-pwquality is
│ │ │ -00096e90: 696e 7374 616c 6c65 640a 2020 616e 7369 installed. ansi
│ │ │ -00096ea0: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ -00096eb0: 6167 653a 0a20 2020 206e 616d 653a 206c age:. name: l
│ │ │ -00096ec0: 6962 7061 6d2d 7077 7175 616c 6974 790a ibpam-pwquality.
│ │ │ -00096ed0: 2020 2020 7374 6174 653a 2070 7265 7365 state: prese
│ │ │ -00096ee0: 6e74 0a20 2077 6865 6e3a 2027 226c 6962 nt. when: '"lib
│ │ │ -00096ef0: 7061 6d2d 7275 6e74 696d 6522 2069 6e20 pam-runtime" in
│ │ │ -00096f00: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -00096f10: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:.
│ │ │ -00096f20: 2020 2d20 4449 5341 2d53 5449 472d 5542 - DISA-STIG-UB
│ │ │ -00096f30: 5455 2d32 322d 3231 3530 3130 0a20 202d TU-22-215010. -
│ │ │ -00096f40: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -00096f50: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -00096f60: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -00096f70: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -00096f80: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -00096f90: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -00096fa0: 2020 2d20 7061 636b 6167 655f 7061 6d5f - package_pam_
│ │ │ -00096fb0: 7077 7175 616c 6974 795f 696e 7374 616c pwquality_instal
│ │ │ -00096fc0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
<
│ │ │ +000968f0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +00096900: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +00096910: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00096920: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +00096930: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +00096950: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +00096960: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00096970: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +000969a0: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ +000969b0: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ +000969c0: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ +000969d0: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ +000969e0: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ +000969f0: 0a20 202d 2044 4953 412d 5354 4947 2d55 . - DISA-STIG-U
│ │ │ +00096a00: 4254 552d 3232 2d32 3135 3031 300a 2020 BTU-22-215010.
│ │ │ +00096a10: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ +00096a20: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +00096a30: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +00096a40: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ +00096a50: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ +00096a60: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +00096a70: 0a20 202d 2070 6163 6b61 6765 5f70 616d . - package_pam
│ │ │ +00096a80: 5f70 7771 7561 6c69 7479 5f69 6e73 7461 _pwquality_insta
│ │ │ +00096a90: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e lled..- name: En
│ │ │ +00096aa0: 7375 7265 206c 6962 7061 6d2d 7077 7175 sure libpam-pwqu
│ │ │ +00096ab0: 616c 6974 7920 6973 2069 6e73 7461 6c6c ality is install
│ │ │ +00096ac0: 6564 0a20 2061 6e73 6962 6c65 2e62 7569 ed. ansible.bui
│ │ │ +00096ad0: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ +00096ae0: 2020 6e61 6d65 3a20 6c69 6270 616d 2d70 name: libpam-p
│ │ │ +00096af0: 7771 7561 6c69 7479 0a20 2020 2073 7461 wquality. sta
│ │ │ +00096b00: 7465 3a20 7072 6573 656e 740a 2020 7768 te: present. wh
│ │ │ +00096b10: 656e 3a20 2722 6c69 6270 616d 2d72 756e en: '"libpam-run
│ │ │ +00096b20: 7469 6d65 2220 696e 2061 6e73 6962 6c65 time" in ansible
│ │ │ +00096b30: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +00096b40: 0a20 2074 6167 733a 0a20 202d 2044 4953 . tags:. - DIS
│ │ │ +00096b50: 412d 5354 4947 2d55 4254 552d 3232 2d32 A-STIG-UBTU-22-2
│ │ │ +00096b60: 3135 3031 300a 2020 2d20 656e 6162 6c65 15010. - enable
│ │ │ +00096b70: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +00096b80: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +00096b90: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +00096ba0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +00096bb0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +00096bc0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +00096bd0: 6b61 6765 5f70 616d 5f70 7771 7561 6c69 kage_pam_pwquali
│ │ │ +00096be0: 7479 5f69 6e73 7461 6c6c 6564 0a3c 2f63 ty_installed.
│ │ │ +00096c00: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +00096ca0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +00096cb0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +00096cc0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +00096d40: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +00096d70: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +00096d90: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +00096da0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +00096dc0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ +00096dd0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +00096de0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ +00096df0: 6465 2069 6e73 7461 6c6c 5f6c 6962 7061 de install_libpa
│ │ │ +00096e00: 6d2d 7077 7175 616c 6974 790a 0a63 6c61 m-pwquality..cla
│ │ │ +00096e10: 7373 2069 6e73 7461 6c6c 5f6c 6962 7061 ss install_libpa
│ │ │ +00096e20: 6d2d 7077 7175 616c 6974 7920 7b0a 2020 m-pwquality {.
│ │ │ +00096e30: 7061 636b 6167 6520 7b20 276c 6962 7061 package { 'libpa
│ │ │ +00096e40: 6d2d 7077 7175 616c 6974 7927 3a0a 2020 m-pwquality':.
│ │ │ +00096e50: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +00096e60: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a installed',. }.
│ │ │ +00096e70: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ +00096e80: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation OS
│ │ │ +00096f30: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint
│ │ │ +00096f40: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +00096f50: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>.[
│ │ │ +00096f90: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65 [packages]].name
│ │ │ +00096fa0: 203d 2022 6c69 6270 616d 2d70 7771 7561 = "libpam-pwqua
│ │ │ +00096fb0: 6c69 7479 220a 7665 7273 696f 6e20 3d20 lity".version =
│ │ │ +00096fc0: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".
Rem
│ │ │ -000c6c50: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ -000c6c60: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ -000c6c70: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[[pack
│ │ │ -000c6cc0: 6167 6573 5d5d 0a6e 616d 6520 3d20 2261 ages]].name = "a
│ │ │ -000c6cd0: 7070 6172 6d6f 7222 0a76 6572 7369 6f6e pparmor".version
│ │ │ -000c6ce0: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f = "*".
│ │ │ -000c6cf0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ -000c6da0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -000c6db0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -000c6e30: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -000c6e40: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -000c6e50: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000c6e60: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -000c6e70: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -000c6e90: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -000c6ea0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000c6eb0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -000c6ee0: 636f 6465 3e69 6e63 6c75 6465 2069 6e73 code>include ins
│ │ │ -000c6ef0: 7461 6c6c 5f61 7070 6172 6d6f 720a 0a63 tall_apparmor..c
│ │ │ -000c6f00: 6c61 7373 2069 6e73 7461 6c6c 5f61 7070 lass install_app
│ │ │ -000c6f10: 6172 6d6f 7220 7b0a 2020 7061 636b 6167 armor {. packag
│ │ │ -000c6f20: 6520 7b20 2761 7070 6172 6d6f 7227 3a0a e { 'apparmor':.
│ │ │ -000c6f30: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ -000c6f40: 2027 696e 7374 616c 6c65 6427 2c0a 2020 'installed',.
│ │ │ -000c6f50: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.Remediation
│ │ │ -000c7010: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -000c7020: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -000c70b0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -000c70d0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -000c70f0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -000c7100: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -000c7120: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -000c7130: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -000c7140: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Ensur
│ │ │ -000c7160: 6520 6170 7061 726d 6f72 2069 7320 696e e apparmor is in
│ │ │ -000c7170: 7374 616c 6c65 640a 2020 616e 7369 626c stalled. ansibl
│ │ │ -000c7180: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ -000c7190: 653a 0a20 2020 206e 616d 653a 2061 7070 e:. name: app
│ │ │ -000c71a0: 6172 6d6f 720a 2020 2020 7374 6174 653a armor. state:
│ │ │ -000c71b0: 2070 7265 7365 6e74 0a20 2077 6865 6e3a present. when:
│ │ │ -000c71c0: 2061 6e73 6962 6c65 5f76 6972 7475 616c ansible_virtual
│ │ │ -000c71d0: 697a 6174 696f 6e5f 7479 7065 206e 6f74 ization_type not
│ │ │ -000c71e0: 2069 6e20 5b22 646f 636b 6572 222c 2022 in ["docker", "
│ │ │ -000c71f0: 6c78 6322 2c20 226f 7065 6e76 7a22 2c20 lxc", "openvz",
│ │ │ -000c7200: 2270 6f64 6d61 6e22 2c20 2263 6f6e 7461 "podman", "conta
│ │ │ -000c7210: 696e 6572 225d 0a20 2074 6167 733a 0a20 iner"]. tags:.
│ │ │ -000c7220: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT
│ │ │ -000c7230: 552d 3232 2d34 3331 3031 300a 2020 2d20 U-22-431010. -
│ │ │ -000c7240: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -000c7250: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -000c7260: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -000c7270: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -000c7280: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -000c7290: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -000c72a0: 202d 2070 6163 6b61 6765 5f61 7070 6172 - package_appar
│ │ │ -000c72b0: 6d6f 725f 696e 7374 616c 6c65 640a 3c2f mor_installed.
│ │ │ +000c6c50: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ +000c6c60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +000c6c70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +000c6cf0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +000c6d10: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +000c6d20: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +000c6d30: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000c6d40: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +000c6d50: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +000c6d60: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +000c6d70: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +000c6d80: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +000c6da0: 6d65 3a20 456e 7375 7265 2061 7070 6172 me: Ensure appar
│ │ │ +000c6db0: 6d6f 7220 6973 2069 6e73 7461 6c6c 6564 mor is installed
│ │ │ +000c6dc0: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ +000c6dd0: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ +000c6de0: 6e61 6d65 3a20 6170 7061 726d 6f72 0a20 name: apparmor.
│ │ │ +000c6df0: 2020 2073 7461 7465 3a20 7072 6573 656e state: presen
│ │ │ +000c6e00: 740a 2020 7768 656e 3a20 616e 7369 626c t. when: ansibl
│ │ │ +000c6e10: 655f 7669 7274 7561 6c69 7a61 7469 6f6e e_virtualization
│ │ │ +000c6e20: 5f74 7970 6520 6e6f 7420 696e 205b 2264 _type not in ["d
│ │ │ +000c6e30: 6f63 6b65 7222 2c20 226c 7863 222c 2022 ocker", "lxc", "
│ │ │ +000c6e40: 6f70 656e 767a 222c 2022 706f 646d 616e openvz", "podman
│ │ │ +000c6e50: 222c 2022 636f 6e74 6169 6e65 7222 5d0a ", "container"].
│ │ │ +000c6e60: 2020 7461 6773 3a0a 2020 2d20 4449 5341 tags:. - DISA
│ │ │ +000c6e70: 2d53 5449 472d 5542 5455 2d32 322d 3433 -STIG-UBTU-22-43
│ │ │ +000c6e80: 3130 3130 0a20 202d 2065 6e61 626c 655f 1010. - enable_
│ │ │ +000c6e90: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +000c6ea0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +000c6eb0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +000c6ec0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +000c6ed0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +000c6ee0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ +000c6ef0: 6167 655f 6170 7061 726d 6f72 5f69 6e73 age_apparmor_ins
│ │ │ +000c6f00: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f talled.
│ │ │ +000c6f10: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ +000c6fc0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +000c6fd0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +000c7050: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +000c7060: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +000c7070: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000c7080: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +000c7090: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +000c70b0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +000c70c0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000c70d0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +000c7100: 636f 6465 3e69 6e63 6c75 6465 2069 6e73 code>include ins
│ │ │ +000c7110: 7461 6c6c 5f61 7070 6172 6d6f 720a 0a63 tall_apparmor..c
│ │ │ +000c7120: 6c61 7373 2069 6e73 7461 6c6c 5f61 7070 lass install_app
│ │ │ +000c7130: 6172 6d6f 7220 7b0a 2020 7061 636b 6167 armor {. packag
│ │ │ +000c7140: 6520 7b20 2761 7070 6172 6d6f 7227 3a0a e { 'apparmor':.
│ │ │ +000c7150: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ +000c7160: 2027 696e 7374 616c 6c65 6427 2c0a 2020 'installed',.
│ │ │ +000c7170: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.Remediation
│ │ │ +000c7230: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ +000c7240: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ +000c7290: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61 .[[packages]].na
│ │ │ +000c72a0: 6d65 203d 2022 6170 7061 726d 6f72 220a me = "apparmor".
│ │ │ +000c72b0: 7665 7273 696f 6e20 3d20 222a 220a 3c2f version = "*".
│ │ │ 000c72c0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Remediat
│ │ │ -000d3210: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue
│ │ │ -000d3220: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet ..
│ │ │ -000d3230: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[[packages]
│ │ │ -000d3280: 5d0a 6e61 6d65 203d 2022 7379 7374 656d ].name = "system
│ │ │ -000d3290: 642d 6a6f 7572 6e61 6c2d 7265 6d6f 7465 d-journal-remote
│ │ │ -000d32a0: 220a 7665 7273 696f 6e20 3d20 222a 220a ".version = "*".
│ │ │ -000d32b0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -000d3360: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ -000d3370: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ -000d3380: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -000d3400: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -000d3410: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -000d3430: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -000d3440: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -000d3480: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ -000d3490: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e in
│ │ │ -000d34b0: 636c 7564 6520 696e 7374 616c 6c5f 7379 clude install_sy
│ │ │ -000d34c0: 7374 656d 642d 6a6f 7572 6e61 6c2d 7265 stemd-journal-re
│ │ │ -000d34d0: 6d6f 7465 0a0a 636c 6173 7320 696e 7374 mote..class inst
│ │ │ -000d34e0: 616c 6c5f 7379 7374 656d 642d 6a6f 7572 all_systemd-jour
│ │ │ -000d34f0: 6e61 6c2d 7265 6d6f 7465 207b 0a20 2070 nal-remote {. p
│ │ │ -000d3500: 6163 6b61 6765 207b 2027 7379 7374 656d ackage { 'system
│ │ │ -000d3510: 642d 6a6f 7572 6e61 6c2d 7265 6d6f 7465 d-journal-remote
│ │ │ -000d3520: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ -000d3530: 6774 3b20 2769 6e73 7461 6c6c 6564 272c gt; 'installed',
│ │ │ -000d3540: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -000d3550: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ -000d3600: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ -000d3610: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -000d3690: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -000d36a0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -000d36b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -000d36f0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -000d3700: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -000d3720: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -000d3730: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -000d3740: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761 - name: Ga
│ │ │ -000d3750: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ -000d3760: 2066 6163 7473 0a20 2070 6163 6b61 6765 facts. package
│ │ │ -000d3770: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61 _facts:. mana
│ │ │ -000d3780: 6765 723a 2061 7574 6f0a 2020 7461 6773 ger: auto. tags
│ │ │ -000d3790: 3a0a 2020 2d20 656e 6162 6c65 5f73 7472 :. - enable_str
│ │ │ -000d37a0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -000d37b0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -000d37c0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -000d37d0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -000d37e0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -000d37f0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -000d3800: 5f73 7973 7465 6d64 2d6a 6f75 726e 616c _systemd-journal
│ │ │ -000d3810: 2d72 656d 6f74 655f 696e 7374 616c 6c65 -remote_installe
│ │ │ -000d3820: 640a 0a2d 206e 616d 653a 2045 6e73 7572 d..- name: Ensur
│ │ │ -000d3830: 6520 7379 7374 656d 642d 6a6f 7572 6e61 e systemd-journa
│ │ │ -000d3840: 6c2d 7265 6d6f 7465 2069 7320 696e 7374 l-remote is inst
│ │ │ -000d3850: 616c 6c65 640a 2020 616e 7369 626c 652e alled. ansible.
│ │ │ -000d3860: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -000d3870: 0a20 2020 206e 616d 653a 2073 7973 7465 . name: syste
│ │ │ -000d3880: 6d64 2d6a 6f75 726e 616c 2d72 656d 6f74 md-journal-remot
│ │ │ -000d3890: 650a 2020 2020 7374 6174 653a 2070 7265 e. state: pre
│ │ │ -000d38a0: 7365 6e74 0a20 2077 6865 6e3a 2027 226c sent. when: '"l
│ │ │ -000d38b0: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ -000d38c0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ -000d38d0: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ -000d38e0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ -000d38f0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -000d3900: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -000d3910: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ -000d3920: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ -000d3930: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -000d3940: 0a20 202d 2070 6163 6b61 6765 5f73 7973 . - package_sys
│ │ │ -000d3950: 7465 6d64 2d6a 6f75 726e 616c 2d72 656d temd-journal-rem
│ │ │ -000d3960: 6f74 655f 696e 7374 616c 6c65 640a 3c2f ote_installed.
│ │ │ +000d3210: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ +000d3220: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +000d3230: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +000d3240: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +000d3250: 7365 2220 6964 3d22 6964 3233 3922 3e3c se" id="id239"><
│ │ │ +000d3260: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +000d3270: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +000d3280: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +000d3290: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +000d32a0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +000d32b0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +000d32c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +000d32f0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +000d3300: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +000d3310: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +000d3330: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable <
│ │ │ +000d3340: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +000d3360: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ +000d3370: 6520 6661 6374 730a 2020 7061 636b 6167 e facts. packag
│ │ │ +000d3380: 655f 6661 6374 733a 0a20 2020 206d 616e e_facts:. man
│ │ │ +000d3390: 6167 6572 3a20 6175 746f 0a20 2074 6167 ager: auto. tag
│ │ │ +000d33a0: 733a 0a20 202d 2065 6e61 626c 655f 7374 s:. - enable_st
│ │ │ +000d33b0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +000d33c0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +000d33d0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +000d33e0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +000d33f0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +000d3400: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ +000d3410: 655f 7379 7374 656d 642d 6a6f 7572 6e61 e_systemd-journa
│ │ │ +000d3420: 6c2d 7265 6d6f 7465 5f69 6e73 7461 6c6c l-remote_install
│ │ │ +000d3430: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu
│ │ │ +000d3440: 7265 2073 7973 7465 6d64 2d6a 6f75 726e re systemd-journ
│ │ │ +000d3450: 616c 2d72 656d 6f74 6520 6973 2069 6e73 al-remote is ins
│ │ │ +000d3460: 7461 6c6c 6564 0a20 2061 6e73 6962 6c65 talled. ansible
│ │ │ +000d3470: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +000d3480: 3a0a 2020 2020 6e61 6d65 3a20 7379 7374 :. name: syst
│ │ │ +000d3490: 656d 642d 6a6f 7572 6e61 6c2d 7265 6d6f emd-journal-remo
│ │ │ +000d34a0: 7465 0a20 2020 2073 7461 7465 3a20 7072 te. state: pr
│ │ │ +000d34b0: 6573 656e 740a 2020 7768 656e 3a20 2722 esent. when: '"
│ │ │ +000d34c0: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ +000d34d0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +000d34e0: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ +000d34f0: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ +000d3500: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +000d3510: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +000d3520: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +000d3530: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ +000d3540: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +000d3550: 640a 2020 2d20 7061 636b 6167 655f 7379 d. - package_sy
│ │ │ +000d3560: 7374 656d 642d 6a6f 7572 6e61 6c2d 7265 stemd-journal-re
│ │ │ +000d3570: 6d6f 7465 5f69 6e73 7461 6c6c 6564 0a3c mote_installed.<
│ │ │ +000d3580: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +000d3630: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +000d3640: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ +000d36d0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +000d36e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +000d36f0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +000d3700: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +000d3710: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +000d3740: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +000d3750: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ +000d3760: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c inc
│ │ │ +000d3780: 6c75 6465 2069 6e73 7461 6c6c 5f73 7973 lude install_sys
│ │ │ +000d3790: 7465 6d64 2d6a 6f75 726e 616c 2d72 656d temd-journal-rem
│ │ │ +000d37a0: 6f74 650a 0a63 6c61 7373 2069 6e73 7461 ote..class insta
│ │ │ +000d37b0: 6c6c 5f73 7973 7465 6d64 2d6a 6f75 726e ll_systemd-journ
│ │ │ +000d37c0: 616c 2d72 656d 6f74 6520 7b0a 2020 7061 al-remote {. pa
│ │ │ +000d37d0: 636b 6167 6520 7b20 2773 7973 7465 6d64 ckage { 'systemd
│ │ │ +000d37e0: 2d6a 6f75 726e 616c 2d72 656d 6f74 6527 -journal-remote'
│ │ │ +000d37f0: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ +000d3800: 743b 2027 696e 7374 616c 6c65 6427 2c0a t; 'installed',.
│ │ │ +000d3810: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Remediatio
│ │ │ +000d38d0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr
│ │ │ +000d38e0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...<
│ │ │ +000d38f0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[[packages]].
│ │ │ +000d3940: 6e61 6d65 203d 2022 7379 7374 656d 642d name = "systemd-
│ │ │ +000d3950: 6a6f 7572 6e61 6c2d 7265 6d6f 7465 220a journal-remote".
│ │ │ +000d3960: 7665 7273 696f 6e20 3d20 222a 220a 3c2f version = "*".
│ │ │ 000d3970: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Rem
│ │ │ -000d46b0: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ -000d46c0: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ -000d46d0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[custo
│ │ │ -000d4720: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic
│ │ │ -000d4730: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = ["
│ │ │ -000d4740: 7379 7374 656d 642d 6a6f 7572 6e61 6c64 systemd-journald
│ │ │ -000d4750: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e "].
│ │ │ -000d4760: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ -000d4810: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -000d4820: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -000d48a0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -000d48b0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -000d48c0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -000d48d0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -000d48e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -000d4910: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -000d4920: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -000d4930: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -000d4940: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include enable_
│ │ │ -000d4960: 7379 7374 656d 642d 6a6f 7572 6e61 6c64 systemd-journald
│ │ │ -000d4970: 0a0a 636c 6173 7320 656e 6162 6c65 5f73 ..class enable_s
│ │ │ -000d4980: 7973 7465 6d64 2d6a 6f75 726e 616c 6420 ystemd-journald
│ │ │ -000d4990: 7b0a 2020 7365 7276 6963 6520 7b27 7379 {. service {'sy
│ │ │ -000d49a0: 7374 656d 642d 6a6f 7572 6e61 6c64 273a stemd-journald':
│ │ │ -000d49b0: 0a20 2020 2065 6e61 626c 6520 3d26 6774 . enable =>
│ │ │ -000d49c0: 3b20 7472 7565 2c0a 2020 2020 656e 7375 ; true,. ensu
│ │ │ -000d49d0: 7265 203d 2667 743b 2027 7275 6e6e 696e re => 'runnin
│ │ │ -000d49e0: 6727 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 g',. }.}.
Remedi
│ │ │ -000d4aa0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ -000d4ab0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -000d4b40: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -000d4b50: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -000d4b60: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -000d4b70: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -000d4b80: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -000d4b90: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -000d4ba0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -000d4bb0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
- name:
│ │ │ -000d4bf0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ -000d4c00: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ -000d4c10: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ -000d4c20: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ -000d4c30: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ -000d4c40: 302d 3533 2d53 432d 3234 0a20 202d 2065 0-53-SC-24. - e
│ │ │ -000d4c50: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ -000d4c60: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -000d4c70: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -000d4c80: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -000d4c90: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -000d4ca0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -000d4cb0: 2d20 7365 7276 6963 655f 7379 7374 656d - service_system
│ │ │ -000d4cc0: 642d 6a6f 7572 6e61 6c64 5f65 6e61 626c d-journald_enabl
│ │ │ -000d4cd0: 6564 0a0a 2d20 6e61 6d65 3a20 456e 6162 ed..- name: Enab
│ │ │ -000d4ce0: 6c65 2073 7973 7465 6d64 2d6a 6f75 726e le systemd-journ
│ │ │ -000d4cf0: 616c 6420 5365 7276 6963 6520 2d20 456e ald Service - En
│ │ │ -000d4d00: 6162 6c65 2073 6572 7669 6365 2073 7973 able service sys
│ │ │ -000d4d10: 7465 6d64 2d6a 6f75 726e 616c 640a 2020 temd-journald.
│ │ │ -000d4d20: 626c 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 block:.. - name
│ │ │ -000d4d30: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ -000d4d40: 6b61 6765 2066 6163 7473 0a20 2020 2061 kage facts. a
│ │ │ -000d4d50: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -000d4d60: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -000d4d70: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ -000d4d80: 6f0a 0a20 202d 206e 616d 653a 2045 6e61 o.. - name: Ena
│ │ │ -000d4d90: 626c 6520 7379 7374 656d 642d 6a6f 7572 ble systemd-jour
│ │ │ -000d4da0: 6e61 6c64 2053 6572 7669 6365 202d 2045 nald Service - E
│ │ │ -000d4db0: 6e61 626c 6520 5365 7276 6963 6520 7379 nable Service sy
│ │ │ -000d4dc0: 7374 656d 642d 6a6f 7572 6e61 6c64 0a20 stemd-journald.
│ │ │ -000d4dd0: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ -000d4de0: 696e 2e73 7973 7465 6d64 3a0a 2020 2020 in.systemd:.
│ │ │ -000d4df0: 2020 6e61 6d65 3a20 7379 7374 656d 642d name: systemd-
│ │ │ -000d4e00: 6a6f 7572 6e61 6c64 0a20 2020 2020 2065 journald. e
│ │ │ -000d4e10: 6e61 626c 6564 3a20 7472 7565 0a20 2020 nabled: true.
│ │ │ -000d4e20: 2020 2073 7461 7465 3a20 7374 6172 7465 state: starte
│ │ │ -000d4e30: 640a 2020 2020 2020 6d61 736b 6564 3a20 d. masked:
│ │ │ -000d4e40: 6661 6c73 650a 2020 2020 7768 656e 3a0a false. when:.
│ │ │ -000d4e50: 2020 2020 2d20 2722 7379 7374 656d 6422 - '"systemd"
│ │ │ -000d4e60: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -000d4e70: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ -000d4e80: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -000d4e90: 2d35 332d 5343 2d32 340a 2020 2d20 656e -53-SC-24. - en
│ │ │ -000d4ea0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -000d4eb0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -000d4ec0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -000d4ed0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ -000d4ee0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -000d4ef0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -000d4f00: 2073 6572 7669 6365 5f73 7973 7465 6d64 service_systemd
│ │ │ -000d4f10: 2d6a 6f75 726e 616c 645f 656e 6162 6c65 -journald_enable
│ │ │ -000d4f20: 640a 2020 2d20 7370 6563 6961 6c5f 7365 d. - special_se
│ │ │ -000d4f30: 7276 6963 655f 626c 6f63 6b0a 2020 7768 rvice_block. wh
│ │ │ -000d4f40: 656e 3a20 2722 6c69 6e75 782d 6261 7365 en: '"linux-base
│ │ │ -000d4f50: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ -000d4f60: 7473 2e70 6163 6b61 6765 7327 0a3c 2f63 ts.packages'.
│ │ │ +000d46d0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +000d4750: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +000d4770: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +000d4780: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +000d4790: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000d47a0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +000d47b0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +000d47c0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +000d47d0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +000d47e0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +000d4800: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +000d4810: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ +000d4820: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ +000d4830: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +000d4840: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ +000d4850: 2d38 3030 2d35 332d 5343 2d32 340a 2020 -800-53-SC-24.
│ │ │ +000d4860: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ +000d4870: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +000d4880: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +000d4890: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ +000d48a0: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ +000d48b0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +000d48c0: 0a20 202d 2073 6572 7669 6365 5f73 7973 . - service_sys
│ │ │ +000d48d0: 7465 6d64 2d6a 6f75 726e 616c 645f 656e temd-journald_en
│ │ │ +000d48e0: 6162 6c65 640a 0a2d 206e 616d 653a 2045 abled..- name: E
│ │ │ +000d48f0: 6e61 626c 6520 7379 7374 656d 642d 6a6f nable systemd-jo
│ │ │ +000d4900: 7572 6e61 6c64 2053 6572 7669 6365 202d urnald Service -
│ │ │ +000d4910: 2045 6e61 626c 6520 7365 7276 6963 6520 Enable service
│ │ │ +000d4920: 7379 7374 656d 642d 6a6f 7572 6e61 6c64 systemd-journald
│ │ │ +000d4930: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e . block:.. - n
│ │ │ +000d4940: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +000d4950: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +000d4960: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +000d4970: 6e2e 7061 636b 6167 655f 6661 6374 733a n.package_facts:
│ │ │ +000d4980: 0a20 2020 2020 206d 616e 6167 6572 3a20 . manager:
│ │ │ +000d4990: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20 auto.. - name:
│ │ │ +000d49a0: 456e 6162 6c65 2073 7973 7465 6d64 2d6a Enable systemd-j
│ │ │ +000d49b0: 6f75 726e 616c 6420 5365 7276 6963 6520 ournald Service
│ │ │ +000d49c0: 2d20 456e 6162 6c65 2053 6572 7669 6365 - Enable Service
│ │ │ +000d49d0: 2073 7973 7465 6d64 2d6a 6f75 726e 616c systemd-journal
│ │ │ +000d49e0: 640a 2020 2020 616e 7369 626c 652e 6275 d. ansible.bu
│ │ │ +000d49f0: 696c 7469 6e2e 7379 7374 656d 643a 0a20 iltin.systemd:.
│ │ │ +000d4a00: 2020 2020 206e 616d 653a 2073 7973 7465 name: syste
│ │ │ +000d4a10: 6d64 2d6a 6f75 726e 616c 640a 2020 2020 md-journald.
│ │ │ +000d4a20: 2020 656e 6162 6c65 643a 2074 7275 650a enabled: true.
│ │ │ +000d4a30: 2020 2020 2020 7374 6174 653a 2073 7461 state: sta
│ │ │ +000d4a40: 7274 6564 0a20 2020 2020 206d 6173 6b65 rted. maske
│ │ │ +000d4a50: 643a 2066 616c 7365 0a20 2020 2077 6865 d: false. whe
│ │ │ +000d4a60: 6e3a 0a20 2020 202d 2027 2273 7973 7465 n:. - '"syste
│ │ │ +000d4a70: 6d64 2220 696e 2061 6e73 6962 6c65 5f66 md" in ansible_f
│ │ │ +000d4a80: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ +000d4a90: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ +000d4aa0: 3830 302d 3533 2d53 432d 3234 0a20 202d 800-53-SC-24. -
│ │ │ +000d4ab0: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ +000d4ac0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +000d4ad0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +000d4ae0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ +000d4af0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +000d4b00: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +000d4b10: 2020 2d20 7365 7276 6963 655f 7379 7374 - service_syst
│ │ │ +000d4b20: 656d 642d 6a6f 7572 6e61 6c64 5f65 6e61 emd-journald_ena
│ │ │ +000d4b30: 626c 6564 0a20 202d 2073 7065 6369 616c bled. - special
│ │ │ +000d4b40: 5f73 6572 7669 6365 5f62 6c6f 636b 0a20 _service_block.
│ │ │ +000d4b50: 2077 6865 6e3a 2027 226c 696e 7578 2d62 when: '"linux-b
│ │ │ +000d4b60: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_
│ │ │ +000d4b70: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ +000d4b80: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +000d4c30: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +000d4c40: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +000d4c50: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +000d4cd0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +000d4ce0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +000d4d00: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +000d4d10: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +000d4d50: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ +000d4d60: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e in
│ │ │ +000d4d80: 636c 7564 6520 656e 6162 6c65 5f73 7973 clude enable_sys
│ │ │ +000d4d90: 7465 6d64 2d6a 6f75 726e 616c 640a 0a63 temd-journald..c
│ │ │ +000d4da0: 6c61 7373 2065 6e61 626c 655f 7379 7374 lass enable_syst
│ │ │ +000d4db0: 656d 642d 6a6f 7572 6e61 6c64 207b 0a20 emd-journald {.
│ │ │ +000d4dc0: 2073 6572 7669 6365 207b 2773 7973 7465 service {'syste
│ │ │ +000d4dd0: 6d64 2d6a 6f75 726e 616c 6427 3a0a 2020 md-journald':.
│ │ │ +000d4de0: 2020 656e 6162 6c65 203d 2667 743b 2074 enable => t
│ │ │ +000d4df0: 7275 652c 0a20 2020 2065 6e73 7572 6520 rue,. ensure
│ │ │ +000d4e00: 3d26 6774 3b20 2772 756e 6e69 6e67 272c => 'running',
│ │ │ +000d4e10: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ +000d4e20: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ +000d4ed0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ +000d4ee0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ +000d4ef0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[customizati
│ │ │ +000d4f40: 6f6e 732e 7365 7276 6963 6573 5d0a 656e ons.services].en
│ │ │ +000d4f50: 6162 6c65 6420 3d20 5b22 7379 7374 656d abled = ["system
│ │ │ +000d4f60: 642d 6a6f 7572 6e61 6c64 225d 0a3c 2f63 d-journald"].
│ │ │ 000d4f80: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remedi
│ │ │ -000e02b0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ -000e02c0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ -000e02d0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -000e0310: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765 .[[package
│ │ │ -000e0320: 735d 5d0a 6e61 6d65 203d 2022 7273 7973 s]].name = "rsys
│ │ │ -000e0330: 6c6f 6722 0a76 6572 7369 6f6e 203d 2022 log".version = "
│ │ │ -000e0340: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".
│ │ │ -000e0350: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ -000e0400: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -000e0410: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -000e0490: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -000e04a0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -000e04b0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -000e04c0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -000e04d0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -000e0500: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -000e0510: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -000e0520: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -000e0530: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include install
│ │ │ -000e0550: 5f72 7379 736c 6f67 0a0a 636c 6173 7320 _rsyslog..class
│ │ │ -000e0560: 696e 7374 616c 6c5f 7273 7973 6c6f 6720 install_rsyslog
│ │ │ -000e0570: 7b0a 2020 7061 636b 6167 6520 7b20 2772 {. package { 'r
│ │ │ -000e0580: 7379 736c 6f67 273a 0a20 2020 2065 6e73 syslog':. ens
│ │ │ -000e0590: 7572 6520 3d26 6774 3b20 2769 6e73 7461 ure => 'insta
│ │ │ -000e05a0: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63 lled',. }.}.
│ │ │ -000e05c0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -000e0660: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -000e0670: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -000e0680: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -000e0700: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -000e0720: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -000e0730: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -000e0740: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000e0750: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -000e0760: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -000e0770: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -000e0780: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -000e0790: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -000e07b0: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ -000e07c0: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ -000e07d0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -000e07e0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ -000e07f0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ -000e0800: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -000e0810: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat
│ │ │ -000e0820: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ -000e0830: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -000e0840: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ -000e0850: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ -000e0860: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -000e0870: 6564 0a20 202d 2070 6163 6b61 6765 5f72 ed. - package_r
│ │ │ -000e0880: 7379 736c 6f67 5f69 6e73 7461 6c6c 6564 syslog_installed
│ │ │ -000e0890: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265 ..- name: Ensure
│ │ │ -000e08a0: 2072 7379 736c 6f67 2069 7320 696e 7374 rsyslog is inst
│ │ │ -000e08b0: 616c 6c65 640a 2020 616e 7369 626c 652e alled. ansible.
│ │ │ -000e08c0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -000e08d0: 0a20 2020 206e 616d 653a 2072 7379 736c . name: rsysl
│ │ │ -000e08e0: 6f67 0a20 2020 2073 7461 7465 3a20 7072 og. state: pr
│ │ │ -000e08f0: 6573 656e 740a 2020 7768 656e 3a20 2722 esent. when: '"
│ │ │ -000e0900: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ -000e0910: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -000e0920: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ -000e0930: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -000e0940: 4d2d 3628 6129 0a20 202d 2065 6e61 626c M-6(a). - enabl
│ │ │ -000e0950: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -000e0960: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -000e0970: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -000e0980: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -000e0990: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -000e09a0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ -000e09b0: 636b 6167 655f 7273 7973 6c6f 675f 696e ckage_rsyslog_in
│ │ │ -000e09c0: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c stalled.<
│ │ │ +000e02b0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ +000e02c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +000e0350: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +000e0360: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +000e0370: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +000e0380: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +000e0390: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +000e03a0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +000e03b0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +000e03c0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
- name:
│ │ │ +000e0400: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ +000e0410: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ +000e0420: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ +000e0430: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ +000e0440: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ +000e0450: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ +000e0460: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ +000e0470: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +000e0480: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +000e0490: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ +000e04a0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +000e04b0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +000e04c0: 2020 2d20 7061 636b 6167 655f 7273 7973 - package_rsys
│ │ │ +000e04d0: 6c6f 675f 696e 7374 616c 6c65 640a 0a2d log_installed..-
│ │ │ +000e04e0: 206e 616d 653a 2045 6e73 7572 6520 7273 name: Ensure rs
│ │ │ +000e04f0: 7973 6c6f 6720 6973 2069 6e73 7461 6c6c yslog is install
│ │ │ +000e0500: 6564 0a20 2061 6e73 6962 6c65 2e62 7569 ed. ansible.bui
│ │ │ +000e0510: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ +000e0520: 2020 6e61 6d65 3a20 7273 7973 6c6f 670a name: rsyslog.
│ │ │ +000e0530: 2020 2020 7374 6174 653a 2070 7265 7365 state: prese
│ │ │ +000e0540: 6e74 0a20 2077 6865 6e3a 2027 226c 696e nt. when: '"lin
│ │ │ +000e0550: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ +000e0560: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ +000e0570: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. -
│ │ │ +000e0580: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ +000e0590: 2861 290a 2020 2d20 656e 6162 6c65 5f73 (a). - enable_s
│ │ │ +000e05a0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +000e05b0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +000e05c0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +000e05d0: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +000e05e0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +000e05f0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +000e0600: 6765 5f72 7379 736c 6f67 5f69 6e73 7461 ge_rsyslog_insta
│ │ │ +000e0610: 6c6c 6564 0a3c 2f63 6f64 653e 3c2f 7072 lled.
Remediation
│ │ │ +000e06d0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ +000e06e0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +000e0770: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +000e0790: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +000e07b0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +000e07c0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +000e07e0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +000e07f0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +000e0800: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include insta
│ │ │ +000e0820: 6c6c 5f72 7379 736c 6f67 0a0a 636c 6173 ll_rsyslog..clas
│ │ │ +000e0830: 7320 696e 7374 616c 6c5f 7273 7973 6c6f s install_rsyslo
│ │ │ +000e0840: 6720 7b0a 2020 7061 636b 6167 6520 7b20 g {. package {
│ │ │ +000e0850: 2772 7379 736c 6f67 273a 0a20 2020 2065 'rsyslog':. e
│ │ │ +000e0860: 6e73 7572 6520 3d26 6774 3b20 2769 6e73 nsure => 'ins
│ │ │ +000e0870: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c talled',. }.}.<
│ │ │ +000e0880: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +000e0930: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui
│ │ │ +000e0940: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni
│ │ │ +000e0950: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +000e0960: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +000e0990: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061 .[[pa
│ │ │ +000e09a0: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20 ckages]].name =
│ │ │ +000e09b0: 2272 7379 736c 6f67 220a 7665 7273 696f "rsyslog".versio
│ │ │ +000e09c0: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c n = "*".<
│ │ │ 000e09d0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediation
│ │ │ -000e1cd0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ -000e1ce0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ -000e1d30: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73 .[customizations
│ │ │ -000e1d40: 2e73 6572 7669 6365 735d 0a65 6e61 626c .services].enabl
│ │ │ -000e1d50: 6564 203d 205b 2272 7379 736c 6f67 225d ed = ["rsyslog"]
│ │ │ -000e1d60: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ -000e1d70: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ -000e1e20: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ -000e1e30: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -000e1ee0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -000e1ef0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -000e1f00: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -000e1f10: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -000e1f30: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ -000e1f40: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ -000e1f60: 6e63 6c75 6465 2065 6e61 626c 655f 7273 nclude enable_rs
│ │ │ -000e1f70: 7973 6c6f 670a 0a63 6c61 7373 2065 6e61 yslog..class ena
│ │ │ -000e1f80: 626c 655f 7273 7973 6c6f 6720 7b0a 2020 ble_rsyslog {.
│ │ │ -000e1f90: 7365 7276 6963 6520 7b27 7273 7973 6c6f service {'rsyslo
│ │ │ -000e1fa0: 6727 3a0a 2020 2020 656e 6162 6c65 203d g':. enable =
│ │ │ -000e1fb0: 2667 743b 2074 7275 652c 0a20 2020 2065 > true,. e
│ │ │ -000e1fc0: 6e73 7572 6520 3d26 6774 3b20 2772 756e nsure => 'run
│ │ │ -000e1fd0: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63 ning',. }.}.
│ │ │ -000e1ff0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -000e2090: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -000e20a0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -000e20b0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -000e2130: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -000e2150: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -000e2160: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -000e2170: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000e2180: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -000e2190: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -000e21a0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -000e21b0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -000e21c0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -000e21e0: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ -000e21f0: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ -000e2200: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -000e2210: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ -000e2220: 2020 7461 6773 3a0a 2020 2d20 4449 5341 tags:. - DISA
│ │ │ -000e2230: 2d53 5449 472d 5542 5455 2d32 322d 3635 -STIG-UBTU-22-65
│ │ │ -000e2240: 3230 3130 0a20 202d 204e 4953 542d 3830 2010. - NIST-80
│ │ │ -000e2250: 302d 3533 2d41 552d 3428 3129 0a20 202d 0-53-AU-4(1). -
│ │ │ -000e2260: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -000e2270: 3628 6129 0a20 202d 2065 6e61 626c 655f 6(a). - enable_
│ │ │ -000e2280: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -000e2290: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -000e22a0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -000e22b0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -000e22c0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -000e22d0: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv
│ │ │ -000e22e0: 6963 655f 7273 7973 6c6f 675f 656e 6162 ice_rsyslog_enab
│ │ │ -000e22f0: 6c65 640a 0a2d 206e 616d 653a 2045 6e61 led..- name: Ena
│ │ │ -000e2300: 626c 6520 7273 7973 6c6f 6720 5365 7276 ble rsyslog Serv
│ │ │ -000e2310: 6963 6520 2d20 456e 6162 6c65 2073 6572 ice - Enable ser
│ │ │ -000e2320: 7669 6365 2072 7379 736c 6f67 0a20 2062 vice rsyslog. b
│ │ │ -000e2330: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a lock:.. - name:
│ │ │ -000e2340: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ -000e2350: 6167 6520 6661 6374 730a 2020 2020 616e age facts. an
│ │ │ -000e2360: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ -000e2370: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ -000e2380: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ -000e2390: 0a0a 2020 2d20 6e61 6d65 3a20 456e 6162 .. - name: Enab
│ │ │ -000e23a0: 6c65 2072 7379 736c 6f67 2053 6572 7669 le rsyslog Servi
│ │ │ -000e23b0: 6365 202d 2045 6e61 626c 6520 5365 7276 ce - Enable Serv
│ │ │ -000e23c0: 6963 6520 7273 7973 6c6f 670a 2020 2020 ice rsyslog.
│ │ │ -000e23d0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -000e23e0: 7379 7374 656d 643a 0a20 2020 2020 206e systemd:. n
│ │ │ -000e23f0: 616d 653a 2072 7379 736c 6f67 0a20 2020 ame: rsyslog.
│ │ │ -000e2400: 2020 2065 6e61 626c 6564 3a20 7472 7565 enabled: true
│ │ │ -000e2410: 0a20 2020 2020 2073 7461 7465 3a20 7374 . state: st
│ │ │ -000e2420: 6172 7465 640a 2020 2020 2020 6d61 736b arted. mask
│ │ │ -000e2430: 6564 3a20 6661 6c73 650a 2020 2020 7768 ed: false. wh
│ │ │ -000e2440: 656e 3a0a 2020 2020 2d20 2722 7273 7973 en:. - '"rsys
│ │ │ -000e2450: 6c6f 6722 2069 6e20 616e 7369 626c 655f log" in ansible_
│ │ │ -000e2460: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ -000e2470: 2020 7461 6773 3a0a 2020 2d20 4449 5341 tags:. - DISA
│ │ │ -000e2480: 2d53 5449 472d 5542 5455 2d32 322d 3635 -STIG-UBTU-22-65
│ │ │ -000e2490: 3230 3130 0a20 202d 204e 4953 542d 3830 2010. - NIST-80
│ │ │ -000e24a0: 302d 3533 2d41 552d 3428 3129 0a20 202d 0-53-AU-4(1). -
│ │ │ -000e24b0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -000e24c0: 3628 6129 0a20 202d 2065 6e61 626c 655f 6(a). - enable_
│ │ │ -000e24d0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -000e24e0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -000e24f0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -000e2500: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -000e2510: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -000e2520: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv
│ │ │ -000e2530: 6963 655f 7273 7973 6c6f 675f 656e 6162 ice_rsyslog_enab
│ │ │ -000e2540: 6c65 640a 2020 2d20 7370 6563 6961 6c5f led. - special_
│ │ │ -000e2550: 7365 7276 6963 655f 626c 6f63 6b0a 2020 service_block.
│ │ │ -000e2560: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba
│ │ │ -000e2570: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ -000e2580: 6163 7473 2e70 6163 6b61 6765 7327 0a3c acts.packages'.<
│ │ │ +000e1cd0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ +000e1ce0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +000e1d70: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +000e1d90: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +000e1db0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +000e1dc0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +000e1de0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +000e1df0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +000e1e00: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +000e1e20: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +000e1e30: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ +000e1e40: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ +000e1e50: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ +000e1e60: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT
│ │ │ +000e1e70: 552d 3232 2d36 3532 3031 300a 2020 2d20 U-22-652010. -
│ │ │ +000e1e80: 4e49 5354 2d38 3030 2d35 332d 4155 2d34 NIST-800-53-AU-4
│ │ │ +000e1e90: 2831 290a 2020 2d20 4e49 5354 2d38 3030 (1). - NIST-800
│ │ │ +000e1ea0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ +000e1eb0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ +000e1ec0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +000e1ed0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +000e1ee0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +000e1ef0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +000e1f00: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +000e1f10: 202d 2073 6572 7669 6365 5f72 7379 736c - service_rsysl
│ │ │ +000e1f20: 6f67 5f65 6e61 626c 6564 0a0a 2d20 6e61 og_enabled..- na
│ │ │ +000e1f30: 6d65 3a20 456e 6162 6c65 2072 7379 736c me: Enable rsysl
│ │ │ +000e1f40: 6f67 2053 6572 7669 6365 202d 2045 6e61 og Service - Ena
│ │ │ +000e1f50: 626c 6520 7365 7276 6963 6520 7273 7973 ble service rsys
│ │ │ +000e1f60: 6c6f 670a 2020 626c 6f63 6b3a 0a0a 2020 log. block:..
│ │ │ +000e1f70: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ +000e1f80: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ +000e1f90: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ +000e1fa0: 6c74 696e 2e70 6163 6b61 6765 5f66 6163 ltin.package_fac
│ │ │ +000e1fb0: 7473 3a0a 2020 2020 2020 6d61 6e61 6765 ts:. manage
│ │ │ +000e1fc0: 723a 2061 7574 6f0a 0a20 202d 206e 616d r: auto.. - nam
│ │ │ +000e1fd0: 653a 2045 6e61 626c 6520 7273 7973 6c6f e: Enable rsyslo
│ │ │ +000e1fe0: 6720 5365 7276 6963 6520 2d20 456e 6162 g Service - Enab
│ │ │ +000e1ff0: 6c65 2053 6572 7669 6365 2072 7379 736c le Service rsysl
│ │ │ +000e2000: 6f67 0a20 2020 2061 6e73 6962 6c65 2e62 og. ansible.b
│ │ │ +000e2010: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a uiltin.systemd:.
│ │ │ +000e2020: 2020 2020 2020 6e61 6d65 3a20 7273 7973 name: rsys
│ │ │ +000e2030: 6c6f 670a 2020 2020 2020 656e 6162 6c65 log. enable
│ │ │ +000e2040: 643a 2074 7275 650a 2020 2020 2020 7374 d: true. st
│ │ │ +000e2050: 6174 653a 2073 7461 7274 6564 0a20 2020 ate: started.
│ │ │ +000e2060: 2020 206d 6173 6b65 643a 2066 616c 7365 masked: false
│ │ │ +000e2070: 0a20 2020 2077 6865 6e3a 0a20 2020 202d . when:. -
│ │ │ +000e2080: 2027 2272 7379 736c 6f67 2220 696e 2061 '"rsyslog" in a
│ │ │ +000e2090: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +000e20a0: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ +000e20b0: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT
│ │ │ +000e20c0: 552d 3232 2d36 3532 3031 300a 2020 2d20 U-22-652010. -
│ │ │ +000e20d0: 4e49 5354 2d38 3030 2d35 332d 4155 2d34 NIST-800-53-AU-4
│ │ │ +000e20e0: 2831 290a 2020 2d20 4e49 5354 2d38 3030 (1). - NIST-800
│ │ │ +000e20f0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ +000e2100: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ +000e2110: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +000e2120: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +000e2130: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +000e2140: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +000e2150: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +000e2160: 202d 2073 6572 7669 6365 5f72 7379 736c - service_rsysl
│ │ │ +000e2170: 6f67 5f65 6e61 626c 6564 0a20 202d 2073 og_enabled. - s
│ │ │ +000e2180: 7065 6369 616c 5f73 6572 7669 6365 5f62 pecial_service_b
│ │ │ +000e2190: 6c6f 636b 0a20 2077 6865 6e3a 2027 226c lock. when: '"l
│ │ │ +000e21a0: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ +000e21b0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +000e21c0: 6167 6573 270a 3c2f 636f 6465 3e3c 2f70 ages'.
Remediatio
│ │ │ +000e2280: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +000e2290: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +000e2320: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +000e2340: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +000e2350: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +000e2360: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +000e2370: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +000e2390: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include enab
│ │ │ +000e23d0: 6c65 5f72 7379 736c 6f67 0a0a 636c 6173 le_rsyslog..clas
│ │ │ +000e23e0: 7320 656e 6162 6c65 5f72 7379 736c 6f67 s enable_rsyslog
│ │ │ +000e23f0: 207b 0a20 2073 6572 7669 6365 207b 2772 {. service {'r
│ │ │ +000e2400: 7379 736c 6f67 273a 0a20 2020 2065 6e61 syslog':. ena
│ │ │ +000e2410: 626c 6520 3d26 6774 3b20 7472 7565 2c0a ble => true,.
│ │ │ +000e2420: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ +000e2430: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a 'running',. }.
│ │ │ +000e2440: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ +000e2450: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation OS
│ │ │ +000e2500: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint
│ │ │ +000e2510: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +000e2520: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>.[
│ │ │ +000e2560: 6375 7374 6f6d 697a 6174 696f 6e73 2e73 customizations.s
│ │ │ +000e2570: 6572 7669 6365 735d 0a65 6e61 626c 6564 ervices].enabled
│ │ │ +000e2580: 203d 205b 2272 7379 736c 6f67 225d 0a3c = ["rsyslog"].<
│ │ │ 000e2590: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediatio
│ │ │ -000ec990: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr
│ │ │ -000ec9a0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...<
│ │ │ -000ec9b0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[[packages]].
│ │ │ -000eca00: 6e61 6d65 203d 2022 6970 7461 626c 6573 name = "iptables
│ │ │ -000eca10: 220a 7665 7273 696f 6e20 3d20 222a 220a ".version = "*".
│ │ │ -000eca20: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -000ecad0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ -000ecae0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ -000ecaf0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -000ecb70: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -000ecb80: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -000ecba0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -000ecbb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -000ecbf0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ -000ecc00: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e in
│ │ │ -000ecc20: 636c 7564 6520 696e 7374 616c 6c5f 6970 clude install_ip
│ │ │ -000ecc30: 7461 626c 6573 0a0a 636c 6173 7320 696e tables..class in
│ │ │ -000ecc40: 7374 616c 6c5f 6970 7461 626c 6573 207b stall_iptables {
│ │ │ -000ecc50: 0a20 2070 6163 6b61 6765 207b 2027 6970 . package { 'ip
│ │ │ -000ecc60: 7461 626c 6573 273a 0a20 2020 2065 6e73 tables':. ens
│ │ │ -000ecc70: 7572 6520 3d26 6774 3b20 2769 6e73 7461 ure => 'insta
│ │ │ -000ecc80: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63 lled',. }.}.
│ │ │ -000ecca0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -000ecd40: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -000ecd50: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -000ecd60: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -000ecde0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -000ece00: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -000ece10: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -000ece20: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000ece30: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -000ece40: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -000ece50: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -000ece60: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -000ece70: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -000ece90: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ -000ecea0: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ -000eceb0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -000ecec0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ -000eced0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ -000ecee0: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -000ecef0: 2020 2d20 5043 492d 4453 532d 5265 712d - PCI-DSS-Req-
│ │ │ -000ecf00: 312e 342e 310a 2020 2d20 656e 6162 6c65 1.4.1. - enable
│ │ │ -000ecf10: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ -000ecf20: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -000ecf30: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -000ecf40: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ -000ecf50: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -000ecf60: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ -000ecf70: 6b61 6765 5f69 7074 6162 6c65 735f 696e kage_iptables_in
│ │ │ -000ecf80: 7374 616c 6c65 640a 0a2d 206e 616d 653a stalled..- name:
│ │ │ -000ecf90: 2045 6e73 7572 6520 6970 7461 626c 6573 Ensure iptables
│ │ │ -000ecfa0: 2069 7320 696e 7374 616c 6c65 640a 2020 is installed.
│ │ │ -000ecfb0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -000ecfc0: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ -000ecfd0: 653a 2069 7074 6162 6c65 730a 2020 2020 e: iptables.
│ │ │ -000ecfe0: 7374 6174 653a 2070 7265 7365 6e74 0a20 state: present.
│ │ │ -000ecff0: 2077 6865 6e3a 2028 2022 6c69 6e75 782d when: ( "linux-
│ │ │ -000ed000: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ -000ed010: 5f66 6163 7473 2e70 6163 6b61 6765 7320 _facts.packages
│ │ │ -000ed020: 290a 2020 7461 6773 3a0a 2020 2d20 4e49 ). tags:. - NI
│ │ │ -000ed030: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ -000ed040: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ -000ed050: 712d 312e 342e 310a 2020 2d20 656e 6162 q-1.4.1. - enab
│ │ │ -000ed060: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -000ed070: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -000ed080: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -000ed090: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ -000ed0a0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ -000ed0b0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -000ed0c0: 6163 6b61 6765 5f69 7074 6162 6c65 735f ackage_iptables_
│ │ │ -000ed0d0: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.
<
│ │ │ +000eca20: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +000eca30: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +000eca40: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000eca50: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +000eca60: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +000eca80: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +000eca90: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000ecaa0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +000ecad0: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ +000ecae0: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ +000ecaf0: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ +000ecb00: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ +000ecb10: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ +000ecb20: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +000ecb30: 2d43 4d2d 3628 6129 0a20 202d 2050 4349 -CM-6(a). - PCI
│ │ │ +000ecb40: 2d44 5353 2d52 6571 2d31 2e34 2e31 0a20 -DSS-Req-1.4.1.
│ │ │ +000ecb50: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ +000ecb60: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +000ecb70: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +000ecb80: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +000ecb90: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ +000ecba0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +000ecbb0: 640a 2020 2d20 7061 636b 6167 655f 6970 d. - package_ip
│ │ │ +000ecbc0: 7461 626c 6573 5f69 6e73 7461 6c6c 6564 tables_installed
│ │ │ +000ecbd0: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265 ..- name: Ensure
│ │ │ +000ecbe0: 2069 7074 6162 6c65 7320 6973 2069 6e73 iptables is ins
│ │ │ +000ecbf0: 7461 6c6c 6564 0a20 2061 6e73 6962 6c65 talled. ansible
│ │ │ +000ecc00: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +000ecc10: 3a0a 2020 2020 6e61 6d65 3a20 6970 7461 :. name: ipta
│ │ │ +000ecc20: 626c 6573 0a20 2020 2073 7461 7465 3a20 bles. state:
│ │ │ +000ecc30: 7072 6573 656e 740a 2020 7768 656e 3a20 present. when:
│ │ │ +000ecc40: 2820 226c 696e 7578 2d62 6173 6522 2069 ( "linux-base" i
│ │ │ +000ecc50: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ +000ecc60: 7061 636b 6167 6573 2029 0a20 2074 6167 packages ). tag
│ │ │ +000ecc70: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ +000ecc80: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ +000ecc90: 4349 2d44 5353 2d52 6571 2d31 2e34 2e31 CI-DSS-Req-1.4.1
│ │ │ +000ecca0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ +000eccb0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +000eccc0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +000eccd0: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +000ecce0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +000eccf0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +000ecd00: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ +000ecd10: 6970 7461 626c 6573 5f69 6e73 7461 6c6c iptables_install
│ │ │ +000ecd20: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +000ecd30: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ +000ecde0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ +000ecdf0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +000ece70: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +000ece80: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +000ece90: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +000ecea0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +000eceb0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +000ecee0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +000ecef0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ +000ecf00: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +000ecf10: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include install
│ │ │ +000ecf30: 5f69 7074 6162 6c65 730a 0a63 6c61 7373 _iptables..class
│ │ │ +000ecf40: 2069 6e73 7461 6c6c 5f69 7074 6162 6c65 install_iptable
│ │ │ +000ecf50: 7320 7b0a 2020 7061 636b 6167 6520 7b20 s {. package {
│ │ │ +000ecf60: 2769 7074 6162 6c65 7327 3a0a 2020 2020 'iptables':.
│ │ │ +000ecf70: 656e 7375 7265 203d 2667 743b 2027 696e ensure => 'in
│ │ │ +000ecf80: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a stalled',. }.}.
│ │ │ +000ecf90: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +000ed040: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu
│ │ │ +000ed050: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn
│ │ │ +000ed060: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.[[p
│ │ │ +000ed0b0: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d ackages]].name =
│ │ │ +000ed0c0: 2022 6970 7461 626c 6573 220a 7665 7273 "iptables".vers
│ │ │ +000ed0d0: 696f 6e20 3d20 222a 220a 3c2f 636f 6465 ion = "*".
│ │ │ -000edcd0: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ -000edce0: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ -000edcf0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -000edd70: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -000edd80: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -000edda0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -000eddb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -000eddf0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ -000ede00: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ -000ede20: 696e 636c 7564 6520 7265 6d6f 7665 5f69 include remove_i
│ │ │ -000ede30: 7074 6162 6c65 732d 7065 7273 6973 7465 ptables-persiste
│ │ │ -000ede40: 6e74 0a0a 636c 6173 7320 7265 6d6f 7665 nt..class remove
│ │ │ -000ede50: 5f69 7074 6162 6c65 732d 7065 7273 6973 _iptables-persis
│ │ │ -000ede60: 7465 6e74 207b 0a20 2070 6163 6b61 6765 tent {. package
│ │ │ -000ede70: 207b 2027 6970 7461 626c 6573 2d70 6572 { 'iptables-per
│ │ │ -000ede80: 7369 7374 656e 7427 3a0a 2020 2020 656e sistent':. en
│ │ │ -000ede90: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ -000edea0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -000edf60: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -000edf70: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -000ee000: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -000ee010: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -000ee030: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -000ee050: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -000ee060: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -000ee080: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -000ee090: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -000ee0a0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -000ee0b0: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ -000ee0c0: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ -000ee0d0: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ -000ee0e0: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ -000ee0f0: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab
│ │ │ -000ee100: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -000ee110: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -000ee120: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -000ee130: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ -000ee140: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ -000ee150: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -000ee160: 6163 6b61 6765 5f69 7074 6162 6c65 732d ackage_iptables-
│ │ │ -000ee170: 7065 7273 6973 7465 6e74 5f72 656d 6f76 persistent_remov
│ │ │ -000ee180: 6564 0a0a 2d20 6e61 6d65 3a20 2752 656d ed..- name: 'Rem
│ │ │ -000ee190: 6f76 6520 6970 7461 626c 6573 2d70 6572 ove iptables-per
│ │ │ -000ee1a0: 7369 7374 656e 7420 5061 636b 6167 653a sistent Package:
│ │ │ -000ee1b0: 2045 6e73 7572 6520 6970 7461 626c 6573 Ensure iptables
│ │ │ -000ee1c0: 2d70 6572 7369 7374 656e 7420 6973 2072 -persistent is r
│ │ │ -000ee1d0: 656d 6f76 6564 270a 2020 616e 7369 626c emoved'. ansibl
│ │ │ -000ee1e0: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ -000ee1f0: 653a 0a20 2020 206e 616d 653a 2069 7074 e:. name: ipt
│ │ │ -000ee200: 6162 6c65 732d 7065 7273 6973 7465 6e74 ables-persistent
│ │ │ -000ee210: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ -000ee220: 6e74 0a20 2077 6865 6e3a 2027 2275 6677 nt. when: '"ufw
│ │ │ -000ee230: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ -000ee240: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t
│ │ │ -000ee250: 6167 733a 0a20 202d 2064 6973 6162 6c65 ags:. - disable
│ │ │ -000ee260: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ -000ee270: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -000ee280: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -000ee290: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ -000ee2a0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -000ee2b0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ -000ee2c0: 6b61 6765 5f69 7074 6162 6c65 732d 7065 kage_iptables-pe
│ │ │ -000ee2d0: 7273 6973 7465 6e74 5f72 656d 6f76 6564 rsistent_removed
│ │ │ +000edcd0: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ +000edce0: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ +000edcf0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +000edda0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +000eddb0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +000eddc0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +000eddd0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +000eddf0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ +000ede00: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +000ede20: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ +000ede30: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ +000ede40: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ +000ede50: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ +000ede60: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ +000ede70: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ +000ede80: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +000ede90: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +000edea0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ +000edeb0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +000edec0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +000eded0: 2020 2d20 7061 636b 6167 655f 6970 7461 - package_ipta
│ │ │ +000edee0: 626c 6573 2d70 6572 7369 7374 656e 745f bles-persistent_
│ │ │ +000edef0: 7265 6d6f 7665 640a 0a2d 206e 616d 653a removed..- name:
│ │ │ +000edf00: 2027 5265 6d6f 7665 2069 7074 6162 6c65 'Remove iptable
│ │ │ +000edf10: 732d 7065 7273 6973 7465 6e74 2050 6163 s-persistent Pac
│ │ │ +000edf20: 6b61 6765 3a20 456e 7375 7265 2069 7074 kage: Ensure ipt
│ │ │ +000edf30: 6162 6c65 732d 7065 7273 6973 7465 6e74 ables-persistent
│ │ │ +000edf40: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ +000edf50: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ +000edf60: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ +000edf70: 3a20 6970 7461 626c 6573 2d70 6572 7369 : iptables-persi
│ │ │ +000edf80: 7374 656e 740a 2020 2020 7374 6174 653a stent. state:
│ │ │ +000edf90: 2061 6273 656e 740a 2020 7768 656e 3a20 absent. when:
│ │ │ +000edfa0: 2722 7566 7722 2069 6e20 616e 7369 626c '"ufw" in ansibl
│ │ │ +000edfb0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ +000edfc0: 270a 2020 7461 6773 3a0a 2020 2d20 6469 '. tags:. - di
│ │ │ +000edfd0: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ +000edfe0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +000edff0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +000ee000: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ +000ee010: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +000ee020: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +000ee030: 2d20 7061 636b 6167 655f 6970 7461 626c - package_iptabl
│ │ │ +000ee040: 6573 2d70 6572 7369 7374 656e 745f 7265 es-persistent_re
│ │ │ +000ee050: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.Remediatio
│ │ │ +000ee110: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +000ee120: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +000ee1b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +000ee1d0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +000ee1e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +000ee1f0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +000ee200: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +000ee220: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +000ee250: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ +000ee260: 6d6f 7665 5f69 7074 6162 6c65 732d 7065 move_iptables-pe
│ │ │ +000ee270: 7273 6973 7465 6e74 0a0a 636c 6173 7320 rsistent..class
│ │ │ +000ee280: 7265 6d6f 7665 5f69 7074 6162 6c65 732d remove_iptables-
│ │ │ +000ee290: 7065 7273 6973 7465 6e74 207b 0a20 2070 persistent {. p
│ │ │ +000ee2a0: 6163 6b61 6765 207b 2027 6970 7461 626c ackage { 'iptabl
│ │ │ +000ee2b0: 6573 2d70 6572 7369 7374 656e 7427 3a0a es-persistent':.
│ │ │ +000ee2c0: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ +000ee2d0: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.}
│ │ │ 000ee2e0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 000ee2f0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation
│ │ │ -00132210: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ -00132220: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ -00132270: 0a5b 5b70 6163 6b61 6765 735d 5d0a 6e61 .[[packages]].na
│ │ │ -00132280: 6d65 203d 2022 6e66 7461 626c 6573 220a me = "nftables".
│ │ │ -00132290: 7665 7273 696f 6e20 3d20 222a 220a 3c2f version = "*".
│ │ │ -001322a0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ -00132350: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ -00132360: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -00132370: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -001323f0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -00132410: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -00132420: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -00132430: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00132440: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -00132450: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -00132460: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -00132470: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -00132480: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -001324a0: 7564 6520 696e 7374 616c 6c5f 6e66 7461 ude install_nfta
│ │ │ -001324b0: 626c 6573 0a0a 636c 6173 7320 696e 7374 bles..class inst
│ │ │ -001324c0: 616c 6c5f 6e66 7461 626c 6573 207b 0a20 all_nftables {.
│ │ │ -001324d0: 2070 6163 6b61 6765 207b 2027 6e66 7461 package { 'nfta
│ │ │ -001324e0: 626c 6573 273a 0a20 2020 2065 6e73 7572 bles':. ensur
│ │ │ -001324f0: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install
│ │ │ -00132500: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -001325c0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -001325d0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -00132660: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -00132670: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -00132690: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001326b0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001326c0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001326e0: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ -00132700: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -00132710: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ -00132720: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ -00132730: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ -00132740: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ -00132750: 7461 6773 3a0a 2020 2d20 5043 492d 4453 tags:. - PCI-DS
│ │ │ -00132760: 5376 342d 312e 320a 2020 2d20 5043 492d Sv4-1.2. - PCI-
│ │ │ -00132770: 4453 5376 342d 312e 322e 310a 2020 2d20 DSSv4-1.2.1. -
│ │ │ -00132780: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -00132790: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -001327a0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -001327b0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -001327c0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -001327d0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -001327e0: 202d 2070 6163 6b61 6765 5f6e 6674 6162 - package_nftab
│ │ │ -001327f0: 6c65 735f 696e 7374 616c 6c65 640a 0a2d les_installed..-
│ │ │ -00132800: 206e 616d 653a 2045 6e73 7572 6520 6e66 name: Ensure nf
│ │ │ -00132810: 7461 626c 6573 2069 7320 696e 7374 616c tables is instal
│ │ │ -00132820: 6c65 640a 2020 616e 7369 626c 652e 6275 led. ansible.bu
│ │ │ -00132830: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ -00132840: 2020 206e 616d 653a 206e 6674 6162 6c65 name: nftable
│ │ │ -00132850: 730a 2020 2020 7374 6174 653a 2070 7265 s. state: pre
│ │ │ -00132860: 7365 6e74 0a20 2077 6865 6e3a 2028 2022 sent. when: ( "
│ │ │ -00132870: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ -00132880: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -00132890: 6b61 6765 7320 290a 2020 7461 6773 3a0a kages ). tags:.
│ │ │ -001328a0: 2020 2d20 5043 492d 4453 5376 342d 312e - PCI-DSSv4-1.
│ │ │ -001328b0: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ -001328c0: 312e 322e 310a 2020 2d20 656e 6162 6c65 1.2.1. - enable
│ │ │ -001328d0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ -001328e0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -001328f0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -00132900: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ -00132910: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -00132920: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ -00132930: 6b61 6765 5f6e 6674 6162 6c65 735f 696e kage_nftables_in
│ │ │ -00132940: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c stalled.<
│ │ │ +00132210: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ +00132220: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +001322b0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +001322d0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +001322f0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +00132300: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +00132320: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +00132330: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ +00132340: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +00132360: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +00132370: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ +00132380: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ +00132390: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ +001323a0: 202d 2050 4349 2d44 5353 7634 2d31 2e32 - PCI-DSSv4-1.2
│ │ │ +001323b0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ +001323c0: 2e32 2e31 0a20 202d 2065 6e61 626c 655f .2.1. - enable_
│ │ │ +001323d0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +001323e0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +001323f0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +00132400: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +00132410: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +00132420: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ +00132430: 6167 655f 6e66 7461 626c 6573 5f69 6e73 age_nftables_ins
│ │ │ +00132440: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 talled..- name:
│ │ │ +00132450: 456e 7375 7265 206e 6674 6162 6c65 7320 Ensure nftables
│ │ │ +00132460: 6973 2069 6e73 7461 6c6c 6564 0a20 2061 is installed. a
│ │ │ +00132470: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ +00132480: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ +00132490: 3a20 6e66 7461 626c 6573 0a20 2020 2073 : nftables. s
│ │ │ +001324a0: 7461 7465 3a20 7072 6573 656e 740a 2020 tate: present.
│ │ │ +001324b0: 7768 656e 3a20 2820 226c 696e 7578 2d62 when: ( "linux-b
│ │ │ +001324c0: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_
│ │ │ +001324d0: 6661 6374 732e 7061 636b 6167 6573 2029 facts.packages )
│ │ │ +001324e0: 0a20 2074 6167 733a 0a20 202d 2050 4349 . tags:. - PCI
│ │ │ +001324f0: 2d44 5353 7634 2d31 2e32 0a20 202d 2050 -DSSv4-1.2. - P
│ │ │ +00132500: 4349 2d44 5353 7634 2d31 2e32 2e31 0a20 CI-DSSv4-1.2.1.
│ │ │ +00132510: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ +00132520: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +00132530: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +00132540: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +00132550: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ +00132560: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +00132570: 640a 2020 2d20 7061 636b 6167 655f 6e66 d. - package_nf
│ │ │ +00132580: 7461 626c 6573 5f69 6e73 7461 6c6c 6564 tables_installed
│ │ │ +00132590: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +001325a0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ +00132650: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +00132660: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +00132710: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +00132720: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00132730: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +00132740: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +00132760: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +00132770: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ +00132790: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f6e nclude install_n
│ │ │ +001327a0: 6674 6162 6c65 730a 0a63 6c61 7373 2069 ftables..class i
│ │ │ +001327b0: 6e73 7461 6c6c 5f6e 6674 6162 6c65 7320 nstall_nftables
│ │ │ +001327c0: 7b0a 2020 7061 636b 6167 6520 7b20 276e {. package { 'n
│ │ │ +001327d0: 6674 6162 6c65 7327 3a0a 2020 2020 656e ftables':. en
│ │ │ +001327e0: 7375 7265 203d 2667 743b 2027 696e 7374 sure => 'inst
│ │ │ +001327f0: 616c 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f alled',. }.}.
│ │ │ +00132800: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +001328b0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ +001328c0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ +001328d0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +001328e0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001328f0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +00132900: 7365 2220 6964 3d22 6964 3336 3622 3e3c se" id="id366"><
│ │ │ +00132910: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac
│ │ │ +00132920: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = "
│ │ │ +00132930: 6e66 7461 626c 6573 220a 7665 7273 696f nftables".versio
│ │ │ +00132940: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c n = "*".<
│ │ │ 00132950: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>R
│ │ │ -001335b0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui
│ │ │ -001335c0: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni
│ │ │ -001335d0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001335e0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -00133610: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573 .[cus
│ │ │ -00133620: 746f 6d69 7a61 7469 6f6e 732e 7365 7276 tomizations.serv
│ │ │ -00133630: 6963 6573 5d0a 656e 6162 6c65 6420 3d20 ices].enabled =
│ │ │ -00133640: 5b22 6e66 7461 626c 6573 225d 0a3c 2f63 ["nftables"].
│ │ │ -00133660: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -00133700: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -00133710: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -00133720: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001337a0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001337d0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001337f0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -00133800: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -00133820: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ -00133830: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -00133840: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ -00133850: 6465 2065 6e61 626c 655f 6e66 7461 626c de enable_nftabl
│ │ │ -00133860: 6573 0a0a 636c 6173 7320 656e 6162 6c65 es..class enable
│ │ │ -00133870: 5f6e 6674 6162 6c65 7320 7b0a 2020 7365 _nftables {. se
│ │ │ -00133880: 7276 6963 6520 7b27 6e66 7461 626c 6573 rvice {'nftables
│ │ │ -00133890: 273a 0a20 2020 2065 6e61 626c 6520 3d26 ':. enable =&
│ │ │ -001338a0: 6774 3b20 7472 7565 2c0a 2020 2020 656e gt; true,. en
│ │ │ -001338b0: 7375 7265 203d 2667 743b 2027 7275 6e6e sure => 'runn
│ │ │ -001338c0: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f ing',. }.}.
<
│ │ │ -001338e0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -001338f0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -00133900: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -00133910: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -00133920: 6433 3731 2220 7461 6269 6e64 6578 3d22 d371" tabindex="
│ │ │ -00133930: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -00133940: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -00133950: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -00133960: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -00133970: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -00133980: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -00133990: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001339a0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -00133a20: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -00133a50: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -00133a70: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -00133a80: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -00133aa0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ -00133ab0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -00133ac0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -00133ad0: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ -00133ae0: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ -00133af0: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ -00133b00: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ -00133b10: 2074 6167 733a 0a20 202d 2065 6e61 626c tags:. - enabl
│ │ │ -00133b20: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -00133b30: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -00133b40: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -00133b50: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -00133b60: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -00133b70: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ -00133b80: 7276 6963 655f 6e66 7461 626c 6573 5f65 rvice_nftables_e
│ │ │ -00133b90: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20 nabled..- name:
│ │ │ -00133ba0: 5665 7269 6679 206e 6674 6162 6c65 7320 Verify nftables
│ │ │ -00133bb0: 5365 7276 6963 6520 6973 2045 6e61 626c Service is Enabl
│ │ │ -00133bc0: 6564 202d 2045 6e61 626c 6520 7365 7276 ed - Enable serv
│ │ │ -00133bd0: 6963 6520 6e66 7461 626c 6573 0a20 2062 ice nftables. b
│ │ │ -00133be0: 6c6f 636b 3a0a 0a20 202d 206e 616d 653a lock:.. - name:
│ │ │ -00133bf0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ -00133c00: 6167 6520 6661 6374 730a 2020 2020 616e age facts. an
│ │ │ -00133c10: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ -00133c20: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ -00133c30: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ -00133c40: 0a0a 2020 2d20 6e61 6d65 3a20 5665 7269 .. - name: Veri
│ │ │ -00133c50: 6679 206e 6674 6162 6c65 7320 5365 7276 fy nftables Serv
│ │ │ -00133c60: 6963 6520 6973 2045 6e61 626c 6564 202d ice is Enabled -
│ │ │ -00133c70: 2045 6e61 626c 6520 5365 7276 6963 6520 Enable Service
│ │ │ -00133c80: 6e66 7461 626c 6573 0a20 2020 2061 6e73 nftables. ans
│ │ │ -00133c90: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys
│ │ │ -00133ca0: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65 temd:. name
│ │ │ -00133cb0: 3a20 6e66 7461 626c 6573 0a20 2020 2020 : nftables.
│ │ │ -00133cc0: 2065 6e61 626c 6564 3a20 7472 7565 0a20 enabled: true.
│ │ │ -00133cd0: 2020 2020 2073 7461 7465 3a20 7374 6172 state: star
│ │ │ -00133ce0: 7465 640a 2020 2020 2020 6d61 736b 6564 ted. masked
│ │ │ -00133cf0: 3a20 6661 6c73 650a 2020 2020 7768 656e : false. when
│ │ │ -00133d00: 3a0a 2020 2020 2d20 2722 6e66 7461 626c :. - '"nftabl
│ │ │ -00133d10: 6573 2220 696e 2061 6e73 6962 6c65 5f66 es" in ansible_f
│ │ │ -00133d20: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ -00133d30: 2074 6167 733a 0a20 202d 2065 6e61 626c tags:. - enabl
│ │ │ -00133d40: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -00133d50: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -00133d60: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -00133d70: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -00133d80: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -00133d90: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ -00133da0: 7276 6963 655f 6e66 7461 626c 6573 5f65 rvice_nftables_e
│ │ │ -00133db0: 6e61 626c 6564 0a20 202d 2073 7065 6369 nabled. - speci
│ │ │ -00133dc0: 616c 5f73 6572 7669 6365 5f62 6c6f 636b al_service_block
│ │ │ -00133dd0: 0a20 2077 6865 6e3a 2028 2022 6e66 7461 . when: ( "nfta
│ │ │ -00133de0: 626c 6573 2220 696e 2061 6e73 6962 6c65 bles" in ansible
│ │ │ -00133df0: 5f66 6163 7473 2e70 6163 6b61 6765 7320 _facts.packages
│ │ │ -00133e00: 616e 6420 226c 696e 7578 2d62 6173 6522 and "linux-base"
│ │ │ -00133e10: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -00133e20: 732e 7061 636b 6167 6573 0a20 2020 2029 s.packages. )
│ │ │ +001335b0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ +001335c0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ +001335d0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +00133650: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +00133660: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +00133680: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +00133690: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +001336d0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ +001336e0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ +00133700: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the
│ │ │ +00133710: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts.
│ │ │ +00133720: 2070 6163 6b61 6765 5f66 6163 7473 3a0a package_facts:.
│ │ │ +00133730: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ +00133740: 6f0a 2020 7461 6773 3a0a 2020 2d20 656e o. tags:. - en
│ │ │ +00133750: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +00133760: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +00133770: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +00133780: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +00133790: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +001337a0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001337b0: 2073 6572 7669 6365 5f6e 6674 6162 6c65 service_nftable
│ │ │ +001337c0: 735f 656e 6162 6c65 640a 0a2d 206e 616d s_enabled..- nam
│ │ │ +001337d0: 653a 2056 6572 6966 7920 6e66 7461 626c e: Verify nftabl
│ │ │ +001337e0: 6573 2053 6572 7669 6365 2069 7320 456e es Service is En
│ │ │ +001337f0: 6162 6c65 6420 2d20 456e 6162 6c65 2073 abled - Enable s
│ │ │ +00133800: 6572 7669 6365 206e 6674 6162 6c65 730a ervice nftables.
│ │ │ +00133810: 2020 626c 6f63 6b3a 0a0a 2020 2d20 6e61 block:.. - na
│ │ │ +00133820: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +00133830: 6163 6b61 6765 2066 6163 7473 0a20 2020 ackage facts.
│ │ │ +00133840: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +00133850: 2e70 6163 6b61 6765 5f66 6163 7473 3a0a .package_facts:.
│ │ │ +00133860: 2020 2020 2020 6d61 6e61 6765 723a 2061 manager: a
│ │ │ +00133870: 7574 6f0a 0a20 202d 206e 616d 653a 2056 uto.. - name: V
│ │ │ +00133880: 6572 6966 7920 6e66 7461 626c 6573 2053 erify nftables S
│ │ │ +00133890: 6572 7669 6365 2069 7320 456e 6162 6c65 ervice is Enable
│ │ │ +001338a0: 6420 2d20 456e 6162 6c65 2053 6572 7669 d - Enable Servi
│ │ │ +001338b0: 6365 206e 6674 6162 6c65 730a 2020 2020 ce nftables.
│ │ │ +001338c0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +001338d0: 7379 7374 656d 643a 0a20 2020 2020 206e systemd:. n
│ │ │ +001338e0: 616d 653a 206e 6674 6162 6c65 730a 2020 ame: nftables.
│ │ │ +001338f0: 2020 2020 656e 6162 6c65 643a 2074 7275 enabled: tru
│ │ │ +00133900: 650a 2020 2020 2020 7374 6174 653a 2073 e. state: s
│ │ │ +00133910: 7461 7274 6564 0a20 2020 2020 206d 6173 tarted. mas
│ │ │ +00133920: 6b65 643a 2066 616c 7365 0a20 2020 2077 ked: false. w
│ │ │ +00133930: 6865 6e3a 0a20 2020 202d 2027 226e 6674 hen:. - '"nft
│ │ │ +00133940: 6162 6c65 7322 2069 6e20 616e 7369 626c ables" in ansibl
│ │ │ +00133950: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ +00133960: 270a 2020 7461 6773 3a0a 2020 2d20 656e '. tags:. - en
│ │ │ +00133970: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +00133980: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +00133990: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +001339a0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +001339b0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +001339c0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001339d0: 2073 6572 7669 6365 5f6e 6674 6162 6c65 service_nftable
│ │ │ +001339e0: 735f 656e 6162 6c65 640a 2020 2d20 7370 s_enabled. - sp
│ │ │ +001339f0: 6563 6961 6c5f 7365 7276 6963 655f 626c ecial_service_bl
│ │ │ +00133a00: 6f63 6b0a 2020 7768 656e 3a20 2820 226e ock. when: ( "n
│ │ │ +00133a10: 6674 6162 6c65 7322 2069 6e20 616e 7369 ftables" in ansi
│ │ │ +00133a20: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ +00133a30: 6573 2061 6e64 2022 6c69 6e75 782d 6261 es and "linux-ba
│ │ │ +00133a40: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ +00133a50: 6163 7473 2e70 6163 6b61 6765 730a 2020 acts.packages.
│ │ │ +00133a60: 2020 290a 3c2f 636f 6465 3e3c 2f70 7265 ).
Remediation
│ │ │ +00133b20: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ +00133b30: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +00133bb0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +00133bc0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00133bd0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +00133be0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +00133c20: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +00133c30: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ +00133c40: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ +00133c50: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include enable
│ │ │ +00133c70: 5f6e 6674 6162 6c65 730a 0a63 6c61 7373 _nftables..class
│ │ │ +00133c80: 2065 6e61 626c 655f 6e66 7461 626c 6573 enable_nftables
│ │ │ +00133c90: 207b 0a20 2073 6572 7669 6365 207b 276e {. service {'n
│ │ │ +00133ca0: 6674 6162 6c65 7327 3a0a 2020 2020 656e ftables':. en
│ │ │ +00133cb0: 6162 6c65 203d 2667 743b 2074 7275 652c able => true,
│ │ │ +00133cc0: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +00133cd0: 3b20 2772 756e 6e69 6e67 272c 0a20 207d ; 'running',. }
│ │ │ +00133ce0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ +00133cf0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation O
│ │ │ +00133da0: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint
│ │ │ +00133db0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +00133dc0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.
│ │ │ +00133e00: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e [customizations.
│ │ │ +00133e10: 7365 7276 6963 6573 5d0a 656e 6162 6c65 services].enable
│ │ │ +00133e20: 6420 3d20 5b22 6e66 7461 626c 6573 225d d = ["nftables"]
│ │ │ 00133e30: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 00133e40: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediat
│ │ │ -0013c920: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -0013c930: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -0013c9b0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -0013c9c0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -0013c9d0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -0013ca10: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -0013ca20: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -0013ca40: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -0013ca50: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
.include
│ │ │ -0013ca70: 7265 6d6f 7665 5f75 6677 0a0a 636c 6173 remove_ufw..clas
│ │ │ -0013ca80: 7320 7265 6d6f 7665 5f75 6677 207b 0a20 s remove_ufw {.
│ │ │ -0013ca90: 2070 6163 6b61 6765 207b 2027 7566 7727 package { 'ufw'
│ │ │ -0013caa0: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ -0013cab0: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ -0013cac0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -0013cad0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation A
│ │ │ -0013cb80: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ -0013cb90: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -0013cc10: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -0013cc20: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -0013cc30: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -0013cc40: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -0013cc80: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -0013cc90: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ -0013cca0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ -0013ccb0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -0013ccd0: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ -0013cce0: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ -0013ccf0: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ -0013cd00: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ -0013cd10: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ -0013cd20: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ -0013cd30: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -0013cd40: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ -0013cd50: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ -0013cd60: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -0013cd70: 6564 0a20 202d 2070 6163 6b61 6765 5f75 ed. - package_u
│ │ │ -0013cd80: 6677 5f72 656d 6f76 6564 0a0a 2d20 6e61 fw_removed..- na
│ │ │ -0013cd90: 6d65 3a20 2752 656d 6f76 6520 7566 7720 me: 'Remove ufw
│ │ │ -0013cda0: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ -0013cdb0: 7566 7720 6973 2072 656d 6f76 6564 270a ufw is removed'.
│ │ │ -0013cdc0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -0013cdd0: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ -0013cde0: 616d 653a 2075 6677 0a20 2020 2073 7461 ame: ufw. sta
│ │ │ -0013cdf0: 7465 3a20 6162 7365 6e74 0a20 2077 6865 te: absent. whe
│ │ │ -0013ce00: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ -0013ce10: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -0013ce20: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ -0013ce30: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_
│ │ │ -0013ce40: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -0013ce50: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -0013ce60: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -0013ce70: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -0013ce80: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -0013ce90: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -0013cea0: 6167 655f 7566 775f 7265 6d6f 7665 640a age_ufw_removed.
│ │ │ +0013c920: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ +0013c930: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +0013c940: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +0013c950: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +0013c960: 7365 2220 6964 3d22 6964 3338 3622 3e3c se" id="id386"><
│ │ │ +0013c970: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +0013c980: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +0013c990: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +0013c9a0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +0013c9b0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +0013c9c0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +0013c9d0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +0013ca00: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +0013ca10: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +0013ca20: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +0013ca40: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +0013ca50: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +0013ca70: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ +0013ca80: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ +0013ca90: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ +0013caa0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ +0013cab0: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_
│ │ │ +0013cac0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +0013cad0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +0013cae0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +0013caf0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +0013cb00: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +0013cb10: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ +0013cb20: 6167 655f 7566 775f 7265 6d6f 7665 640a age_ufw_removed.
│ │ │ +0013cb30: 0a2d 206e 616d 653a 2027 5265 6d6f 7665 .- name: 'Remove
│ │ │ +0013cb40: 2075 6677 2050 6163 6b61 6765 3a20 456e ufw Package: En
│ │ │ +0013cb50: 7375 7265 2075 6677 2069 7320 7265 6d6f sure ufw is remo
│ │ │ +0013cb60: 7665 6427 0a20 2061 6e73 6962 6c65 2e62 ved'. ansible.b
│ │ │ +0013cb70: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ +0013cb80: 2020 2020 6e61 6d65 3a20 7566 770a 2020 name: ufw.
│ │ │ +0013cb90: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ +0013cba0: 2020 7768 656e 3a20 2722 6c69 6e75 782d when: '"linux-
│ │ │ +0013cbb0: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ +0013cbc0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +0013cbd0: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ +0013cbe0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +0013cbf0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +0013cc00: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +0013cc10: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +0013cc20: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +0013cc30: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +0013cc40: 2070 6163 6b61 6765 5f75 6677 5f72 656d package_ufw_rem
│ │ │ +0013cc50: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved. Remediation
│ │ │ +0013cd10: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ +0013cd20: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +0013cdb0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +0013cdd0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +0013cdf0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +0013ce00: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +0013ce20: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +0013ce30: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ +0013ce60: 6f76 655f 7566 770a 0a63 6c61 7373 2072 ove_ufw..class r
│ │ │ +0013ce70: 656d 6f76 655f 7566 7720 7b0a 2020 7061 emove_ufw {. pa
│ │ │ +0013ce80: 636b 6167 6520 7b20 2775 6677 273a 0a20 ckage { 'ufw':.
│ │ │ +0013ce90: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ +0013cea0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}.
│ │ │ 0013ceb0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Rem
│ │ │ -0013dbf0: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ -0013dc00: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ -0013dc10: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[custo
│ │ │ -0013dc60: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic
│ │ │ -0013dc70: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = ["
│ │ │ -0013dc80: 7566 7722 5d0a 3c2f 636f 6465 3e3c 2f70 ufw"].
Remediatio
│ │ │ -0013dd40: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -0013dd50: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -0013dde0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -0013de00: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -0013de10: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0013de20: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -0013de30: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -0013de50: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include enab
│ │ │ -0013de90: 6c65 5f75 6677 0a0a 636c 6173 7320 656e le_ufw..class en
│ │ │ -0013dea0: 6162 6c65 5f75 6677 207b 0a20 2073 6572 able_ufw {. ser
│ │ │ -0013deb0: 7669 6365 207b 2775 6677 273a 0a20 2020 vice {'ufw':.
│ │ │ -0013dec0: 2065 6e61 626c 6520 3d26 6774 3b20 7472 enable => tr
│ │ │ -0013ded0: 7565 2c0a 2020 2020 656e 7375 7265 203d ue,. ensure =
│ │ │ -0013dee0: 2667 743b 2027 7275 6e6e 696e 6727 2c0a > 'running',.
│ │ │ -0013def0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediatio
│ │ │ -0013dfb0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ -0013dfc0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -0013e040: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -0013e050: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -0013e060: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -0013e070: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -0013e080: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -0013e0a0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -0013e0b0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -0013e0c0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -0013e0f0: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ -0013e100: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ -0013e110: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ -0013e120: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ -0013e130: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ -0013e140: 0a20 202d 2044 4953 412d 5354 4947 2d55 . - DISA-STIG-U
│ │ │ -0013e150: 4254 552d 3232 2d32 3531 3032 300a 2020 BTU-22-251020.
│ │ │ -0013e160: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ -0013e170: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -0013e180: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -0013e190: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ -0013e1a0: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ -0013e1b0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -0013e1c0: 0a20 202d 2073 6572 7669 6365 5f75 6677 . - service_ufw
│ │ │ -0013e1d0: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65 _enabled..- name
│ │ │ -0013e1e0: 3a20 5665 7269 6679 2075 6677 2045 6e61 : Verify ufw Ena
│ │ │ -0013e1f0: 626c 6564 202d 2045 6e61 626c 6520 7365 bled - Enable se
│ │ │ -0013e200: 7276 6963 6520 7566 770a 2020 626c 6f63 rvice ufw. bloc
│ │ │ -0013e210: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761 k:.. - name: Ga
│ │ │ -0013e220: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ -0013e230: 2066 6163 7473 0a20 2020 2061 6e73 6962 facts. ansib
│ │ │ -0013e240: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -0013e250: 6765 5f66 6163 7473 3a0a 2020 2020 2020 ge_facts:.
│ │ │ -0013e260: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20 manager: auto..
│ │ │ -0013e270: 202d 206e 616d 653a 2056 6572 6966 7920 - name: Verify
│ │ │ -0013e280: 7566 7720 456e 6162 6c65 6420 2d20 456e ufw Enabled - En
│ │ │ -0013e290: 6162 6c65 2053 6572 7669 6365 2075 6677 able Service ufw
│ │ │ -0013e2a0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -0013e2b0: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:.
│ │ │ -0013e2c0: 2020 2020 6e61 6d65 3a20 7566 770a 2020 name: ufw.
│ │ │ -0013e2d0: 2020 2020 656e 6162 6c65 643a 2074 7275 enabled: tru
│ │ │ -0013e2e0: 650a 2020 2020 2020 7374 6174 653a 2073 e. state: s
│ │ │ -0013e2f0: 7461 7274 6564 0a20 2020 2020 206d 6173 tarted. mas
│ │ │ -0013e300: 6b65 643a 2066 616c 7365 0a20 2020 2077 ked: false. w
│ │ │ -0013e310: 6865 6e3a 0a20 2020 202d 2027 2275 6677 hen:. - '"ufw
│ │ │ -0013e320: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ -0013e330: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t
│ │ │ -0013e340: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ -0013e350: 4947 2d55 4254 552d 3232 2d32 3531 3032 IG-UBTU-22-25102
│ │ │ -0013e360: 300a 2020 2d20 656e 6162 6c65 5f73 7472 0. - enable_str
│ │ │ -0013e370: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -0013e380: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -0013e390: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -0013e3a0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -0013e3b0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -0013e3c0: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ -0013e3d0: 5f75 6677 5f65 6e61 626c 6564 0a20 202d _ufw_enabled. -
│ │ │ -0013e3e0: 2073 7065 6369 616c 5f73 6572 7669 6365 special_service
│ │ │ -0013e3f0: 5f62 6c6f 636b 0a20 2077 6865 6e3a 0a20 _block. when:.
│ │ │ -0013e400: 202d 2027 226c 696e 7578 2d62 6173 6522 - '"linux-base"
│ │ │ -0013e410: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -0013e420: 732e 7061 636b 6167 6573 270a 2020 2d20 s.packages'. -
│ │ │ -0013e430: 2820 2275 6677 2220 696e 2061 6e73 6962 ( "ufw" in ansib
│ │ │ -0013e440: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ -0013e450: 7320 616e 6420 226c 696e 7578 2d62 6173 s and "linux-bas
│ │ │ -0013e460: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ -0013e470: 6374 732e 7061 636b 6167 6573 2029 0a3c cts.packages ).<
│ │ │ +0013dbf0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ +0013dc00: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +0013dc10: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +0013dc90: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +0013dcb0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +0013dcc0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +0013dcd0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0013dce0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +0013dcf0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +0013dd00: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +0013dd10: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +0013dd20: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +0013dd40: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +0013dd50: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ +0013dd60: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ +0013dd70: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +0013dd80: 2020 7461 6773 3a0a 2020 2d20 4449 5341 tags:. - DISA
│ │ │ +0013dd90: 2d53 5449 472d 5542 5455 2d32 322d 3235 -STIG-UBTU-22-25
│ │ │ +0013dda0: 3130 3230 0a20 202d 2065 6e61 626c 655f 1020. - enable_
│ │ │ +0013ddb0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +0013ddc0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +0013ddd0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +0013dde0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +0013ddf0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +0013de00: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv
│ │ │ +0013de10: 6963 655f 7566 775f 656e 6162 6c65 640a ice_ufw_enabled.
│ │ │ +0013de20: 0a2d 206e 616d 653a 2056 6572 6966 7920 .- name: Verify
│ │ │ +0013de30: 7566 7720 456e 6162 6c65 6420 2d20 456e ufw Enabled - En
│ │ │ +0013de40: 6162 6c65 2073 6572 7669 6365 2075 6677 able service ufw
│ │ │ +0013de50: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e . block:.. - n
│ │ │ +0013de60: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +0013de70: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +0013de80: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +0013de90: 6e2e 7061 636b 6167 655f 6661 6374 733a n.package_facts:
│ │ │ +0013dea0: 0a20 2020 2020 206d 616e 6167 6572 3a20 . manager:
│ │ │ +0013deb0: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20 auto.. - name:
│ │ │ +0013dec0: 5665 7269 6679 2075 6677 2045 6e61 626c Verify ufw Enabl
│ │ │ +0013ded0: 6564 202d 2045 6e61 626c 6520 5365 7276 ed - Enable Serv
│ │ │ +0013dee0: 6963 6520 7566 770a 2020 2020 616e 7369 ice ufw. ansi
│ │ │ +0013def0: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst
│ │ │ +0013df00: 656d 643a 0a20 2020 2020 206e 616d 653a emd:. name:
│ │ │ +0013df10: 2075 6677 0a20 2020 2020 2065 6e61 626c ufw. enabl
│ │ │ +0013df20: 6564 3a20 7472 7565 0a20 2020 2020 2073 ed: true. s
│ │ │ +0013df30: 7461 7465 3a20 7374 6172 7465 640a 2020 tate: started.
│ │ │ +0013df40: 2020 2020 6d61 736b 6564 3a20 6661 6c73 masked: fals
│ │ │ +0013df50: 650a 2020 2020 7768 656e 3a0a 2020 2020 e. when:.
│ │ │ +0013df60: 2d20 2722 7566 7722 2069 6e20 616e 7369 - '"ufw" in ansi
│ │ │ +0013df70: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ +0013df80: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. -
│ │ │ +0013df90: 4449 5341 2d53 5449 472d 5542 5455 2d32 DISA-STIG-UBTU-2
│ │ │ +0013dfa0: 322d 3235 3130 3230 0a20 202d 2065 6e61 2-251020. - ena
│ │ │ +0013dfb0: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +0013dfc0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +0013dfd0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +0013dfe0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ +0013dff0: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ +0013e000: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +0013e010: 7365 7276 6963 655f 7566 775f 656e 6162 service_ufw_enab
│ │ │ +0013e020: 6c65 640a 2020 2d20 7370 6563 6961 6c5f led. - special_
│ │ │ +0013e030: 7365 7276 6963 655f 626c 6f63 6b0a 2020 service_block.
│ │ │ +0013e040: 7768 656e 3a0a 2020 2d20 2722 6c69 6e75 when:. - '"linu
│ │ │ +0013e050: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ +0013e060: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ +0013e070: 7327 0a20 202d 2028 2022 7566 7722 2069 s'. - ( "ufw" i
│ │ │ +0013e080: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ +0013e090: 7061 636b 6167 6573 2061 6e64 2022 6c69 packages and "li
│ │ │ +0013e0a0: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ +0013e0b0: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ +0013e0c0: 6765 7320 290a 3c2f 636f 6465 3e3c 2f70 ges ).
Remediatio
│ │ │ +0013e180: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +0013e190: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +0013e220: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +0013e240: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +0013e250: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +0013e260: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +0013e270: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +0013e290: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include enab
│ │ │ +0013e2d0: 6c65 5f75 6677 0a0a 636c 6173 7320 656e le_ufw..class en
│ │ │ +0013e2e0: 6162 6c65 5f75 6677 207b 0a20 2073 6572 able_ufw {. ser
│ │ │ +0013e2f0: 7669 6365 207b 2775 6677 273a 0a20 2020 vice {'ufw':.
│ │ │ +0013e300: 2065 6e61 626c 6520 3d26 6774 3b20 7472 enable => tr
│ │ │ +0013e310: 7565 2c0a 2020 2020 656e 7375 7265 203d ue,. ensure =
│ │ │ +0013e320: 2667 743b 2027 7275 6e6e 696e 6727 2c0a > 'running',.
│ │ │ +0013e330: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediatio
│ │ │ +0013e3f0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr
│ │ │ +0013e400: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...<
│ │ │ +0013e410: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[customizatio
│ │ │ +0013e460: 6e73 2e73 6572 7669 6365 735d 0a65 6e61 ns.services].ena
│ │ │ +0013e470: 626c 6564 203d 205b 2275 6677 225d 0a3c bled = ["ufw"].<
│ │ │ 0013e480: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Rem
│ │ │ -00172e50: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ -00172e60: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ -00172e70: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[custo
│ │ │ -00172ec0: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic
│ │ │ -00172ed0: 6573 5d0a 6d61 736b 6564 203d 205b 2261 es].masked = ["a
│ │ │ -00172ee0: 7574 6f66 7322 5d0a 3c2f 636f 6465 3e3c utofs"].<
│ │ │ -00172ef0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ -00172fa0: 696f 6e20 4b75 6265 726e 6574 6573 2073 ion Kubernetes s
│ │ │ -00172fb0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -00173040: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -00173050: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -00173070: 3c2f 7468 3e3c 7464 3e6d 6564 6975 6d3c medium<
│ │ │ -00173080: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: true <
│ │ │ -001730b0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001730c0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -001730d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c api
│ │ │ -001730f0: 5665 7273 696f 6e3a 206d 6163 6869 6e65 Version: machine
│ │ │ -00173100: 636f 6e66 6967 7572 6174 696f 6e2e 6f70 configuration.op
│ │ │ -00173110: 656e 7368 6966 742e 696f 2f76 310a 6b69 enshift.io/v1.ki
│ │ │ -00173120: 6e64 3a20 4d61 6368 696e 6543 6f6e 6669 nd: MachineConfi
│ │ │ -00173130: 670a 7370 6563 3a0a 2020 636f 6e66 6967 g.spec:. config
│ │ │ -00173140: 3a0a 2020 2020 6967 6e69 7469 6f6e 3a0a :. ignition:.
│ │ │ -00173150: 2020 2020 2020 7665 7273 696f 6e3a 2033 version: 3
│ │ │ -00173160: 2e31 2e30 0a20 2020 2073 7973 7465 6d64 .1.0. systemd
│ │ │ -00173170: 3a0a 2020 2020 2020 756e 6974 733a 0a20 :. units:.
│ │ │ -00173180: 2020 2020 202d 206e 616d 653a 2061 7574 - name: aut
│ │ │ -00173190: 6f66 732e 7365 7276 6963 650a 2020 2020 ofs.service.
│ │ │ -001731a0: 2020 2020 656e 6162 6c65 643a 2066 616c enabled: fal
│ │ │ -001731b0: 7365 0a20 2020 2020 2020 206d 6173 6b3a se. mask:
│ │ │ -001731c0: 2074 7275 650a 2020 2020 2020 2d20 6e61 true. - na
│ │ │ -001731d0: 6d65 3a20 6175 746f 6673 2e73 6f63 6b65 me: autofs.socke
│ │ │ -001731e0: 740a 2020 2020 2020 2020 656e 6162 6c65 t. enable
│ │ │ -001731f0: 643a 2066 616c 7365 0a20 2020 2020 2020 d: false.
│ │ │ -00173200: 206d 6173 6b3a 2074 7275 650a 3c2f 636f mask: true.
<
│ │ │ -00173220: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -00173230: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -00173240: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -00173250: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -00173260: 6434 3935 2220 7461 6269 6e64 6578 3d22 d495" tabindex="
│ │ │ -00173270: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -00173280: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -00173290: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -001732a0: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -001732b0: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001732c0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ -001732d0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -00173360: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -00173370: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -00173390: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001733b0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001733c0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001733e0: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ -00173400: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ
│ │ │ -00173410: 6520 6469 7361 626c 655f 6175 746f 6673 e disable_autofs
│ │ │ -00173420: 0a0a 636c 6173 7320 6469 7361 626c 655f ..class disable_
│ │ │ -00173430: 6175 746f 6673 207b 0a20 2073 6572 7669 autofs {. servi
│ │ │ -00173440: 6365 207b 2761 7574 6f66 7327 3a0a 2020 ce {'autofs':.
│ │ │ -00173450: 2020 656e 6162 6c65 203d 2667 743b 2066 enable => f
│ │ │ -00173460: 616c 7365 2c0a 2020 2020 656e 7375 7265 alse,. ensure
│ │ │ -00173470: 203d 2667 743b 2027 7374 6f70 7065 6427 => 'stopped'
│ │ │ -00173480: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ -00173490: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediat
│ │ │ -00173540: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ -00173550: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -00173560: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -00173570: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -00173580: 7365 2220 6964 3d22 6964 3439 3622 3e3c se" id="id496"><
│ │ │ -00173590: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -001735a0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -001735b0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -001735c0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -001735d0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -001735e0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -001735f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -00173620: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -00173630: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -00173640: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -00173660: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -00173670: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -00173690: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ -001736a0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ -001736b0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ -001736c0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ -001736d0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -001736e0: 2d31 3731 2d33 2e34 2e36 0a20 202d 204e -171-3.4.6. - N
│ │ │ -001736f0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ -00173700: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ -00173710: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N
│ │ │ -00173720: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ -00173730: 6229 0a20 202d 204e 4953 542d 3830 302d b). - NIST-800-
│ │ │ -00173740: 3533 2d4d 502d 370a 2020 2d20 6469 7361 53-MP-7. - disa
│ │ │ -00173750: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -00173760: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -00173770: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -00173780: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -00173790: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -001737a0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -001737b0: 7365 7276 6963 655f 6175 746f 6673 5f64 service_autofs_d
│ │ │ -001737c0: 6973 6162 6c65 640a 0a2d 206e 616d 653a isabled..- name:
│ │ │ -001737d0: 2044 6973 6162 6c65 2074 6865 2041 7574 Disable the Aut
│ │ │ -001737e0: 6f6d 6f75 6e74 6572 202d 2044 6973 6162 omounter - Disab
│ │ │ -001737f0: 6c65 2073 6572 7669 6365 2061 7574 6f66 le service autof
│ │ │ -00173800: 730a 2020 626c 6f63 6b3a 0a0a 2020 2d20 s. block:.. -
│ │ │ -00173810: 6e61 6d65 3a20 4469 7361 626c 6520 7468 name: Disable th
│ │ │ -00173820: 6520 4175 746f 6d6f 756e 7465 7220 2d20 e Automounter -
│ │ │ -00173830: 436f 6c6c 6563 7420 7379 7374 656d 6420 Collect systemd
│ │ │ -00173840: 5365 7276 6963 6573 2050 7265 7365 6e74 Services Present
│ │ │ -00173850: 2069 6e20 7468 6520 5379 7374 656d 0a20 in the System.
│ │ │ -00173860: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ -00173870: 696e 2e63 6f6d 6d61 6e64 3a20 7379 7374 in.command: syst
│ │ │ -00173880: 656d 6374 6c20 2d71 206c 6973 742d 756e emctl -q list-un
│ │ │ -00173890: 6974 2d66 696c 6573 202d 2d74 7970 6520 it-files --type
│ │ │ -001738a0: 7365 7276 6963 650a 2020 2020 7265 6769 service. regi
│ │ │ -001738b0: 7374 6572 3a20 7365 7276 6963 655f 6578 ster: service_ex
│ │ │ -001738c0: 6973 7473 0a20 2020 2063 6861 6e67 6564 ists. changed
│ │ │ -001738d0: 5f77 6865 6e3a 2066 616c 7365 0a20 2020 _when: false.
│ │ │ -001738e0: 2066 6169 6c65 645f 7768 656e 3a20 7365 failed_when: se
│ │ │ -001738f0: 7276 6963 655f 6578 6973 7473 2e72 6320 rvice_exists.rc
│ │ │ -00173900: 6e6f 7420 696e 205b 302c 2031 5d0a 2020 not in [0, 1].
│ │ │ -00173910: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661 check_mode: fa
│ │ │ -00173920: 6c73 650a 0a20 202d 206e 616d 653a 2044 lse.. - name: D
│ │ │ -00173930: 6973 6162 6c65 2074 6865 2041 7574 6f6d isable the Autom
│ │ │ -00173940: 6f75 6e74 6572 202d 2045 6e73 7572 6520 ounter - Ensure
│ │ │ -00173950: 6175 746f 6673 2e73 6572 7669 6365 2069 autofs.service i
│ │ │ -00173960: 7320 4d61 736b 6564 0a20 2020 2061 6e73 s Masked. ans
│ │ │ -00173970: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys
│ │ │ -00173980: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65 temd:. name
│ │ │ -00173990: 3a20 6175 746f 6673 2e73 6572 7669 6365 : autofs.service
│ │ │ -001739a0: 0a20 2020 2020 2073 7461 7465 3a20 7374 . state: st
│ │ │ -001739b0: 6f70 7065 640a 2020 2020 2020 656e 6162 opped. enab
│ │ │ -001739c0: 6c65 643a 2066 616c 7365 0a20 2020 2020 led: false.
│ │ │ -001739d0: 206d 6173 6b65 643a 2074 7275 650a 2020 masked: true.
│ │ │ -001739e0: 2020 7768 656e 3a20 7365 7276 6963 655f when: service_
│ │ │ -001739f0: 6578 6973 7473 2e73 7464 6f75 745f 6c69 exists.stdout_li
│ │ │ -00173a00: 6e65 7320 6973 2073 6561 7263 6828 2261 nes is search("a
│ │ │ -00173a10: 7574 6f66 732e 7365 7276 6963 6522 2c20 utofs.service",
│ │ │ -00173a20: 6d75 6c74 696c 696e 653d 5472 7565 290a multiline=True).
│ │ │ -00173a30: 0a20 202d 206e 616d 653a 2055 6e69 7420 . - name: Unit
│ │ │ -00173a40: 536f 636b 6574 2045 7869 7374 7320 2d20 Socket Exists -
│ │ │ -00173a50: 6175 746f 6673 2e73 6f63 6b65 740a 2020 autofs.socket.
│ │ │ -00173a60: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -00173a70: 6e2e 636f 6d6d 616e 643a 2073 7973 7465 n.command: syste
│ │ │ -00173a80: 6d63 746c 202d 7120 6c69 7374 2d75 6e69 mctl -q list-uni
│ │ │ -00173a90: 742d 6669 6c65 7320 6175 746f 6673 2e73 t-files autofs.s
│ │ │ -00173aa0: 6f63 6b65 740a 2020 2020 7265 6769 7374 ocket. regist
│ │ │ -00173ab0: 6572 3a20 736f 636b 6574 5f66 696c 655f er: socket_file_
│ │ │ -00173ac0: 6578 6973 7473 0a20 2020 2063 6861 6e67 exists. chang
│ │ │ -00173ad0: 6564 5f77 6865 6e3a 2066 616c 7365 0a20 ed_when: false.
│ │ │ -00173ae0: 2020 2066 6169 6c65 645f 7768 656e 3a20 failed_when:
│ │ │ -00173af0: 736f 636b 6574 5f66 696c 655f 6578 6973 socket_file_exis
│ │ │ -00173b00: 7473 2e72 6320 6e6f 7420 696e 205b 302c ts.rc not in [0,
│ │ │ -00173b10: 2031 5d0a 2020 2020 6368 6563 6b5f 6d6f 1]. check_mo
│ │ │ -00173b20: 6465 3a20 6661 6c73 650a 0a20 202d 206e de: false.. - n
│ │ │ -00173b30: 616d 653a 2044 6973 6162 6c65 2074 6865 ame: Disable the
│ │ │ -00173b40: 2041 7574 6f6d 6f75 6e74 6572 202d 2044 Automounter - D
│ │ │ -00173b50: 6973 6162 6c65 2053 6f63 6b65 7420 6175 isable Socket au
│ │ │ -00173b60: 746f 6673 0a20 2020 2061 6e73 6962 6c65 tofs. ansible
│ │ │ -00173b70: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd
│ │ │ -00173b80: 3a0a 2020 2020 2020 6e61 6d65 3a20 6175 :. name: au
│ │ │ -00173b90: 746f 6673 2e73 6f63 6b65 740a 2020 2020 tofs.socket.
│ │ │ -00173ba0: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false
│ │ │ -00173bb0: 0a20 2020 2020 2073 7461 7465 3a20 7374 . state: st
│ │ │ -00173bc0: 6f70 7065 640a 2020 2020 2020 6d61 736b opped. mask
│ │ │ -00173bd0: 6564 3a20 7472 7565 0a20 2020 2077 6865 ed: true. whe
│ │ │ -00173be0: 6e3a 2073 6f63 6b65 745f 6669 6c65 5f65 n: socket_file_e
│ │ │ -00173bf0: 7869 7374 732e 7374 646f 7574 5f6c 696e xists.stdout_lin
│ │ │ -00173c00: 6573 2069 7320 7365 6172 6368 2822 6175 es is search("au
│ │ │ -00173c10: 746f 6673 2e73 6f63 6b65 7422 2c20 6d75 tofs.socket", mu
│ │ │ -00173c20: 6c74 696c 696e 653d 5472 7565 290a 2020 ltiline=True).
│ │ │ -00173c30: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ -00173c40: 3030 2d31 3731 2d33 2e34 2e36 0a20 202d 00-171-3.4.6. -
│ │ │ -00173c50: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -00173c60: 3628 6129 0a20 202d 204e 4953 542d 3830 6(a). - NIST-80
│ │ │ -00173c70: 302d 3533 2d43 4d2d 3728 6129 0a20 202d 0-53-CM-7(a). -
│ │ │ -00173c80: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -00173c90: 3728 6229 0a20 202d 204e 4953 542d 3830 7(b). - NIST-80
│ │ │ -00173ca0: 302d 3533 2d4d 502d 370a 2020 2d20 6469 0-53-MP-7. - di
│ │ │ -00173cb0: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ -00173cc0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -00173cd0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -00173ce0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -00173cf0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -00173d00: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -00173d10: 2d20 7365 7276 6963 655f 6175 746f 6673 - service_autofs
│ │ │ -00173d20: 5f64 6973 6162 6c65 640a 2020 2d20 7370 _disabled. - sp
│ │ │ -00173d30: 6563 6961 6c5f 7365 7276 6963 655f 626c ecial_service_bl
│ │ │ -00173d40: 6f63 6b0a 2020 7768 656e 3a20 2820 2261 ock. when: ( "a
│ │ │ -00173d50: 7574 6f66 7322 2069 6e20 616e 7369 626c utofs" in ansibl
│ │ │ -00173d60: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -00173d70: 2061 6e64 2022 6c69 6e75 782d 6261 7365 and "linux-base
│ │ │ -00173d80: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ -00173d90: 7473 2e70 6163 6b61 6765 730a 2020 2020 ts.packages.
│ │ │ -00173da0: 290a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ).<
│ │ │ +00172e50: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ +00172e60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +00172e70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +00172ef0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +00172f10: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +00172f20: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +00172f30: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00172f40: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +00172f50: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +00172f60: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +00172f70: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +00172f80: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +00172fa0: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +00172fb0: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +00172fc0: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ +00172fd0: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ +00172fe0: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ +00172ff0: 542d 3830 302d 3137 312d 332e 342e 360a T-800-171-3.4.6.
│ │ │ +00173000: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +00173010: 434d 2d36 2861 290a 2020 2d20 4e49 5354 CM-6(a). - NIST
│ │ │ +00173020: 2d38 3030 2d35 332d 434d 2d37 2861 290a -800-53-CM-7(a).
│ │ │ +00173030: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +00173040: 434d 2d37 2862 290a 2020 2d20 4e49 5354 CM-7(b). - NIST
│ │ │ +00173050: 2d38 3030 2d35 332d 4d50 2d37 0a20 202d -800-53-MP-7. -
│ │ │ +00173060: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ +00173070: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +00173080: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +00173090: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ +001730a0: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ +001730b0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +001730c0: 0a20 202d 2073 6572 7669 6365 5f61 7574 . - service_aut
│ │ │ +001730d0: 6f66 735f 6469 7361 626c 6564 0a0a 2d20 ofs_disabled..-
│ │ │ +001730e0: 6e61 6d65 3a20 4469 7361 626c 6520 7468 name: Disable th
│ │ │ +001730f0: 6520 4175 746f 6d6f 756e 7465 7220 2d20 e Automounter -
│ │ │ +00173100: 4469 7361 626c 6520 7365 7276 6963 6520 Disable service
│ │ │ +00173110: 6175 746f 6673 0a20 2062 6c6f 636b 3a0a autofs. block:.
│ │ │ +00173120: 0a20 202d 206e 616d 653a 2044 6973 6162 . - name: Disab
│ │ │ +00173130: 6c65 2074 6865 2041 7574 6f6d 6f75 6e74 le the Automount
│ │ │ +00173140: 6572 202d 2043 6f6c 6c65 6374 2073 7973 er - Collect sys
│ │ │ +00173150: 7465 6d64 2053 6572 7669 6365 7320 5072 temd Services Pr
│ │ │ +00173160: 6573 656e 7420 696e 2074 6865 2053 7973 esent in the Sys
│ │ │ +00173170: 7465 6d0a 2020 2020 616e 7369 626c 652e tem. ansible.
│ │ │ +00173180: 6275 696c 7469 6e2e 636f 6d6d 616e 643a builtin.command:
│ │ │ +00173190: 2073 7973 7465 6d63 746c 202d 7120 6c69 systemctl -q li
│ │ │ +001731a0: 7374 2d75 6e69 742d 6669 6c65 7320 2d2d st-unit-files --
│ │ │ +001731b0: 7479 7065 2073 6572 7669 6365 0a20 2020 type service.
│ │ │ +001731c0: 2072 6567 6973 7465 723a 2073 6572 7669 register: servi
│ │ │ +001731d0: 6365 5f65 7869 7374 730a 2020 2020 6368 ce_exists. ch
│ │ │ +001731e0: 616e 6765 645f 7768 656e 3a20 6661 6c73 anged_when: fals
│ │ │ +001731f0: 650a 2020 2020 6661 696c 6564 5f77 6865 e. failed_whe
│ │ │ +00173200: 6e3a 2073 6572 7669 6365 5f65 7869 7374 n: service_exist
│ │ │ +00173210: 732e 7263 206e 6f74 2069 6e20 5b30 2c20 s.rc not in [0,
│ │ │ +00173220: 315d 0a20 2020 2063 6865 636b 5f6d 6f64 1]. check_mod
│ │ │ +00173230: 653a 2066 616c 7365 0a0a 2020 2d20 6e61 e: false.. - na
│ │ │ +00173240: 6d65 3a20 4469 7361 626c 6520 7468 6520 me: Disable the
│ │ │ +00173250: 4175 746f 6d6f 756e 7465 7220 2d20 456e Automounter - En
│ │ │ +00173260: 7375 7265 2061 7574 6f66 732e 7365 7276 sure autofs.serv
│ │ │ +00173270: 6963 6520 6973 204d 6173 6b65 640a 2020 ice is Masked.
│ │ │ +00173280: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +00173290: 6e2e 7379 7374 656d 643a 0a20 2020 2020 n.systemd:.
│ │ │ +001732a0: 206e 616d 653a 2061 7574 6f66 732e 7365 name: autofs.se
│ │ │ +001732b0: 7276 6963 650a 2020 2020 2020 7374 6174 rvice. stat
│ │ │ +001732c0: 653a 2073 746f 7070 6564 0a20 2020 2020 e: stopped.
│ │ │ +001732d0: 2065 6e61 626c 6564 3a20 6661 6c73 650a enabled: false.
│ │ │ +001732e0: 2020 2020 2020 6d61 736b 6564 3a20 7472 masked: tr
│ │ │ +001732f0: 7565 0a20 2020 2077 6865 6e3a 2073 6572 ue. when: ser
│ │ │ +00173300: 7669 6365 5f65 7869 7374 732e 7374 646f vice_exists.stdo
│ │ │ +00173310: 7574 5f6c 696e 6573 2069 7320 7365 6172 ut_lines is sear
│ │ │ +00173320: 6368 2822 6175 746f 6673 2e73 6572 7669 ch("autofs.servi
│ │ │ +00173330: 6365 222c 206d 756c 7469 6c69 6e65 3d54 ce", multiline=T
│ │ │ +00173340: 7275 6529 0a0a 2020 2d20 6e61 6d65 3a20 rue).. - name:
│ │ │ +00173350: 556e 6974 2053 6f63 6b65 7420 4578 6973 Unit Socket Exis
│ │ │ +00173360: 7473 202d 2061 7574 6f66 732e 736f 636b ts - autofs.sock
│ │ │ +00173370: 6574 0a20 2020 2061 6e73 6962 6c65 2e62 et. ansible.b
│ │ │ +00173380: 7569 6c74 696e 2e63 6f6d 6d61 6e64 3a20 uiltin.command:
│ │ │ +00173390: 7379 7374 656d 6374 6c20 2d71 206c 6973 systemctl -q lis
│ │ │ +001733a0: 742d 756e 6974 2d66 696c 6573 2061 7574 t-unit-files aut
│ │ │ +001733b0: 6f66 732e 736f 636b 6574 0a20 2020 2072 ofs.socket. r
│ │ │ +001733c0: 6567 6973 7465 723a 2073 6f63 6b65 745f egister: socket_
│ │ │ +001733d0: 6669 6c65 5f65 7869 7374 730a 2020 2020 file_exists.
│ │ │ +001733e0: 6368 616e 6765 645f 7768 656e 3a20 6661 changed_when: fa
│ │ │ +001733f0: 6c73 650a 2020 2020 6661 696c 6564 5f77 lse. failed_w
│ │ │ +00173400: 6865 6e3a 2073 6f63 6b65 745f 6669 6c65 hen: socket_file
│ │ │ +00173410: 5f65 7869 7374 732e 7263 206e 6f74 2069 _exists.rc not i
│ │ │ +00173420: 6e20 5b30 2c20 315d 0a20 2020 2063 6865 n [0, 1]. che
│ │ │ +00173430: 636b 5f6d 6f64 653a 2066 616c 7365 0a0a ck_mode: false..
│ │ │ +00173440: 2020 2d20 6e61 6d65 3a20 4469 7361 626c - name: Disabl
│ │ │ +00173450: 6520 7468 6520 4175 746f 6d6f 756e 7465 e the Automounte
│ │ │ +00173460: 7220 2d20 4469 7361 626c 6520 536f 636b r - Disable Sock
│ │ │ +00173470: 6574 2061 7574 6f66 730a 2020 2020 616e et autofs. an
│ │ │ +00173480: 7369 626c 652e 6275 696c 7469 6e2e 7379 sible.builtin.sy
│ │ │ +00173490: 7374 656d 643a 0a20 2020 2020 206e 616d stemd:. nam
│ │ │ +001734a0: 653a 2061 7574 6f66 732e 736f 636b 6574 e: autofs.socket
│ │ │ +001734b0: 0a20 2020 2020 2065 6e61 626c 6564 3a20 . enabled:
│ │ │ +001734c0: 6661 6c73 650a 2020 2020 2020 7374 6174 false. stat
│ │ │ +001734d0: 653a 2073 746f 7070 6564 0a20 2020 2020 e: stopped.
│ │ │ +001734e0: 206d 6173 6b65 643a 2074 7275 650a 2020 masked: true.
│ │ │ +001734f0: 2020 7768 656e 3a20 736f 636b 6574 5f66 when: socket_f
│ │ │ +00173500: 696c 655f 6578 6973 7473 2e73 7464 6f75 ile_exists.stdou
│ │ │ +00173510: 745f 6c69 6e65 7320 6973 2073 6561 7263 t_lines is searc
│ │ │ +00173520: 6828 2261 7574 6f66 732e 736f 636b 6574 h("autofs.socket
│ │ │ +00173530: 222c 206d 756c 7469 6c69 6e65 3d54 7275 ", multiline=Tru
│ │ │ +00173540: 6529 0a20 2074 6167 733a 0a20 202d 204e e). tags:. - N
│ │ │ +00173550: 4953 542d 3830 302d 3137 312d 332e 342e IST-800-171-3.4.
│ │ │ +00173560: 360a 2020 2d20 4e49 5354 2d38 3030 2d35 6. - NIST-800-5
│ │ │ +00173570: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI
│ │ │ +00173580: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a
│ │ │ +00173590: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ +001735a0: 332d 434d 2d37 2862 290a 2020 2d20 4e49 3-CM-7(b). - NI
│ │ │ +001735b0: 5354 2d38 3030 2d35 332d 4d50 2d37 0a20 ST-800-53-MP-7.
│ │ │ +001735c0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ +001735d0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +001735e0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +001735f0: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ +00173600: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +00173610: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +00173620: 6564 0a20 202d 2073 6572 7669 6365 5f61 ed. - service_a
│ │ │ +00173630: 7574 6f66 735f 6469 7361 626c 6564 0a20 utofs_disabled.
│ │ │ +00173640: 202d 2073 7065 6369 616c 5f73 6572 7669 - special_servi
│ │ │ +00173650: 6365 5f62 6c6f 636b 0a20 2077 6865 6e3a ce_block. when:
│ │ │ +00173660: 2028 2022 6175 746f 6673 2220 696e 2061 ( "autofs" in a
│ │ │ +00173670: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +00173680: 6b61 6765 7320 616e 6420 226c 696e 7578 kages and "linux
│ │ │ +00173690: 2d62 6173 6522 2069 6e20 616e 7369 626c -base" in ansibl
│ │ │ +001736a0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ +001736b0: 0a20 2020 2029 0a3c 2f63 6f64 653e 3c2f . ).
│ │ │ +001736c0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ +00173770: 6f6e 204b 7562 6572 6e65 7465 7320 736e on Kubernetes sn
│ │ │ +00173780: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +00173810: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +00173820: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00173830: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +00173840: 2f74 683e 3c74 643e 6d65 6469 756d 3c2f /th> medium
│ │ │ +00173850: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00173860: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +00173870: 7472 7565 3c2f 7464 3e3c 2f74 723e 3c74 true Strategy:<
│ │ │ +00173890: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001738a0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
apiV
│ │ │ +001738c0: 6572 7369 6f6e 3a20 6d61 6368 696e 6563 ersion: machinec
│ │ │ +001738d0: 6f6e 6669 6775 7261 7469 6f6e 2e6f 7065 onfiguration.ope
│ │ │ +001738e0: 6e73 6869 6674 2e69 6f2f 7631 0a6b 696e nshift.io/v1.kin
│ │ │ +001738f0: 643a 204d 6163 6869 6e65 436f 6e66 6967 d: MachineConfig
│ │ │ +00173900: 0a73 7065 633a 0a20 2063 6f6e 6669 673a .spec:. config:
│ │ │ +00173910: 0a20 2020 2069 676e 6974 696f 6e3a 0a20 . ignition:.
│ │ │ +00173920: 2020 2020 2076 6572 7369 6f6e 3a20 332e version: 3.
│ │ │ +00173930: 312e 300a 2020 2020 7379 7374 656d 643a 1.0. systemd:
│ │ │ +00173940: 0a20 2020 2020 2075 6e69 7473 3a0a 2020 . units:.
│ │ │ +00173950: 2020 2020 2d20 6e61 6d65 3a20 6175 746f - name: auto
│ │ │ +00173960: 6673 2e73 6572 7669 6365 0a20 2020 2020 fs.service.
│ │ │ +00173970: 2020 2065 6e61 626c 6564 3a20 6661 6c73 enabled: fals
│ │ │ +00173980: 650a 2020 2020 2020 2020 6d61 736b 3a20 e. mask:
│ │ │ +00173990: 7472 7565 0a20 2020 2020 202d 206e 616d true. - nam
│ │ │ +001739a0: 653a 2061 7574 6f66 732e 736f 636b 6574 e: autofs.socket
│ │ │ +001739b0: 0a20 2020 2020 2020 2065 6e61 626c 6564 . enabled
│ │ │ +001739c0: 3a20 6661 6c73 650a 2020 2020 2020 2020 : false.
│ │ │ +001739d0: 6d61 736b 3a20 7472 7565 0a3c 2f63 6f64 mask: true.
Remed
│ │ │ +00173a90: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ +00173aa0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +00173b30: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +00173b40: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00173b50: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +00173b60: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00173b70: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +00173b80: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +00173b90: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +00173ba0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
include
│ │ │ +00173be0: 2064 6973 6162 6c65 5f61 7574 6f66 730a disable_autofs.
│ │ │ +00173bf0: 0a63 6c61 7373 2064 6973 6162 6c65 5f61 .class disable_a
│ │ │ +00173c00: 7574 6f66 7320 7b0a 2020 7365 7276 6963 utofs {. servic
│ │ │ +00173c10: 6520 7b27 6175 746f 6673 273a 0a20 2020 e {'autofs':.
│ │ │ +00173c20: 2065 6e61 626c 6520 3d26 6774 3b20 6661 enable => fa
│ │ │ +00173c30: 6c73 652c 0a20 2020 2065 6e73 7572 6520 lse,. ensure
│ │ │ +00173c40: 3d26 6774 3b20 2773 746f 7070 6564 272c => 'stopped',
│ │ │ +00173c50: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ +00173c60: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ +00173d10: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ +00173d20: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ +00173d30: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[customizati
│ │ │ +00173d80: 6f6e 732e 7365 7276 6963 6573 5d0a 6d61 ons.services].ma
│ │ │ +00173d90: 736b 6564 203d 205b 2261 7574 6f66 7322 sked = ["autofs"
│ │ │ +00173da0: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ].
<
│ │ │ 00173db0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation
│ │ │ -001b4a90: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ -001b4aa0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
│ │ │ -001b4af0: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73 .[customizations
│ │ │ -001b4b00: 2e73 6572 7669 6365 735d 0a6d 6173 6b65 .services].maske
│ │ │ -001b4b10: 6420 3d20 5b22 6170 706f 7274 225d 0a3c d = ["apport"].<
│ │ │ -001b4b20: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -001b4bd0: 656d 6564 6961 7469 6f6e 204b 7562 6572 emediation Kuber
│ │ │ -001b4be0: 6e65 7465 7320 736e 6970 7065 7420 e287 netes snippet ..
│ │ │ -001b4bf0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001b4c70: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001b4c80: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001b4c90: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001b4ca0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001b4cb0: 6d65 6469 756d 3c2f 7464 3e3c 2f74 723e medium
│ │ │ -001b4cc0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -001b4cd0: 2f74 683e 3c74 643e 7472 7565 3c2f 7464 /th> true St
│ │ │ -001b4cf0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -001b4d00: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
apiVersion:
│ │ │ -001b4d30: 6d61 6368 696e 6563 6f6e 6669 6775 7261 machineconfigura
│ │ │ -001b4d40: 7469 6f6e 2e6f 7065 6e73 6869 6674 2e69 tion.openshift.i
│ │ │ -001b4d50: 6f2f 7631 0a6b 696e 643a 204d 6163 6869 o/v1.kind: Machi
│ │ │ -001b4d60: 6e65 436f 6e66 6967 0a73 7065 633a 0a20 neConfig.spec:.
│ │ │ -001b4d70: 2063 6f6e 6669 673a 0a20 2020 2069 676e config:. ign
│ │ │ -001b4d80: 6974 696f 6e3a 0a20 2020 2020 2076 6572 ition:. ver
│ │ │ -001b4d90: 7369 6f6e 3a20 332e 312e 300a 2020 2020 sion: 3.1.0.
│ │ │ -001b4da0: 7379 7374 656d 643a 0a20 2020 2020 2075 systemd:. u
│ │ │ -001b4db0: 6e69 7473 3a0a 2020 2020 2020 2d20 6e61 nits:. - na
│ │ │ -001b4dc0: 6d65 3a20 6170 706f 7274 2e73 6572 7669 me: apport.servi
│ │ │ -001b4dd0: 6365 0a20 2020 2020 2020 2065 6e61 626c ce. enabl
│ │ │ -001b4de0: 6564 3a20 6661 6c73 650a 2020 2020 2020 ed: false.
│ │ │ -001b4df0: 2020 6d61 736b 3a20 7472 7565 0a20 2020 mask: true.
│ │ │ -001b4e00: 2020 202d 206e 616d 653a 2061 7070 6f72 - name: appor
│ │ │ -001b4e10: 742e 736f 636b 6574 0a20 2020 2020 2020 t.socket.
│ │ │ -001b4e20: 2065 6e61 626c 6564 3a20 6661 6c73 650a enabled: false.
│ │ │ -001b4e30: 2020 2020 2020 2020 6d61 736b 3a20 7472 mask: tr
│ │ │ -001b4e40: 7565 0a3c 2f63 6f64 653e 3c2f 7072 653e ue.
│ │ │ -001b4e50: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ -001b4f00: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -001b4f10: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001b4f90: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001b4fa0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001b4fb0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001b4fc0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001b4fd0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001b5000: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001b5010: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -001b5020: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -001b5030: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include disable
│ │ │ -001b5050: 5f61 7070 6f72 740a 0a63 6c61 7373 2064 _apport..class d
│ │ │ -001b5060: 6973 6162 6c65 5f61 7070 6f72 7420 7b0a isable_apport {.
│ │ │ -001b5070: 2020 7365 7276 6963 6520 7b27 6170 706f service {'appo
│ │ │ -001b5080: 7274 273a 0a20 2020 2065 6e61 626c 6520 rt':. enable
│ │ │ -001b5090: 3d26 6774 3b20 6661 6c73 652c 0a20 2020 => false,.
│ │ │ -001b50a0: 2065 6e73 7572 6520 3d26 6774 3b20 2773 ensure => 's
│ │ │ -001b50b0: 746f 7070 6564 272c 0a20 207d 0a7d 0a3c topped',. }.}.<
│ │ │ -001b50c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -001b5170: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -001b5180: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -001b5190: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -001b5210: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -001b5220: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -001b5240: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -001b5250: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -001b5290: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ -001b52a0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ -001b52c0: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -001b52d0: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -001b52e0: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ -001b52f0: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ -001b5300: 746f 0a20 2074 6167 733a 0a20 202d 2064 to. tags:. - d
│ │ │ -001b5310: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ -001b5320: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -001b5330: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -001b5340: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ -001b5350: 6f6f 745f 6e65 6564 6564 0a20 202d 2073 oot_needed. - s
│ │ │ -001b5360: 6572 7669 6365 5f61 7070 6f72 745f 6469 ervice_apport_di
│ │ │ -001b5370: 7361 626c 6564 0a20 202d 2075 6e6b 6e6f sabled. - unkno
│ │ │ -001b5380: 776e 5f73 6576 6572 6974 790a 0a2d 206e wn_severity..- n
│ │ │ -001b5390: 616d 653a 2044 6973 6162 6c65 2041 7070 ame: Disable App
│ │ │ -001b53a0: 6f72 7420 5365 7276 6963 6520 2d20 4469 ort Service - Di
│ │ │ -001b53b0: 7361 626c 6520 7365 7276 6963 6520 6170 sable service ap
│ │ │ -001b53c0: 706f 7274 0a20 2062 6c6f 636b 3a0a 0a20 port. block:..
│ │ │ -001b53d0: 202d 206e 616d 653a 2044 6973 6162 6c65 - name: Disable
│ │ │ -001b53e0: 2041 7070 6f72 7420 5365 7276 6963 6520 Apport Service
│ │ │ -001b53f0: 2d20 436f 6c6c 6563 7420 7379 7374 656d - Collect system
│ │ │ -001b5400: 6420 5365 7276 6963 6573 2050 7265 7365 d Services Prese
│ │ │ -001b5410: 6e74 2069 6e20 7468 6520 5379 7374 656d nt in the System
│ │ │ -001b5420: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -001b5430: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 7379 ltin.command: sy
│ │ │ -001b5440: 7374 656d 6374 6c20 2d71 206c 6973 742d stemctl -q list-
│ │ │ -001b5450: 756e 6974 2d66 696c 6573 202d 2d74 7970 unit-files --typ
│ │ │ -001b5460: 6520 7365 7276 6963 650a 2020 2020 7265 e service. re
│ │ │ -001b5470: 6769 7374 6572 3a20 7365 7276 6963 655f gister: service_
│ │ │ -001b5480: 6578 6973 7473 0a20 2020 2063 6861 6e67 exists. chang
│ │ │ -001b5490: 6564 5f77 6865 6e3a 2066 616c 7365 0a20 ed_when: false.
│ │ │ -001b54a0: 2020 2066 6169 6c65 645f 7768 656e 3a20 failed_when:
│ │ │ -001b54b0: 7365 7276 6963 655f 6578 6973 7473 2e72 service_exists.r
│ │ │ -001b54c0: 6320 6e6f 7420 696e 205b 302c 2031 5d0a c not in [0, 1].
│ │ │ -001b54d0: 2020 2020 6368 6563 6b5f 6d6f 6465 3a20 check_mode:
│ │ │ -001b54e0: 6661 6c73 650a 0a20 202d 206e 616d 653a false.. - name:
│ │ │ -001b54f0: 2044 6973 6162 6c65 2041 7070 6f72 7420 Disable Apport
│ │ │ -001b5500: 5365 7276 6963 6520 2d20 456e 7375 7265 Service - Ensure
│ │ │ -001b5510: 2061 7070 6f72 742e 7365 7276 6963 6520 apport.service
│ │ │ -001b5520: 6973 204d 6173 6b65 640a 2020 2020 616e is Masked. an
│ │ │ -001b5530: 7369 626c 652e 6275 696c 7469 6e2e 7379 sible.builtin.sy
│ │ │ -001b5540: 7374 656d 643a 0a20 2020 2020 206e 616d stemd:. nam
│ │ │ -001b5550: 653a 2061 7070 6f72 742e 7365 7276 6963 e: apport.servic
│ │ │ -001b5560: 650a 2020 2020 2020 7374 6174 653a 2073 e. state: s
│ │ │ -001b5570: 746f 7070 6564 0a20 2020 2020 2065 6e61 topped. ena
│ │ │ -001b5580: 626c 6564 3a20 6661 6c73 650a 2020 2020 bled: false.
│ │ │ -001b5590: 2020 6d61 736b 6564 3a20 7472 7565 0a20 masked: true.
│ │ │ -001b55a0: 2020 2077 6865 6e3a 2073 6572 7669 6365 when: service
│ │ │ -001b55b0: 5f65 7869 7374 732e 7374 646f 7574 5f6c _exists.stdout_l
│ │ │ -001b55c0: 696e 6573 2069 7320 7365 6172 6368 2822 ines is search("
│ │ │ -001b55d0: 6170 706f 7274 2e73 6572 7669 6365 222c apport.service",
│ │ │ -001b55e0: 206d 756c 7469 6c69 6e65 3d54 7275 6529 multiline=True)
│ │ │ -001b55f0: 0a0a 2020 2d20 6e61 6d65 3a20 556e 6974 .. - name: Unit
│ │ │ -001b5600: 2053 6f63 6b65 7420 4578 6973 7473 202d Socket Exists -
│ │ │ -001b5610: 2061 7070 6f72 742e 736f 636b 6574 0a20 apport.socket.
│ │ │ -001b5620: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ -001b5630: 696e 2e63 6f6d 6d61 6e64 3a20 7379 7374 in.command: syst
│ │ │ -001b5640: 656d 6374 6c20 2d71 206c 6973 742d 756e emctl -q list-un
│ │ │ -001b5650: 6974 2d66 696c 6573 2061 7070 6f72 742e it-files apport.
│ │ │ -001b5660: 736f 636b 6574 0a20 2020 2072 6567 6973 socket. regis
│ │ │ -001b5670: 7465 723a 2073 6f63 6b65 745f 6669 6c65 ter: socket_file
│ │ │ -001b5680: 5f65 7869 7374 730a 2020 2020 6368 616e _exists. chan
│ │ │ -001b5690: 6765 645f 7768 656e 3a20 6661 6c73 650a ged_when: false.
│ │ │ -001b56a0: 2020 2020 6661 696c 6564 5f77 6865 6e3a failed_when:
│ │ │ -001b56b0: 2073 6f63 6b65 745f 6669 6c65 5f65 7869 socket_file_exi
│ │ │ -001b56c0: 7374 732e 7263 206e 6f74 2069 6e20 5b30 sts.rc not in [0
│ │ │ -001b56d0: 2c20 315d 0a20 2020 2063 6865 636b 5f6d , 1]. check_m
│ │ │ -001b56e0: 6f64 653a 2066 616c 7365 0a0a 2020 2d20 ode: false.. -
│ │ │ -001b56f0: 6e61 6d65 3a20 4469 7361 626c 6520 4170 name: Disable Ap
│ │ │ -001b5700: 706f 7274 2053 6572 7669 6365 202d 2044 port Service - D
│ │ │ -001b5710: 6973 6162 6c65 2053 6f63 6b65 7420 6170 isable Socket ap
│ │ │ -001b5720: 706f 7274 0a20 2020 2061 6e73 6962 6c65 port. ansible
│ │ │ -001b5730: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd
│ │ │ -001b5740: 3a0a 2020 2020 2020 6e61 6d65 3a20 6170 :. name: ap
│ │ │ -001b5750: 706f 7274 2e73 6f63 6b65 740a 2020 2020 port.socket.
│ │ │ -001b5760: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false
│ │ │ -001b5770: 0a20 2020 2020 2073 7461 7465 3a20 7374 . state: st
│ │ │ -001b5780: 6f70 7065 640a 2020 2020 2020 6d61 736b opped. mask
│ │ │ -001b5790: 6564 3a20 7472 7565 0a20 2020 2077 6865 ed: true. whe
│ │ │ -001b57a0: 6e3a 2073 6f63 6b65 745f 6669 6c65 5f65 n: socket_file_e
│ │ │ -001b57b0: 7869 7374 732e 7374 646f 7574 5f6c 696e xists.stdout_lin
│ │ │ -001b57c0: 6573 2069 7320 7365 6172 6368 2822 6170 es is search("ap
│ │ │ -001b57d0: 706f 7274 2e73 6f63 6b65 7422 2c20 6d75 port.socket", mu
│ │ │ -001b57e0: 6c74 696c 696e 653d 5472 7565 290a 2020 ltiline=True).
│ │ │ -001b57f0: 7461 6773 3a0a 2020 2d20 6469 7361 626c tags:. - disabl
│ │ │ -001b5800: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -001b5810: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -001b5820: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -001b5830: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -001b5840: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic
│ │ │ -001b5850: 655f 6170 706f 7274 5f64 6973 6162 6c65 e_apport_disable
│ │ │ -001b5860: 640a 2020 2d20 7370 6563 6961 6c5f 7365 d. - special_se
│ │ │ -001b5870: 7276 6963 655f 626c 6f63 6b0a 2020 2d20 rvice_block. -
│ │ │ -001b5880: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479 unknown_severity
│ │ │ -001b5890: 0a20 2077 6865 6e3a 2027 2261 7070 6f72 . when: '"appor
│ │ │ -001b58a0: 7422 2069 6e20 616e 7369 626c 655f 6661 t" in ansible_fa
│ │ │ -001b58b0: 6374 732e 7061 636b 6167 6573 270a 3c2f cts.packages'.
│ │ │ +001b4a90: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ +001b4aa0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +001b4b30: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +001b4b50: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +001b4b70: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +001b4b80: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +001b4ba0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +001b4bb0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: Gath
│ │ │ +001b4be0: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ +001b4bf0: 6163 7473 0a20 2070 6163 6b61 6765 5f66 acts. package_f
│ │ │ +001b4c00: 6163 7473 3a0a 2020 2020 6d61 6e61 6765 acts:. manage
│ │ │ +001b4c10: 723a 2061 7574 6f0a 2020 7461 6773 3a0a r: auto. tags:.
│ │ │ +001b4c20: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ +001b4c30: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +001b4c40: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +001b4c50: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ +001b4c60: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +001b4c70: 2020 2d20 7365 7276 6963 655f 6170 706f - service_appo
│ │ │ +001b4c80: 7274 5f64 6973 6162 6c65 640a 2020 2d20 rt_disabled. -
│ │ │ +001b4c90: 756e 6b6e 6f77 6e5f 7365 7665 7269 7479 unknown_severity
│ │ │ +001b4ca0: 0a0a 2d20 6e61 6d65 3a20 4469 7361 626c ..- name: Disabl
│ │ │ +001b4cb0: 6520 4170 706f 7274 2053 6572 7669 6365 e Apport Service
│ │ │ +001b4cc0: 202d 2044 6973 6162 6c65 2073 6572 7669 - Disable servi
│ │ │ +001b4cd0: 6365 2061 7070 6f72 740a 2020 626c 6f63 ce apport. bloc
│ │ │ +001b4ce0: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4469 k:.. - name: Di
│ │ │ +001b4cf0: 7361 626c 6520 4170 706f 7274 2053 6572 sable Apport Ser
│ │ │ +001b4d00: 7669 6365 202d 2043 6f6c 6c65 6374 2073 vice - Collect s
│ │ │ +001b4d10: 7973 7465 6d64 2053 6572 7669 6365 7320 ystemd Services
│ │ │ +001b4d20: 5072 6573 656e 7420 696e 2074 6865 2053 Present in the S
│ │ │ +001b4d30: 7973 7465 6d0a 2020 2020 616e 7369 626c ystem. ansibl
│ │ │ +001b4d40: 652e 6275 696c 7469 6e2e 636f 6d6d 616e e.builtin.comman
│ │ │ +001b4d50: 643a 2073 7973 7465 6d63 746c 202d 7120 d: systemctl -q
│ │ │ +001b4d60: 6c69 7374 2d75 6e69 742d 6669 6c65 7320 list-unit-files
│ │ │ +001b4d70: 2d2d 7479 7065 2073 6572 7669 6365 0a20 --type service.
│ │ │ +001b4d80: 2020 2072 6567 6973 7465 723a 2073 6572 register: ser
│ │ │ +001b4d90: 7669 6365 5f65 7869 7374 730a 2020 2020 vice_exists.
│ │ │ +001b4da0: 6368 616e 6765 645f 7768 656e 3a20 6661 changed_when: fa
│ │ │ +001b4db0: 6c73 650a 2020 2020 6661 696c 6564 5f77 lse. failed_w
│ │ │ +001b4dc0: 6865 6e3a 2073 6572 7669 6365 5f65 7869 hen: service_exi
│ │ │ +001b4dd0: 7374 732e 7263 206e 6f74 2069 6e20 5b30 sts.rc not in [0
│ │ │ +001b4de0: 2c20 315d 0a20 2020 2063 6865 636b 5f6d , 1]. check_m
│ │ │ +001b4df0: 6f64 653a 2066 616c 7365 0a0a 2020 2d20 ode: false.. -
│ │ │ +001b4e00: 6e61 6d65 3a20 4469 7361 626c 6520 4170 name: Disable Ap
│ │ │ +001b4e10: 706f 7274 2053 6572 7669 6365 202d 2045 port Service - E
│ │ │ +001b4e20: 6e73 7572 6520 6170 706f 7274 2e73 6572 nsure apport.ser
│ │ │ +001b4e30: 7669 6365 2069 7320 4d61 736b 6564 0a20 vice is Masked.
│ │ │ +001b4e40: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ +001b4e50: 696e 2e73 7973 7465 6d64 3a0a 2020 2020 in.systemd:.
│ │ │ +001b4e60: 2020 6e61 6d65 3a20 6170 706f 7274 2e73 name: apport.s
│ │ │ +001b4e70: 6572 7669 6365 0a20 2020 2020 2073 7461 ervice. sta
│ │ │ +001b4e80: 7465 3a20 7374 6f70 7065 640a 2020 2020 te: stopped.
│ │ │ +001b4e90: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false
│ │ │ +001b4ea0: 0a20 2020 2020 206d 6173 6b65 643a 2074 . masked: t
│ │ │ +001b4eb0: 7275 650a 2020 2020 7768 656e 3a20 7365 rue. when: se
│ │ │ +001b4ec0: 7276 6963 655f 6578 6973 7473 2e73 7464 rvice_exists.std
│ │ │ +001b4ed0: 6f75 745f 6c69 6e65 7320 6973 2073 6561 out_lines is sea
│ │ │ +001b4ee0: 7263 6828 2261 7070 6f72 742e 7365 7276 rch("apport.serv
│ │ │ +001b4ef0: 6963 6522 2c20 6d75 6c74 696c 696e 653d ice", multiline=
│ │ │ +001b4f00: 5472 7565 290a 0a20 202d 206e 616d 653a True).. - name:
│ │ │ +001b4f10: 2055 6e69 7420 536f 636b 6574 2045 7869 Unit Socket Exi
│ │ │ +001b4f20: 7374 7320 2d20 6170 706f 7274 2e73 6f63 sts - apport.soc
│ │ │ +001b4f30: 6b65 740a 2020 2020 616e 7369 626c 652e ket. ansible.
│ │ │ +001b4f40: 6275 696c 7469 6e2e 636f 6d6d 616e 643a builtin.command:
│ │ │ +001b4f50: 2073 7973 7465 6d63 746c 202d 7120 6c69 systemctl -q li
│ │ │ +001b4f60: 7374 2d75 6e69 742d 6669 6c65 7320 6170 st-unit-files ap
│ │ │ +001b4f70: 706f 7274 2e73 6f63 6b65 740a 2020 2020 port.socket.
│ │ │ +001b4f80: 7265 6769 7374 6572 3a20 736f 636b 6574 register: socket
│ │ │ +001b4f90: 5f66 696c 655f 6578 6973 7473 0a20 2020 _file_exists.
│ │ │ +001b4fa0: 2063 6861 6e67 6564 5f77 6865 6e3a 2066 changed_when: f
│ │ │ +001b4fb0: 616c 7365 0a20 2020 2066 6169 6c65 645f alse. failed_
│ │ │ +001b4fc0: 7768 656e 3a20 736f 636b 6574 5f66 696c when: socket_fil
│ │ │ +001b4fd0: 655f 6578 6973 7473 2e72 6320 6e6f 7420 e_exists.rc not
│ │ │ +001b4fe0: 696e 205b 302c 2031 5d0a 2020 2020 6368 in [0, 1]. ch
│ │ │ +001b4ff0: 6563 6b5f 6d6f 6465 3a20 6661 6c73 650a eck_mode: false.
│ │ │ +001b5000: 0a20 202d 206e 616d 653a 2044 6973 6162 . - name: Disab
│ │ │ +001b5010: 6c65 2041 7070 6f72 7420 5365 7276 6963 le Apport Servic
│ │ │ +001b5020: 6520 2d20 4469 7361 626c 6520 536f 636b e - Disable Sock
│ │ │ +001b5030: 6574 2061 7070 6f72 740a 2020 2020 616e et apport. an
│ │ │ +001b5040: 7369 626c 652e 6275 696c 7469 6e2e 7379 sible.builtin.sy
│ │ │ +001b5050: 7374 656d 643a 0a20 2020 2020 206e 616d stemd:. nam
│ │ │ +001b5060: 653a 2061 7070 6f72 742e 736f 636b 6574 e: apport.socket
│ │ │ +001b5070: 0a20 2020 2020 2065 6e61 626c 6564 3a20 . enabled:
│ │ │ +001b5080: 6661 6c73 650a 2020 2020 2020 7374 6174 false. stat
│ │ │ +001b5090: 653a 2073 746f 7070 6564 0a20 2020 2020 e: stopped.
│ │ │ +001b50a0: 206d 6173 6b65 643a 2074 7275 650a 2020 masked: true.
│ │ │ +001b50b0: 2020 7768 656e 3a20 736f 636b 6574 5f66 when: socket_f
│ │ │ +001b50c0: 696c 655f 6578 6973 7473 2e73 7464 6f75 ile_exists.stdou
│ │ │ +001b50d0: 745f 6c69 6e65 7320 6973 2073 6561 7263 t_lines is searc
│ │ │ +001b50e0: 6828 2261 7070 6f72 742e 736f 636b 6574 h("apport.socket
│ │ │ +001b50f0: 222c 206d 756c 7469 6c69 6e65 3d54 7275 ", multiline=Tru
│ │ │ +001b5100: 6529 0a20 2074 6167 733a 0a20 202d 2064 e). tags:. - d
│ │ │ +001b5110: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +001b5120: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +001b5130: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +001b5140: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ +001b5150: 6f6f 745f 6e65 6564 6564 0a20 202d 2073 oot_needed. - s
│ │ │ +001b5160: 6572 7669 6365 5f61 7070 6f72 745f 6469 ervice_apport_di
│ │ │ +001b5170: 7361 626c 6564 0a20 202d 2073 7065 6369 sabled. - speci
│ │ │ +001b5180: 616c 5f73 6572 7669 6365 5f62 6c6f 636b al_service_block
│ │ │ +001b5190: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576 . - unknown_sev
│ │ │ +001b51a0: 6572 6974 790a 2020 7768 656e 3a20 2722 erity. when: '"
│ │ │ +001b51b0: 6170 706f 7274 2220 696e 2061 6e73 6962 apport" in ansib
│ │ │ +001b51c0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ +001b51d0: 7327 0a3c 2f63 6f64 653e 3c2f 7072 653e s'.
│ │ │ +001b51e0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation K
│ │ │ +001b5290: 7562 6572 6e65 7465 7320 736e 6970 7065 ubernetes snippe
│ │ │ +001b52a0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +001b5320: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +001b5330: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +001b5340: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001b5350: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +001b5360: 3c74 643e 6d65 6469 756d 3c2f 7464 3e3c medium <
│ │ │ +001b5370: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr>Rebo
│ │ │ +001b5380: 6f74 3a3c 2f74 683e 3c74 643e 7472 7565 ot: true
│ │ │ +001b5390: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +001b53b0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +001b53c0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
apiVersi
│ │ │ +001b53e0: 6f6e 3a20 6d61 6368 696e 6563 6f6e 6669 on: machineconfi
│ │ │ +001b53f0: 6775 7261 7469 6f6e 2e6f 7065 6e73 6869 guration.openshi
│ │ │ +001b5400: 6674 2e69 6f2f 7631 0a6b 696e 643a 204d ft.io/v1.kind: M
│ │ │ +001b5410: 6163 6869 6e65 436f 6e66 6967 0a73 7065 achineConfig.spe
│ │ │ +001b5420: 633a 0a20 2063 6f6e 6669 673a 0a20 2020 c:. config:.
│ │ │ +001b5430: 2069 676e 6974 696f 6e3a 0a20 2020 2020 ignition:.
│ │ │ +001b5440: 2076 6572 7369 6f6e 3a20 332e 312e 300a version: 3.1.0.
│ │ │ +001b5450: 2020 2020 7379 7374 656d 643a 0a20 2020 systemd:.
│ │ │ +001b5460: 2020 2075 6e69 7473 3a0a 2020 2020 2020 units:.
│ │ │ +001b5470: 2d20 6e61 6d65 3a20 6170 706f 7274 2e73 - name: apport.s
│ │ │ +001b5480: 6572 7669 6365 0a20 2020 2020 2020 2065 ervice. e
│ │ │ +001b5490: 6e61 626c 6564 3a20 6661 6c73 650a 2020 nabled: false.
│ │ │ +001b54a0: 2020 2020 2020 6d61 736b 3a20 7472 7565 mask: true
│ │ │ +001b54b0: 0a20 2020 2020 202d 206e 616d 653a 2061 . - name: a
│ │ │ +001b54c0: 7070 6f72 742e 736f 636b 6574 0a20 2020 pport.socket.
│ │ │ +001b54d0: 2020 2020 2065 6e61 626c 6564 3a20 6661 enabled: fa
│ │ │ +001b54e0: 6c73 650a 2020 2020 2020 2020 6d61 736b lse. mask
│ │ │ +001b54f0: 3a20 7472 7565 0a3c 2f63 6f64 653e 3c2f : true.
│ │ │ +001b5500: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre> Remediati
│ │ │ +001b55b0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +001b55c0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +001b5640: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +001b5650: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +001b5660: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001b5670: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +001b5680: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +001b56a0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001b56b0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001b56c0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +001b56f0: 636f 6465 3e69 6e63 6c75 6465 2064 6973 code>include dis
│ │ │ +001b5700: 6162 6c65 5f61 7070 6f72 740a 0a63 6c61 able_apport..cla
│ │ │ +001b5710: 7373 2064 6973 6162 6c65 5f61 7070 6f72 ss disable_appor
│ │ │ +001b5720: 7420 7b0a 2020 7365 7276 6963 6520 7b27 t {. service {'
│ │ │ +001b5730: 6170 706f 7274 273a 0a20 2020 2065 6e61 apport':. ena
│ │ │ +001b5740: 626c 6520 3d26 6774 3b20 6661 6c73 652c ble => false,
│ │ │ +001b5750: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +001b5760: 3b20 2773 746f 7070 6564 272c 0a20 207d ; 'stopped',. }
│ │ │ +001b5770: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ +001b5780: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation O
│ │ │ +001b5830: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint
│ │ │ +001b5840: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +001b5850: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.
│ │ │ +001b5890: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e [customizations.
│ │ │ +001b58a0: 7365 7276 6963 6573 5d0a 6d61 736b 6564 services].masked
│ │ │ +001b58b0: 203d 205b 2261 7070 6f72 7422 5d0a 3c2f = ["apport"].
│ │ │ 001b58c0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ -001b74a0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ -001b74b0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001b74c0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -001b7540: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -001b7560: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -001b7570: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -001b7580: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001b7590: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -001b75a0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -001b75b0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001b75c0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -001b75d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ -001b75f0: 636c 7564 6520 7265 6d6f 7665 5f61 7661 clude remove_ava
│ │ │ -001b7600: 6869 2d64 6165 6d6f 6e0a 0a63 6c61 7373 hi-daemon..class
│ │ │ -001b7610: 2072 656d 6f76 655f 6176 6168 692d 6461 remove_avahi-da
│ │ │ -001b7620: 656d 6f6e 207b 0a20 2070 6163 6b61 6765 emon {. package
│ │ │ -001b7630: 207b 2027 6176 6168 692d 6461 656d 6f6e { 'avahi-daemon
│ │ │ -001b7640: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ -001b7650: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',.
│ │ │ -001b7660: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediation
│ │ │ -001b7720: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -001b7730: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001b77c0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001b77e0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001b7800: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001b7810: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -001b7830: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -001b7840: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: 'Uni
│ │ │ -001b7870: 6e73 7461 6c6c 2061 7661 6869 2053 6572 nstall avahi Ser
│ │ │ -001b7880: 7665 7220 5061 636b 6167 653a 2045 6e73 ver Package: Ens
│ │ │ -001b7890: 7572 6520 6176 6168 692d 6461 656d 6f6e ure avahi-daemon
│ │ │ -001b78a0: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ -001b78b0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -001b78c0: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ -001b78d0: 3a20 6176 6168 692d 6461 656d 6f6e 0a20 : avahi-daemon.
│ │ │ -001b78e0: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ -001b78f0: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ -001b7900: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ -001b7910: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -001b7920: 2d43 4d2d 3728 6129 0a20 202d 204e 4953 -CM-7(a). - NIS
│ │ │ -001b7930: 542d 3830 302d 3533 2d43 4d2d 3728 6229 T-800-53-CM-7(b)
│ │ │ -001b7940: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ -001b7950: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -001b7960: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -001b7970: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -001b7980: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -001b7990: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -001b79a0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -001b79b0: 5f61 7661 6869 5f72 656d 6f76 6564 0a3c _avahi_removed.<
│ │ │ +001b74a0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ +001b74b0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ +001b7540: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +001b7550: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001b7560: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +001b7570: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +001b7580: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +001b75b0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +001b75c0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ +001b75d0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ +001b75f0: 6e61 6d65 3a20 2755 6e69 6e73 7461 6c6c name: 'Uninstall
│ │ │ +001b7600: 2061 7661 6869 2053 6572 7665 7220 5061 avahi Server Pa
│ │ │ +001b7610: 636b 6167 653a 2045 6e73 7572 6520 6176 ckage: Ensure av
│ │ │ +001b7620: 6168 692d 6461 656d 6f6e 2069 7320 7265 ahi-daemon is re
│ │ │ +001b7630: 6d6f 7665 6427 0a20 2061 6e73 6962 6c65 moved'. ansible
│ │ │ +001b7640: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +001b7650: 3a0a 2020 2020 6e61 6d65 3a20 6176 6168 :. name: avah
│ │ │ +001b7660: 692d 6461 656d 6f6e 0a20 2020 2073 7461 i-daemon. sta
│ │ │ +001b7670: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ +001b7680: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ +001b7690: 3533 2d43 4d2d 3628 6129 0a20 202d 204e 53-CM-6(a). - N
│ │ │ +001b76a0: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ +001b76b0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +001b76c0: 3533 2d43 4d2d 3728 6229 0a20 202d 2064 53-CM-7(b). - d
│ │ │ +001b76d0: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +001b76e0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +001b76f0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +001b7700: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +001b7710: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +001b7720: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +001b7730: 202d 2070 6163 6b61 6765 5f61 7661 6869 - package_avahi
│ │ │ +001b7740: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e _removed.
│ │ │ +001b7750: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +001b7800: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ +001b7810: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +001b7820: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +001b7830: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +001b7840: 7365 2220 6964 3d22 6964 3538 3422 3e3c se" id="id584"><
│ │ │ +001b7850: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +001b7860: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +001b7870: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +001b7880: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +001b7890: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +001b78a0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +001b78b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +001b78e0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +001b78f0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +001b7900: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +001b7920: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +001b7930: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
.include
│ │ │ +001b7950: 2072 656d 6f76 655f 6176 6168 692d 6461 remove_avahi-da
│ │ │ +001b7960: 656d 6f6e 0a0a 636c 6173 7320 7265 6d6f emon..class remo
│ │ │ +001b7970: 7665 5f61 7661 6869 2d64 6165 6d6f 6e20 ve_avahi-daemon
│ │ │ +001b7980: 7b0a 2020 7061 636b 6167 6520 7b20 2761 {. package { 'a
│ │ │ +001b7990: 7661 6869 2d64 6165 6d6f 6e27 3a0a 2020 vahi-daemon':.
│ │ │ +001b79a0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +001b79b0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.<
│ │ │ 001b79c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Remediation O
│ │ │ -001b8b40: 5342 7569 6c64 2042 6c75 6570 7269 6e74 SBuild Blueprint
│ │ │ -001b8b50: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001b8b60: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
.
│ │ │ -001b8ba0: 5b63 7573 746f 6d69 7a61 7469 6f6e 732e [customizations.
│ │ │ -001b8bb0: 7365 7276 6963 6573 5d0a 6d61 736b 6564 services].masked
│ │ │ -001b8bc0: 203d 205b 2261 7661 6869 2d64 6165 6d6f = ["avahi-daemo
│ │ │ -001b8bd0: 6e22 5d0a 3c2f 636f 6465 3e3c 2f70 7265 n"].
Remediation
│ │ │ -001b8c90: 4b75 6265 726e 6574 6573 2073 6e69 7070 Kubernetes snipp
│ │ │ -001b8ca0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001b8d20: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -001b8d30: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -001b8d40: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: medium
│ │ │ -001b8d70: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001b8d80: 6f6f 743a 3c2f 7468 3e3c 7464 3e74 7275 oot: tru
│ │ │ -001b8d90: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001b8da0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
apiVers
│ │ │ -001b8de0: 696f 6e3a 206d 6163 6869 6e65 636f 6e66 ion: machineconf
│ │ │ -001b8df0: 6967 7572 6174 696f 6e2e 6f70 656e 7368 iguration.opensh
│ │ │ -001b8e00: 6966 742e 696f 2f76 310a 6b69 6e64 3a20 ift.io/v1.kind:
│ │ │ -001b8e10: 4d61 6368 696e 6543 6f6e 6669 670a 7370 MachineConfig.sp
│ │ │ -001b8e20: 6563 3a0a 2020 636f 6e66 6967 3a0a 2020 ec:. config:.
│ │ │ -001b8e30: 2020 6967 6e69 7469 6f6e 3a0a 2020 2020 ignition:.
│ │ │ -001b8e40: 2020 7665 7273 696f 6e3a 2033 2e31 2e30 version: 3.1.0
│ │ │ -001b8e50: 0a20 2020 2073 7973 7465 6d64 3a0a 2020 . systemd:.
│ │ │ -001b8e60: 2020 2020 756e 6974 733a 0a20 2020 2020 units:.
│ │ │ -001b8e70: 202d 206e 616d 653a 2061 7661 6869 2d64 - name: avahi-d
│ │ │ -001b8e80: 6165 6d6f 6e2e 7365 7276 6963 650a 2020 aemon.service.
│ │ │ -001b8e90: 2020 2020 2020 656e 6162 6c65 643a 2066 enabled: f
│ │ │ -001b8ea0: 616c 7365 0a20 2020 2020 2020 206d 6173 alse. mas
│ │ │ -001b8eb0: 6b3a 2074 7275 650a 2020 2020 2020 2d20 k: true. -
│ │ │ -001b8ec0: 6e61 6d65 3a20 6176 6168 692d 6461 656d name: avahi-daem
│ │ │ -001b8ed0: 6f6e 2e73 6f63 6b65 740a 2020 2020 2020 on.socket.
│ │ │ -001b8ee0: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false
│ │ │ -001b8ef0: 0a20 2020 2020 2020 206d 6173 6b3a 2074 . mask: t
│ │ │ -001b8f00: 7275 650a 3c2f 636f 6465 3e3c 2f70 7265 rue.
Remediation
│ │ │ -001b8fc0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ -001b8fd0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -001b9050: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -001b9060: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001b9070: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -001b9080: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -001b90c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -001b90d0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ -001b90e0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ -001b90f0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include disabl
│ │ │ -001b9110: 655f 6176 6168 692d 6461 656d 6f6e 0a0a e_avahi-daemon..
│ │ │ -001b9120: 636c 6173 7320 6469 7361 626c 655f 6176 class disable_av
│ │ │ -001b9130: 6168 692d 6461 656d 6f6e 207b 0a20 2073 ahi-daemon {. s
│ │ │ -001b9140: 6572 7669 6365 207b 2761 7661 6869 2d64 ervice {'avahi-d
│ │ │ -001b9150: 6165 6d6f 6e27 3a0a 2020 2020 656e 6162 aemon':. enab
│ │ │ -001b9160: 6c65 203d 2667 743b 2066 616c 7365 2c0a le => false,.
│ │ │ -001b9170: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ -001b9180: 2027 7374 6f70 7065 6427 2c0a 2020 7d0a 'stopped',. }.
│ │ │ -001b9190: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -001b91a0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -001b9250: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -001b9260: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001b92e0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001b92f0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001b9300: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001b9310: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001b9320: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001b9350: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001b9360: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001b9370: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001b9380: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ -001b93a0: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ -001b93b0: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ -001b93c0: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ -001b93d0: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ -001b93e0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -001b93f0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8
│ │ │ -001b9400: 3030 2d35 332d 434d 2d37 2861 290a 2020 00-53-CM-7(a).
│ │ │ -001b9410: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -001b9420: 2d37 2862 290a 2020 2d20 5043 492d 4453 -7(b). - PCI-DS
│ │ │ -001b9430: 5376 342d 322e 320a 2020 2d20 5043 492d Sv4-2.2. - PCI-
│ │ │ -001b9440: 4453 5376 342d 322e 322e 340a 2020 2d20 DSSv4-2.2.4. -
│ │ │ -001b9450: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ -001b9460: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -001b9470: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -001b9480: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -001b9490: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -001b94a0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -001b94b0: 2020 2d20 7365 7276 6963 655f 6176 6168 - service_avah
│ │ │ -001b94c0: 692d 6461 656d 6f6e 5f64 6973 6162 6c65 i-daemon_disable
│ │ │ -001b94d0: 640a 0a2d 206e 616d 653a 2044 6973 6162 d..- name: Disab
│ │ │ -001b94e0: 6c65 2041 7661 6869 2053 6572 7665 7220 le Avahi Server
│ │ │ -001b94f0: 536f 6674 7761 7265 202d 2044 6973 6162 Software - Disab
│ │ │ -001b9500: 6c65 2073 6572 7669 6365 2061 7661 6869 le service avahi
│ │ │ -001b9510: 2d64 6165 6d6f 6e0a 2020 626c 6f63 6b3a -daemon. block:
│ │ │ -001b9520: 0a0a 2020 2d20 6e61 6d65 3a20 4469 7361 .. - name: Disa
│ │ │ -001b9530: 626c 6520 4176 6168 6920 5365 7276 6572 ble Avahi Server
│ │ │ -001b9540: 2053 6f66 7477 6172 6520 2d20 436f 6c6c Software - Coll
│ │ │ -001b9550: 6563 7420 7379 7374 656d 6420 5365 7276 ect systemd Serv
│ │ │ -001b9560: 6963 6573 2050 7265 7365 6e74 2069 6e20 ices Present in
│ │ │ -001b9570: 7468 650a 2020 2020 2020 5379 7374 656d the. System
│ │ │ -001b9580: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -001b9590: 6c74 696e 2e63 6f6d 6d61 6e64 3a20 7379 ltin.command: sy
│ │ │ -001b95a0: 7374 656d 6374 6c20 2d71 206c 6973 742d stemctl -q list-
│ │ │ -001b95b0: 756e 6974 2d66 696c 6573 202d 2d74 7970 unit-files --typ
│ │ │ -001b95c0: 6520 7365 7276 6963 650a 2020 2020 7265 e service. re
│ │ │ -001b95d0: 6769 7374 6572 3a20 7365 7276 6963 655f gister: service_
│ │ │ -001b95e0: 6578 6973 7473 0a20 2020 2063 6861 6e67 exists. chang
│ │ │ -001b95f0: 6564 5f77 6865 6e3a 2066 616c 7365 0a20 ed_when: false.
│ │ │ -001b9600: 2020 2066 6169 6c65 645f 7768 656e 3a20 failed_when:
│ │ │ -001b9610: 7365 7276 6963 655f 6578 6973 7473 2e72 service_exists.r
│ │ │ -001b9620: 6320 6e6f 7420 696e 205b 302c 2031 5d0a c not in [0, 1].
│ │ │ -001b9630: 2020 2020 6368 6563 6b5f 6d6f 6465 3a20 check_mode:
│ │ │ -001b9640: 6661 6c73 650a 0a20 202d 206e 616d 653a false.. - name:
│ │ │ -001b9650: 2044 6973 6162 6c65 2041 7661 6869 2053 Disable Avahi S
│ │ │ -001b9660: 6572 7665 7220 536f 6674 7761 7265 202d erver Software -
│ │ │ -001b9670: 2045 6e73 7572 6520 6176 6168 692d 6461 Ensure avahi-da
│ │ │ -001b9680: 656d 6f6e 2e73 6572 7669 6365 2069 7320 emon.service is
│ │ │ -001b9690: 4d61 736b 6564 0a20 2020 2061 6e73 6962 Masked. ansib
│ │ │ -001b96a0: 6c65 2e62 7569 6c74 696e 2e73 7973 7465 le.builtin.syste
│ │ │ -001b96b0: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20 md:. name:
│ │ │ -001b96c0: 6176 6168 692d 6461 656d 6f6e 2e73 6572 avahi-daemon.ser
│ │ │ -001b96d0: 7669 6365 0a20 2020 2020 2073 7461 7465 vice. state
│ │ │ -001b96e0: 3a20 7374 6f70 7065 640a 2020 2020 2020 : stopped.
│ │ │ -001b96f0: 656e 6162 6c65 643a 2066 616c 7365 0a20 enabled: false.
│ │ │ -001b9700: 2020 2020 206d 6173 6b65 643a 2074 7275 masked: tru
│ │ │ -001b9710: 650a 2020 2020 7768 656e 3a20 7365 7276 e. when: serv
│ │ │ -001b9720: 6963 655f 6578 6973 7473 2e73 7464 6f75 ice_exists.stdou
│ │ │ -001b9730: 745f 6c69 6e65 7320 6973 2073 6561 7263 t_lines is searc
│ │ │ -001b9740: 6828 2261 7661 6869 2d64 6165 6d6f 6e2e h("avahi-daemon.
│ │ │ -001b9750: 7365 7276 6963 6522 2c20 6d75 6c74 696c service", multil
│ │ │ -001b9760: 696e 653d 5472 7565 290a 0a20 202d 206e ine=True).. - n
│ │ │ -001b9770: 616d 653a 2055 6e69 7420 536f 636b 6574 ame: Unit Socket
│ │ │ -001b9780: 2045 7869 7374 7320 2d20 6176 6168 692d Exists - avahi-
│ │ │ -001b9790: 6461 656d 6f6e 2e73 6f63 6b65 740a 2020 daemon.socket.
│ │ │ -001b97a0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -001b97b0: 6e2e 636f 6d6d 616e 643a 2073 7973 7465 n.command: syste
│ │ │ -001b97c0: 6d63 746c 202d 7120 6c69 7374 2d75 6e69 mctl -q list-uni
│ │ │ -001b97d0: 742d 6669 6c65 7320 6176 6168 692d 6461 t-files avahi-da
│ │ │ -001b97e0: 656d 6f6e 2e73 6f63 6b65 740a 2020 2020 emon.socket.
│ │ │ -001b97f0: 7265 6769 7374 6572 3a20 736f 636b 6574 register: socket
│ │ │ -001b9800: 5f66 696c 655f 6578 6973 7473 0a20 2020 _file_exists.
│ │ │ -001b9810: 2063 6861 6e67 6564 5f77 6865 6e3a 2066 changed_when: f
│ │ │ -001b9820: 616c 7365 0a20 2020 2066 6169 6c65 645f alse. failed_
│ │ │ -001b9830: 7768 656e 3a20 736f 636b 6574 5f66 696c when: socket_fil
│ │ │ -001b9840: 655f 6578 6973 7473 2e72 6320 6e6f 7420 e_exists.rc not
│ │ │ -001b9850: 696e 205b 302c 2031 5d0a 2020 2020 6368 in [0, 1]. ch
│ │ │ -001b9860: 6563 6b5f 6d6f 6465 3a20 6661 6c73 650a eck_mode: false.
│ │ │ -001b9870: 0a20 202d 206e 616d 653a 2044 6973 6162 . - name: Disab
│ │ │ -001b9880: 6c65 2041 7661 6869 2053 6572 7665 7220 le Avahi Server
│ │ │ -001b9890: 536f 6674 7761 7265 202d 2044 6973 6162 Software - Disab
│ │ │ -001b98a0: 6c65 2053 6f63 6b65 7420 6176 6168 692d le Socket avahi-
│ │ │ -001b98b0: 6461 656d 6f6e 0a20 2020 2061 6e73 6962 daemon. ansib
│ │ │ -001b98c0: 6c65 2e62 7569 6c74 696e 2e73 7973 7465 le.builtin.syste
│ │ │ -001b98d0: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20 md:. name:
│ │ │ -001b98e0: 6176 6168 692d 6461 656d 6f6e 2e73 6f63 avahi-daemon.soc
│ │ │ -001b98f0: 6b65 740a 2020 2020 2020 656e 6162 6c65 ket. enable
│ │ │ -001b9900: 643a 2066 616c 7365 0a20 2020 2020 2073 d: false. s
│ │ │ -001b9910: 7461 7465 3a20 7374 6f70 7065 640a 2020 tate: stopped.
│ │ │ -001b9920: 2020 2020 6d61 736b 6564 3a20 7472 7565 masked: true
│ │ │ -001b9930: 0a20 2020 2077 6865 6e3a 2073 6f63 6b65 . when: socke
│ │ │ -001b9940: 745f 6669 6c65 5f65 7869 7374 732e 7374 t_file_exists.st
│ │ │ -001b9950: 646f 7574 5f6c 696e 6573 2069 7320 7365 dout_lines is se
│ │ │ -001b9960: 6172 6368 2822 6176 6168 692d 6461 656d arch("avahi-daem
│ │ │ -001b9970: 6f6e 2e73 6f63 6b65 7422 2c20 6d75 6c74 on.socket", mult
│ │ │ -001b9980: 696c 696e 653d 5472 7565 290a 2020 7461 iline=True). ta
│ │ │ -001b9990: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -001b99a0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -001b99b0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ -001b99c0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -001b99d0: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). -
│ │ │ -001b99e0: 5043 492d 4453 5376 342d 322e 320a 2020 PCI-DSSv4-2.2.
│ │ │ -001b99f0: 2d20 5043 492d 4453 5376 342d 322e 322e - PCI-DSSv4-2.2.
│ │ │ -001b9a00: 340a 2020 2d20 6469 7361 626c 655f 7374 4. - disable_st
│ │ │ -001b9a10: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -001b9a20: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -001b9a30: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -001b9a40: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ -001b9a50: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -001b9a60: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic
│ │ │ -001b9a70: 655f 6176 6168 692d 6461 656d 6f6e 5f64 e_avahi-daemon_d
│ │ │ -001b9a80: 6973 6162 6c65 640a 2020 2d20 7370 6563 isabled. - spec
│ │ │ -001b9a90: 6961 6c5f 7365 7276 6963 655f 626c 6f63 ial_service_bloc
│ │ │ -001b9aa0: 6b0a 2020 7768 656e 3a20 2820 2261 7661 k. when: ( "ava
│ │ │ -001b9ab0: 6869 2d64 6165 6d6f 6e22 2069 6e20 616e hi-daemon" in an
│ │ │ -001b9ac0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ -001b9ad0: 6167 6573 2061 6e64 2022 6c69 6e75 782d ages and "linux-
│ │ │ -001b9ae0: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ -001b9af0: 5f66 6163 7473 2e70 6163 6b61 6765 730a _facts.packages.
│ │ │ -001b9b00: 2020 2020 290a 3c2f 636f 6465 3e3c 2f70 ).Remediation A
│ │ │ +001b8b40: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +001b8b50: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001b8bd0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001b8be0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001b8bf0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001b8c00: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001b8c40: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001b8c50: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +001b8c60: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +001b8c70: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +001b8c90: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +001b8ca0: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ +001b8cb0: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ +001b8cc0: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ +001b8cd0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +001b8ce0: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST-
│ │ │ +001b8cf0: 3830 302d 3533 2d43 4d2d 3728 6129 0a20 800-53-CM-7(a).
│ │ │ +001b8d00: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +001b8d10: 4d2d 3728 6229 0a20 202d 2050 4349 2d44 M-7(b). - PCI-D
│ │ │ +001b8d20: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI
│ │ │ +001b8d30: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d -DSSv4-2.2.4. -
│ │ │ +001b8d40: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ +001b8d50: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +001b8d60: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +001b8d70: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ +001b8d80: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ +001b8d90: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +001b8da0: 0a20 202d 2073 6572 7669 6365 5f61 7661 . - service_ava
│ │ │ +001b8db0: 6869 2d64 6165 6d6f 6e5f 6469 7361 626c hi-daemon_disabl
│ │ │ +001b8dc0: 6564 0a0a 2d20 6e61 6d65 3a20 4469 7361 ed..- name: Disa
│ │ │ +001b8dd0: 626c 6520 4176 6168 6920 5365 7276 6572 ble Avahi Server
│ │ │ +001b8de0: 2053 6f66 7477 6172 6520 2d20 4469 7361 Software - Disa
│ │ │ +001b8df0: 626c 6520 7365 7276 6963 6520 6176 6168 ble service avah
│ │ │ +001b8e00: 692d 6461 656d 6f6e 0a20 2062 6c6f 636b i-daemon. block
│ │ │ +001b8e10: 3a0a 0a20 202d 206e 616d 653a 2044 6973 :.. - name: Dis
│ │ │ +001b8e20: 6162 6c65 2041 7661 6869 2053 6572 7665 able Avahi Serve
│ │ │ +001b8e30: 7220 536f 6674 7761 7265 202d 2043 6f6c r Software - Col
│ │ │ +001b8e40: 6c65 6374 2073 7973 7465 6d64 2053 6572 lect systemd Ser
│ │ │ +001b8e50: 7669 6365 7320 5072 6573 656e 7420 696e vices Present in
│ │ │ +001b8e60: 2074 6865 0a20 2020 2020 2053 7973 7465 the. Syste
│ │ │ +001b8e70: 6d0a 2020 2020 616e 7369 626c 652e 6275 m. ansible.bu
│ │ │ +001b8e80: 696c 7469 6e2e 636f 6d6d 616e 643a 2073 iltin.command: s
│ │ │ +001b8e90: 7973 7465 6d63 746c 202d 7120 6c69 7374 ystemctl -q list
│ │ │ +001b8ea0: 2d75 6e69 742d 6669 6c65 7320 2d2d 7479 -unit-files --ty
│ │ │ +001b8eb0: 7065 2073 6572 7669 6365 0a20 2020 2072 pe service. r
│ │ │ +001b8ec0: 6567 6973 7465 723a 2073 6572 7669 6365 egister: service
│ │ │ +001b8ed0: 5f65 7869 7374 730a 2020 2020 6368 616e _exists. chan
│ │ │ +001b8ee0: 6765 645f 7768 656e 3a20 6661 6c73 650a ged_when: false.
│ │ │ +001b8ef0: 2020 2020 6661 696c 6564 5f77 6865 6e3a failed_when:
│ │ │ +001b8f00: 2073 6572 7669 6365 5f65 7869 7374 732e service_exists.
│ │ │ +001b8f10: 7263 206e 6f74 2069 6e20 5b30 2c20 315d rc not in [0, 1]
│ │ │ +001b8f20: 0a20 2020 2063 6865 636b 5f6d 6f64 653a . check_mode:
│ │ │ +001b8f30: 2066 616c 7365 0a0a 2020 2d20 6e61 6d65 false.. - name
│ │ │ +001b8f40: 3a20 4469 7361 626c 6520 4176 6168 6920 : Disable Avahi
│ │ │ +001b8f50: 5365 7276 6572 2053 6f66 7477 6172 6520 Server Software
│ │ │ +001b8f60: 2d20 456e 7375 7265 2061 7661 6869 2d64 - Ensure avahi-d
│ │ │ +001b8f70: 6165 6d6f 6e2e 7365 7276 6963 6520 6973 aemon.service is
│ │ │ +001b8f80: 204d 6173 6b65 640a 2020 2020 616e 7369 Masked. ansi
│ │ │ +001b8f90: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst
│ │ │ +001b8fa0: 656d 643a 0a20 2020 2020 206e 616d 653a emd:. name:
│ │ │ +001b8fb0: 2061 7661 6869 2d64 6165 6d6f 6e2e 7365 avahi-daemon.se
│ │ │ +001b8fc0: 7276 6963 650a 2020 2020 2020 7374 6174 rvice. stat
│ │ │ +001b8fd0: 653a 2073 746f 7070 6564 0a20 2020 2020 e: stopped.
│ │ │ +001b8fe0: 2065 6e61 626c 6564 3a20 6661 6c73 650a enabled: false.
│ │ │ +001b8ff0: 2020 2020 2020 6d61 736b 6564 3a20 7472 masked: tr
│ │ │ +001b9000: 7565 0a20 2020 2077 6865 6e3a 2073 6572 ue. when: ser
│ │ │ +001b9010: 7669 6365 5f65 7869 7374 732e 7374 646f vice_exists.stdo
│ │ │ +001b9020: 7574 5f6c 696e 6573 2069 7320 7365 6172 ut_lines is sear
│ │ │ +001b9030: 6368 2822 6176 6168 692d 6461 656d 6f6e ch("avahi-daemon
│ │ │ +001b9040: 2e73 6572 7669 6365 222c 206d 756c 7469 .service", multi
│ │ │ +001b9050: 6c69 6e65 3d54 7275 6529 0a0a 2020 2d20 line=True).. -
│ │ │ +001b9060: 6e61 6d65 3a20 556e 6974 2053 6f63 6b65 name: Unit Socke
│ │ │ +001b9070: 7420 4578 6973 7473 202d 2061 7661 6869 t Exists - avahi
│ │ │ +001b9080: 2d64 6165 6d6f 6e2e 736f 636b 6574 0a20 -daemon.socket.
│ │ │ +001b9090: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ +001b90a0: 696e 2e63 6f6d 6d61 6e64 3a20 7379 7374 in.command: syst
│ │ │ +001b90b0: 656d 6374 6c20 2d71 206c 6973 742d 756e emctl -q list-un
│ │ │ +001b90c0: 6974 2d66 696c 6573 2061 7661 6869 2d64 it-files avahi-d
│ │ │ +001b90d0: 6165 6d6f 6e2e 736f 636b 6574 0a20 2020 aemon.socket.
│ │ │ +001b90e0: 2072 6567 6973 7465 723a 2073 6f63 6b65 register: socke
│ │ │ +001b90f0: 745f 6669 6c65 5f65 7869 7374 730a 2020 t_file_exists.
│ │ │ +001b9100: 2020 6368 616e 6765 645f 7768 656e 3a20 changed_when:
│ │ │ +001b9110: 6661 6c73 650a 2020 2020 6661 696c 6564 false. failed
│ │ │ +001b9120: 5f77 6865 6e3a 2073 6f63 6b65 745f 6669 _when: socket_fi
│ │ │ +001b9130: 6c65 5f65 7869 7374 732e 7263 206e 6f74 le_exists.rc not
│ │ │ +001b9140: 2069 6e20 5b30 2c20 315d 0a20 2020 2063 in [0, 1]. c
│ │ │ +001b9150: 6865 636b 5f6d 6f64 653a 2066 616c 7365 heck_mode: false
│ │ │ +001b9160: 0a0a 2020 2d20 6e61 6d65 3a20 4469 7361 .. - name: Disa
│ │ │ +001b9170: 626c 6520 4176 6168 6920 5365 7276 6572 ble Avahi Server
│ │ │ +001b9180: 2053 6f66 7477 6172 6520 2d20 4469 7361 Software - Disa
│ │ │ +001b9190: 626c 6520 536f 636b 6574 2061 7661 6869 ble Socket avahi
│ │ │ +001b91a0: 2d64 6165 6d6f 6e0a 2020 2020 616e 7369 -daemon. ansi
│ │ │ +001b91b0: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst
│ │ │ +001b91c0: 656d 643a 0a20 2020 2020 206e 616d 653a emd:. name:
│ │ │ +001b91d0: 2061 7661 6869 2d64 6165 6d6f 6e2e 736f avahi-daemon.so
│ │ │ +001b91e0: 636b 6574 0a20 2020 2020 2065 6e61 626c cket. enabl
│ │ │ +001b91f0: 6564 3a20 6661 6c73 650a 2020 2020 2020 ed: false.
│ │ │ +001b9200: 7374 6174 653a 2073 746f 7070 6564 0a20 state: stopped.
│ │ │ +001b9210: 2020 2020 206d 6173 6b65 643a 2074 7275 masked: tru
│ │ │ +001b9220: 650a 2020 2020 7768 656e 3a20 736f 636b e. when: sock
│ │ │ +001b9230: 6574 5f66 696c 655f 6578 6973 7473 2e73 et_file_exists.s
│ │ │ +001b9240: 7464 6f75 745f 6c69 6e65 7320 6973 2073 tdout_lines is s
│ │ │ +001b9250: 6561 7263 6828 2261 7661 6869 2d64 6165 earch("avahi-dae
│ │ │ +001b9260: 6d6f 6e2e 736f 636b 6574 222c 206d 756c mon.socket", mul
│ │ │ +001b9270: 7469 6c69 6e65 3d54 7275 6529 0a20 2074 tiline=True). t
│ │ │ +001b9280: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ +001b9290: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ +001b92a0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +001b92b0: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80
│ │ │ +001b92c0: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). -
│ │ │ +001b92d0: 2050 4349 2d44 5353 7634 2d32 2e32 0a20 PCI-DSSv4-2.2.
│ │ │ +001b92e0: 202d 2050 4349 2d44 5353 7634 2d32 2e32 - PCI-DSSv4-2.2
│ │ │ +001b92f0: 2e34 0a20 202d 2064 6973 6162 6c65 5f73 .4. - disable_s
│ │ │ +001b9300: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +001b9310: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +001b9320: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +001b9330: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +001b9340: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +001b9350: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi
│ │ │ +001b9360: 6365 5f61 7661 6869 2d64 6165 6d6f 6e5f ce_avahi-daemon_
│ │ │ +001b9370: 6469 7361 626c 6564 0a20 202d 2073 7065 disabled. - spe
│ │ │ +001b9380: 6369 616c 5f73 6572 7669 6365 5f62 6c6f cial_service_blo
│ │ │ +001b9390: 636b 0a20 2077 6865 6e3a 2028 2022 6176 ck. when: ( "av
│ │ │ +001b93a0: 6168 692d 6461 656d 6f6e 2220 696e 2061 ahi-daemon" in a
│ │ │ +001b93b0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +001b93c0: 6b61 6765 7320 616e 6420 226c 696e 7578 kages and "linux
│ │ │ +001b93d0: 2d62 6173 6522 2069 6e20 616e 7369 626c -base" in ansibl
│ │ │ +001b93e0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ +001b93f0: 0a20 2020 2029 0a3c 2f63 6f64 653e 3c2f . ).
│ │ │ +001b9400: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ +001b94b0: 6f6e 204b 7562 6572 6e65 7465 7320 736e on Kubernetes sn
│ │ │ +001b94c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +001b9550: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +001b9560: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001b9570: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +001b9580: 2f74 683e 3c74 643e 6d65 6469 756d 3c2f /th> medium
│ │ │ +001b9590: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001b95a0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +001b95b0: 7472 7565 3c2f 7464 3e3c 2f74 723e 3c74 true Strategy:<
│ │ │ +001b95d0: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001b95e0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
apiV
│ │ │ +001b9600: 6572 7369 6f6e 3a20 6d61 6368 696e 6563 ersion: machinec
│ │ │ +001b9610: 6f6e 6669 6775 7261 7469 6f6e 2e6f 7065 onfiguration.ope
│ │ │ +001b9620: 6e73 6869 6674 2e69 6f2f 7631 0a6b 696e nshift.io/v1.kin
│ │ │ +001b9630: 643a 204d 6163 6869 6e65 436f 6e66 6967 d: MachineConfig
│ │ │ +001b9640: 0a73 7065 633a 0a20 2063 6f6e 6669 673a .spec:. config:
│ │ │ +001b9650: 0a20 2020 2069 676e 6974 696f 6e3a 0a20 . ignition:.
│ │ │ +001b9660: 2020 2020 2076 6572 7369 6f6e 3a20 332e version: 3.
│ │ │ +001b9670: 312e 300a 2020 2020 7379 7374 656d 643a 1.0. systemd:
│ │ │ +001b9680: 0a20 2020 2020 2075 6e69 7473 3a0a 2020 . units:.
│ │ │ +001b9690: 2020 2020 2d20 6e61 6d65 3a20 6176 6168 - name: avah
│ │ │ +001b96a0: 692d 6461 656d 6f6e 2e73 6572 7669 6365 i-daemon.service
│ │ │ +001b96b0: 0a20 2020 2020 2020 2065 6e61 626c 6564 . enabled
│ │ │ +001b96c0: 3a20 6661 6c73 650a 2020 2020 2020 2020 : false.
│ │ │ +001b96d0: 6d61 736b 3a20 7472 7565 0a20 2020 2020 mask: true.
│ │ │ +001b96e0: 202d 206e 616d 653a 2061 7661 6869 2d64 - name: avahi-d
│ │ │ +001b96f0: 6165 6d6f 6e2e 736f 636b 6574 0a20 2020 aemon.socket.
│ │ │ +001b9700: 2020 2020 2065 6e61 626c 6564 3a20 6661 enabled: fa
│ │ │ +001b9710: 6c73 650a 2020 2020 2020 2020 6d61 736b lse. mask
│ │ │ +001b9720: 3a20 7472 7565 0a3c 2f63 6f64 653e 3c2f : true.
│ │ │ +001b9730: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ +001b97e0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +001b97f0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +001b9870: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +001b9880: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +001b9890: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001b98a0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +001b98b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +001b98d0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +001b98e0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001b98f0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +001b9920: 636f 6465 3e69 6e63 6c75 6465 2064 6973 code>include dis
│ │ │ +001b9930: 6162 6c65 5f61 7661 6869 2d64 6165 6d6f able_avahi-daemo
│ │ │ +001b9940: 6e0a 0a63 6c61 7373 2064 6973 6162 6c65 n..class disable
│ │ │ +001b9950: 5f61 7661 6869 2d64 6165 6d6f 6e20 7b0a _avahi-daemon {.
│ │ │ +001b9960: 2020 7365 7276 6963 6520 7b27 6176 6168 service {'avah
│ │ │ +001b9970: 692d 6461 656d 6f6e 273a 0a20 2020 2065 i-daemon':. e
│ │ │ +001b9980: 6e61 626c 6520 3d26 6774 3b20 6661 6c73 nable => fals
│ │ │ +001b9990: 652c 0a20 2020 2065 6e73 7572 6520 3d26 e,. ensure =&
│ │ │ +001b99a0: 6774 3b20 2773 746f 7070 6564 272c 0a20 gt; 'stopped',.
│ │ │ +001b99b0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.Remediation
│ │ │ +001b9a70: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri
│ │ │ +001b9a80: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
│ │ │ +001b9a90: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
.[customization
│ │ │ +001b9ae0: 732e 7365 7276 6963 6573 5d0a 6d61 736b s.services].mask
│ │ │ +001b9af0: 6564 203d 205b 2261 7661 6869 2d64 6165 ed = ["avahi-dae
│ │ │ +001b9b00: 6d6f 6e22 5d0a 3c2f 636f 6465 3e3c 2f70 mon"].
Remedi
│ │ │ -001c5c80: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ -001c5c90: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ -001c5ca0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001c5ce0: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a .[customiz
│ │ │ -001c5cf0: 6174 696f 6e73 2e73 6572 7669 6365 735d ations.services]
│ │ │ -001c5d00: 0a65 6e61 626c 6564 203d 205b 2263 726f .enabled = ["cro
│ │ │ -001c5d10: 6e22 5d0a 3c2f 636f 6465 3e3c 2f70 7265 n"].
Remediation
│ │ │ -001c5dd0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ -001c5de0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -001c5e60: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -001c5e70: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001c5e80: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -001c5e90: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -001c5ed0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -001c5ee0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ -001c5ef0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ -001c5f00: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include enable
│ │ │ -001c5f20: 5f63 726f 6e0a 0a63 6c61 7373 2065 6e61 _cron..class ena
│ │ │ -001c5f30: 626c 655f 6372 6f6e 207b 0a20 2073 6572 ble_cron {. ser
│ │ │ -001c5f40: 7669 6365 207b 2763 726f 6e27 3a0a 2020 vice {'cron':.
│ │ │ -001c5f50: 2020 656e 6162 6c65 203d 2667 743b 2074 enable => t
│ │ │ -001c5f60: 7275 652c 0a20 2020 2065 6e73 7572 6520 rue,. ensure
│ │ │ -001c5f70: 3d26 6774 3b20 2772 756e 6e69 6e67 272c => 'running',
│ │ │ -001c5f80: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -001c5f90: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ -001c6040: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ -001c6050: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -001c60d0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -001c60e0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -001c60f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -001c6130: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -001c6140: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -001c6160: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -001c6170: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -001c6180: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761 - name: Ga
│ │ │ -001c6190: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ -001c61a0: 2066 6163 7473 0a20 2070 6163 6b61 6765 facts. package
│ │ │ -001c61b0: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61 _facts:. mana
│ │ │ -001c61c0: 6765 723a 2061 7574 6f0a 2020 7461 6773 ger: auto. tags
│ │ │ -001c61d0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5
│ │ │ -001c61e0: 332d 434d 2d36 2861 290a 2020 2d20 656e 3-CM-6(a). - en
│ │ │ -001c61f0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -001c6200: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -001c6210: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -001c6220: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ -001c6230: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -001c6240: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -001c6250: 2073 6572 7669 6365 5f63 726f 6e5f 656e service_cron_en
│ │ │ -001c6260: 6162 6c65 640a 0a2d 206e 616d 653a 2045 abled..- name: E
│ │ │ -001c6270: 6e61 626c 6520 6372 6f6e 2053 6572 7669 nable cron Servi
│ │ │ -001c6280: 6365 202d 2045 6e61 626c 6520 7365 7276 ce - Enable serv
│ │ │ -001c6290: 6963 6520 6372 6f6e 0a20 2062 6c6f 636b ice cron. block
│ │ │ -001c62a0: 3a0a 0a20 202d 206e 616d 653a 2047 6174 :.. - name: Gat
│ │ │ -001c62b0: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ -001c62c0: 6661 6374 730a 2020 2020 616e 7369 626c facts. ansibl
│ │ │ -001c62d0: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ -001c62e0: 655f 6661 6374 733a 0a20 2020 2020 206d e_facts:. m
│ │ │ -001c62f0: 616e 6167 6572 3a20 6175 746f 0a0a 2020 anager: auto..
│ │ │ -001c6300: 2d20 6e61 6d65 3a20 456e 6162 6c65 2063 - name: Enable c
│ │ │ -001c6310: 726f 6e20 5365 7276 6963 6520 2d20 456e ron Service - En
│ │ │ -001c6320: 6162 6c65 2053 6572 7669 6365 2063 726f able Service cro
│ │ │ -001c6330: 6e0a 2020 2020 616e 7369 626c 652e 6275 n. ansible.bu
│ │ │ -001c6340: 696c 7469 6e2e 7379 7374 656d 643a 0a20 iltin.systemd:.
│ │ │ -001c6350: 2020 2020 206e 616d 653a 2063 726f 6e0a name: cron.
│ │ │ -001c6360: 2020 2020 2020 656e 6162 6c65 643a 2074 enabled: t
│ │ │ -001c6370: 7275 650a 2020 2020 2020 7374 6174 653a rue. state:
│ │ │ -001c6380: 2073 7461 7274 6564 0a20 2020 2020 206d started. m
│ │ │ -001c6390: 6173 6b65 643a 2066 616c 7365 0a20 2020 asked: false.
│ │ │ -001c63a0: 2077 6865 6e3a 0a20 2020 202d 2027 2263 when:. - '"c
│ │ │ -001c63b0: 726f 6e22 2069 6e20 616e 7369 626c 655f ron" in ansible_
│ │ │ -001c63c0: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ -001c63d0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ -001c63e0: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -001c63f0: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat
│ │ │ -001c6400: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ -001c6410: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -001c6420: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ -001c6430: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ -001c6440: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -001c6450: 6564 0a20 202d 2073 6572 7669 6365 5f63 ed. - service_c
│ │ │ -001c6460: 726f 6e5f 656e 6162 6c65 640a 2020 2d20 ron_enabled. -
│ │ │ -001c6470: 7370 6563 6961 6c5f 7365 7276 6963 655f special_service_
│ │ │ -001c6480: 626c 6f63 6b0a 2020 7768 656e 3a20 2722 block. when: '"
│ │ │ -001c6490: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ -001c64a0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -001c64b0: 6b61 6765 7327 0a3c 2f63 6f64 653e 3c2f kages'.
│ │ │ +001c5c80: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ +001c5c90: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +001c5d20: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +001c5d30: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001c5d40: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +001c5d50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001c5d60: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +001c5d70: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +001c5d80: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +001c5d90: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
- name:
│ │ │ +001c5dd0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ +001c5de0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ +001c5df0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ +001c5e00: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ +001c5e10: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ +001c5e20: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ +001c5e30: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ +001c5e40: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +001c5e50: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +001c5e60: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ +001c5e70: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +001c5e80: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +001c5e90: 2020 2d20 7365 7276 6963 655f 6372 6f6e - service_cron
│ │ │ +001c5ea0: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65 _enabled..- name
│ │ │ +001c5eb0: 3a20 456e 6162 6c65 2063 726f 6e20 5365 : Enable cron Se
│ │ │ +001c5ec0: 7276 6963 6520 2d20 456e 6162 6c65 2073 rvice - Enable s
│ │ │ +001c5ed0: 6572 7669 6365 2063 726f 6e0a 2020 626c ervice cron. bl
│ │ │ +001c5ee0: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 ock:.. - name:
│ │ │ +001c5ef0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ +001c5f00: 6765 2066 6163 7473 0a20 2020 2061 6e73 ge facts. ans
│ │ │ +001c5f10: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ +001c5f20: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ +001c5f30: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +001c5f40: 0a20 202d 206e 616d 653a 2045 6e61 626c . - name: Enabl
│ │ │ +001c5f50: 6520 6372 6f6e 2053 6572 7669 6365 202d e cron Service -
│ │ │ +001c5f60: 2045 6e61 626c 6520 5365 7276 6963 6520 Enable Service
│ │ │ +001c5f70: 6372 6f6e 0a20 2020 2061 6e73 6962 6c65 cron. ansible
│ │ │ +001c5f80: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd
│ │ │ +001c5f90: 3a0a 2020 2020 2020 6e61 6d65 3a20 6372 :. name: cr
│ │ │ +001c5fa0: 6f6e 0a20 2020 2020 2065 6e61 626c 6564 on. enabled
│ │ │ +001c5fb0: 3a20 7472 7565 0a20 2020 2020 2073 7461 : true. sta
│ │ │ +001c5fc0: 7465 3a20 7374 6172 7465 640a 2020 2020 te: started.
│ │ │ +001c5fd0: 2020 6d61 736b 6564 3a20 6661 6c73 650a masked: false.
│ │ │ +001c5fe0: 2020 2020 7768 656e 3a0a 2020 2020 2d20 when:. -
│ │ │ +001c5ff0: 2722 6372 6f6e 2220 696e 2061 6e73 6962 '"cron" in ansib
│ │ │ +001c6000: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ +001c6010: 7327 0a20 2074 6167 733a 0a20 202d 204e s'. tags:. - N
│ │ │ +001c6020: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +001c6030: 6129 0a20 202d 2065 6e61 626c 655f 7374 a). - enable_st
│ │ │ +001c6040: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +001c6050: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +001c6060: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +001c6070: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +001c6080: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +001c6090: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic
│ │ │ +001c60a0: 655f 6372 6f6e 5f65 6e61 626c 6564 0a20 e_cron_enabled.
│ │ │ +001c60b0: 202d 2073 7065 6369 616c 5f73 6572 7669 - special_servi
│ │ │ +001c60c0: 6365 5f62 6c6f 636b 0a20 2077 6865 6e3a ce_block. when:
│ │ │ +001c60d0: 2027 226c 696e 7578 2d62 6173 6522 2069 '"linux-base" i
│ │ │ +001c60e0: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ +001c60f0: 7061 636b 6167 6573 270a 3c2f 636f 6465 packages'.
Remedi
│ │ │ +001c61b0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +001c61c0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001c61d0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001c6200: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001c6250: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001c6260: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001c6270: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001c6280: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001c6290: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001c62a0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001c62b0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001c62c0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ +001c62e0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ +001c6300: 656e 6162 6c65 5f63 726f 6e0a 0a63 6c61 enable_cron..cla
│ │ │ +001c6310: 7373 2065 6e61 626c 655f 6372 6f6e 207b ss enable_cron {
│ │ │ +001c6320: 0a20 2073 6572 7669 6365 207b 2763 726f . service {'cro
│ │ │ +001c6330: 6e27 3a0a 2020 2020 656e 6162 6c65 203d n':. enable =
│ │ │ +001c6340: 2667 743b 2074 7275 652c 0a20 2020 2065 > true,. e
│ │ │ +001c6350: 6e73 7572 6520 3d26 6774 3b20 2772 756e nsure => 'run
│ │ │ +001c6360: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63 ning',. }.}.
│ │ │ +001c6380: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +001c6420: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ +001c6430: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ +001c6440: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[custo
│ │ │ +001c6490: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic
│ │ │ +001c64a0: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = ["
│ │ │ +001c64b0: 6372 6f6e 225d 0a3c 2f63 6f64 653e 3c2f cron"].
│ │ │ 001c64c0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remedia
│ │ │ -001e2710: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ -001e2720: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -001e2730: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -001e2740: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -001e2750: 7365 2220 6964 3d22 6964 3637 3622 3e3c se" id="id676"><
│ │ │ -001e2760: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -001e2770: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -001e2780: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -001e2790: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -001e27a0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -001e27b0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -001e27c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -001e27f0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -001e2800: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -001e2810: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -001e2830: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -001e2840: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
.include
│ │ │ -001e2860: 2072 656d 6f76 655f 6e69 730a 0a63 6c61 remove_nis..cla
│ │ │ -001e2870: 7373 2072 656d 6f76 655f 6e69 7320 7b0a ss remove_nis {.
│ │ │ -001e2880: 2020 7061 636b 6167 6520 7b20 276e 6973 package { 'nis
│ │ │ -001e2890: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ -001e28a0: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',.
│ │ │ -001e28b0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}. Remediation
│ │ │ -001e2970: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -001e2980: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001e2a10: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001e2a30: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001e2a50: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001e2a60: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -001e2a80: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -001e2a90: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: 'Uni
│ │ │ -001e2ac0: 6e73 7461 6c6c 2074 6865 206e 6973 2070 nstall the nis p
│ │ │ -001e2ad0: 6163 6b61 6765 3a20 456e 7375 7265 206e ackage: Ensure n
│ │ │ -001e2ae0: 6973 2069 7320 7265 6d6f 7665 6427 0a20 is is removed'.
│ │ │ -001e2af0: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -001e2b00: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -001e2b10: 6d65 3a20 6e69 730a 2020 2020 7374 6174 me: nis. stat
│ │ │ -001e2b20: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags
│ │ │ -001e2b30: 3a0a 2020 2d20 6469 7361 626c 655f 7374 :. - disable_st
│ │ │ -001e2b40: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -001e2b50: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -001e2b60: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -001e2b70: 206c 6f77 5f73 6576 6572 6974 790a 2020 low_severity.
│ │ │ -001e2b80: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ -001e2b90: 6564 0a20 202d 2070 6163 6b61 6765 5f6e ed. - package_n
│ │ │ -001e2ba0: 6973 5f72 656d 6f76 6564 0a3c 2f63 6f64 is_removed.
│ │ │ +001e2730: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001e2760: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001e27b0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001e27c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001e27d0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001e27e0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001e27f0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001e2800: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001e2810: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001e2820: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ +001e2860: 2027 556e 696e 7374 616c 6c20 7468 6520 'Uninstall the
│ │ │ +001e2870: 6e69 7320 7061 636b 6167 653a 2045 6e73 nis package: Ens
│ │ │ +001e2880: 7572 6520 6e69 7320 6973 2072 656d 6f76 ure nis is remov
│ │ │ +001e2890: 6564 270a 2020 616e 7369 626c 652e 6275 ed'. ansible.bu
│ │ │ +001e28a0: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ +001e28b0: 2020 206e 616d 653a 206e 6973 0a20 2020 name: nis.
│ │ │ +001e28c0: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ +001e28d0: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab
│ │ │ +001e28e0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +001e28f0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +001e2900: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +001e2910: 6e0a 2020 2d20 6c6f 775f 7365 7665 7269 n. - low_severi
│ │ │ +001e2920: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +001e2930: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ +001e2940: 6167 655f 6e69 735f 7265 6d6f 7665 640a age_nis_removed.
│ │ │ +001e2950: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +001e2a00: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +001e2a10: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +001e2a20: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +001e2aa0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +001e2ab0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +001e2ad0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +001e2ae0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +001e2b20: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +001e2b30: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ +001e2b50: 696e 636c 7564 6520 7265 6d6f 7665 5f6e include remove_n
│ │ │ +001e2b60: 6973 0a0a 636c 6173 7320 7265 6d6f 7665 is..class remove
│ │ │ +001e2b70: 5f6e 6973 207b 0a20 2070 6163 6b61 6765 _nis {. package
│ │ │ +001e2b80: 207b 2027 6e69 7327 3a0a 2020 2020 656e { 'nis':. en
│ │ │ +001e2b90: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ +001e2ba0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remediation Pup
│ │ │ -001e4690: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ -001e46a0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -001e4750: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -001e4760: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001e4770: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -001e4780: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -001e47a0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ -001e47b0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001e47d0: 0a69 6e63 6c75 6465 2072 656d 6f76 655f .include remove_
│ │ │ -001e47e0: 6973 632d 6468 6370 2d73 6572 7665 720a isc-dhcp-server.
│ │ │ -001e47f0: 0a63 6c61 7373 2072 656d 6f76 655f 6973 .class remove_is
│ │ │ -001e4800: 632d 6468 6370 2d73 6572 7665 7220 7b0a c-dhcp-server {.
│ │ │ -001e4810: 2020 7061 636b 6167 6520 7b20 2769 7363 package { 'isc
│ │ │ -001e4820: 2d64 6863 702d 7365 7276 6572 273a 0a20 -dhcp-server':.
│ │ │ -001e4830: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -001e4840: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}.
│ │ │ -001e4850: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -001e4900: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ -001e4910: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ -001e4920: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -001e49d0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -001e49e0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001e49f0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -001e4a00: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -001e4a20: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ -001e4a30: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001e4a50: 2d20 6e61 6d65 3a20 2755 6e69 6e73 7461 - name: 'Uninsta
│ │ │ -001e4a60: 6c6c 2044 4843 5020 5365 7276 6572 2050 ll DHCP Server P
│ │ │ -001e4a70: 6163 6b61 6765 3a20 456e 7375 7265 2069 ackage: Ensure i
│ │ │ -001e4a80: 7363 2d64 6863 702d 7365 7276 6572 2069 sc-dhcp-server i
│ │ │ -001e4a90: 7320 7265 6d6f 7665 6427 0a20 2061 6e73 s removed'. ans
│ │ │ -001e4aa0: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ -001e4ab0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ -001e4ac0: 6973 632d 6468 6370 2d73 6572 7665 720a isc-dhcp-server.
│ │ │ -001e4ad0: 2020 2020 7374 6174 653a 2061 6273 656e state: absen
│ │ │ -001e4ae0: 740a 2020 7461 6773 3a0a 2020 2d20 4e49 t. tags:. - NI
│ │ │ -001e4af0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ -001e4b00: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -001e4b10: 332d 434d 2d37 2861 290a 2020 2d20 4e49 3-CM-7(a). - NI
│ │ │ -001e4b20: 5354 2d38 3030 2d35 332d 434d 2d37 2862 ST-800-53-CM-7(b
│ │ │ -001e4b30: 290a 2020 2d20 5043 492d 4453 5376 342d ). - PCI-DSSv4-
│ │ │ -001e4b40: 322e 320a 2020 2d20 5043 492d 4453 5376 2.2. - PCI-DSSv
│ │ │ -001e4b50: 342d 322e 322e 340a 2020 2d20 6469 7361 4-2.2.4. - disa
│ │ │ -001e4b60: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -001e4b70: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -001e4b80: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -001e4b90: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -001e4ba0: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -001e4bb0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -001e4bc0: 7061 636b 6167 655f 6468 6370 5f72 656d package_dhcp_rem
│ │ │ -001e4bd0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.Remediation Ans
│ │ │ +001e4690: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ +001e46a0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +001e4740: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +001e4750: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +001e4760: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001e4770: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +001e4780: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +001e4790: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +001e47a0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ +001e47b0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +001e47c0: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: 'Uninst
│ │ │ +001e47e0: 616c 6c20 4448 4350 2053 6572 7665 7220 all DHCP Server
│ │ │ +001e47f0: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ +001e4800: 6973 632d 6468 6370 2d73 6572 7665 7220 isc-dhcp-server
│ │ │ +001e4810: 6973 2072 656d 6f76 6564 270a 2020 616e is removed'. an
│ │ │ +001e4820: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +001e4830: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ +001e4840: 2069 7363 2d64 6863 702d 7365 7276 6572 isc-dhcp-server
│ │ │ +001e4850: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ +001e4860: 6e74 0a20 2074 6167 733a 0a20 202d 204e nt. tags:. - N
│ │ │ +001e4870: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +001e4880: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +001e4890: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N
│ │ │ +001e48a0: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ +001e48b0: 6229 0a20 202d 2050 4349 2d44 5353 7634 b). - PCI-DSSv4
│ │ │ +001e48c0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353 -2.2. - PCI-DSS
│ │ │ +001e48d0: 7634 2d32 2e32 2e34 0a20 202d 2064 6973 v4-2.2.4. - dis
│ │ │ +001e48e0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +001e48f0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +001e4900: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +001e4910: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +001e4920: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +001e4930: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001e4940: 2070 6163 6b61 6765 5f64 6863 705f 7265 package_dhcp_re
│ │ │ +001e4950: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.Remediatio
│ │ │ +001e4a10: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +001e4a20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +001e4ab0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +001e4ad0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001e4ae0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001e4af0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001e4b00: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001e4b20: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +001e4b50: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ +001e4b60: 6d6f 7665 5f69 7363 2d64 6863 702d 7365 move_isc-dhcp-se
│ │ │ +001e4b70: 7276 6572 0a0a 636c 6173 7320 7265 6d6f rver..class remo
│ │ │ +001e4b80: 7665 5f69 7363 2d64 6863 702d 7365 7276 ve_isc-dhcp-serv
│ │ │ +001e4b90: 6572 207b 0a20 2070 6163 6b61 6765 207b er {. package {
│ │ │ +001e4ba0: 2027 6973 632d 6468 6370 2d73 6572 7665 'isc-dhcp-serve
│ │ │ +001e4bb0: 7227 3a0a 2020 2020 656e 7375 7265 203d r':. ensure =
│ │ │ +001e4bc0: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ +001e4bd0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.Remediation
│ │ │ -001e64a0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -001e64b0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001e6540: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001e6560: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001e6580: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001e6590: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -001e65b0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -001e65c0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ -001e65f0: 6f76 655f 6269 6e64 390a 0a63 6c61 7373 ove_bind9..class
│ │ │ -001e6600: 2072 656d 6f76 655f 6269 6e64 3920 7b0a remove_bind9 {.
│ │ │ -001e6610: 2020 7061 636b 6167 6520 7b20 2762 696e package { 'bin
│ │ │ -001e6620: 6439 273a 0a20 2020 2065 6e73 7572 6520 d9':. ensure
│ │ │ -001e6630: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ -001e6640: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediatio
│ │ │ -001e6700: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ -001e6710: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -001e6790: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -001e67a0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -001e67b0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001e67c0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -001e67d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -001e67f0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -001e6800: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001e6810: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -001e6830: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -001e6840: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2755 - name: 'U
│ │ │ -001e6850: 6e69 6e73 7461 6c6c 2062 696e 6420 5061 ninstall bind Pa
│ │ │ -001e6860: 636b 6167 653a 2045 6e73 7572 6520 6269 ckage: Ensure bi
│ │ │ -001e6870: 6e64 3920 6973 2072 656d 6f76 6564 270a nd9 is removed'.
│ │ │ -001e6880: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -001e6890: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ -001e68a0: 616d 653a 2062 696e 6439 0a20 2020 2073 ame: bind9. s
│ │ │ -001e68b0: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ -001e68c0: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ -001e68d0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -001e68e0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -001e68f0: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80
│ │ │ -001e6900: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). -
│ │ │ -001e6910: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ -001e6920: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -001e6930: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -001e6940: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f ruption. - low_
│ │ │ -001e6950: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -001e6960: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001e6970: 2d20 7061 636b 6167 655f 6269 6e64 5f72 - package_bind_r
│ │ │ -001e6980: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f emoved.
│ │ │ +001e64a0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ +001e64b0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +001e6540: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +001e6560: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001e6570: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001e6580: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001e6590: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001e65b0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +001e65e0: 636f 6465 3e2d 206e 616d 653a 2027 556e code>- name: 'Un
│ │ │ +001e65f0: 696e 7374 616c 6c20 6269 6e64 2050 6163 install bind Pac
│ │ │ +001e6600: 6b61 6765 3a20 456e 7375 7265 2062 696e kage: Ensure bin
│ │ │ +001e6610: 6439 2069 7320 7265 6d6f 7665 6427 0a20 d9 is removed'.
│ │ │ +001e6620: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +001e6630: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ +001e6640: 6d65 3a20 6269 6e64 390a 2020 2020 7374 me: bind9. st
│ │ │ +001e6650: 6174 653a 2061 6273 656e 740a 2020 7461 ate: absent. ta
│ │ │ +001e6660: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ +001e6670: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ +001e6680: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ +001e6690: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ +001e66a0: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). -
│ │ │ +001e66b0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ +001e66c0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +001e66d0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +001e66e0: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73 uption. - low_s
│ │ │ +001e66f0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +001e6700: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001e6710: 2070 6163 6b61 6765 5f62 696e 645f 7265 package_bind_re
│ │ │ +001e6720: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.
Remediatio
│ │ │ +001e67e0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +001e67f0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +001e6880: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +001e68a0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001e68b0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001e68c0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001e68d0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001e68f0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +001e6920: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ +001e6930: 6d6f 7665 5f62 696e 6439 0a0a 636c 6173 move_bind9..clas
│ │ │ +001e6940: 7320 7265 6d6f 7665 5f62 696e 6439 207b s remove_bind9 {
│ │ │ +001e6950: 0a20 2070 6163 6b61 6765 207b 2027 6269 . package { 'bi
│ │ │ +001e6960: 6e64 3927 3a0a 2020 2020 656e 7375 7265 nd9':. ensure
│ │ │ +001e6970: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ +001e6980: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ 001e6990: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Re
│ │ │ -001e8330: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ -001e8340: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001e8350: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -001e83d0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -001e83f0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -001e8400: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -001e8410: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001e8420: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -001e8430: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -001e8440: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001e8450: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -001e8460: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ -001e8480: 636c 7564 6520 7265 6d6f 7665 5f76 7366 clude remove_vsf
│ │ │ -001e8490: 7470 640a 0a63 6c61 7373 2072 656d 6f76 tpd..class remov
│ │ │ -001e84a0: 655f 7673 6674 7064 207b 0a20 2070 6163 e_vsftpd {. pac
│ │ │ -001e84b0: 6b61 6765 207b 2027 7673 6674 7064 273a kage { 'vsftpd':
│ │ │ -001e84c0: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -001e84d0: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ -001e84e0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -001e84f0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -001e85a0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -001e85b0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001e8630: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001e8640: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001e8650: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001e8660: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001e8670: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001e86a0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001e86b0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001e86c0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001e86d0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: 'Unins
│ │ │ -001e86f0: 7461 6c6c 2076 7366 7470 6420 5061 636b tall vsftpd Pack
│ │ │ -001e8700: 6167 653a 2045 6e73 7572 6520 7673 6674 age: Ensure vsft
│ │ │ -001e8710: 7064 2069 7320 7265 6d6f 7665 6427 0a20 pd is removed'.
│ │ │ -001e8720: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -001e8730: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -001e8740: 6d65 3a20 7673 6674 7064 0a20 2020 2073 me: vsftpd. s
│ │ │ -001e8750: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ -001e8760: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ -001e8770: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -001e8780: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -001e8790: 370a 2020 2d20 4e49 5354 2d38 3030 2d35 7. - NIST-800-5
│ │ │ -001e87a0: 332d 434d 2d37 2861 290a 2020 2d20 4e49 3-CM-7(a). - NI
│ │ │ -001e87b0: 5354 2d38 3030 2d35 332d 434d 2d37 2862 ST-800-53-CM-7(b
│ │ │ -001e87c0: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -001e87d0: 332d 434d 2d37 2e31 2869 6929 0a20 202d 3-CM-7.1(ii). -
│ │ │ -001e87e0: 204e 4953 542d 3830 302d 3533 2d49 412d NIST-800-53-IA-
│ │ │ -001e87f0: 3528 3129 2863 290a 2020 2d20 4e49 5354 5(1)(c). - NIST
│ │ │ -001e8800: 2d38 3030 2d35 332d 4941 2d35 2831 292e -800-53-IA-5(1).
│ │ │ -001e8810: 3128 7629 0a20 202d 2064 6973 6162 6c65 1(v). - disable
│ │ │ -001e8820: 5f73 7472 6174 6567 790a 2020 2d20 6869 _strategy. - hi
│ │ │ -001e8830: 6768 5f73 6576 6572 6974 790a 2020 2d20 gh_severity. -
│ │ │ -001e8840: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -001e8850: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -001e8860: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ -001e8870: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ -001e8880: 6765 5f76 7366 7470 645f 7265 6d6f 7665 ge_vsftpd_remove
│ │ │ -001e8890: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.
<
│ │ │ +001e8330: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ +001e8340: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ +001e83d0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +001e83e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001e83f0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +001e8400: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +001e8410: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +001e8440: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +001e8450: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ +001e8460: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ +001e8480: 6e61 6d65 3a20 2755 6e69 6e73 7461 6c6c name: 'Uninstall
│ │ │ +001e8490: 2076 7366 7470 6420 5061 636b 6167 653a vsftpd Package:
│ │ │ +001e84a0: 2045 6e73 7572 6520 7673 6674 7064 2069 Ensure vsftpd i
│ │ │ +001e84b0: 7320 7265 6d6f 7665 6427 0a20 2061 6e73 s removed'. ans
│ │ │ +001e84c0: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ +001e84d0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ +001e84e0: 7673 6674 7064 0a20 2020 2073 7461 7465 vsftpd. state
│ │ │ +001e84f0: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags:
│ │ │ +001e8500: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +001e8510: 2d43 4d2d 3628 6129 0a20 202d 204e 4953 -CM-6(a). - NIS
│ │ │ +001e8520: 542d 3830 302d 3533 2d43 4d2d 370a 2020 T-800-53-CM-7.
│ │ │ +001e8530: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ +001e8540: 2d37 2861 290a 2020 2d20 4e49 5354 2d38 -7(a). - NIST-8
│ │ │ +001e8550: 3030 2d35 332d 434d 2d37 2862 290a 2020 00-53-CM-7(b).
│ │ │ +001e8560: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ +001e8570: 2d37 2e31 2869 6929 0a20 202d 204e 4953 -7.1(ii). - NIS
│ │ │ +001e8580: 542d 3830 302d 3533 2d49 412d 3528 3129 T-800-53-IA-5(1)
│ │ │ +001e8590: 2863 290a 2020 2d20 4e49 5354 2d38 3030 (c). - NIST-800
│ │ │ +001e85a0: 2d35 332d 4941 2d35 2831 292e 3128 7629 -53-IA-5(1).1(v)
│ │ │ +001e85b0: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +001e85c0: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s
│ │ │ +001e85d0: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_
│ │ │ +001e85e0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +001e85f0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +001e8600: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +001e8610: 6564 0a20 202d 2070 6163 6b61 6765 5f76 ed. - package_v
│ │ │ +001e8620: 7366 7470 645f 7265 6d6f 7665 640a 3c2f sftpd_removed.
│ │ │ +001e8630: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +001e86e0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ +001e86f0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +001e8700: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +001e8780: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +001e87a0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +001e87b0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +001e87c0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +001e87d0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +001e87e0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +001e87f0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +001e8800: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +001e8810: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ +001e8830: 636c 7564 6520 7265 6d6f 7665 5f76 7366 clude remove_vsf
│ │ │ +001e8840: 7470 640a 0a63 6c61 7373 2072 656d 6f76 tpd..class remov
│ │ │ +001e8850: 655f 7673 6674 7064 207b 0a20 2070 6163 e_vsftpd {. pac
│ │ │ +001e8860: 6b61 6765 207b 2027 7673 6674 7064 273a kage { 'vsftpd':
│ │ │ +001e8870: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +001e8880: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ +001e8890: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ 001e88a0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remed
│ │ │ -001ea1b0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -001ea1c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -001ea250: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -001ea260: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001ea270: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -001ea280: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001ea290: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -001ea2a0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001ea2b0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001ea2c0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -001ea2f0: 7072 653e 3c63 6f64 653e 0a69 6e63 6c75 pre>.inclu
│ │ │ -001ea300: 6465 2072 656d 6f76 655f 6170 6163 6865 de remove_apache
│ │ │ -001ea310: 320a 0a63 6c61 7373 2072 656d 6f76 655f 2..class remove_
│ │ │ -001ea320: 6170 6163 6865 3220 7b0a 2020 7061 636b apache2 {. pack
│ │ │ -001ea330: 6167 6520 7b20 2761 7061 6368 6532 273a age { 'apache2':
│ │ │ -001ea340: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -001ea350: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ -001ea360: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.<
│ │ │ -001ea370: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -001ea420: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -001ea430: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001ea4b0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001ea4c0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001ea4d0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001ea4e0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001ea4f0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001ea520: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001ea530: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001ea540: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001ea550: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: 'Unins
│ │ │ -001ea570: 7461 6c6c 2061 7061 6368 6532 2050 6163 tall apache2 Pac
│ │ │ -001ea580: 6b61 6765 3a20 456e 7375 7265 2061 7061 kage: Ensure apa
│ │ │ -001ea590: 6368 6532 2069 7320 7265 6d6f 7665 6427 che2 is removed'
│ │ │ -001ea5a0: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ -001ea5b0: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ -001ea5c0: 6e61 6d65 3a20 6170 6163 6865 320a 2020 name: apache2.
│ │ │ -001ea5d0: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ -001ea5e0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ -001ea5f0: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -001ea600: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -001ea610: 434d 2d37 2861 290a 2020 2d20 4e49 5354 CM-7(a). - NIST
│ │ │ -001ea620: 2d38 3030 2d35 332d 434d 2d37 2862 290a -800-53-CM-7(b).
│ │ │ -001ea630: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ -001ea640: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -001ea650: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -001ea660: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ -001ea670: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -001ea680: 2020 2d20 7061 636b 6167 655f 6874 7470 - package_http
│ │ │ -001ea690: 645f 7265 6d6f 7665 640a 2020 2d20 756e d_removed. - un
│ │ │ -001ea6a0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c known_severity.<
│ │ │ +001ea1b0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ +001ea1c0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +001ea250: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +001ea260: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +001ea280: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +001ea2a0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001ea2b0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001ea2d0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +001ea2e0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001ea2f0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +001ea300: 653a 2027 556e 696e 7374 616c 6c20 6170 e: 'Uninstall ap
│ │ │ +001ea310: 6163 6865 3220 5061 636b 6167 653a 2045 ache2 Package: E
│ │ │ +001ea320: 6e73 7572 6520 6170 6163 6865 3220 6973 nsure apache2 is
│ │ │ +001ea330: 2072 656d 6f76 6564 270a 2020 616e 7369 removed'. ansi
│ │ │ +001ea340: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ +001ea350: 6167 653a 0a20 2020 206e 616d 653a 2061 age:. name: a
│ │ │ +001ea360: 7061 6368 6532 0a20 2020 2073 7461 7465 pache2. state
│ │ │ +001ea370: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags:
│ │ │ +001ea380: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +001ea390: 2d43 4d2d 3628 6129 0a20 202d 204e 4953 -CM-6(a). - NIS
│ │ │ +001ea3a0: 542d 3830 302d 3533 2d43 4d2d 3728 6129 T-800-53-CM-7(a)
│ │ │ +001ea3b0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +001ea3c0: 2d43 4d2d 3728 6229 0a20 202d 2064 6973 -CM-7(b). - dis
│ │ │ +001ea3d0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +001ea3e0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +001ea3f0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +001ea400: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo
│ │ │ +001ea410: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +001ea420: 6b61 6765 5f68 7474 7064 5f72 656d 6f76 kage_httpd_remov
│ │ │ +001ea430: 6564 0a20 202d 2075 6e6b 6e6f 776e 5f73 ed. - unknown_s
│ │ │ +001ea440: 6576 6572 6974 790a 3c2f 636f 6465 3e3c everity.<
│ │ │ +001ea450: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ +001ea500: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ +001ea510: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001ea590: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +001ea5a0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +001ea5b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +001ea5f0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +001ea600: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +001ea620: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ +001ea630: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
.include
│ │ │ +001ea650: 7265 6d6f 7665 5f61 7061 6368 6532 0a0a remove_apache2..
│ │ │ +001ea660: 636c 6173 7320 7265 6d6f 7665 5f61 7061 class remove_apa
│ │ │ +001ea670: 6368 6532 207b 0a20 2070 6163 6b61 6765 che2 {. package
│ │ │ +001ea680: 207b 2027 6170 6163 6865 3227 3a0a 2020 { 'apache2':.
│ │ │ +001ea690: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +001ea6a0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.<
│ │ │ 001ea6b0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediation P
│ │ │ -001eba50: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -001eba60: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001ebae0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001ebaf0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001ebb00: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001ebb10: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001ebb20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001ebb50: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001ebb60: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001ebb70: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001ebb80: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ -001ebba0: 655f 6e67 696e 780a 0a63 6c61 7373 2072 e_nginx..class r
│ │ │ -001ebbb0: 656d 6f76 655f 6e67 696e 7820 7b0a 2020 emove_nginx {.
│ │ │ -001ebbc0: 7061 636b 6167 6520 7b20 276e 6769 6e78 package { 'nginx
│ │ │ -001ebbd0: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ -001ebbe0: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',.
│ │ │ -001ebbf0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediation
│ │ │ -001ebcb0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -001ebcc0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001ebd50: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001ebd70: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001ebd90: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001ebda0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -001ebdc0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -001ebdd0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: 'Uni
│ │ │ -001ebe00: 6e73 7461 6c6c 206e 6769 6e78 2050 6163 nstall nginx Pac
│ │ │ -001ebe10: 6b61 6765 3a20 456e 7375 7265 206e 6769 kage: Ensure ngi
│ │ │ -001ebe20: 6e78 2069 7320 7265 6d6f 7665 6427 0a20 nx is removed'.
│ │ │ -001ebe30: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -001ebe40: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -001ebe50: 6d65 3a20 6e67 696e 780a 2020 2020 7374 me: nginx. st
│ │ │ -001ebe60: 6174 653a 2061 6273 656e 740a 2020 7461 ate: absent. ta
│ │ │ -001ebe70: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -001ebe80: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -001ebe90: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ -001ebea0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -001ebeb0: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). -
│ │ │ -001ebec0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ -001ebed0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -001ebee0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -001ebef0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re
│ │ │ -001ebf00: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -001ebf10: 7061 636b 6167 655f 6e67 696e 785f 7265 package_nginx_re
│ │ │ -001ebf20: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77 moved. - unknow
│ │ │ -001ebf30: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64 n_severity.Remediation A
│ │ │ +001eba50: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +001eba60: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001ebae0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001ebaf0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001ebb00: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001ebb10: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001ebb50: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001ebb60: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +001ebb70: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +001ebb80: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: 'Unin
│ │ │ +001ebba0: 7374 616c 6c20 6e67 696e 7820 5061 636b stall nginx Pack
│ │ │ +001ebbb0: 6167 653a 2045 6e73 7572 6520 6e67 696e age: Ensure ngin
│ │ │ +001ebbc0: 7820 6973 2072 656d 6f76 6564 270a 2020 x is removed'.
│ │ │ +001ebbd0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +001ebbe0: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +001ebbf0: 653a 206e 6769 6e78 0a20 2020 2073 7461 e: nginx. sta
│ │ │ +001ebc00: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ +001ebc10: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ +001ebc20: 3533 2d43 4d2d 3628 6129 0a20 202d 204e 53-CM-6(a). - N
│ │ │ +001ebc30: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ +001ebc40: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +001ebc50: 3533 2d43 4d2d 3728 6229 0a20 202d 2064 53-CM-7(b). - d
│ │ │ +001ebc60: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +001ebc70: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +001ebc80: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +001ebc90: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ +001ebca0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +001ebcb0: 6163 6b61 6765 5f6e 6769 6e78 5f72 656d ackage_nginx_rem
│ │ │ +001ebcc0: 6f76 6564 0a20 202d 2075 6e6b 6e6f 776e oved. - unknown
│ │ │ +001ebcd0: 5f73 6576 6572 6974 790a 3c2f 636f 6465 _severity.
Remedi
│ │ │ +001ebd90: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +001ebda0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001ebdb0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001ebde0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001ebe30: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001ebe40: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001ebe50: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001ebe60: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001ebe70: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001ebe80: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001ebe90: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001ebea0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ +001ebee0: 6520 7265 6d6f 7665 5f6e 6769 6e78 0a0a e remove_nginx..
│ │ │ +001ebef0: 636c 6173 7320 7265 6d6f 7665 5f6e 6769 class remove_ngi
│ │ │ +001ebf00: 6e78 207b 0a20 2070 6163 6b61 6765 207b nx {. package {
│ │ │ +001ebf10: 2027 6e67 696e 7827 3a0a 2020 2020 656e 'nginx':. en
│ │ │ +001ebf20: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ +001ebf30: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
R
│ │ │ -001ed1d0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -001ed1e0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ -001ed270: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -001ed280: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001ed290: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -001ed2a0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -001ed2b0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -001ed2e0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -001ed2f0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -001ed300: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ -001ed320: 6e63 6c75 6465 2072 656d 6f76 655f 6379 nclude remove_cy
│ │ │ -001ed330: 7275 732d 696d 6170 640a 0a63 6c61 7373 rus-imapd..class
│ │ │ -001ed340: 2072 656d 6f76 655f 6379 7275 732d 696d remove_cyrus-im
│ │ │ -001ed350: 6170 6420 7b0a 2020 7061 636b 6167 6520 apd {. package
│ │ │ -001ed360: 7b20 2763 7972 7573 2d69 6d61 7064 273a { 'cyrus-imapd':
│ │ │ -001ed370: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -001ed380: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ -001ed390: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -001ed3a0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -001ed450: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -001ed460: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001ed4e0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001ed4f0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001ed500: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001ed510: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001ed520: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001ed550: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001ed560: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001ed570: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001ed580: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: 'Unins
│ │ │ -001ed5a0: 7461 6c6c 2063 7972 7573 2d69 6d61 7064 tall cyrus-imapd
│ │ │ -001ed5b0: 2050 6163 6b61 6765 3a20 456e 7375 7265 Package: Ensure
│ │ │ -001ed5c0: 2063 7972 7573 2d69 6d61 7064 2069 7320 cyrus-imapd is
│ │ │ -001ed5d0: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ -001ed5e0: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -001ed5f0: 6765 3a0a 2020 2020 6e61 6d65 3a20 6379 ge:. name: cy
│ │ │ -001ed600: 7275 732d 696d 6170 640a 2020 2020 7374 rus-imapd. st
│ │ │ -001ed610: 6174 653a 2061 6273 656e 740a 2020 7461 ate: absent. ta
│ │ │ -001ed620: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_
│ │ │ -001ed630: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -001ed640: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -001ed650: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -001ed660: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -001ed670: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ -001ed680: 6379 7275 732d 696d 6170 645f 7265 6d6f cyrus-imapd_remo
│ │ │ -001ed690: 7665 640a 2020 2d20 756e 6b6e 6f77 6e5f ved. - unknown_
│ │ │ -001ed6a0: 7365 7665 7269 7479 0a3c 2f63 6f64 653e severity.
│ │ │ +001ed1d0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ +001ed1e0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ +001ed1f0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +001ed270: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +001ed280: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +001ed2a0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +001ed2b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +001ed2f0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +001ed300: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +001ed320: 206e 616d 653a 2027 556e 696e 7374 616c name: 'Uninstal
│ │ │ +001ed330: 6c20 6379 7275 732d 696d 6170 6420 5061 l cyrus-imapd Pa
│ │ │ +001ed340: 636b 6167 653a 2045 6e73 7572 6520 6379 ckage: Ensure cy
│ │ │ +001ed350: 7275 732d 696d 6170 6420 6973 2072 656d rus-imapd is rem
│ │ │ +001ed360: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ +001ed370: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ +001ed380: 0a20 2020 206e 616d 653a 2063 7972 7573 . name: cyrus
│ │ │ +001ed390: 2d69 6d61 7064 0a20 2020 2073 7461 7465 -imapd. state
│ │ │ +001ed3a0: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags:
│ │ │ +001ed3b0: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +001ed3c0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +001ed3d0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +001ed3e0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +001ed3f0: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +001ed400: 0a20 202d 2070 6163 6b61 6765 5f63 7972 . - package_cyr
│ │ │ +001ed410: 7573 2d69 6d61 7064 5f72 656d 6f76 6564 us-imapd_removed
│ │ │ +001ed420: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576 . - unknown_sev
│ │ │ +001ed430: 6572 6974 790a 3c2f 636f 6465 3e3c 2f70 erity.Remediatio
│ │ │ +001ed4f0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +001ed500: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +001ed590: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +001ed5b0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001ed5c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001ed5d0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001ed5e0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001ed600: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +001ed630: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ +001ed640: 6d6f 7665 5f63 7972 7573 2d69 6d61 7064 move_cyrus-imapd
│ │ │ +001ed650: 0a0a 636c 6173 7320 7265 6d6f 7665 5f63 ..class remove_c
│ │ │ +001ed660: 7972 7573 2d69 6d61 7064 207b 0a20 2070 yrus-imapd {. p
│ │ │ +001ed670: 6163 6b61 6765 207b 2027 6379 7275 732d ackage { 'cyrus-
│ │ │ +001ed680: 696d 6170 6427 3a0a 2020 2020 656e 7375 imapd':. ensu
│ │ │ +001ed690: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged
│ │ │ +001ed6a0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ 001ed6b0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063 Remediation
│ │ │ -001ee550: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -001ee560: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -001ee5f0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -001ee610: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -001ee630: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -001ee640: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -001ee660: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -001ee670: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ -001ee6a0: 6f76 655f 646f 7665 636f 742d 636f 7265 ove_dovecot-core
│ │ │ -001ee6b0: 0a0a 636c 6173 7320 7265 6d6f 7665 5f64 ..class remove_d
│ │ │ -001ee6c0: 6f76 6563 6f74 2d63 6f72 6520 7b0a 2020 ovecot-core {.
│ │ │ -001ee6d0: 7061 636b 6167 6520 7b20 2764 6f76 6563 package { 'dovec
│ │ │ -001ee6e0: 6f74 2d63 6f72 6527 3a0a 2020 2020 656e ot-core':. en
│ │ │ -001ee6f0: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ -001ee700: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -001ee7c0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -001ee7d0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -001ee860: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -001ee870: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -001ee890: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001ee8b0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001ee8c0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001ee8e0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -001ee8f0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001ee900: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -001ee910: 653a 2027 556e 696e 7374 616c 6c20 646f e: 'Uninstall do
│ │ │ -001ee920: 7665 636f 7420 5061 636b 6167 653a 2045 vecot Package: E
│ │ │ -001ee930: 6e73 7572 6520 646f 7665 636f 742d 636f nsure dovecot-co
│ │ │ -001ee940: 7265 2069 7320 7265 6d6f 7665 6427 0a20 re is removed'.
│ │ │ -001ee950: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -001ee960: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -001ee970: 6d65 3a20 646f 7665 636f 742d 636f 7265 me: dovecot-core
│ │ │ -001ee980: 0a20 2020 2073 7461 7465 3a20 6162 7365 . state: abse
│ │ │ -001ee990: 6e74 0a20 2074 6167 733a 0a20 202d 2064 nt. tags:. - d
│ │ │ -001ee9a0: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ -001ee9b0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -001ee9c0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -001ee9d0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ -001ee9e0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -001ee9f0: 6163 6b61 6765 5f64 6f76 6563 6f74 5f72 ackage_dovecot_r
│ │ │ -001eea00: 656d 6f76 6564 0a20 202d 2075 6e6b 6e6f emoved. - unkno
│ │ │ -001eea10: 776e 5f73 6576 6572 6974 790a 3c2f 636f wn_severity.
Complexity
│ │ │ +001ee5f0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +001ee610: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001ee620: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001ee630: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001ee640: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001ee660: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +001ee690: 636f 6465 3e2d 206e 616d 653a 2027 556e code>- name: 'Un
│ │ │ +001ee6a0: 696e 7374 616c 6c20 646f 7665 636f 7420 install dovecot
│ │ │ +001ee6b0: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ +001ee6c0: 646f 7665 636f 742d 636f 7265 2069 7320 dovecot-core is
│ │ │ +001ee6d0: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ +001ee6e0: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +001ee6f0: 6765 3a0a 2020 2020 6e61 6d65 3a20 646f ge:. name: do
│ │ │ +001ee700: 7665 636f 742d 636f 7265 0a20 2020 2073 vecot-core. s
│ │ │ +001ee710: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ +001ee720: 6167 733a 0a20 202d 2064 6973 6162 6c65 ags:. - disable
│ │ │ +001ee730: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +001ee740: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +001ee750: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +001ee760: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +001ee770: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +001ee780: 5f64 6f76 6563 6f74 5f72 656d 6f76 6564 _dovecot_removed
│ │ │ +001ee790: 0a20 202d 2075 6e6b 6e6f 776e 5f73 6576 . - unknown_sev
│ │ │ +001ee7a0: 6572 6974 790a 3c2f 636f 6465 3e3c 2f70 erity.
Remediatio
│ │ │ +001ee860: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +001ee870: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +001ee900: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +001ee920: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +001ee930: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001ee940: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +001ee950: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +001ee970: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +001ee9a0: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ +001ee9b0: 6d6f 7665 5f64 6f76 6563 6f74 2d63 6f72 move_dovecot-cor
│ │ │ +001ee9c0: 650a 0a63 6c61 7373 2072 656d 6f76 655f e..class remove_
│ │ │ +001ee9d0: 646f 7665 636f 742d 636f 7265 207b 0a20 dovecot-core {.
│ │ │ +001ee9e0: 2070 6163 6b61 6765 207b 2027 646f 7665 package { 'dove
│ │ │ +001ee9f0: 636f 742d 636f 7265 273a 0a20 2020 2065 cot-core':. e
│ │ │ +001eea00: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ +001eea10: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.<
│ │ │ 001eea30: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ 001eea40: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ 001eea50: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ 001eea60: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ 001eea70: 6437 3036 2220 7461 6269 6e64 6578 3d22 d706" tabindex="
│ │ │ 001eea80: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ @@ -126978,92 +126978,92 @@
│ │ │ 001f0010: 6c6c 6170 7365 2220 6461 7461 2d74 6172 llapse" data-tar
│ │ │ 001f0020: 6765 743d 2223 6964 3730 3822 2074 6162 get="#id708" tab
│ │ │ 001f0030: 696e 6465 783d 2230 2220 726f 6c65 3d22 index="0" role="
│ │ │ 001f0040: 6275 7474 6f6e 2220 6172 6961 2d65 7870 button" aria-exp
│ │ │ 001f0050: 616e 6465 643d 2266 616c 7365 2220 7469 anded="false" ti
│ │ │ 001f0060: 746c 653d 2241 6374 6976 6174 6520 746f tle="Activate to
│ │ │ 001f0070: 2072 6576 6561 6c22 2068 7265 663d 2223 reveal" href="#
│ │ │ -001f0080: 2122 3e52 656d 6564 6961 7469 6f6e 2050 !">Remediation P
│ │ │ -001f0090: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -001f00a0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001f0120: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001f0130: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001f0140: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001f0150: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001f0160: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001f0190: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001f01a0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -001f01b0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -001f01c0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ -001f01e0: 655f 6c64 6170 2d75 7469 6c73 0a0a 636c e_ldap-utils..cl
│ │ │ -001f01f0: 6173 7320 7265 6d6f 7665 5f6c 6461 702d ass remove_ldap-
│ │ │ -001f0200: 7574 696c 7320 7b0a 2020 7061 636b 6167 utils {. packag
│ │ │ -001f0210: 6520 7b20 276c 6461 702d 7574 696c 7327 e { 'ldap-utils'
│ │ │ -001f0220: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ -001f0230: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ -001f0240: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -001f0250: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation A
│ │ │ -001f0300: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ -001f0310: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -001f0390: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -001f03a0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001f03b0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -001f03c0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -001f0400: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -001f0410: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ -001f0420: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ -001f0430: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: 'Ensu
│ │ │ -001f0450: 7265 204c 4441 5020 636c 6965 6e74 2069 re LDAP client i
│ │ │ -001f0460: 7320 6e6f 7420 696e 7374 616c 6c65 643a s not installed:
│ │ │ -001f0470: 2045 6e73 7572 6520 6c64 6170 2d75 7469 Ensure ldap-uti
│ │ │ -001f0480: 6c73 2069 7320 7265 6d6f 7665 6427 0a20 ls is removed'.
│ │ │ -001f0490: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -001f04a0: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -001f04b0: 6d65 3a20 6c64 6170 2d75 7469 6c73 0a20 me: ldap-utils.
│ │ │ -001f04c0: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ -001f04d0: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ -001f04e0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -001f04f0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -001f0500: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -001f0510: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665 ion. - low_seve
│ │ │ -001f0520: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -001f0530: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ -001f0540: 636b 6167 655f 6f70 656e 6c64 6170 2d63 ckage_openldap-c
│ │ │ -001f0550: 6c69 656e 7473 5f72 656d 6f76 6564 0a3c lients_removed.<
│ │ │ +001f0080: 2122 3e52 656d 6564 6961 7469 6f6e 2041 !">Remediation A
│ │ │ +001f0090: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +001f00a0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +001f0120: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +001f0130: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001f0140: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +001f0150: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +001f0190: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +001f01a0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +001f01b0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +001f01c0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: 'Ensu
│ │ │ +001f01e0: 7265 204c 4441 5020 636c 6965 6e74 2069 re LDAP client i
│ │ │ +001f01f0: 7320 6e6f 7420 696e 7374 616c 6c65 643a s not installed:
│ │ │ +001f0200: 2045 6e73 7572 6520 6c64 6170 2d75 7469 Ensure ldap-uti
│ │ │ +001f0210: 6c73 2069 7320 7265 6d6f 7665 6427 0a20 ls is removed'.
│ │ │ +001f0220: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +001f0230: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ +001f0240: 6d65 3a20 6c64 6170 2d75 7469 6c73 0a20 me: ldap-utils.
│ │ │ +001f0250: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ +001f0260: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ +001f0270: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +001f0280: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +001f0290: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +001f02a0: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665 ion. - low_seve
│ │ │ +001f02b0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ +001f02c0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ +001f02d0: 636b 6167 655f 6f70 656e 6c64 6170 2d63 ckage_openldap-c
│ │ │ +001f02e0: 6c69 656e 7473 5f72 656d 6f76 6564 0a3c lients_removed.<
│ │ │ +001f02f0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +001f03a0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +001f03b0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ +001f0440: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +001f0450: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001f0460: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +001f0470: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +001f0480: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +001f04b0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +001f04c0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ +001f04d0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ +001f04f0: 6e63 6c75 6465 2072 656d 6f76 655f 6c64 nclude remove_ld
│ │ │ +001f0500: 6170 2d75 7469 6c73 0a0a 636c 6173 7320 ap-utils..class
│ │ │ +001f0510: 7265 6d6f 7665 5f6c 6461 702d 7574 696c remove_ldap-util
│ │ │ +001f0520: 7320 7b0a 2020 7061 636b 6167 6520 7b20 s {. package {
│ │ │ +001f0530: 276c 6461 702d 7574 696c 7327 3a0a 2020 'ldap-utils':.
│ │ │ +001f0540: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +001f0550: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.<
│ │ │ 001f0560: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediation Pu
│ │ │ -001f1a50: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ -001f1a60: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -001f1b00: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -001f1b10: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -001f1b20: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001f1b30: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -001f1b40: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -001f1b50: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -001f1b60: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ -001f1b70: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -001f1b80: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>.include remove
│ │ │ -001f1ba0: 5f73 6c61 7064 0a0a 636c 6173 7320 7265 _slapd..class re
│ │ │ -001f1bb0: 6d6f 7665 5f73 6c61 7064 207b 0a20 2070 move_slapd {. p
│ │ │ -001f1bc0: 6163 6b61 6765 207b 2027 736c 6170 6427 ackage { 'slapd'
│ │ │ -001f1bd0: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ -001f1be0: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ -001f1bf0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -001f1c00: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation A
│ │ │ -001f1cb0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ -001f1cc0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -001f1d40: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -001f1d50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001f1d60: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -001f1d70: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -001f1db0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -001f1dc0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ -001f1dd0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ -001f1de0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: 'Unin
│ │ │ -001f1e00: 7374 616c 6c20 6f70 656e 6c64 6170 2d73 stall openldap-s
│ │ │ -001f1e10: 6572 7665 7273 2050 6163 6b61 6765 3a20 ervers Package:
│ │ │ -001f1e20: 456e 7375 7265 2073 6c61 7064 2069 7320 Ensure slapd is
│ │ │ -001f1e30: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ -001f1e40: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -001f1e50: 6765 3a0a 2020 2020 6e61 6d65 3a20 736c ge:. name: sl
│ │ │ -001f1e60: 6170 640a 2020 2020 7374 6174 653a 2061 apd. state: a
│ │ │ -001f1e70: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:.
│ │ │ -001f1e80: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -001f1e90: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8
│ │ │ -001f1ea0: 3030 2d35 332d 434d 2d37 2861 290a 2020 00-53-CM-7(a).
│ │ │ -001f1eb0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -001f1ec0: 2d37 2862 290a 2020 2d20 6469 7361 626c -7(b). - disabl
│ │ │ -001f1ed0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -001f1ee0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -001f1ef0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -001f1f00: 0a20 202d 206c 6f77 5f73 6576 6572 6974 . - low_severit
│ │ │ -001f1f10: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ -001f1f20: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ -001f1f30: 6765 5f6f 7065 6e6c 6461 702d 7365 7276 ge_openldap-serv
│ │ │ -001f1f40: 6572 735f 7265 6d6f 7665 640a 3c2f 636f ers_removed. Remediation An
│ │ │ +001f1a50: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ +001f1a60: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +001f1ae0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +001f1af0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001f1b00: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +001f1b10: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +001f1b20: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +001f1b50: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +001f1b60: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ +001f1b70: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ +001f1b80: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: 'Unins
│ │ │ +001f1ba0: 7461 6c6c 206f 7065 6e6c 6461 702d 7365 tall openldap-se
│ │ │ +001f1bb0: 7276 6572 7320 5061 636b 6167 653a 2045 rvers Package: E
│ │ │ +001f1bc0: 6e73 7572 6520 736c 6170 6420 6973 2072 nsure slapd is r
│ │ │ +001f1bd0: 656d 6f76 6564 270a 2020 616e 7369 626c emoved'. ansibl
│ │ │ +001f1be0: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ +001f1bf0: 653a 0a20 2020 206e 616d 653a 2073 6c61 e:. name: sla
│ │ │ +001f1c00: 7064 0a20 2020 2073 7461 7465 3a20 6162 pd. state: ab
│ │ │ +001f1c10: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. -
│ │ │ +001f1c20: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +001f1c30: 3628 6129 0a20 202d 204e 4953 542d 3830 6(a). - NIST-80
│ │ │ +001f1c40: 302d 3533 2d43 4d2d 3728 6129 0a20 202d 0-53-CM-7(a). -
│ │ │ +001f1c50: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +001f1c60: 3728 6229 0a20 202d 2064 6973 6162 6c65 7(b). - disable
│ │ │ +001f1c70: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +001f1c80: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +001f1c90: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +001f1ca0: 2020 2d20 6c6f 775f 7365 7665 7269 7479 - low_severity
│ │ │ +001f1cb0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +001f1cc0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ +001f1cd0: 655f 6f70 656e 6c64 6170 2d73 6572 7665 e_openldap-serve
│ │ │ +001f1ce0: 7273 5f72 656d 6f76 6564 0a3c 2f63 6f64 rs_removed.
Remed
│ │ │ +001f1da0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ +001f1db0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +001f1e40: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +001f1e50: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001f1e60: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +001f1e70: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001f1e80: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +001f1e90: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +001f1ea0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +001f1eb0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ +001f1ee0: 7072 653e 3c63 6f64 653e 0a69 6e63 6c75 pre>.inclu
│ │ │ +001f1ef0: 6465 2072 656d 6f76 655f 736c 6170 640a de remove_slapd.
│ │ │ +001f1f00: 0a63 6c61 7373 2072 656d 6f76 655f 736c .class remove_sl
│ │ │ +001f1f10: 6170 6420 7b0a 2020 7061 636b 6167 6520 apd {. package
│ │ │ +001f1f20: 7b20 2773 6c61 7064 273a 0a20 2020 2065 { 'slapd':. e
│ │ │ +001f1f30: 6e73 7572 6520 3d26 6774 3b20 2770 7572 nsure => 'pur
│ │ │ +001f1f40: 6765 6427 2c0a 2020 7d0a 7d0a 3c2f 636f ged',. }.}.<
│ │ │ 001f1f60: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ 001f1f70: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ 001f1f80: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ 001f1f90: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ 001f1fa0: 6437 3134 2220 7461 6269 6e64 6578 3d22 d714" tabindex="
│ │ │ 001f1fb0: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ @@ -128552,105 +128552,105 @@
│ │ │ 001f6270: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ 001f6280: 6437 3139 2220 7461 6269 6e64 6578 3d22 d719" tabindex="
│ │ │ 001f6290: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ 001f62a0: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ 001f62b0: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ 001f62c0: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ 001f62d0: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001f62e0: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ -001f62f0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -001f6380: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -001f6390: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -001f63b0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -001f63d0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -001f63e0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -001f6400: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -001f6410: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001f6420: 3c70 7265 3e3c 636f 6465 3e0a 696e 636c .incl
│ │ │ -001f6430: 7564 6520 7265 6d6f 7665 5f72 7063 6269 ude remove_rpcbi
│ │ │ -001f6440: 6e64 0a0a 636c 6173 7320 7265 6d6f 7665 nd..class remove
│ │ │ -001f6450: 5f72 7063 6269 6e64 207b 0a20 2070 6163 _rpcbind {. pac
│ │ │ -001f6460: 6b61 6765 207b 2027 7270 6362 696e 6427 kage { 'rpcbind'
│ │ │ -001f6470: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ -001f6480: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ -001f6490: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -001f64a0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation A
│ │ │ -001f6550: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ -001f6560: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -001f65e0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -001f65f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001f6600: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -001f6610: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -001f6650: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -001f6660: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ -001f6670: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ -001f6680: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -001f66a0: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ -001f66b0: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ -001f66c0: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ -001f66d0: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ -001f66e0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ -001f66f0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ -001f6700: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -001f6710: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f isruption. - lo
│ │ │ -001f6720: 775f 7365 7665 7269 7479 0a20 202d 206e w_severity. - n
│ │ │ -001f6730: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -001f6740: 2020 2d20 7061 636b 6167 655f 7270 6362 - package_rpcb
│ │ │ -001f6750: 696e 645f 7265 6d6f 7665 640a 0a2d 206e ind_removed..- n
│ │ │ -001f6760: 616d 653a 2027 556e 696e 7374 616c 6c20 ame: 'Uninstall
│ │ │ -001f6770: 7270 6362 696e 6420 5061 636b 6167 653a rpcbind Package:
│ │ │ -001f6780: 2045 6e73 7572 6520 7270 6362 696e 6420 Ensure rpcbind
│ │ │ -001f6790: 6973 2072 656d 6f76 6564 270a 2020 616e is removed'. an
│ │ │ -001f67a0: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ -001f67b0: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ -001f67c0: 2072 7063 6269 6e64 0a20 2020 2073 7461 rpcbind. sta
│ │ │ -001f67d0: 7465 3a20 6162 7365 6e74 0a20 2077 6865 te: absent. whe
│ │ │ -001f67e0: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ -001f67f0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -001f6800: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ -001f6810: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_
│ │ │ -001f6820: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -001f6830: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -001f6840: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -001f6850: 202d 206c 6f77 5f73 6576 6572 6974 790a - low_severity.
│ │ │ -001f6860: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -001f6870: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -001f6880: 5f72 7063 6269 6e64 5f72 656d 6f76 6564 _rpcbind_removed
│ │ │ +001f62e0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ +001f62f0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001f6300: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001f6380: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001f63b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001f63d0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001f63e0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001f6400: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +001f6410: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +001f6430: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +001f6440: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ +001f6450: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ +001f6460: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +001f6470: 2020 7461 6773 3a0a 2020 2d20 6469 7361 tags:. - disa
│ │ │ +001f6480: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +001f6490: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +001f64a0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +001f64b0: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572 on. - low_sever
│ │ │ +001f64c0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +001f64d0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +001f64e0: 6b61 6765 5f72 7063 6269 6e64 5f72 656d kage_rpcbind_rem
│ │ │ +001f64f0: 6f76 6564 0a0a 2d20 6e61 6d65 3a20 2755 oved..- name: 'U
│ │ │ +001f6500: 6e69 6e73 7461 6c6c 2072 7063 6269 6e64 ninstall rpcbind
│ │ │ +001f6510: 2050 6163 6b61 6765 3a20 456e 7375 7265 Package: Ensure
│ │ │ +001f6520: 2072 7063 6269 6e64 2069 7320 7265 6d6f rpcbind is remo
│ │ │ +001f6530: 7665 6427 0a20 2061 6e73 6962 6c65 2e62 ved'. ansible.b
│ │ │ +001f6540: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ +001f6550: 2020 2020 6e61 6d65 3a20 7270 6362 696e name: rpcbin
│ │ │ +001f6560: 640a 2020 2020 7374 6174 653a 2061 6273 d. state: abs
│ │ │ +001f6570: 656e 740a 2020 7768 656e 3a20 2722 6c69 ent. when: '"li
│ │ │ +001f6580: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ +001f6590: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ +001f65a0: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ +001f65b0: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ +001f65c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +001f65d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +001f65e0: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f ruption. - low_
│ │ │ +001f65f0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +001f6600: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +001f6610: 2d20 7061 636b 6167 655f 7270 6362 696e - package_rpcbin
│ │ │ +001f6620: 645f 7265 6d6f 7665 640a 3c2f 636f 6465 d_removed.
Remedi
│ │ │ +001f66e0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +001f66f0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001f6700: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001f6730: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001f6780: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001f6790: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001f67a0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001f67b0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001f67c0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001f67d0: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001f67e0: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001f67f0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ +001f6830: 6520 7265 6d6f 7665 5f72 7063 6269 6e64 e remove_rpcbind
│ │ │ +001f6840: 0a0a 636c 6173 7320 7265 6d6f 7665 5f72 ..class remove_r
│ │ │ +001f6850: 7063 6269 6e64 207b 0a20 2070 6163 6b61 pcbind {. packa
│ │ │ +001f6860: 6765 207b 2027 7270 6362 696e 6427 3a0a ge { 'rpcbind':.
│ │ │ +001f6870: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ +001f6880: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.}
│ │ │ 001f6890: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 001f68a0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation
│ │ │ -001f74e0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ -001f74f0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -001f7570: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -001f7580: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -001f7590: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -001f75a0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -001f75e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -001f75f0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ -001f7600: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ -001f7610: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
.include remo
│ │ │ -001f7630: 7665 5f6e 6673 2d6b 6572 6e65 6c2d 7365 ve_nfs-kernel-se
│ │ │ -001f7640: 7276 6572 0a0a 636c 6173 7320 7265 6d6f rver..class remo
│ │ │ -001f7650: 7665 5f6e 6673 2d6b 6572 6e65 6c2d 7365 ve_nfs-kernel-se
│ │ │ -001f7660: 7276 6572 207b 0a20 2070 6163 6b61 6765 rver {. package
│ │ │ -001f7670: 207b 2027 6e66 732d 6b65 726e 656c 2d73 { 'nfs-kernel-s
│ │ │ -001f7680: 6572 7665 7227 3a0a 2020 2020 656e 7375 erver':. ensu
│ │ │ -001f7690: 7265 203d 2667 743b 2027 7075 7267 6564 re => 'purged
│ │ │ -001f76a0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ -001f76b0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -001f7760: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -001f7770: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001f7780: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001f77b0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001f7800: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001f7810: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001f7820: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001f7830: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001f7840: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -001f7850: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -001f7860: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001f7870: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ -001f78b0: 2027 556e 696e 7374 616c 6c20 6e66 732d 'Uninstall nfs-
│ │ │ -001f78c0: 6b65 726e 656c 2d73 6572 7665 7220 5061 kernel-server Pa
│ │ │ -001f78d0: 636b 6167 653a 2045 6e73 7572 6520 6e66 ckage: Ensure nf
│ │ │ -001f78e0: 732d 6b65 726e 656c 2d73 6572 7665 7220 s-kernel-server
│ │ │ -001f78f0: 6973 2072 656d 6f76 6564 270a 2020 616e is removed'. an
│ │ │ -001f7900: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ -001f7910: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ -001f7920: 206e 6673 2d6b 6572 6e65 6c2d 7365 7276 nfs-kernel-serv
│ │ │ -001f7930: 6572 0a20 2020 2073 7461 7465 3a20 6162 er. state: ab
│ │ │ -001f7940: 7365 6e74 0a20 2074 6167 733a 0a20 202d sent. tags:. -
│ │ │ -001f7950: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ -001f7960: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -001f7970: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -001f7980: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f ruption. - low_
│ │ │ -001f7990: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -001f79a0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001f79b0: 2d20 7061 636b 6167 655f 6e66 732d 6b65 - package_nfs-ke
│ │ │ -001f79c0: 726e 656c 2d73 6572 7665 725f 7265 6d6f rnel-server_remo
│ │ │ -001f79d0: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265 ved.
Complexity:
│ │ │ +001f7580: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +001f75a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +001f75c0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +001f75d0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +001f75f0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +001f7600: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: 'Uni
│ │ │ +001f7630: 6e73 7461 6c6c 206e 6673 2d6b 6572 6e65 nstall nfs-kerne
│ │ │ +001f7640: 6c2d 7365 7276 6572 2050 6163 6b61 6765 l-server Package
│ │ │ +001f7650: 3a20 456e 7375 7265 206e 6673 2d6b 6572 : Ensure nfs-ker
│ │ │ +001f7660: 6e65 6c2d 7365 7276 6572 2069 7320 7265 nel-server is re
│ │ │ +001f7670: 6d6f 7665 6427 0a20 2061 6e73 6962 6c65 moved'. ansible
│ │ │ +001f7680: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +001f7690: 3a0a 2020 2020 6e61 6d65 3a20 6e66 732d :. name: nfs-
│ │ │ +001f76a0: 6b65 726e 656c 2d73 6572 7665 720a 2020 kernel-server.
│ │ │ +001f76b0: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ +001f76c0: 2020 7461 6773 3a0a 2020 2d20 6469 7361 tags:. - disa
│ │ │ +001f76d0: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +001f76e0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +001f76f0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +001f7700: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572 on. - low_sever
│ │ │ +001f7710: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +001f7720: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +001f7730: 6b61 6765 5f6e 6673 2d6b 6572 6e65 6c2d kage_nfs-kernel-
│ │ │ +001f7740: 7365 7276 6572 5f72 656d 6f76 6564 0a3c server_removed.<
│ │ │ +001f7750: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +001f7800: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +001f7810: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ +001f78a0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +001f78b0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +001f78c0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +001f78d0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +001f78e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +001f7910: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +001f7920: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ +001f7930: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ +001f7950: 6e63 6c75 6465 2072 656d 6f76 655f 6e66 nclude remove_nf
│ │ │ +001f7960: 732d 6b65 726e 656c 2d73 6572 7665 720a s-kernel-server.
│ │ │ +001f7970: 0a63 6c61 7373 2072 656d 6f76 655f 6e66 .class remove_nf
│ │ │ +001f7980: 732d 6b65 726e 656c 2d73 6572 7665 7220 s-kernel-server
│ │ │ +001f7990: 7b0a 2020 7061 636b 6167 6520 7b20 276e {. package { 'n
│ │ │ +001f79a0: 6673 2d6b 6572 6e65 6c2d 7365 7276 6572 fs-kernel-server
│ │ │ +001f79b0: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ +001f79c0: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',.
│ │ │ +001f79d0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remedi
│ │ │ -001f99c0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ -001f99d0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ -001f99e0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -001f9a20: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765 .[[package
│ │ │ -001f9a30: 735d 5d0a 6e61 6d65 203d 2022 7379 7374 s]].name = "syst
│ │ │ -001f9a40: 656d 642d 7469 6d65 7379 6e63 6422 0a76 emd-timesyncd".v
│ │ │ -001f9a50: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63 ersion = "*".
│ │ │ -001f9a70: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -001f9b10: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -001f9b20: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001f9b30: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001f9bb0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001f9be0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001f9c00: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001f9c10: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001f9c30: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ -001f9c40: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001f9c50: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ -001f9c60: 6465 2069 6e73 7461 6c6c 5f73 7973 7465 de install_syste
│ │ │ -001f9c70: 6d64 2d74 696d 6573 796e 6364 0a0a 636c md-timesyncd..cl
│ │ │ -001f9c80: 6173 7320 696e 7374 616c 6c5f 7379 7374 ass install_syst
│ │ │ -001f9c90: 656d 642d 7469 6d65 7379 6e63 6420 7b0a emd-timesyncd {.
│ │ │ -001f9ca0: 2020 7061 636b 6167 6520 7b20 2773 7973 package { 'sys
│ │ │ -001f9cb0: 7465 6d64 2d74 696d 6573 796e 6364 273a temd-timesyncd':
│ │ │ -001f9cc0: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -001f9cd0: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20 ; 'installed',.
│ │ │ -001f9ce0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediation
│ │ │ -001f9da0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ -001f9db0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -001f9e40: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -001f9e60: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -001f9e70: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -001f9e80: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -001f9e90: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -001f9eb0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
- name: Gath
│ │ │ -001f9ef0: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ -001f9f00: 6163 7473 0a20 2070 6163 6b61 6765 5f66 acts. package_f
│ │ │ -001f9f10: 6163 7473 3a0a 2020 2020 6d61 6e61 6765 acts:. manage
│ │ │ -001f9f20: 723a 2061 7574 6f0a 2020 7461 6773 3a0a r: auto. tags:.
│ │ │ -001f9f30: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -001f9f40: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ -001f9f50: 4453 532d 5265 712d 3130 2e34 0a20 202d DSS-Req-10.4. -
│ │ │ -001f9f60: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -001f9f70: 0a20 202d 2068 6967 685f 7365 7665 7269 . - high_severi
│ │ │ -001f9f80: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c ty. - low_compl
│ │ │ -001f9f90: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -001f9fa0: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_
│ │ │ -001f9fb0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001f9fc0: 2d20 7061 636b 6167 655f 7469 6d65 7379 - package_timesy
│ │ │ -001f9fd0: 6e63 645f 696e 7374 616c 6c65 640a 0a2d ncd_installed..-
│ │ │ -001f9fe0: 206e 616d 653a 2045 6e73 7572 6520 7379 name: Ensure sy
│ │ │ -001f9ff0: 7374 656d 642d 7469 6d65 7379 6e63 6420 stemd-timesyncd
│ │ │ -001fa000: 6973 2069 6e73 7461 6c6c 6564 0a20 2061 is installed. a
│ │ │ -001fa010: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -001fa020: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ -001fa030: 3a20 7379 7374 656d 642d 7469 6d65 7379 : systemd-timesy
│ │ │ -001fa040: 6e63 640a 2020 2020 7374 6174 653a 2070 ncd. state: p
│ │ │ -001fa050: 7265 7365 6e74 0a20 2077 6865 6e3a 2027 resent. when: '
│ │ │ -001fa060: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ -001fa070: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -001fa080: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:.
│ │ │ -001fa090: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -001fa0a0: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ -001fa0b0: 4453 532d 5265 712d 3130 2e34 0a20 202d DSS-Req-10.4. -
│ │ │ -001fa0c0: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -001fa0d0: 0a20 202d 2068 6967 685f 7365 7665 7269 . - high_severi
│ │ │ -001fa0e0: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c ty. - low_compl
│ │ │ -001fa0f0: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -001fa100: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_
│ │ │ -001fa110: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001fa120: 2d20 7061 636b 6167 655f 7469 6d65 7379 - package_timesy
│ │ │ -001fa130: 6e63 645f 696e 7374 616c 6c65 640a 3c2f ncd_installed.
│ │ │ +001f99c0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ +001f99d0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +001f9a60: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +001f9a70: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001f9a80: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +001f9a90: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001f9aa0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +001f9ab0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +001f9ac0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +001f9ad0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
- name:
│ │ │ +001f9b10: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ +001f9b20: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ +001f9b30: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ +001f9b40: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ +001f9b50: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ +001f9b60: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ +001f9b70: 2050 4349 2d44 5353 2d52 6571 2d31 302e PCI-DSS-Req-10.
│ │ │ +001f9b80: 340a 2020 2d20 656e 6162 6c65 5f73 7472 4. - enable_str
│ │ │ +001f9b90: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s
│ │ │ +001f9ba0: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_
│ │ │ +001f9bb0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +001f9bc0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +001f9bd0: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +001f9be0: 6564 0a20 202d 2070 6163 6b61 6765 5f74 ed. - package_t
│ │ │ +001f9bf0: 696d 6573 796e 6364 5f69 6e73 7461 6c6c imesyncd_install
│ │ │ +001f9c00: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu
│ │ │ +001f9c10: 7265 2073 7973 7465 6d64 2d74 696d 6573 re systemd-times
│ │ │ +001f9c20: 796e 6364 2069 7320 696e 7374 616c 6c65 yncd is installe
│ │ │ +001f9c30: 640a 2020 616e 7369 626c 652e 6275 696c d. ansible.buil
│ │ │ +001f9c40: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ +001f9c50: 206e 616d 653a 2073 7973 7465 6d64 2d74 name: systemd-t
│ │ │ +001f9c60: 696d 6573 796e 6364 0a20 2020 2073 7461 imesyncd. sta
│ │ │ +001f9c70: 7465 3a20 7072 6573 656e 740a 2020 7768 te: present. wh
│ │ │ +001f9c80: 656e 3a20 2722 6c69 6e75 782d 6261 7365 en: '"linux-base
│ │ │ +001f9c90: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +001f9ca0: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t
│ │ │ +001f9cb0: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ +001f9cc0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ +001f9cd0: 2050 4349 2d44 5353 2d52 6571 2d31 302e PCI-DSS-Req-10.
│ │ │ +001f9ce0: 340a 2020 2d20 656e 6162 6c65 5f73 7472 4. - enable_str
│ │ │ +001f9cf0: 6174 6567 790a 2020 2d20 6869 6768 5f73 ategy. - high_s
│ │ │ +001f9d00: 6576 6572 6974 790a 2020 2d20 6c6f 775f everity. - low_
│ │ │ +001f9d10: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +001f9d20: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +001f9d30: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +001f9d40: 6564 0a20 202d 2070 6163 6b61 6765 5f74 ed. - package_t
│ │ │ +001f9d50: 696d 6573 796e 6364 5f69 6e73 7461 6c6c imesyncd_install
│ │ │ +001f9d60: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +001f9d70: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation P
│ │ │ +001f9e20: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ +001f9e30: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +001f9eb0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +001f9ec0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001f9ed0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +001f9ee0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +001f9ef0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +001f9f20: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +001f9f30: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ +001f9f40: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +001f9f50: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include install
│ │ │ +001f9f70: 5f73 7973 7465 6d64 2d74 696d 6573 796e _systemd-timesyn
│ │ │ +001f9f80: 6364 0a0a 636c 6173 7320 696e 7374 616c cd..class instal
│ │ │ +001f9f90: 6c5f 7379 7374 656d 642d 7469 6d65 7379 l_systemd-timesy
│ │ │ +001f9fa0: 6e63 6420 7b0a 2020 7061 636b 6167 6520 ncd {. package
│ │ │ +001f9fb0: 7b20 2773 7973 7465 6d64 2d74 696d 6573 { 'systemd-times
│ │ │ +001f9fc0: 796e 6364 273a 0a20 2020 2065 6e73 7572 yncd':. ensur
│ │ │ +001f9fd0: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install
│ │ │ +001f9fe0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ +001fa0a0: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ +001fa0b0: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ +001fa0c0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
.[[packag
│ │ │ +001fa110: 6573 5d5d 0a6e 616d 6520 3d20 2273 7973 es]].name = "sys
│ │ │ +001fa120: 7465 6d64 2d74 696d 6573 796e 6364 220a temd-timesyncd".
│ │ │ +001fa130: 7665 7273 696f 6e20 3d20 222a 220a 3c2f version = "*".
│ │ │ 001fa140: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Remediati
│ │ │ -001faef0: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ -001faf00: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ -001faf10: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[customizati
│ │ │ -001faf60: 6f6e 732e 7365 7276 6963 6573 5d0a 656e ons.services].en
│ │ │ -001faf70: 6162 6c65 6420 3d20 5b22 6368 726f 6e79 abled = ["chrony
│ │ │ -001faf80: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e "].
│ │ │ -001faf90: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ -001fb040: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -001fb050: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001fb0d0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001fb0e0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001fb0f0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001fb100: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001fb110: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001fb140: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001fb150: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -001fb160: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -001fb170: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include enable_
│ │ │ -001fb190: 6368 726f 6e79 0a0a 636c 6173 7320 656e chrony..class en
│ │ │ -001fb1a0: 6162 6c65 5f63 6872 6f6e 7920 7b0a 2020 able_chrony {.
│ │ │ -001fb1b0: 7365 7276 6963 6520 7b27 6368 726f 6e79 service {'chrony
│ │ │ -001fb1c0: 273a 0a20 2020 2065 6e61 626c 6520 3d26 ':. enable =&
│ │ │ -001fb1d0: 6774 3b20 7472 7565 2c0a 2020 2020 656e gt; true,. en
│ │ │ -001fb1e0: 7375 7265 203d 2667 743b 2027 7275 6e6e sure => 'runn
│ │ │ -001fb1f0: 696e 6727 2c0a 2020 7d0a 7d0a 3c2f 636f ing',. }.}.
<
│ │ │ -001fb210: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -001fb220: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -001fb230: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -001fb240: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -001fb250: 6437 3334 2220 7461 6269 6e64 6578 3d22 d734" tabindex="
│ │ │ -001fb260: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -001fb270: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -001fb280: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -001fb290: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -001fb2a0: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -001fb2b0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -001fb2c0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -001fb2d0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -001fb350: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -001fb380: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -001fb3a0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -001fb3b0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -001fb3d0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ -001fb3e0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -001fb3f0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -001fb400: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ -001fb410: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ -001fb420: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ -001fb430: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ -001fb440: 2074 6167 733a 0a20 202d 2065 6e61 626c tags:. - enabl
│ │ │ -001fb450: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -001fb460: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -001fb470: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -001fb480: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -001fb490: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -001fb4a0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ -001fb4b0: 7276 6963 655f 6368 726f 6e79 645f 656e rvice_chronyd_en
│ │ │ -001fb4c0: 6162 6c65 640a 0a2d 206e 616d 653a 2054 abled..- name: T
│ │ │ -001fb4d0: 6865 2043 6872 6f6e 7964 2073 6572 7669 he Chronyd servi
│ │ │ -001fb4e0: 6365 2069 7320 656e 6162 6c65 6420 2d20 ce is enabled -
│ │ │ -001fb4f0: 456e 6162 6c65 2073 6572 7669 6365 2063 Enable service c
│ │ │ -001fb500: 6872 6f6e 790a 2020 626c 6f63 6b3a 0a0a hrony. block:..
│ │ │ -001fb510: 2020 2d20 6e61 6d65 3a20 4761 7468 6572 - name: Gather
│ │ │ -001fb520: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ -001fb530: 7473 0a20 2020 2061 6e73 6962 6c65 2e62 ts. ansible.b
│ │ │ -001fb540: 7569 6c74 696e 2e70 6163 6b61 6765 5f66 uiltin.package_f
│ │ │ -001fb550: 6163 7473 3a0a 2020 2020 2020 6d61 6e61 acts:. mana
│ │ │ -001fb560: 6765 723a 2061 7574 6f0a 0a20 202d 206e ger: auto.. - n
│ │ │ -001fb570: 616d 653a 2054 6865 2043 6872 6f6e 7964 ame: The Chronyd
│ │ │ -001fb580: 2073 6572 7669 6365 2069 7320 656e 6162 service is enab
│ │ │ -001fb590: 6c65 6420 2d20 456e 6162 6c65 2053 6572 led - Enable Ser
│ │ │ -001fb5a0: 7669 6365 2063 6872 6f6e 790a 2020 2020 vice chrony.
│ │ │ -001fb5b0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -001fb5c0: 7379 7374 656d 643a 0a20 2020 2020 206e systemd:. n
│ │ │ -001fb5d0: 616d 653a 2063 6872 6f6e 790a 2020 2020 ame: chrony.
│ │ │ -001fb5e0: 2020 656e 6162 6c65 643a 2074 7275 650a enabled: true.
│ │ │ -001fb5f0: 2020 2020 2020 7374 6174 653a 2073 7461 state: sta
│ │ │ -001fb600: 7274 6564 0a20 2020 2020 206d 6173 6b65 rted. maske
│ │ │ -001fb610: 643a 2066 616c 7365 0a20 2020 2077 6865 d: false. whe
│ │ │ -001fb620: 6e3a 0a20 2020 202d 2027 2263 6872 6f6e n:. - '"chron
│ │ │ -001fb630: 7922 2069 6e20 616e 7369 626c 655f 6661 y" in ansible_fa
│ │ │ -001fb640: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ -001fb650: 7461 6773 3a0a 2020 2d20 656e 6162 6c65 tags:. - enable
│ │ │ -001fb660: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ -001fb670: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -001fb680: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -001fb690: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ -001fb6a0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -001fb6b0: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser
│ │ │ -001fb6c0: 7669 6365 5f63 6872 6f6e 7964 5f65 6e61 vice_chronyd_ena
│ │ │ -001fb6d0: 626c 6564 0a20 202d 2073 7065 6369 616c bled. - special
│ │ │ -001fb6e0: 5f73 6572 7669 6365 5f62 6c6f 636b 0a20 _service_block.
│ │ │ -001fb6f0: 2077 6865 6e3a 0a20 202d 2027 226c 696e when:. - '"lin
│ │ │ -001fb700: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ -001fb710: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -001fb720: 6573 270a 2020 2d20 2722 6368 726f 6e79 es'. - '"chrony
│ │ │ -001fb730: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ -001fb740: 7473 2e70 6163 6b61 6765 7327 0a3c 2f63 ts.packages'.
│ │ │ +001faf80: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +001faf90: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +001fafa0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +001fafe0: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +001faff0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +001fb010: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +001fb020: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +001fb030: 3c63 6f64 653e 2d20 6e61 6d65 3a20 4761 - name: Ga
│ │ │ +001fb040: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ +001fb050: 2066 6163 7473 0a20 2070 6163 6b61 6765 facts. package
│ │ │ +001fb060: 5f66 6163 7473 3a0a 2020 2020 6d61 6e61 _facts:. mana
│ │ │ +001fb070: 6765 723a 2061 7574 6f0a 2020 7461 6773 ger: auto. tags
│ │ │ +001fb080: 3a0a 2020 2d20 656e 6162 6c65 5f73 7472 :. - enable_str
│ │ │ +001fb090: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +001fb0a0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +001fb0b0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +001fb0c0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +001fb0d0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +001fb0e0: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ +001fb0f0: 5f63 6872 6f6e 7964 5f65 6e61 626c 6564 _chronyd_enabled
│ │ │ +001fb100: 0a0a 2d20 6e61 6d65 3a20 5468 6520 4368 ..- name: The Ch
│ │ │ +001fb110: 726f 6e79 6420 7365 7276 6963 6520 6973 ronyd service is
│ │ │ +001fb120: 2065 6e61 626c 6564 202d 2045 6e61 626c enabled - Enabl
│ │ │ +001fb130: 6520 7365 7276 6963 6520 6368 726f 6e79 e service chrony
│ │ │ +001fb140: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e . block:.. - n
│ │ │ +001fb150: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +001fb160: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +001fb170: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +001fb180: 6e2e 7061 636b 6167 655f 6661 6374 733a n.package_facts:
│ │ │ +001fb190: 0a20 2020 2020 206d 616e 6167 6572 3a20 . manager:
│ │ │ +001fb1a0: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20 auto.. - name:
│ │ │ +001fb1b0: 5468 6520 4368 726f 6e79 6420 7365 7276 The Chronyd serv
│ │ │ +001fb1c0: 6963 6520 6973 2065 6e61 626c 6564 202d ice is enabled -
│ │ │ +001fb1d0: 2045 6e61 626c 6520 5365 7276 6963 6520 Enable Service
│ │ │ +001fb1e0: 6368 726f 6e79 0a20 2020 2061 6e73 6962 chrony. ansib
│ │ │ +001fb1f0: 6c65 2e62 7569 6c74 696e 2e73 7973 7465 le.builtin.syste
│ │ │ +001fb200: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20 md:. name:
│ │ │ +001fb210: 6368 726f 6e79 0a20 2020 2020 2065 6e61 chrony. ena
│ │ │ +001fb220: 626c 6564 3a20 7472 7565 0a20 2020 2020 bled: true.
│ │ │ +001fb230: 2073 7461 7465 3a20 7374 6172 7465 640a state: started.
│ │ │ +001fb240: 2020 2020 2020 6d61 736b 6564 3a20 6661 masked: fa
│ │ │ +001fb250: 6c73 650a 2020 2020 7768 656e 3a0a 2020 lse. when:.
│ │ │ +001fb260: 2020 2d20 2722 6368 726f 6e79 2220 696e - '"chrony" in
│ │ │ +001fb270: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +001fb280: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ +001fb290: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ +001fb2a0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +001fb2b0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +001fb2c0: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +001fb2d0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +001fb2e0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +001fb2f0: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ +001fb300: 6368 726f 6e79 645f 656e 6162 6c65 640a chronyd_enabled.
│ │ │ +001fb310: 2020 2d20 7370 6563 6961 6c5f 7365 7276 - special_serv
│ │ │ +001fb320: 6963 655f 626c 6f63 6b0a 2020 7768 656e ice_block. when
│ │ │ +001fb330: 3a0a 2020 2d20 2722 6c69 6e75 782d 6261 :. - '"linux-ba
│ │ │ +001fb340: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ +001fb350: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ +001fb360: 202d 2027 2263 6872 6f6e 7922 2069 6e20 - '"chrony" in
│ │ │ +001fb370: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ +001fb380: 636b 6167 6573 270a 3c2f 636f 6465 3e3c ckages'.<
│ │ │ +001fb390: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ +001fb440: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ +001fb450: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ +001fb4d0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +001fb4e0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +001fb4f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +001fb530: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +001fb540: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +001fb560: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ +001fb570: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +001fb580: 3c63 6f64 653e 696e 636c 7564 6520 656e include en
│ │ │ +001fb590: 6162 6c65 5f63 6872 6f6e 790a 0a63 6c61 able_chrony..cla
│ │ │ +001fb5a0: 7373 2065 6e61 626c 655f 6368 726f 6e79 ss enable_chrony
│ │ │ +001fb5b0: 207b 0a20 2073 6572 7669 6365 207b 2763 {. service {'c
│ │ │ +001fb5c0: 6872 6f6e 7927 3a0a 2020 2020 656e 6162 hrony':. enab
│ │ │ +001fb5d0: 6c65 203d 2667 743b 2074 7275 652c 0a20 le => true,.
│ │ │ +001fb5e0: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ +001fb5f0: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d 'running',. }.}
│ │ │ +001fb600: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +001fb610: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation OSB
│ │ │ +001fb6c0: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ +001fb6d0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ....[c
│ │ │ +001fb720: 7573 746f 6d69 7a61 7469 6f6e 732e 7365 ustomizations.se
│ │ │ +001fb730: 7276 6963 6573 5d0a 656e 6162 6c65 6420 rvices].enabled
│ │ │ +001fb740: 3d20 5b22 6368 726f 6e79 225d 0a3c 2f63 = ["chrony"].
│ │ │ 001fb760: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remedia
│ │ │ -001fca60: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu
│ │ │ -001fca70: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet .
│ │ │ -001fca80: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
<
│ │ │ -001fcac0: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61 code>.[customiza
│ │ │ -001fcad0: 7469 6f6e 732e 7365 7276 6963 6573 5d0a tions.services].
│ │ │ -001fcae0: 656e 6162 6c65 6420 3d20 5b22 6e74 7022 enabled = ["ntp"
│ │ │ -001fcaf0: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ].
<
│ │ │ -001fcb00: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu
│ │ │ -001fcbb0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ -001fcbc0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -001fcc60: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -001fcc70: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -001fcc80: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -001fcc90: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -001fcca0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -001fccb0: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -001fccc0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ -001fccd0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -001fccf0: 696e 636c 7564 6520 656e 6162 6c65 5f6e include enable_n
│ │ │ -001fcd00: 7470 0a0a 636c 6173 7320 656e 6162 6c65 tp..class enable
│ │ │ -001fcd10: 5f6e 7470 207b 0a20 2073 6572 7669 6365 _ntp {. service
│ │ │ -001fcd20: 207b 276e 7470 273a 0a20 2020 2065 6e61 {'ntp':. ena
│ │ │ -001fcd30: 626c 6520 3d26 6774 3b20 7472 7565 2c0a ble => true,.
│ │ │ -001fcd40: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ -001fcd50: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a 'running',. }.
│ │ │ -001fcd60: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -001fcd70: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -001fce20: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -001fce30: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001fceb0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001fcec0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001fced0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001fcee0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001fcef0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001fcf20: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001fcf30: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -001fcf40: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -001fcf50: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: Gather
│ │ │ -001fcf70: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ -001fcf80: 730a 2020 7061 636b 6167 655f 6661 6374 s. package_fact
│ │ │ -001fcf90: 733a 0a20 2020 206d 616e 6167 6572 3a20 s:. manager:
│ │ │ -001fcfa0: 6175 746f 0a20 2074 6167 733a 0a20 202d auto. tags:. -
│ │ │ -001fcfb0: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU-
│ │ │ -001fcfc0: 3828 3129 2861 290a 2020 2d20 4e49 5354 8(1)(a). - NIST
│ │ │ -001fcfd0: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -001fcfe0: 2020 2d20 5043 492d 4453 532d 5265 712d - PCI-DSS-Req-
│ │ │ -001fcff0: 3130 2e34 0a20 202d 2050 4349 2d44 5353 10.4. - PCI-DSS
│ │ │ -001fd000: 7634 2d31 302e 360a 2020 2d20 5043 492d v4-10.6. - PCI-
│ │ │ -001fd010: 4453 5376 342d 3130 2e36 2e31 0a20 202d DSSv4-10.6.1. -
│ │ │ -001fd020: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -001fd030: 0a20 202d 2068 6967 685f 7365 7665 7269 . - high_severi
│ │ │ -001fd040: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c ty. - low_compl
│ │ │ -001fd050: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -001fd060: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_
│ │ │ -001fd070: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001fd080: 2d20 7365 7276 6963 655f 6e74 705f 656e - service_ntp_en
│ │ │ -001fd090: 6162 6c65 640a 0a2d 206e 616d 653a 2045 abled..- name: E
│ │ │ -001fd0a0: 6e61 626c 6520 7468 6520 4e54 5020 4461 nable the NTP Da
│ │ │ -001fd0b0: 656d 6f6e 202d 2045 6e61 626c 6520 7365 emon - Enable se
│ │ │ -001fd0c0: 7276 6963 6520 6e74 700a 2020 626c 6f63 rvice ntp. bloc
│ │ │ -001fd0d0: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761 k:.. - name: Ga
│ │ │ -001fd0e0: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ -001fd0f0: 2066 6163 7473 0a20 2020 2061 6e73 6962 facts. ansib
│ │ │ -001fd100: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -001fd110: 6765 5f66 6163 7473 3a0a 2020 2020 2020 ge_facts:.
│ │ │ -001fd120: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20 manager: auto..
│ │ │ -001fd130: 202d 206e 616d 653a 2045 6e61 626c 6520 - name: Enable
│ │ │ -001fd140: 7468 6520 4e54 5020 4461 656d 6f6e 202d the NTP Daemon -
│ │ │ -001fd150: 2045 6e61 626c 6520 5365 7276 6963 6520 Enable Service
│ │ │ -001fd160: 6e74 700a 2020 2020 616e 7369 626c 652e ntp. ansible.
│ │ │ -001fd170: 6275 696c 7469 6e2e 7379 7374 656d 643a builtin.systemd:
│ │ │ -001fd180: 0a20 2020 2020 206e 616d 653a 206e 7470 . name: ntp
│ │ │ -001fd190: 0a20 2020 2020 2065 6e61 626c 6564 3a20 . enabled:
│ │ │ -001fd1a0: 7472 7565 0a20 2020 2020 2073 7461 7465 true. state
│ │ │ -001fd1b0: 3a20 7374 6172 7465 640a 2020 2020 2020 : started.
│ │ │ -001fd1c0: 6d61 736b 6564 3a20 6661 6c73 650a 2020 masked: false.
│ │ │ -001fd1d0: 2020 7768 656e 3a0a 2020 2020 2d20 2722 when:. - '"
│ │ │ -001fd1e0: 6e74 7022 2069 6e20 616e 7369 626c 655f ntp" in ansible_
│ │ │ -001fd1f0: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ -001fd200: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ -001fd210: 2d38 3030 2d35 332d 4155 2d38 2831 2928 -800-53-AU-8(1)(
│ │ │ -001fd220: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ -001fd230: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ -001fd240: 4349 2d44 5353 2d52 6571 2d31 302e 340a CI-DSS-Req-10.4.
│ │ │ -001fd250: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10
│ │ │ -001fd260: 2e36 0a20 202d 2050 4349 2d44 5353 7634 .6. - PCI-DSSv4
│ │ │ -001fd270: 2d31 302e 362e 310a 2020 2d20 656e 6162 -10.6.1. - enab
│ │ │ -001fd280: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -001fd290: 6869 6768 5f73 6576 6572 6974 790a 2020 high_severity.
│ │ │ -001fd2a0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -001fd2b0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -001fd2c0: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo
│ │ │ -001fd2d0: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser
│ │ │ -001fd2e0: 7669 6365 5f6e 7470 5f65 6e61 626c 6564 vice_ntp_enabled
│ │ │ -001fd2f0: 0a20 202d 2073 7065 6369 616c 5f73 6572 . - special_ser
│ │ │ -001fd300: 7669 6365 5f62 6c6f 636b 0a20 2077 6865 vice_block. whe
│ │ │ -001fd310: 6e3a 0a20 202d 2027 226c 696e 7578 2d62 n:. - '"linux-b
│ │ │ -001fd320: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_
│ │ │ -001fd330: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ -001fd340: 2020 2d20 2722 6e74 7022 2069 6e20 616e - '"ntp" in an
│ │ │ -001fd350: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ -001fd360: 6167 6573 270a 3c2f 636f 6465 3e3c 2f70 ages'.
│ │ │ +001fca80: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001fcab0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +001fcb00: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +001fcb10: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +001fcb20: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +001fcb30: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +001fcb40: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +001fcb50: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +001fcb60: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +001fcb70: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ +001fcb90: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +001fcbb0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ +001fcbc0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ +001fcbd0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ +001fcbe0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ +001fcbf0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ +001fcc00: 2d35 332d 4155 2d38 2831 2928 6129 0a20 -53-AU-8(1)(a).
│ │ │ +001fcc10: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +001fcc20: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ +001fcc30: 5353 2d52 6571 2d31 302e 340a 2020 2d20 SS-Req-10.4. -
│ │ │ +001fcc40: 5043 492d 4453 5376 342d 3130 2e36 0a20 PCI-DSSv4-10.6.
│ │ │ +001fcc50: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10.
│ │ │ +001fcc60: 362e 310a 2020 2d20 656e 6162 6c65 5f73 6.1. - enable_s
│ │ │ +001fcc70: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high
│ │ │ +001fcc80: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo
│ │ │ +001fcc90: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +001fcca0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +001fccb0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +001fccc0: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ +001fccd0: 5f6e 7470 5f65 6e61 626c 6564 0a0a 2d20 _ntp_enabled..-
│ │ │ +001fcce0: 6e61 6d65 3a20 456e 6162 6c65 2074 6865 name: Enable the
│ │ │ +001fccf0: 204e 5450 2044 6165 6d6f 6e20 2d20 456e NTP Daemon - En
│ │ │ +001fcd00: 6162 6c65 2073 6572 7669 6365 206e 7470 able service ntp
│ │ │ +001fcd10: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e . block:.. - n
│ │ │ +001fcd20: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +001fcd30: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +001fcd40: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +001fcd50: 6e2e 7061 636b 6167 655f 6661 6374 733a n.package_facts:
│ │ │ +001fcd60: 0a20 2020 2020 206d 616e 6167 6572 3a20 . manager:
│ │ │ +001fcd70: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20 auto.. - name:
│ │ │ +001fcd80: 456e 6162 6c65 2074 6865 204e 5450 2044 Enable the NTP D
│ │ │ +001fcd90: 6165 6d6f 6e20 2d20 456e 6162 6c65 2053 aemon - Enable S
│ │ │ +001fcda0: 6572 7669 6365 206e 7470 0a20 2020 2061 ervice ntp. a
│ │ │ +001fcdb0: 6e73 6962 6c65 2e62 7569 6c74 696e 2e73 nsible.builtin.s
│ │ │ +001fcdc0: 7973 7465 6d64 3a0a 2020 2020 2020 6e61 ystemd:. na
│ │ │ +001fcdd0: 6d65 3a20 6e74 700a 2020 2020 2020 656e me: ntp. en
│ │ │ +001fcde0: 6162 6c65 643a 2074 7275 650a 2020 2020 abled: true.
│ │ │ +001fcdf0: 2020 7374 6174 653a 2073 7461 7274 6564 state: started
│ │ │ +001fce00: 0a20 2020 2020 206d 6173 6b65 643a 2066 . masked: f
│ │ │ +001fce10: 616c 7365 0a20 2020 2077 6865 6e3a 0a20 alse. when:.
│ │ │ +001fce20: 2020 202d 2027 226e 7470 2220 696e 2061 - '"ntp" in a
│ │ │ +001fce30: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +001fce40: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ +001fce50: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ +001fce60: 552d 3828 3129 2861 290a 2020 2d20 4e49 U-8(1)(a). - NI
│ │ │ +001fce70: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ +001fce80: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ +001fce90: 712d 3130 2e34 0a20 202d 2050 4349 2d44 q-10.4. - PCI-D
│ │ │ +001fcea0: 5353 7634 2d31 302e 360a 2020 2d20 5043 SSv4-10.6. - PC
│ │ │ +001fceb0: 492d 4453 5376 342d 3130 2e36 2e31 0a20 I-DSSv4-10.6.1.
│ │ │ +001fcec0: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ +001fced0: 6779 0a20 202d 2068 6967 685f 7365 7665 gy. - high_seve
│ │ │ +001fcee0: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d rity. - low_com
│ │ │ +001fcef0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +001fcf00: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ +001fcf10: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +001fcf20: 2020 2d20 7365 7276 6963 655f 6e74 705f - service_ntp_
│ │ │ +001fcf30: 656e 6162 6c65 640a 2020 2d20 7370 6563 enabled. - spec
│ │ │ +001fcf40: 6961 6c5f 7365 7276 6963 655f 626c 6f63 ial_service_bloc
│ │ │ +001fcf50: 6b0a 2020 7768 656e 3a0a 2020 2d20 2722 k. when:. - '"
│ │ │ +001fcf60: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ +001fcf70: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +001fcf80: 6b61 6765 7327 0a20 202d 2027 226e 7470 kages'. - '"ntp
│ │ │ +001fcf90: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +001fcfa0: 7473 2e70 6163 6b61 6765 7327 0a3c 2f63 ts.packages'.
│ │ │ +001fcfc0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +001fd060: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +001fd070: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001fd080: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001fd100: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001fd130: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001fd150: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001fd160: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001fd180: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ +001fd190: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001fd1a0: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ +001fd1b0: 6465 2065 6e61 626c 655f 6e74 700a 0a63 de enable_ntp..c
│ │ │ +001fd1c0: 6c61 7373 2065 6e61 626c 655f 6e74 7020 lass enable_ntp
│ │ │ +001fd1d0: 7b0a 2020 7365 7276 6963 6520 7b27 6e74 {. service {'nt
│ │ │ +001fd1e0: 7027 3a0a 2020 2020 656e 6162 6c65 203d p':. enable =
│ │ │ +001fd1f0: 2667 743b 2074 7275 652c 0a20 2020 2065 > true,. e
│ │ │ +001fd200: 6e73 7572 6520 3d26 6774 3b20 2772 756e nsure => 'run
│ │ │ +001fd210: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63 ning',. }.}.
│ │ │ +001fd230: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +001fd2d0: 6564 6961 7469 6f6e 204f 5342 7569 6c64 ediation OSBuild
│ │ │ +001fd2e0: 2042 6c75 6570 7269 6e74 2073 6e69 7070 Blueprint snipp
│ │ │ +001fd2f0: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
.[custo
│ │ │ +001fd340: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic
│ │ │ +001fd350: 6573 5d0a 656e 6162 6c65 6420 3d20 5b22 es].enabled = ["
│ │ │ +001fd360: 6e74 7022 5d0a 3c2f 636f 6465 3e3c 2f70 ntp"].
Reme
│ │ │ -001fe650: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild
│ │ │ -001fe660: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe
│ │ │ -001fe670: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
.[custom
│ │ │ -001fe6c0: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service
│ │ │ -001fe6d0: 735d 0a65 6e61 626c 6564 203d 205b 2273 s].enabled = ["s
│ │ │ -001fe6e0: 7973 7465 6d64 2d74 696d 6573 796e 6364 ystemd-timesyncd
│ │ │ -001fe6f0: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e "].
│ │ │ -001fe700: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ -001fe7b0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -001fe7c0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -001fe840: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -001fe850: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001fe860: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -001fe870: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -001fe880: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -001fe8b0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -001fe8c0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -001fe8d0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -001fe8e0: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include enable_
│ │ │ -001fe900: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync
│ │ │ -001fe910: 640a 0a63 6c61 7373 2065 6e61 626c 655f d..class enable_
│ │ │ -001fe920: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync
│ │ │ -001fe930: 6420 7b0a 2020 7365 7276 6963 6520 7b27 d {. service {'
│ │ │ -001fe940: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync
│ │ │ -001fe950: 6427 3a0a 2020 2020 656e 6162 6c65 203d d':. enable =
│ │ │ -001fe960: 2667 743b 2074 7275 652c 0a20 2020 2065 > true,. e
│ │ │ -001fe970: 6e73 7572 6520 3d26 6774 3b20 2772 756e nsure => 'run
│ │ │ -001fe980: 6e69 6e67 272c 0a20 207d 0a7d 0a3c 2f63 ning',. }.}.
│ │ │ -001fe9a0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -001fea40: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -001fea50: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001fea60: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -001feae0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -001feb00: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -001feb10: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -001feb20: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001feb30: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -001feb40: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -001feb50: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001feb60: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -001feb70: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -001feb90: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ -001feba0: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ -001febb0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -001febc0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ -001febd0: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ -001febe0: 2d38 3030 2d35 332d 4155 2d38 2831 2928 -800-53-AU-8(1)(
│ │ │ -001febf0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ -001fec00: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ -001fec10: 4349 2d44 5353 2d52 6571 2d31 302e 340a CI-DSS-Req-10.4.
│ │ │ -001fec20: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10
│ │ │ -001fec30: 2e36 0a20 202d 2050 4349 2d44 5353 7634 .6. - PCI-DSSv4
│ │ │ -001fec40: 2d31 302e 362e 310a 2020 2d20 656e 6162 -10.6.1. - enab
│ │ │ -001fec50: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -001fec60: 6869 6768 5f73 6576 6572 6974 790a 2020 high_severity.
│ │ │ -001fec70: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -001fec80: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -001fec90: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo
│ │ │ -001feca0: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser
│ │ │ -001fecb0: 7669 6365 5f74 696d 6573 796e 6364 5f65 vice_timesyncd_e
│ │ │ -001fecc0: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20 nabled..- name:
│ │ │ -001fecd0: 456e 6162 6c65 2073 7973 7465 6d64 5f74 Enable systemd_t
│ │ │ -001fece0: 696d 6573 796e 6364 2053 6572 7669 6365 imesyncd Service
│ │ │ -001fecf0: 202d 2045 6e61 626c 6520 7365 7276 6963 - Enable servic
│ │ │ -001fed00: 6520 7379 7374 656d 642d 7469 6d65 7379 e systemd-timesy
│ │ │ -001fed10: 6e63 640a 2020 626c 6f63 6b3a 0a0a 2020 ncd. block:..
│ │ │ -001fed20: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ -001fed30: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ -001fed40: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -001fed50: 6c74 696e 2e70 6163 6b61 6765 5f66 6163 ltin.package_fac
│ │ │ -001fed60: 7473 3a0a 2020 2020 2020 6d61 6e61 6765 ts:. manage
│ │ │ -001fed70: 723a 2061 7574 6f0a 0a20 202d 206e 616d r: auto.. - nam
│ │ │ -001fed80: 653a 2045 6e61 626c 6520 7379 7374 656d e: Enable system
│ │ │ -001fed90: 645f 7469 6d65 7379 6e63 6420 5365 7276 d_timesyncd Serv
│ │ │ -001feda0: 6963 6520 2d20 456e 6162 6c65 2053 6572 ice - Enable Ser
│ │ │ -001fedb0: 7669 6365 2073 7973 7465 6d64 2d74 696d vice systemd-tim
│ │ │ -001fedc0: 6573 796e 6364 0a20 2020 2061 6e73 6962 esyncd. ansib
│ │ │ -001fedd0: 6c65 2e62 7569 6c74 696e 2e73 7973 7465 le.builtin.syste
│ │ │ -001fede0: 6d64 3a0a 2020 2020 2020 6e61 6d65 3a20 md:. name:
│ │ │ -001fedf0: 7379 7374 656d 642d 7469 6d65 7379 6e63 systemd-timesync
│ │ │ -001fee00: 640a 2020 2020 2020 656e 6162 6c65 643a d. enabled:
│ │ │ -001fee10: 2074 7275 650a 2020 2020 2020 7374 6174 true. stat
│ │ │ -001fee20: 653a 2073 7461 7274 6564 0a20 2020 2020 e: started.
│ │ │ -001fee30: 206d 6173 6b65 643a 2066 616c 7365 0a20 masked: false.
│ │ │ -001fee40: 2020 2077 6865 6e3a 0a20 2020 202d 2027 when:. - '
│ │ │ -001fee50: 2273 7973 7465 6d64 2220 696e 2061 6e73 "systemd" in ans
│ │ │ -001fee60: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -001fee70: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ -001fee80: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU-
│ │ │ -001fee90: 3828 3129 2861 290a 2020 2d20 4e49 5354 8(1)(a). - NIST
│ │ │ -001feea0: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -001feeb0: 2020 2d20 5043 492d 4453 532d 5265 712d - PCI-DSS-Req-
│ │ │ -001feec0: 3130 2e34 0a20 202d 2050 4349 2d44 5353 10.4. - PCI-DSS
│ │ │ -001feed0: 7634 2d31 302e 360a 2020 2d20 5043 492d v4-10.6. - PCI-
│ │ │ -001feee0: 4453 5376 342d 3130 2e36 2e31 0a20 202d DSSv4-10.6.1. -
│ │ │ -001feef0: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -001fef00: 0a20 202d 2068 6967 685f 7365 7665 7269 . - high_severi
│ │ │ -001fef10: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c ty. - low_compl
│ │ │ -001fef20: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -001fef30: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_
│ │ │ -001fef40: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001fef50: 2d20 7365 7276 6963 655f 7469 6d65 7379 - service_timesy
│ │ │ -001fef60: 6e63 645f 656e 6162 6c65 640a 2020 2d20 ncd_enabled. -
│ │ │ -001fef70: 7370 6563 6961 6c5f 7365 7276 6963 655f special_service_
│ │ │ -001fef80: 626c 6f63 6b0a 2020 7768 656e 3a0a 2020 block. when:.
│ │ │ -001fef90: 2d20 2722 6c69 6e75 782d 6261 7365 2220 - '"linux-base"
│ │ │ -001fefa0: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ -001fefb0: 2e70 6163 6b61 6765 7327 0a20 202d 2028 .packages'. - (
│ │ │ -001fefc0: 206e 6f74 2028 2022 6368 726f 6e79 2220 not ( "chrony"
│ │ │ -001fefd0: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ -001fefe0: 2e70 6163 6b61 6765 7320 2920 616e 6420 .packages ) and
│ │ │ -001feff0: 6e6f 7420 2820 226e 7470 2220 696e 2061 not ( "ntp" in a
│ │ │ -001ff000: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -001ff010: 6b61 6765 730a 2020 2020 2920 290a 3c2f kages. ) ).
│ │ │ +001fe650: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ +001fe660: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001fe670: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001fe6f0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001fe720: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001fe740: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001fe750: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001fe770: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ +001fe780: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001fe790: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +001fe7a0: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ +001fe7b0: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ +001fe7c0: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ +001fe7d0: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ +001fe7e0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ +001fe7f0: 3830 302d 3533 2d41 552d 3828 3129 2861 800-53-AU-8(1)(a
│ │ │ +001fe800: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ +001fe810: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC
│ │ │ +001fe820: 492d 4453 532d 5265 712d 3130 2e34 0a20 I-DSS-Req-10.4.
│ │ │ +001fe830: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10.
│ │ │ +001fe840: 360a 2020 2d20 5043 492d 4453 5376 342d 6. - PCI-DSSv4-
│ │ │ +001fe850: 3130 2e36 2e31 0a20 202d 2065 6e61 626c 10.6.1. - enabl
│ │ │ +001fe860: 655f 7374 7261 7465 6779 0a20 202d 2068 e_strategy. - h
│ │ │ +001fe870: 6967 685f 7365 7665 7269 7479 0a20 202d igh_severity. -
│ │ │ +001fe880: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +001fe890: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +001fe8a0: 6f6e 0a20 202d 206e 6f5f 7265 626f 6f74 on. - no_reboot
│ │ │ +001fe8b0: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv
│ │ │ +001fe8c0: 6963 655f 7469 6d65 7379 6e63 645f 656e ice_timesyncd_en
│ │ │ +001fe8d0: 6162 6c65 640a 0a2d 206e 616d 653a 2045 abled..- name: E
│ │ │ +001fe8e0: 6e61 626c 6520 7379 7374 656d 645f 7469 nable systemd_ti
│ │ │ +001fe8f0: 6d65 7379 6e63 6420 5365 7276 6963 6520 mesyncd Service
│ │ │ +001fe900: 2d20 456e 6162 6c65 2073 6572 7669 6365 - Enable service
│ │ │ +001fe910: 2073 7973 7465 6d64 2d74 696d 6573 796e systemd-timesyn
│ │ │ +001fe920: 6364 0a20 2062 6c6f 636b 3a0a 0a20 202d cd. block:.. -
│ │ │ +001fe930: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ +001fe940: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ +001fe950: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ +001fe960: 7469 6e2e 7061 636b 6167 655f 6661 6374 tin.package_fact
│ │ │ +001fe970: 733a 0a20 2020 2020 206d 616e 6167 6572 s:. manager
│ │ │ +001fe980: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65 : auto.. - name
│ │ │ +001fe990: 3a20 456e 6162 6c65 2073 7973 7465 6d64 : Enable systemd
│ │ │ +001fe9a0: 5f74 696d 6573 796e 6364 2053 6572 7669 _timesyncd Servi
│ │ │ +001fe9b0: 6365 202d 2045 6e61 626c 6520 5365 7276 ce - Enable Serv
│ │ │ +001fe9c0: 6963 6520 7379 7374 656d 642d 7469 6d65 ice systemd-time
│ │ │ +001fe9d0: 7379 6e63 640a 2020 2020 616e 7369 626c syncd. ansibl
│ │ │ +001fe9e0: 652e 6275 696c 7469 6e2e 7379 7374 656d e.builtin.system
│ │ │ +001fe9f0: 643a 0a20 2020 2020 206e 616d 653a 2073 d:. name: s
│ │ │ +001fea00: 7973 7465 6d64 2d74 696d 6573 796e 6364 ystemd-timesyncd
│ │ │ +001fea10: 0a20 2020 2020 2065 6e61 626c 6564 3a20 . enabled:
│ │ │ +001fea20: 7472 7565 0a20 2020 2020 2073 7461 7465 true. state
│ │ │ +001fea30: 3a20 7374 6172 7465 640a 2020 2020 2020 : started.
│ │ │ +001fea40: 6d61 736b 6564 3a20 6661 6c73 650a 2020 masked: false.
│ │ │ +001fea50: 2020 7768 656e 3a0a 2020 2020 2d20 2722 when:. - '"
│ │ │ +001fea60: 7379 7374 656d 6422 2069 6e20 616e 7369 systemd" in ansi
│ │ │ +001fea70: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ +001fea80: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. -
│ │ │ +001fea90: 4e49 5354 2d38 3030 2d35 332d 4155 2d38 NIST-800-53-AU-8
│ │ │ +001feaa0: 2831 2928 6129 0a20 202d 204e 4953 542d (1)(a). - NIST-
│ │ │ +001feab0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ +001feac0: 202d 2050 4349 2d44 5353 2d52 6571 2d31 - PCI-DSS-Req-1
│ │ │ +001fead0: 302e 340a 2020 2d20 5043 492d 4453 5376 0.4. - PCI-DSSv
│ │ │ +001feae0: 342d 3130 2e36 0a20 202d 2050 4349 2d44 4-10.6. - PCI-D
│ │ │ +001feaf0: 5353 7634 2d31 302e 362e 310a 2020 2d20 SSv4-10.6.1. -
│ │ │ +001feb00: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ +001feb10: 2020 2d20 6869 6768 5f73 6576 6572 6974 - high_severit
│ │ │ +001feb20: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +001feb30: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +001feb40: 7275 7074 696f 6e0a 2020 2d20 6e6f 5f72 ruption. - no_r
│ │ │ +001feb50: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001feb60: 2073 6572 7669 6365 5f74 696d 6573 796e service_timesyn
│ │ │ +001feb70: 6364 5f65 6e61 626c 6564 0a20 202d 2073 cd_enabled. - s
│ │ │ +001feb80: 7065 6369 616c 5f73 6572 7669 6365 5f62 pecial_service_b
│ │ │ +001feb90: 6c6f 636b 0a20 2077 6865 6e3a 0a20 202d lock. when:. -
│ │ │ +001feba0: 2027 226c 696e 7578 2d62 6173 6522 2069 '"linux-base" i
│ │ │ +001febb0: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ +001febc0: 7061 636b 6167 6573 270a 2020 2d20 2820 packages'. - (
│ │ │ +001febd0: 6e6f 7420 2820 2263 6872 6f6e 7922 2069 not ( "chrony" i
│ │ │ +001febe0: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ +001febf0: 7061 636b 6167 6573 2029 2061 6e64 206e packages ) and n
│ │ │ +001fec00: 6f74 2028 2022 6e74 7022 2069 6e20 616e ot ( "ntp" in an
│ │ │ +001fec10: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +001fec20: 6167 6573 0a20 2020 2029 2029 0a3c 2f63 ages. ) ).
│ │ │ +001fec40: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +001fece0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +001fecf0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +001fed00: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +001fed80: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +001fedb0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +001fedd0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +001fede0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +001fee00: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ +001fee10: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001fee20: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ +001fee30: 6465 2065 6e61 626c 655f 7379 7374 656d de enable_system
│ │ │ +001fee40: 642d 7469 6d65 7379 6e63 640a 0a63 6c61 d-timesyncd..cla
│ │ │ +001fee50: 7373 2065 6e61 626c 655f 7379 7374 656d ss enable_system
│ │ │ +001fee60: 642d 7469 6d65 7379 6e63 6420 7b0a 2020 d-timesyncd {.
│ │ │ +001fee70: 7365 7276 6963 6520 7b27 7379 7374 656d service {'system
│ │ │ +001fee80: 642d 7469 6d65 7379 6e63 6427 3a0a 2020 d-timesyncd':.
│ │ │ +001fee90: 2020 656e 6162 6c65 203d 2667 743b 2074 enable => t
│ │ │ +001feea0: 7275 652c 0a20 2020 2065 6e73 7572 6520 rue,. ensure
│ │ │ +001feeb0: 3d26 6774 3b20 2772 756e 6e69 6e67 272c => 'running',
│ │ │ +001feec0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ +001feed0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ +001fef80: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ +001fef90: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ +001fefa0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[customizati
│ │ │ +001feff0: 6f6e 732e 7365 7276 6963 6573 5d0a 656e ons.services].en
│ │ │ +001ff000: 6162 6c65 6420 3d20 5b22 7379 7374 656d abled = ["system
│ │ │ +001ff010: 642d 7469 6d65 7379 6e63 6422 5d0a 3c2f d-timesyncd"].
│ │ │ 001ff020: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Remediation Pup
│ │ │ -002037a0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ -002037b0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -00203860: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -00203870: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00203880: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -00203890: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -002038b0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ -002038c0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -002038e0: 0a69 6e63 6c75 6465 2072 656d 6f76 655f .include remove_
│ │ │ -002038f0: 7273 682d 636c 6965 6e74 0a0a 636c 6173 rsh-client..clas
│ │ │ -00203900: 7320 7265 6d6f 7665 5f72 7368 2d63 6c69 s remove_rsh-cli
│ │ │ -00203910: 656e 7420 7b0a 2020 7061 636b 6167 6520 ent {. package
│ │ │ -00203920: 7b20 2772 7368 2d63 6c69 656e 7427 3a0a { 'rsh-client':.
│ │ │ -00203930: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ -00203940: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.}
│ │ │ -00203950: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ -00203960: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Ans
│ │ │ -00203a10: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ -00203a20: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -00203ac0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -00203ad0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -00203ae0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00203af0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -00203b00: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -00203b10: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -00203b20: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ -00203b30: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -00203b40: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: 'Uninst
│ │ │ -00203b60: 616c 6c20 7273 6820 5061 636b 6167 653a all rsh Package:
│ │ │ -00203b70: 2045 6e73 7572 6520 7273 682d 636c 6965 Ensure rsh-clie
│ │ │ -00203b80: 6e74 2069 7320 7265 6d6f 7665 6427 0a20 nt is removed'.
│ │ │ -00203b90: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -00203ba0: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -00203bb0: 6d65 3a20 7273 682d 636c 6965 6e74 0a20 me: rsh-client.
│ │ │ -00203bc0: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ -00203bd0: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ -00203be0: 542d 3830 302d 3137 312d 332e 312e 3133 T-800-171-3.1.13
│ │ │ -00203bf0: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ -00203c00: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ -00203c10: 2d32 2e32 2e34 0a20 202d 2064 6973 6162 -2.2.4. - disab
│ │ │ -00203c20: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -00203c30: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -00203c40: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -00203c50: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ -00203c60: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ -00203c70: 6765 5f72 7368 5f72 656d 6f76 6564 0a20 ge_rsh_removed.
│ │ │ -00203c80: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572 - unknown_sever
│ │ │ -00203c90: 6974 790a 3c2f 636f 6465 3e3c 2f70 7265 ity.
Remediation Ans
│ │ │ +002037a0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ +002037b0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +00203850: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +00203860: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +00203870: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00203880: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +00203890: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +002038a0: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +002038b0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ +002038c0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +002038d0: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: 'Uninst
│ │ │ +002038f0: 616c 6c20 7273 6820 5061 636b 6167 653a all rsh Package:
│ │ │ +00203900: 2045 6e73 7572 6520 7273 682d 636c 6965 Ensure rsh-clie
│ │ │ +00203910: 6e74 2069 7320 7265 6d6f 7665 6427 0a20 nt is removed'.
│ │ │ +00203920: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +00203930: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ +00203940: 6d65 3a20 7273 682d 636c 6965 6e74 0a20 me: rsh-client.
│ │ │ +00203950: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ +00203960: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ +00203970: 542d 3830 302d 3137 312d 332e 312e 3133 T-800-171-3.1.13
│ │ │ +00203980: 0a20 202d 2050 4349 2d44 5353 7634 2d32 . - PCI-DSSv4-2
│ │ │ +00203990: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ +002039a0: 2d32 2e32 2e34 0a20 202d 2064 6973 6162 -2.2.4. - disab
│ │ │ +002039b0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +002039c0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +002039d0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +002039e0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ +002039f0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +00203a00: 6765 5f72 7368 5f72 656d 6f76 6564 0a20 ge_rsh_removed.
│ │ │ +00203a10: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572 - unknown_sever
│ │ │ +00203a20: 6974 790a 3c2f 636f 6465 3e3c 2f70 7265 ity.
Remediation
│ │ │ +00203ae0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ +00203af0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +00203b70: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +00203b80: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00203b90: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +00203ba0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +00203be0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +00203bf0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +00203c00: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +00203c10: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
.include remo
│ │ │ +00203c30: 7665 5f72 7368 2d63 6c69 656e 740a 0a63 ve_rsh-client..c
│ │ │ +00203c40: 6c61 7373 2072 656d 6f76 655f 7273 682d lass remove_rsh-
│ │ │ +00203c50: 636c 6965 6e74 207b 0a20 2070 6163 6b61 client {. packa
│ │ │ +00203c60: 6765 207b 2027 7273 682d 636c 6965 6e74 ge { 'rsh-client
│ │ │ +00203c70: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ +00203c80: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',.
│ │ │ +00203c90: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediation P
│ │ │ -00206050: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -00206060: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -002060e0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -002060f0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00206100: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -00206110: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -00206120: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -00206150: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -00206160: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -00206170: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -00206180: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ -002061a0: 655f 7461 6c6b 0a0a 636c 6173 7320 7265 e_talk..class re
│ │ │ -002061b0: 6d6f 7665 5f74 616c 6b20 7b0a 2020 7061 move_talk {. pa
│ │ │ -002061c0: 636b 6167 6520 7b20 2774 616c 6b27 3a0a ckage { 'talk':.
│ │ │ -002061d0: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ -002061e0: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.}
│ │ │ -002061f0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ -00206200: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Ans
│ │ │ -002062b0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ -002062c0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -00206360: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -00206370: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -00206380: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00206390: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -002063a0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -002063b0: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -002063c0: 6567 793a 3c2f 7468 3e3c 7464 3e64 6973 egy: dis
│ │ │ -002063d0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -002063e0: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: 'Uninst
│ │ │ -00206400: 616c 6c20 7461 6c6b 2050 6163 6b61 6765 all talk Package
│ │ │ -00206410: 3a20 456e 7375 7265 2074 616c 6b20 6973 : Ensure talk is
│ │ │ -00206420: 2072 656d 6f76 6564 270a 2020 616e 7369 removed'. ansi
│ │ │ -00206430: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ -00206440: 6167 653a 0a20 2020 206e 616d 653a 2074 age:. name: t
│ │ │ -00206450: 616c 6b0a 2020 2020 7374 6174 653a 2061 alk. state: a
│ │ │ -00206460: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:.
│ │ │ -00206470: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2.
│ │ │ -00206480: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ -00206490: 322e 340a 2020 2d20 6469 7361 626c 655f 2.4. - disable_
│ │ │ -002064a0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -002064b0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -002064c0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -002064d0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -002064e0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -002064f0: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ -00206500: 6167 655f 7461 6c6b 5f72 656d 6f76 6564 age_talk_removed
│ │ │ +00206040: 2122 3e52 656d 6564 6961 7469 6f6e 2041 !">Remediation A
│ │ │ +00206050: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +00206060: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +002060e0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +002060f0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00206100: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +00206110: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +00206150: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +00206160: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +00206170: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +00206180: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: 'Unin
│ │ │ +002061a0: 7374 616c 6c20 7461 6c6b 2050 6163 6b61 stall talk Packa
│ │ │ +002061b0: 6765 3a20 456e 7375 7265 2074 616c 6b20 ge: Ensure talk
│ │ │ +002061c0: 6973 2072 656d 6f76 6564 270a 2020 616e is removed'. an
│ │ │ +002061d0: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +002061e0: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ +002061f0: 2074 616c 6b0a 2020 2020 7374 6174 653a talk. state:
│ │ │ +00206200: 2061 6273 656e 740a 2020 7461 6773 3a0a absent. tags:.
│ │ │ +00206210: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ +00206220: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ +00206230: 322e 322e 340a 2020 2d20 6469 7361 626c 2.2.4. - disabl
│ │ │ +00206240: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ +00206250: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ +00206260: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ +00206270: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ +00206280: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ +00206290: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ +002062a0: 636b 6167 655f 7461 6c6b 5f72 656d 6f76 ckage_talk_remov
│ │ │ +002062b0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +002062c0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ +00206370: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ +00206380: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +00206400: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +00206410: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +00206420: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +00206430: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +00206440: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +00206470: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +00206480: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ +00206490: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ +002064a0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ +002064c0: 655f 7461 6c6b 0a0a 636c 6173 7320 7265 e_talk..class re
│ │ │ +002064d0: 6d6f 7665 5f74 616c 6b20 7b0a 2020 7061 move_talk {. pa
│ │ │ +002064e0: 636b 6167 6520 7b20 2774 616c 6b27 3a0a ckage { 'talk':.
│ │ │ +002064f0: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ +00206500: 2027 7075 7267 6564 272c 0a20 207d 0a7d 'purged',. }.}
│ │ │ 00206510: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 00206520: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>R
│ │ │ -00207770: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -00207780: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ -00207810: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -00207820: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -00207830: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -00207840: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -00207850: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -00207880: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -00207890: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -002078a0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ -002078c0: 6e63 6c75 6465 2072 656d 6f76 655f 7465 nclude remove_te
│ │ │ -002078d0: 6c6e 6574 0a0a 636c 6173 7320 7265 6d6f lnet..class remo
│ │ │ -002078e0: 7665 5f74 656c 6e65 7420 7b0a 2020 7061 ve_telnet {. pa
│ │ │ -002078f0: 636b 6167 6520 7b20 2774 656c 6e65 7427 ckage { 'telnet'
│ │ │ -00207900: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ -00207910: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ -00207920: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -00207930: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation A
│ │ │ -002079e0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ -002079f0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -00207a70: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -00207a80: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -00207a90: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -00207aa0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -00207ae0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -00207af0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ -00207b00: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ -00207b10: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: 'Remo
│ │ │ -00207b30: 7665 2074 656c 6e65 7420 436c 6965 6e74 ve telnet Client
│ │ │ -00207b40: 733a 2045 6e73 7572 6520 7465 6c6e 6574 s: Ensure telnet
│ │ │ -00207b50: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ -00207b60: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -00207b70: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ -00207b80: 3a20 7465 6c6e 6574 0a20 2020 2073 7461 : telnet. sta
│ │ │ -00207b90: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ -00207ba0: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ -00207bb0: 3137 312d 332e 312e 3133 0a20 202d 2050 171-3.1.13. - P
│ │ │ -00207bc0: 4349 2d44 5353 7634 2d32 2e32 0a20 202d CI-DSSv4-2.2. -
│ │ │ -00207bd0: 2050 4349 2d44 5353 7634 2d32 2e32 2e34 PCI-DSSv4-2.2.4
│ │ │ -00207be0: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ -00207bf0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -00207c00: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -00207c10: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -00207c20: 6c6f 775f 7365 7665 7269 7479 0a20 202d low_severity. -
│ │ │ -00207c30: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -00207c40: 640a 2020 2d20 7061 636b 6167 655f 7465 d. - package_te
│ │ │ -00207c50: 6c6e 6574 5f72 656d 6f76 6564 0a3c 2f63 lnet_removed.
│ │ │ +00207810: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +00207820: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +00207840: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +00207850: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +00207890: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +002078a0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +002078c0: 206e 616d 653a 2027 5265 6d6f 7665 2074 name: 'Remove t
│ │ │ +002078d0: 656c 6e65 7420 436c 6965 6e74 733a 2045 elnet Clients: E
│ │ │ +002078e0: 6e73 7572 6520 7465 6c6e 6574 2069 7320 nsure telnet is
│ │ │ +002078f0: 7265 6d6f 7665 6427 0a20 2061 6e73 6962 removed'. ansib
│ │ │ +00207900: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +00207910: 6765 3a0a 2020 2020 6e61 6d65 3a20 7465 ge:. name: te
│ │ │ +00207920: 6c6e 6574 0a20 2020 2073 7461 7465 3a20 lnet. state:
│ │ │ +00207930: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ +00207940: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171-
│ │ │ +00207950: 332e 312e 3133 0a20 202d 2050 4349 2d44 3.1.13. - PCI-D
│ │ │ +00207960: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI
│ │ │ +00207970: 2d44 5353 7634 2d32 2e32 2e34 0a20 202d -DSSv4-2.2.4. -
│ │ │ +00207980: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ +00207990: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +002079a0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +002079b0: 7275 7074 696f 6e0a 2020 2d20 6c6f 775f ruption. - low_
│ │ │ +002079c0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +002079d0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +002079e0: 2d20 7061 636b 6167 655f 7465 6c6e 6574 - package_telnet
│ │ │ +002079f0: 5f72 656d 6f76 6564 0a3c 2f63 6f64 653e _removed.
│ │ │ +00207a00: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +00207ab0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ +00207ac0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +00207ad0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +00207ae0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +00207af0: 7365 2220 6964 3d22 6964 3736 3422 3e3c se" id="id764"><
│ │ │ +00207b00: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +00207b10: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +00207b20: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +00207b30: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +00207b40: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +00207b50: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +00207b60: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +00207b90: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +00207ba0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +00207bb0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +00207bd0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +00207be0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
.include
│ │ │ +00207c00: 2072 656d 6f76 655f 7465 6c6e 6574 0a0a remove_telnet..
│ │ │ +00207c10: 636c 6173 7320 7265 6d6f 7665 5f74 656c class remove_tel
│ │ │ +00207c20: 6e65 7420 7b0a 2020 7061 636b 6167 6520 net {. package
│ │ │ +00207c30: 7b20 2774 656c 6e65 7427 3a0a 2020 2020 { 'telnet':.
│ │ │ +00207c40: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ +00207c50: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ 00207c70: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Remediati
│ │ │ -00208770: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -00208780: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -00208800: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -00208810: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -00208820: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00208830: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -00208840: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -00208860: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -00208870: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00208880: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -002088a0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -002088b0: 3c63 6f64 653e 0a69 6e63 6c75 6465 2072 .include r
│ │ │ -002088c0: 656d 6f76 655f 7273 796e 630a 0a63 6c61 emove_rsync..cla
│ │ │ -002088d0: 7373 2072 656d 6f76 655f 7273 796e 6320 ss remove_rsync
│ │ │ -002088e0: 7b0a 2020 7061 636b 6167 6520 7b20 2772 {. package { 'r
│ │ │ -002088f0: 7379 6e63 273a 0a20 2020 2065 6e73 7572 sync':. ensur
│ │ │ -00208900: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ -00208910: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ -00208920: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediat
│ │ │ -002089d0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ -002089e0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -002089f0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -00208a00: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -00208a10: 7365 2220 6964 3d22 6964 3736 3822 3e3c se" id="id768"><
│ │ │ -00208a20: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -00208a30: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -00208a40: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -00208a50: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -00208a60: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -00208a70: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -00208a80: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -00208ab0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -00208ac0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -00208ad0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -00208af0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -00208b00: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -00208b20: 2755 6e69 6e73 7461 6c6c 2072 7379 6e63 'Uninstall rsync
│ │ │ -00208b30: 2050 6163 6b61 6765 3a20 456e 7375 7265 Package: Ensure
│ │ │ -00208b40: 2072 7379 6e63 2069 7320 7265 6d6f 7665 rsync is remove
│ │ │ -00208b50: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -00208b60: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -00208b70: 2020 6e61 6d65 3a20 7273 796e 630a 2020 name: rsync.
│ │ │ -00208b80: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ -00208b90: 2020 7461 6773 3a0a 2020 2d20 6469 7361 tags:. - disa
│ │ │ -00208ba0: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -00208bb0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -00208bc0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -00208bd0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -00208be0: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -00208bf0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -00208c00: 7061 636b 6167 655f 7273 796e 635f 7265 package_rsync_re
│ │ │ -00208c10: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.
│ │ │ +00208800: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +00208810: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +00208820: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +00208860: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +00208870: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +00208890: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ +002088a0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: '
│ │ │ +002088c0: 556e 696e 7374 616c 6c20 7273 796e 6320 Uninstall rsync
│ │ │ +002088d0: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ +002088e0: 7273 796e 6320 6973 2072 656d 6f76 6564 rsync is removed
│ │ │ +002088f0: 270a 2020 616e 7369 626c 652e 6275 696c '. ansible.buil
│ │ │ +00208900: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ +00208910: 206e 616d 653a 2072 7379 6e63 0a20 2020 name: rsync.
│ │ │ +00208920: 2073 7461 7465 3a20 6162 7365 6e74 0a20 state: absent.
│ │ │ +00208930: 2074 6167 733a 0a20 202d 2064 6973 6162 tags:. - disab
│ │ │ +00208940: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +00208950: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +00208960: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +00208970: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ +00208980: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ +00208990: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +002089a0: 6163 6b61 6765 5f72 7379 6e63 5f72 656d ackage_rsync_rem
│ │ │ +002089b0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
Remediation
│ │ │ +00208a70: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ +00208a80: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +00208b10: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +00208b30: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +00208b50: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +00208b60: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +00208b80: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +00208b90: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ +00208bc0: 6f76 655f 7273 796e 630a 0a63 6c61 7373 ove_rsync..class
│ │ │ +00208bd0: 2072 656d 6f76 655f 7273 796e 6320 7b0a remove_rsync {.
│ │ │ +00208be0: 2020 7061 636b 6167 6520 7b20 2772 7379 package { 'rsy
│ │ │ +00208bf0: 6e63 273a 0a20 2020 2065 6e73 7572 6520 nc':. ensure
│ │ │ +00208c00: 3d26 6774 3b20 2770 7572 6765 6427 2c0a => 'purged',.
│ │ │ +00208c10: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.
Remediatio
│ │ │ -0020a180: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -0020a190: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -0020a220: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -0020a240: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -0020a250: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0020a260: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -0020a270: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -0020a290: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ -0020a2c0: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ -0020a2d0: 6d6f 7665 5f63 7570 730a 0a63 6c61 7373 move_cups..class
│ │ │ -0020a2e0: 2072 656d 6f76 655f 6375 7073 207b 0a20 remove_cups {.
│ │ │ -0020a2f0: 2070 6163 6b61 6765 207b 2027 6375 7073 package { 'cups
│ │ │ -0020a300: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ -0020a310: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',.
│ │ │ -0020a320: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.Remediation
│ │ │ -0020a3e0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ -0020a3f0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -0020a480: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -0020a4a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -0020a4c0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -0020a4d0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -0020a4f0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -0020a500: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: 'Uni
│ │ │ -0020a530: 6e73 7461 6c6c 2043 5550 5320 5061 636b nstall CUPS Pack
│ │ │ -0020a540: 6167 653a 2045 6e73 7572 6520 6375 7073 age: Ensure cups
│ │ │ -0020a550: 2069 7320 7265 6d6f 7665 6427 0a20 2061 is removed'. a
│ │ │ -0020a560: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -0020a570: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ -0020a580: 3a20 6375 7073 0a20 2020 2073 7461 7465 : cups. state
│ │ │ -0020a590: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags:
│ │ │ -0020a5a0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -0020a5b0: 2d43 4d2d 3628 6129 0a20 202d 204e 4953 -CM-6(a). - NIS
│ │ │ -0020a5c0: 542d 3830 302d 3533 2d43 4d2d 3728 6129 T-800-53-CM-7(a)
│ │ │ -0020a5d0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -0020a5e0: 2d43 4d2d 3728 6229 0a20 202d 2064 6973 -CM-7(b). - dis
│ │ │ -0020a5f0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -0020a600: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -0020a610: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -0020a620: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo
│ │ │ -0020a630: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ -0020a640: 6b61 6765 5f63 7570 735f 7265 6d6f 7665 kage_cups_remove
│ │ │ -0020a650: 640a 2020 2d20 756e 6b6e 6f77 6e5f 7365 d. - unknown_se
│ │ │ -0020a660: 7665 7269 7479 0a3c 2f63 6f64 653e 3c2f verity.
│ │ │ +0020a180: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ +0020a190: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +0020a210: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +0020a220: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +0020a230: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0020a240: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +0020a250: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +0020a270: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +0020a280: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0020a290: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +0020a2b0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +0020a2c0: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2755 - name: 'U
│ │ │ +0020a2d0: 6e69 6e73 7461 6c6c 2043 5550 5320 5061 ninstall CUPS Pa
│ │ │ +0020a2e0: 636b 6167 653a 2045 6e73 7572 6520 6375 ckage: Ensure cu
│ │ │ +0020a2f0: 7073 2069 7320 7265 6d6f 7665 6427 0a20 ps is removed'.
│ │ │ +0020a300: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +0020a310: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ +0020a320: 6d65 3a20 6375 7073 0a20 2020 2073 7461 me: cups. sta
│ │ │ +0020a330: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ +0020a340: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ +0020a350: 3533 2d43 4d2d 3628 6129 0a20 202d 204e 53-CM-6(a). - N
│ │ │ +0020a360: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ +0020a370: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +0020a380: 3533 2d43 4d2d 3728 6229 0a20 202d 2064 53-CM-7(b). - d
│ │ │ +0020a390: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +0020a3a0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +0020a3b0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +0020a3c0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ +0020a3d0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +0020a3e0: 6163 6b61 6765 5f63 7570 735f 7265 6d6f ackage_cups_remo
│ │ │ +0020a3f0: 7665 640a 2020 2d20 756e 6b6e 6f77 6e5f ved. - unknown_
│ │ │ +0020a400: 7365 7665 7269 7479 0a3c 2f63 6f64 653e severity.
│ │ │ +0020a410: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +0020a4c0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ +0020a4d0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +0020a4e0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +0020a4f0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +0020a500: 7365 2220 6964 3d22 6964 3737 3222 3e3c se" id="id772"><
│ │ │ +0020a510: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +0020a520: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +0020a530: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +0020a540: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +0020a550: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +0020a560: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +0020a570: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +0020a5a0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +0020a5b0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +0020a5c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +0020a5e0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +0020a5f0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
.include
│ │ │ +0020a610: 2072 656d 6f76 655f 6375 7073 0a0a 636c remove_cups..cl
│ │ │ +0020a620: 6173 7320 7265 6d6f 7665 5f63 7570 7320 ass remove_cups
│ │ │ +0020a630: 7b0a 2020 7061 636b 6167 6520 7b20 2763 {. package { 'c
│ │ │ +0020a640: 7570 7327 3a0a 2020 2020 656e 7375 7265 ups':. ensure
│ │ │ +0020a650: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ +0020a660: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ 0020a670: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre> Reme
│ │ │ -0020b670: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild
│ │ │ -0020b680: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe
│ │ │ -0020b690: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
.[custom
│ │ │ -0020b6e0: 697a 6174 696f 6e73 2e73 6572 7669 6365 izations.service
│ │ │ -0020b6f0: 735d 0a6d 6173 6b65 6420 3d20 5b22 6375 s].masked = ["cu
│ │ │ -0020b700: 7073 225d 0a3c 2f63 6f64 653e 3c2f 7072 ps"]. Remediation
│ │ │ -0020b7c0: 204b 7562 6572 6e65 7465 7320 736e 6970 Kubernetes snip
│ │ │ -0020b7d0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -0020b7e0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -0020b7f0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -0020b800: 7365 2220 6964 3d22 6964 3737 3622 3e3c se" id="id776"><
│ │ │ -0020b810: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -0020b820: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -0020b830: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -0020b840: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -0020b850: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -0020b860: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -0020b870: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: medium Re
│ │ │ -0020b8b0: 626f 6f74 3a3c 2f74 683e 3c74 643e 7472 boot: tr
│ │ │ -0020b8c0: 7565 3c2f 7464 3e3c 2f74 723e 3c74 723e ue
│ │ │ -0020b8d0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -0020b900: 7072 653e 3c63 6f64 653e 6170 6956 6572 pre>apiVer
│ │ │ -0020b910: 7369 6f6e 3a20 6d61 6368 696e 6563 6f6e sion: machinecon
│ │ │ -0020b920: 6669 6775 7261 7469 6f6e 2e6f 7065 6e73 figuration.opens
│ │ │ -0020b930: 6869 6674 2e69 6f2f 7631 0a6b 696e 643a hift.io/v1.kind:
│ │ │ -0020b940: 204d 6163 6869 6e65 436f 6e66 6967 0a73 MachineConfig.s
│ │ │ -0020b950: 7065 633a 0a20 2063 6f6e 6669 673a 0a20 pec:. config:.
│ │ │ -0020b960: 2020 2069 676e 6974 696f 6e3a 0a20 2020 ignition:.
│ │ │ -0020b970: 2020 2076 6572 7369 6f6e 3a20 332e 312e version: 3.1.
│ │ │ -0020b980: 300a 2020 2020 7379 7374 656d 643a 0a20 0. systemd:.
│ │ │ -0020b990: 2020 2020 2075 6e69 7473 3a0a 2020 2020 units:.
│ │ │ -0020b9a0: 2020 2d20 6e61 6d65 3a20 6375 7073 2e73 - name: cups.s
│ │ │ -0020b9b0: 6572 7669 6365 0a20 2020 2020 2020 2065 ervice. e
│ │ │ -0020b9c0: 6e61 626c 6564 3a20 6661 6c73 650a 2020 nabled: false.
│ │ │ -0020b9d0: 2020 2020 2020 6d61 736b 3a20 7472 7565 mask: true
│ │ │ -0020b9e0: 0a20 2020 2020 202d 206e 616d 653a 2063 . - name: c
│ │ │ -0020b9f0: 7570 732e 736f 636b 6574 0a20 2020 2020 ups.socket.
│ │ │ -0020ba00: 2020 2065 6e61 626c 6564 3a20 6661 6c73 enabled: fals
│ │ │ -0020ba10: 650a 2020 2020 2020 2020 6d61 736b 3a20 e. mask:
│ │ │ -0020ba20: 7472 7565 0a3c 2f63 6f64 653e 3c2f 7072 true.Remediation
│ │ │ -0020bae0: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -0020baf0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -0020bb80: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -0020bba0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -0020bbc0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -0020bbd0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -0020bbf0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -0020bc00: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -0020bc10: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include disab
│ │ │ -0020bc30: 6c65 5f63 7570 730a 0a63 6c61 7373 2064 le_cups..class d
│ │ │ -0020bc40: 6973 6162 6c65 5f63 7570 7320 7b0a 2020 isable_cups {.
│ │ │ -0020bc50: 7365 7276 6963 6520 7b27 6375 7073 273a service {'cups':
│ │ │ -0020bc60: 0a20 2020 2065 6e61 626c 6520 3d26 6774 . enable =>
│ │ │ -0020bc70: 3b20 6661 6c73 652c 0a20 2020 2065 6e73 ; false,. ens
│ │ │ -0020bc80: 7572 6520 3d26 6774 3b20 2773 746f 7070 ure => 'stopp
│ │ │ -0020bc90: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -0020bd50: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -0020bd60: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -0020bdf0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -0020be00: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -0020be20: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -0020be40: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -0020be50: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -0020be70: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -0020be80: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -0020be90: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -0020bea0: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ -0020beb0: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ -0020bec0: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ -0020bed0: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ -0020bee0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ -0020bef0: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ -0020bf00: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -0020bf10: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST-
│ │ │ -0020bf20: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b).
│ │ │ -0020bf30: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ -0020bf40: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ -0020bf50: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -0020bf60: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no
│ │ │ -0020bf70: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -0020bf80: 202d 2073 6572 7669 6365 5f63 7570 735f - service_cups_
│ │ │ -0020bf90: 6469 7361 626c 6564 0a20 202d 2075 6e6b disabled. - unk
│ │ │ -0020bfa0: 6e6f 776e 5f73 6576 6572 6974 790a 0a2d nown_severity..-
│ │ │ -0020bfb0: 206e 616d 653a 2044 6973 6162 6c65 2074 name: Disable t
│ │ │ -0020bfc0: 6865 2043 5550 5320 5365 7276 6963 6520 he CUPS Service
│ │ │ -0020bfd0: 2d20 4469 7361 626c 6520 7365 7276 6963 - Disable servic
│ │ │ -0020bfe0: 6520 6375 7073 0a20 2062 6c6f 636b 3a0a e cups. block:.
│ │ │ -0020bff0: 0a20 202d 206e 616d 653a 2044 6973 6162 . - name: Disab
│ │ │ -0020c000: 6c65 2074 6865 2043 5550 5320 5365 7276 le the CUPS Serv
│ │ │ -0020c010: 6963 6520 2d20 436f 6c6c 6563 7420 7379 ice - Collect sy
│ │ │ -0020c020: 7374 656d 6420 5365 7276 6963 6573 2050 stemd Services P
│ │ │ -0020c030: 7265 7365 6e74 2069 6e20 7468 6520 5379 resent in the Sy
│ │ │ -0020c040: 7374 656d 0a20 2020 2061 6e73 6962 6c65 stem. ansible
│ │ │ -0020c050: 2e62 7569 6c74 696e 2e63 6f6d 6d61 6e64 .builtin.command
│ │ │ -0020c060: 3a20 7379 7374 656d 6374 6c20 2d71 206c : systemctl -q l
│ │ │ -0020c070: 6973 742d 756e 6974 2d66 696c 6573 202d ist-unit-files -
│ │ │ -0020c080: 2d74 7970 6520 7365 7276 6963 650a 2020 -type service.
│ │ │ -0020c090: 2020 7265 6769 7374 6572 3a20 7365 7276 register: serv
│ │ │ -0020c0a0: 6963 655f 6578 6973 7473 0a20 2020 2063 ice_exists. c
│ │ │ -0020c0b0: 6861 6e67 6564 5f77 6865 6e3a 2066 616c hanged_when: fal
│ │ │ -0020c0c0: 7365 0a20 2020 2066 6169 6c65 645f 7768 se. failed_wh
│ │ │ -0020c0d0: 656e 3a20 7365 7276 6963 655f 6578 6973 en: service_exis
│ │ │ -0020c0e0: 7473 2e72 6320 6e6f 7420 696e 205b 302c ts.rc not in [0,
│ │ │ -0020c0f0: 2031 5d0a 2020 2020 6368 6563 6b5f 6d6f 1]. check_mo
│ │ │ -0020c100: 6465 3a20 6661 6c73 650a 0a20 202d 206e de: false.. - n
│ │ │ -0020c110: 616d 653a 2044 6973 6162 6c65 2074 6865 ame: Disable the
│ │ │ -0020c120: 2043 5550 5320 5365 7276 6963 6520 2d20 CUPS Service -
│ │ │ -0020c130: 456e 7375 7265 2063 7570 732e 7365 7276 Ensure cups.serv
│ │ │ -0020c140: 6963 6520 6973 204d 6173 6b65 640a 2020 ice is Masked.
│ │ │ -0020c150: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -0020c160: 6e2e 7379 7374 656d 643a 0a20 2020 2020 n.systemd:.
│ │ │ -0020c170: 206e 616d 653a 2063 7570 732e 7365 7276 name: cups.serv
│ │ │ -0020c180: 6963 650a 2020 2020 2020 7374 6174 653a ice. state:
│ │ │ -0020c190: 2073 746f 7070 6564 0a20 2020 2020 2065 stopped. e
│ │ │ -0020c1a0: 6e61 626c 6564 3a20 6661 6c73 650a 2020 nabled: false.
│ │ │ -0020c1b0: 2020 2020 6d61 736b 6564 3a20 7472 7565 masked: true
│ │ │ -0020c1c0: 0a20 2020 2077 6865 6e3a 2073 6572 7669 . when: servi
│ │ │ -0020c1d0: 6365 5f65 7869 7374 732e 7374 646f 7574 ce_exists.stdout
│ │ │ -0020c1e0: 5f6c 696e 6573 2069 7320 7365 6172 6368 _lines is search
│ │ │ -0020c1f0: 2822 6375 7073 2e73 6572 7669 6365 222c ("cups.service",
│ │ │ -0020c200: 206d 756c 7469 6c69 6e65 3d54 7275 6529 multiline=True)
│ │ │ -0020c210: 0a0a 2020 2d20 6e61 6d65 3a20 556e 6974 .. - name: Unit
│ │ │ -0020c220: 2053 6f63 6b65 7420 4578 6973 7473 202d Socket Exists -
│ │ │ -0020c230: 2063 7570 732e 736f 636b 6574 0a20 2020 cups.socket.
│ │ │ -0020c240: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -0020c250: 2e63 6f6d 6d61 6e64 3a20 7379 7374 656d .command: system
│ │ │ -0020c260: 6374 6c20 2d71 206c 6973 742d 756e 6974 ctl -q list-unit
│ │ │ -0020c270: 2d66 696c 6573 2063 7570 732e 736f 636b -files cups.sock
│ │ │ -0020c280: 6574 0a20 2020 2072 6567 6973 7465 723a et. register:
│ │ │ -0020c290: 2073 6f63 6b65 745f 6669 6c65 5f65 7869 socket_file_exi
│ │ │ -0020c2a0: 7374 730a 2020 2020 6368 616e 6765 645f sts. changed_
│ │ │ -0020c2b0: 7768 656e 3a20 6661 6c73 650a 2020 2020 when: false.
│ │ │ -0020c2c0: 6661 696c 6564 5f77 6865 6e3a 2073 6f63 failed_when: soc
│ │ │ -0020c2d0: 6b65 745f 6669 6c65 5f65 7869 7374 732e ket_file_exists.
│ │ │ -0020c2e0: 7263 206e 6f74 2069 6e20 5b30 2c20 315d rc not in [0, 1]
│ │ │ -0020c2f0: 0a20 2020 2063 6865 636b 5f6d 6f64 653a . check_mode:
│ │ │ -0020c300: 2066 616c 7365 0a0a 2020 2d20 6e61 6d65 false.. - name
│ │ │ -0020c310: 3a20 4469 7361 626c 6520 7468 6520 4355 : Disable the CU
│ │ │ -0020c320: 5053 2053 6572 7669 6365 202d 2044 6973 PS Service - Dis
│ │ │ -0020c330: 6162 6c65 2053 6f63 6b65 7420 6375 7073 able Socket cups
│ │ │ -0020c340: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ -0020c350: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:.
│ │ │ -0020c360: 2020 2020 6e61 6d65 3a20 6375 7073 2e73 name: cups.s
│ │ │ -0020c370: 6f63 6b65 740a 2020 2020 2020 656e 6162 ocket. enab
│ │ │ -0020c380: 6c65 643a 2066 616c 7365 0a20 2020 2020 led: false.
│ │ │ -0020c390: 2073 7461 7465 3a20 7374 6f70 7065 640a state: stopped.
│ │ │ -0020c3a0: 2020 2020 2020 6d61 736b 6564 3a20 7472 masked: tr
│ │ │ -0020c3b0: 7565 0a20 2020 2077 6865 6e3a 2073 6f63 ue. when: soc
│ │ │ -0020c3c0: 6b65 745f 6669 6c65 5f65 7869 7374 732e ket_file_exists.
│ │ │ -0020c3d0: 7374 646f 7574 5f6c 696e 6573 2069 7320 stdout_lines is
│ │ │ -0020c3e0: 7365 6172 6368 2822 6375 7073 2e73 6f63 search("cups.soc
│ │ │ -0020c3f0: 6b65 7422 2c20 6d75 6c74 696c 696e 653d ket", multiline=
│ │ │ -0020c400: 5472 7565 290a 2020 7461 6773 3a0a 2020 True). tags:.
│ │ │ -0020c410: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -0020c420: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8
│ │ │ -0020c430: 3030 2d35 332d 434d 2d37 2861 290a 2020 00-53-CM-7(a).
│ │ │ -0020c440: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -0020c450: 2d37 2862 290a 2020 2d20 6469 7361 626c -7(b). - disabl
│ │ │ -0020c460: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -0020c470: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -0020c480: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -0020c490: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -0020c4a0: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic
│ │ │ -0020c4b0: 655f 6375 7073 5f64 6973 6162 6c65 640a e_cups_disabled.
│ │ │ -0020c4c0: 2020 2d20 7370 6563 6961 6c5f 7365 7276 - special_serv
│ │ │ -0020c4d0: 6963 655f 626c 6f63 6b0a 2020 2d20 756e ice_block. - un
│ │ │ -0020c4e0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a20 known_severity.
│ │ │ -0020c4f0: 2077 6865 6e3a 2027 226c 696e 7578 2d62 when: '"linux-b
│ │ │ -0020c500: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_
│ │ │ -0020c510: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ +0020b670: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ +0020b680: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +0020b690: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +0020b710: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +0020b740: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +0020b760: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +0020b770: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +0020b790: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +0020b7a0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +0020b7c0: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +0020b7d0: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ +0020b7e0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ +0020b7f0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +0020b800: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ +0020b810: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ +0020b820: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +0020b830: 434d 2d37 2861 290a 2020 2d20 4e49 5354 CM-7(a). - NIST
│ │ │ +0020b840: 2d38 3030 2d35 332d 434d 2d37 2862 290a -800-53-CM-7(b).
│ │ │ +0020b850: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ +0020b860: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +0020b870: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +0020b880: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ +0020b890: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +0020b8a0: 2020 2d20 7365 7276 6963 655f 6375 7073 - service_cups
│ │ │ +0020b8b0: 5f64 6973 6162 6c65 640a 2020 2d20 756e _disabled. - un
│ │ │ +0020b8c0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a0a known_severity..
│ │ │ +0020b8d0: 2d20 6e61 6d65 3a20 4469 7361 626c 6520 - name: Disable
│ │ │ +0020b8e0: 7468 6520 4355 5053 2053 6572 7669 6365 the CUPS Service
│ │ │ +0020b8f0: 202d 2044 6973 6162 6c65 2073 6572 7669 - Disable servi
│ │ │ +0020b900: 6365 2063 7570 730a 2020 626c 6f63 6b3a ce cups. block:
│ │ │ +0020b910: 0a0a 2020 2d20 6e61 6d65 3a20 4469 7361 .. - name: Disa
│ │ │ +0020b920: 626c 6520 7468 6520 4355 5053 2053 6572 ble the CUPS Ser
│ │ │ +0020b930: 7669 6365 202d 2043 6f6c 6c65 6374 2073 vice - Collect s
│ │ │ +0020b940: 7973 7465 6d64 2053 6572 7669 6365 7320 ystemd Services
│ │ │ +0020b950: 5072 6573 656e 7420 696e 2074 6865 2053 Present in the S
│ │ │ +0020b960: 7973 7465 6d0a 2020 2020 616e 7369 626c ystem. ansibl
│ │ │ +0020b970: 652e 6275 696c 7469 6e2e 636f 6d6d 616e e.builtin.comman
│ │ │ +0020b980: 643a 2073 7973 7465 6d63 746c 202d 7120 d: systemctl -q
│ │ │ +0020b990: 6c69 7374 2d75 6e69 742d 6669 6c65 7320 list-unit-files
│ │ │ +0020b9a0: 2d2d 7479 7065 2073 6572 7669 6365 0a20 --type service.
│ │ │ +0020b9b0: 2020 2072 6567 6973 7465 723a 2073 6572 register: ser
│ │ │ +0020b9c0: 7669 6365 5f65 7869 7374 730a 2020 2020 vice_exists.
│ │ │ +0020b9d0: 6368 616e 6765 645f 7768 656e 3a20 6661 changed_when: fa
│ │ │ +0020b9e0: 6c73 650a 2020 2020 6661 696c 6564 5f77 lse. failed_w
│ │ │ +0020b9f0: 6865 6e3a 2073 6572 7669 6365 5f65 7869 hen: service_exi
│ │ │ +0020ba00: 7374 732e 7263 206e 6f74 2069 6e20 5b30 sts.rc not in [0
│ │ │ +0020ba10: 2c20 315d 0a20 2020 2063 6865 636b 5f6d , 1]. check_m
│ │ │ +0020ba20: 6f64 653a 2066 616c 7365 0a0a 2020 2d20 ode: false.. -
│ │ │ +0020ba30: 6e61 6d65 3a20 4469 7361 626c 6520 7468 name: Disable th
│ │ │ +0020ba40: 6520 4355 5053 2053 6572 7669 6365 202d e CUPS Service -
│ │ │ +0020ba50: 2045 6e73 7572 6520 6375 7073 2e73 6572 Ensure cups.ser
│ │ │ +0020ba60: 7669 6365 2069 7320 4d61 736b 6564 0a20 vice is Masked.
│ │ │ +0020ba70: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ +0020ba80: 696e 2e73 7973 7465 6d64 3a0a 2020 2020 in.systemd:.
│ │ │ +0020ba90: 2020 6e61 6d65 3a20 6375 7073 2e73 6572 name: cups.ser
│ │ │ +0020baa0: 7669 6365 0a20 2020 2020 2073 7461 7465 vice. state
│ │ │ +0020bab0: 3a20 7374 6f70 7065 640a 2020 2020 2020 : stopped.
│ │ │ +0020bac0: 656e 6162 6c65 643a 2066 616c 7365 0a20 enabled: false.
│ │ │ +0020bad0: 2020 2020 206d 6173 6b65 643a 2074 7275 masked: tru
│ │ │ +0020bae0: 650a 2020 2020 7768 656e 3a20 7365 7276 e. when: serv
│ │ │ +0020baf0: 6963 655f 6578 6973 7473 2e73 7464 6f75 ice_exists.stdou
│ │ │ +0020bb00: 745f 6c69 6e65 7320 6973 2073 6561 7263 t_lines is searc
│ │ │ +0020bb10: 6828 2263 7570 732e 7365 7276 6963 6522 h("cups.service"
│ │ │ +0020bb20: 2c20 6d75 6c74 696c 696e 653d 5472 7565 , multiline=True
│ │ │ +0020bb30: 290a 0a20 202d 206e 616d 653a 2055 6e69 ).. - name: Uni
│ │ │ +0020bb40: 7420 536f 636b 6574 2045 7869 7374 7320 t Socket Exists
│ │ │ +0020bb50: 2d20 6375 7073 2e73 6f63 6b65 740a 2020 - cups.socket.
│ │ │ +0020bb60: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +0020bb70: 6e2e 636f 6d6d 616e 643a 2073 7973 7465 n.command: syste
│ │ │ +0020bb80: 6d63 746c 202d 7120 6c69 7374 2d75 6e69 mctl -q list-uni
│ │ │ +0020bb90: 742d 6669 6c65 7320 6375 7073 2e73 6f63 t-files cups.soc
│ │ │ +0020bba0: 6b65 740a 2020 2020 7265 6769 7374 6572 ket. register
│ │ │ +0020bbb0: 3a20 736f 636b 6574 5f66 696c 655f 6578 : socket_file_ex
│ │ │ +0020bbc0: 6973 7473 0a20 2020 2063 6861 6e67 6564 ists. changed
│ │ │ +0020bbd0: 5f77 6865 6e3a 2066 616c 7365 0a20 2020 _when: false.
│ │ │ +0020bbe0: 2066 6169 6c65 645f 7768 656e 3a20 736f failed_when: so
│ │ │ +0020bbf0: 636b 6574 5f66 696c 655f 6578 6973 7473 cket_file_exists
│ │ │ +0020bc00: 2e72 6320 6e6f 7420 696e 205b 302c 2031 .rc not in [0, 1
│ │ │ +0020bc10: 5d0a 2020 2020 6368 6563 6b5f 6d6f 6465 ]. check_mode
│ │ │ +0020bc20: 3a20 6661 6c73 650a 0a20 202d 206e 616d : false.. - nam
│ │ │ +0020bc30: 653a 2044 6973 6162 6c65 2074 6865 2043 e: Disable the C
│ │ │ +0020bc40: 5550 5320 5365 7276 6963 6520 2d20 4469 UPS Service - Di
│ │ │ +0020bc50: 7361 626c 6520 536f 636b 6574 2063 7570 sable Socket cup
│ │ │ +0020bc60: 730a 2020 2020 616e 7369 626c 652e 6275 s. ansible.bu
│ │ │ +0020bc70: 696c 7469 6e2e 7379 7374 656d 643a 0a20 iltin.systemd:.
│ │ │ +0020bc80: 2020 2020 206e 616d 653a 2063 7570 732e name: cups.
│ │ │ +0020bc90: 736f 636b 6574 0a20 2020 2020 2065 6e61 socket. ena
│ │ │ +0020bca0: 626c 6564 3a20 6661 6c73 650a 2020 2020 bled: false.
│ │ │ +0020bcb0: 2020 7374 6174 653a 2073 746f 7070 6564 state: stopped
│ │ │ +0020bcc0: 0a20 2020 2020 206d 6173 6b65 643a 2074 . masked: t
│ │ │ +0020bcd0: 7275 650a 2020 2020 7768 656e 3a20 736f rue. when: so
│ │ │ +0020bce0: 636b 6574 5f66 696c 655f 6578 6973 7473 cket_file_exists
│ │ │ +0020bcf0: 2e73 7464 6f75 745f 6c69 6e65 7320 6973 .stdout_lines is
│ │ │ +0020bd00: 2073 6561 7263 6828 2263 7570 732e 736f search("cups.so
│ │ │ +0020bd10: 636b 6574 222c 206d 756c 7469 6c69 6e65 cket", multiline
│ │ │ +0020bd20: 3d54 7275 6529 0a20 2074 6167 733a 0a20 =True). tags:.
│ │ │ +0020bd30: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +0020bd40: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST-
│ │ │ +0020bd50: 3830 302d 3533 2d43 4d2d 3728 6129 0a20 800-53-CM-7(a).
│ │ │ +0020bd60: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +0020bd70: 4d2d 3728 6229 0a20 202d 2064 6973 6162 M-7(b). - disab
│ │ │ +0020bd80: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +0020bd90: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +0020bda0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +0020bdb0: 6e0a 2020 2d20 6e6f 5f72 6562 6f6f 745f n. - no_reboot_
│ │ │ +0020bdc0: 6e65 6564 6564 0a20 202d 2073 6572 7669 needed. - servi
│ │ │ +0020bdd0: 6365 5f63 7570 735f 6469 7361 626c 6564 ce_cups_disabled
│ │ │ +0020bde0: 0a20 202d 2073 7065 6369 616c 5f73 6572 . - special_ser
│ │ │ +0020bdf0: 7669 6365 5f62 6c6f 636b 0a20 202d 2075 vice_block. - u
│ │ │ +0020be00: 6e6b 6e6f 776e 5f73 6576 6572 6974 790a nknown_severity.
│ │ │ +0020be10: 2020 7768 656e 3a20 2722 6c69 6e75 782d when: '"linux-
│ │ │ +0020be20: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ +0020be30: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +0020be40: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +0020be50: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Kub
│ │ │ +0020bf00: 6572 6e65 7465 7320 736e 6970 7065 7420 ernetes snippet
│ │ │ +0020bf10: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +0020bfa0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +0020bfc0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: medium Reboot
│ │ │ +0020bff0: 3a3c 2f74 683e 3c74 643e 7472 7565 3c2f : true
│ │ │ +0020c000: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0020c010: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +0020c030: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +0020c040: 3c63 6f64 653e 6170 6956 6572 7369 6f6e apiVersion
│ │ │ +0020c050: 3a20 6d61 6368 696e 6563 6f6e 6669 6775 : machineconfigu
│ │ │ +0020c060: 7261 7469 6f6e 2e6f 7065 6e73 6869 6674 ration.openshift
│ │ │ +0020c070: 2e69 6f2f 7631 0a6b 696e 643a 204d 6163 .io/v1.kind: Mac
│ │ │ +0020c080: 6869 6e65 436f 6e66 6967 0a73 7065 633a hineConfig.spec:
│ │ │ +0020c090: 0a20 2063 6f6e 6669 673a 0a20 2020 2069 . config:. i
│ │ │ +0020c0a0: 676e 6974 696f 6e3a 0a20 2020 2020 2076 gnition:. v
│ │ │ +0020c0b0: 6572 7369 6f6e 3a20 332e 312e 300a 2020 ersion: 3.1.0.
│ │ │ +0020c0c0: 2020 7379 7374 656d 643a 0a20 2020 2020 systemd:.
│ │ │ +0020c0d0: 2075 6e69 7473 3a0a 2020 2020 2020 2d20 units:. -
│ │ │ +0020c0e0: 6e61 6d65 3a20 6375 7073 2e73 6572 7669 name: cups.servi
│ │ │ +0020c0f0: 6365 0a20 2020 2020 2020 2065 6e61 626c ce. enabl
│ │ │ +0020c100: 6564 3a20 6661 6c73 650a 2020 2020 2020 ed: false.
│ │ │ +0020c110: 2020 6d61 736b 3a20 7472 7565 0a20 2020 mask: true.
│ │ │ +0020c120: 2020 202d 206e 616d 653a 2063 7570 732e - name: cups.
│ │ │ +0020c130: 736f 636b 6574 0a20 2020 2020 2020 2065 socket. e
│ │ │ +0020c140: 6e61 626c 6564 3a20 6661 6c73 650a 2020 nabled: false.
│ │ │ +0020c150: 2020 2020 2020 6d61 736b 3a20 7472 7565 mask: true
│ │ │ +0020c160: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +0020c170: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ +0020c220: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +0020c230: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +0020c2e0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +0020c2f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +0020c300: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +0020c310: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +0020c330: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +0020c340: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ +0020c360: 6e63 6c75 6465 2064 6973 6162 6c65 5f63 nclude disable_c
│ │ │ +0020c370: 7570 730a 0a63 6c61 7373 2064 6973 6162 ups..class disab
│ │ │ +0020c380: 6c65 5f63 7570 7320 7b0a 2020 7365 7276 le_cups {. serv
│ │ │ +0020c390: 6963 6520 7b27 6375 7073 273a 0a20 2020 ice {'cups':.
│ │ │ +0020c3a0: 2065 6e61 626c 6520 3d26 6774 3b20 6661 enable => fa
│ │ │ +0020c3b0: 6c73 652c 0a20 2020 2065 6e73 7572 6520 lse,. ensure
│ │ │ +0020c3c0: 3d26 6774 3b20 2773 746f 7070 6564 272c => 'stopped',
│ │ │ +0020c3d0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ +0020c3e0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ +0020c490: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ +0020c4a0: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ +0020c4b0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[customizati
│ │ │ +0020c500: 6f6e 732e 7365 7276 6963 6573 5d0a 6d61 ons.services].ma
│ │ │ +0020c510: 736b 6564 203d 205b 2263 7570 7322 5d0a sked = ["cups"].
│ │ │ 0020c520: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
R
│ │ │ -0020db20: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -0020db30: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ -0020dbc0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -0020dbd0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0020dbe0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -0020dbf0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -0020dc00: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -0020dc30: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -0020dc40: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -0020dc50: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ -0020dc70: 6e63 6c75 6465 2072 656d 6f76 655f 7371 nclude remove_sq
│ │ │ -0020dc80: 7569 640a 0a63 6c61 7373 2072 656d 6f76 uid..class remov
│ │ │ -0020dc90: 655f 7371 7569 6420 7b0a 2020 7061 636b e_squid {. pack
│ │ │ -0020dca0: 6167 6520 7b20 2773 7175 6964 273a 0a20 age { 'squid':.
│ │ │ -0020dcb0: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -0020dcc0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}.
│ │ │ -0020dcd0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -0020dd80: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ -0020dd90: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ -0020dda0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -0020de50: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -0020de60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -0020de70: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -0020de80: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -0020dea0: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ -0020deb0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -0020ded0: 2d20 6e61 6d65 3a20 2755 6e69 6e73 7461 - name: 'Uninsta
│ │ │ -0020dee0: 6c6c 2073 7175 6964 2050 6163 6b61 6765 ll squid Package
│ │ │ -0020def0: 3a20 456e 7375 7265 2073 7175 6964 2069 : Ensure squid i
│ │ │ -0020df00: 7320 7265 6d6f 7665 6427 0a20 2061 6e73 s removed'. ans
│ │ │ -0020df10: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ -0020df20: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ -0020df30: 7371 7569 640a 2020 2020 7374 6174 653a squid. state:
│ │ │ -0020df40: 2061 6273 656e 740a 2020 7461 6773 3a0a absent. tags:.
│ │ │ -0020df50: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ -0020df60: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -0020df70: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -0020df80: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ -0020df90: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -0020dfa0: 2020 2d20 7061 636b 6167 655f 7371 7569 - package_squi
│ │ │ -0020dfb0: 645f 7265 6d6f 7665 640a 2020 2d20 756e d_removed. - un
│ │ │ -0020dfc0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c known_severity.<
│ │ │ +0020db20: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ +0020db30: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ +0020db40: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +0020dbc0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +0020dbd0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +0020dbf0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +0020dc00: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +0020dc40: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +0020dc50: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +0020dc70: 206e 616d 653a 2027 556e 696e 7374 616c name: 'Uninstal
│ │ │ +0020dc80: 6c20 7371 7569 6420 5061 636b 6167 653a l squid Package:
│ │ │ +0020dc90: 2045 6e73 7572 6520 7371 7569 6420 6973 Ensure squid is
│ │ │ +0020dca0: 2072 656d 6f76 6564 270a 2020 616e 7369 removed'. ansi
│ │ │ +0020dcb0: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ +0020dcc0: 6167 653a 0a20 2020 206e 616d 653a 2073 age:. name: s
│ │ │ +0020dcd0: 7175 6964 0a20 2020 2073 7461 7465 3a20 quid. state:
│ │ │ +0020dce0: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ +0020dcf0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ +0020dd00: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +0020dd10: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +0020dd20: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no
│ │ │ +0020dd30: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +0020dd40: 202d 2070 6163 6b61 6765 5f73 7175 6964 - package_squid
│ │ │ +0020dd50: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk
│ │ │ +0020dd60: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.
│ │ │ +0020dd70: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +0020de20: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ +0020de30: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +0020de40: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +0020dec0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +0020dee0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +0020def0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +0020df00: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0020df10: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +0020df20: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +0020df30: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +0020df40: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +0020df50: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ +0020df70: 636c 7564 6520 7265 6d6f 7665 5f73 7175 clude remove_squ
│ │ │ +0020df80: 6964 0a0a 636c 6173 7320 7265 6d6f 7665 id..class remove
│ │ │ +0020df90: 5f73 7175 6964 207b 0a20 2070 6163 6b61 _squid {. packa
│ │ │ +0020dfa0: 6765 207b 2027 7371 7569 6427 3a0a 2020 ge { 'squid':.
│ │ │ +0020dfb0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +0020dfc0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.<
│ │ │ 0020dfd0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -0020f400: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -0020f410: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ -0020f4a0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -0020f4b0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0020f4c0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -0020f4d0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -0020f4e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -0020f510: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -0020f520: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -0020f530: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ -0020f550: 6e63 6c75 6465 2072 656d 6f76 655f 7361 nclude remove_sa
│ │ │ -0020f560: 6d62 610a 0a63 6c61 7373 2072 656d 6f76 mba..class remov
│ │ │ -0020f570: 655f 7361 6d62 6120 7b0a 2020 7061 636b e_samba {. pack
│ │ │ -0020f580: 6167 6520 7b20 2773 616d 6261 273a 0a20 age { 'samba':.
│ │ │ -0020f590: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -0020f5a0: 2770 7572 6765 6427 2c0a 2020 7d0a 7d0a 'purged',. }.}.
│ │ │ -0020f5b0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -0020f660: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ -0020f670: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ -0020f680: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -0020f730: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -0020f740: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -0020f750: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -0020f760: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -0020f780: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ -0020f790: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -0020f7b0: 2d20 6e61 6d65 3a20 2755 6e69 6e73 7461 - name: 'Uninsta
│ │ │ -0020f7c0: 6c6c 2053 616d 6261 2050 6163 6b61 6765 ll Samba Package
│ │ │ -0020f7d0: 3a20 456e 7375 7265 2073 616d 6261 2069 : Ensure samba i
│ │ │ -0020f7e0: 7320 7265 6d6f 7665 6427 0a20 2061 6e73 s removed'. ans
│ │ │ -0020f7f0: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ -0020f800: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ -0020f810: 7361 6d62 610a 2020 2020 7374 6174 653a samba. state:
│ │ │ -0020f820: 2061 6273 656e 740a 2020 7461 6773 3a0a absent. tags:.
│ │ │ -0020f830: 2020 2d20 6469 7361 626c 655f 7374 7261 - disable_stra
│ │ │ -0020f840: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ -0020f850: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -0020f860: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ -0020f870: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -0020f880: 2020 2d20 7061 636b 6167 655f 7361 6d62 - package_samb
│ │ │ -0020f890: 615f 7265 6d6f 7665 640a 2020 2d20 756e a_removed. - un
│ │ │ -0020f8a0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a3c known_severity.<
│ │ │ +0020f400: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ +0020f410: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ +0020f420: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +0020f4a0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +0020f4b0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +0020f4d0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +0020f4e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +0020f520: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +0020f530: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +0020f550: 206e 616d 653a 2027 556e 696e 7374 616c name: 'Uninstal
│ │ │ +0020f560: 6c20 5361 6d62 6120 5061 636b 6167 653a l Samba Package:
│ │ │ +0020f570: 2045 6e73 7572 6520 7361 6d62 6120 6973 Ensure samba is
│ │ │ +0020f580: 2072 656d 6f76 6564 270a 2020 616e 7369 removed'. ansi
│ │ │ +0020f590: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ +0020f5a0: 6167 653a 0a20 2020 206e 616d 653a 2073 age:. name: s
│ │ │ +0020f5b0: 616d 6261 0a20 2020 2073 7461 7465 3a20 amba. state:
│ │ │ +0020f5c0: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ +0020f5d0: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ +0020f5e0: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +0020f5f0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +0020f600: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no
│ │ │ +0020f610: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +0020f620: 202d 2070 6163 6b61 6765 5f73 616d 6261 - package_samba
│ │ │ +0020f630: 5f72 656d 6f76 6564 0a20 202d 2075 6e6b _removed. - unk
│ │ │ +0020f640: 6e6f 776e 5f73 6576 6572 6974 790a 3c2f nown_severity.
│ │ │ +0020f650: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +0020f700: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ +0020f710: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +0020f720: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +0020f7a0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +0020f7c0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +0020f7d0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +0020f7e0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0020f7f0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +0020f800: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +0020f810: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +0020f820: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +0020f830: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ +0020f850: 636c 7564 6520 7265 6d6f 7665 5f73 616d clude remove_sam
│ │ │ +0020f860: 6261 0a0a 636c 6173 7320 7265 6d6f 7665 ba..class remove
│ │ │ +0020f870: 5f73 616d 6261 207b 0a20 2070 6163 6b61 _samba {. packa
│ │ │ +0020f880: 6765 207b 2027 7361 6d62 6127 3a0a 2020 ge { 'samba':.
│ │ │ +0020f890: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +0020f8a0: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.<
│ │ │ 0020f8b0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediation
│ │ │ -00210cc0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ -00210cd0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -00210d50: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -00210d60: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -00210d70: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -00210d80: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -00210dc0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -00210dd0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ -00210de0: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ -00210df0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
.include remo
│ │ │ -00210e10: 7665 5f73 6e6d 700a 0a63 6c61 7373 2072 ve_snmp..class r
│ │ │ -00210e20: 656d 6f76 655f 736e 6d70 207b 0a20 2070 emove_snmp {. p
│ │ │ -00210e30: 6163 6b61 6765 207b 2027 736e 6d70 273a ackage { 'snmp':
│ │ │ -00210e40: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -00210e50: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ -00210e60: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -00210e70: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -00210f20: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -00210f30: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -00210fb0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -00210fc0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00210fd0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -00210fe0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -00210ff0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -00211020: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -00211030: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -00211040: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -00211050: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: 'Unins
│ │ │ -00211070: 7461 6c6c 206e 6574 2d73 6e6d 7020 5061 tall net-snmp Pa
│ │ │ -00211080: 636b 6167 653a 2045 6e73 7572 6520 736e ckage: Ensure sn
│ │ │ -00211090: 6d70 2069 7320 7265 6d6f 7665 6427 0a20 mp is removed'.
│ │ │ -002110a0: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -002110b0: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -002110c0: 6d65 3a20 736e 6d70 0a20 2020 2073 7461 me: snmp. sta
│ │ │ -002110d0: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ -002110e0: 733a 0a20 202d 2050 4349 2d44 5353 7634 s:. - PCI-DSSv4
│ │ │ -002110f0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353 -2.2. - PCI-DSS
│ │ │ -00211100: 7634 2d32 2e32 2e34 0a20 202d 2064 6973 v4-2.2.4. - dis
│ │ │ -00211110: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -00211120: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -00211130: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -00211140: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo
│ │ │ -00211150: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ -00211160: 6b61 6765 5f6e 6574 2d73 6e6d 705f 7265 kage_net-snmp_re
│ │ │ -00211170: 6d6f 7665 640a 2020 2d20 756e 6b6e 6f77 moved. - unknow
│ │ │ -00211180: 6e5f 7365 7665 7269 7479 0a3c 2f63 6f64 n_severity.
Complexity:
│ │ │ +00210d60: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +00210d80: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +00210da0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +00210db0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +00210dd0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +00210de0: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: 'Uni
│ │ │ +00210e10: 6e73 7461 6c6c 206e 6574 2d73 6e6d 7020 nstall net-snmp
│ │ │ +00210e20: 5061 636b 6167 653a 2045 6e73 7572 6520 Package: Ensure
│ │ │ +00210e30: 736e 6d70 2069 7320 7265 6d6f 7665 6427 snmp is removed'
│ │ │ +00210e40: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ +00210e50: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ +00210e60: 6e61 6d65 3a20 736e 6d70 0a20 2020 2073 name: snmp. s
│ │ │ +00210e70: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ +00210e80: 6167 733a 0a20 202d 2050 4349 2d44 5353 ags:. - PCI-DSS
│ │ │ +00210e90: 7634 2d32 2e32 0a20 202d 2050 4349 2d44 v4-2.2. - PCI-D
│ │ │ +00210ea0: 5353 7634 2d32 2e32 2e34 0a20 202d 2064 SSv4-2.2.4. - d
│ │ │ +00210eb0: 6973 6162 6c65 5f73 7472 6174 6567 790a isable_strategy.
│ │ │ +00210ec0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +00210ed0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +00210ee0: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ +00210ef0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +00210f00: 6163 6b61 6765 5f6e 6574 2d73 6e6d 705f ackage_net-snmp_
│ │ │ +00210f10: 7265 6d6f 7665 640a 2020 2d20 756e 6b6e removed. - unkn
│ │ │ +00210f20: 6f77 6e5f 7365 7665 7269 7479 0a3c 2f63 own_severity.
│ │ │ +00210f40: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +00210fe0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +00210ff0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +00211000: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +00211080: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +002110b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +002110d0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +002110e0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +00211100: 2f74 683e 3c74 643e 6469 7361 626c 653c /th> disable<
│ │ │ +00211110: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
.inc
│ │ │ +00211130: 6c75 6465 2072 656d 6f76 655f 736e 6d70 lude remove_snmp
│ │ │ +00211140: 0a0a 636c 6173 7320 7265 6d6f 7665 5f73 ..class remove_s
│ │ │ +00211150: 6e6d 7020 7b0a 2020 7061 636b 6167 6520 nmp {. package
│ │ │ +00211160: 7b20 2773 6e6d 7027 3a0a 2020 2020 656e { 'snmp':. en
│ │ │ +00211170: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ +00211180: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remedia
│ │ │ -00242d90: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ -00242da0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -00242db0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -00242dc0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -00242dd0: 7365 2220 6964 3d22 6964 3835 3922 3e3c se" id="id859"><
│ │ │ -00242de0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ
│ │ │ -00242df0: 6520 7373 685f 7072 6976 6174 655f 6b65 e ssh_private_ke
│ │ │ -00242e00: 795f 7065 726d 730a 0a63 6c61 7373 2073 y_perms..class s
│ │ │ -00242e10: 7368 5f70 7269 7661 7465 5f6b 6579 5f70 sh_private_key_p
│ │ │ -00242e20: 6572 6d73 207b 0a20 2065 7865 6320 7b20 erms {. exec {
│ │ │ -00242e30: 2773 7368 645f 7072 6976 5f6b 6579 273a 'sshd_priv_key':
│ │ │ -00242e40: 0a20 2020 2063 6f6d 6d61 6e64 203d 2667 . command =&g
│ │ │ -00242e50: 743b 2022 6368 6d6f 6420 3036 3430 202f t; "chmod 0640 /
│ │ │ -00242e60: 6574 632f 7373 682f 2a5f 6b65 7922 2c0a etc/ssh/*_key",.
│ │ │ -00242e70: 2020 2020 7061 7468 2020 2020 3d26 6774 path =>
│ │ │ -00242e80: 3b20 272f 6269 6e3a 2f75 7372 2f62 696e ; '/bin:/usr/bin
│ │ │ -00242e90: 270a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c '. }.}.<
│ │ │ -00242ea0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediat
│ │ │ -00242f50: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ -00242f60: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -00242f70: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -00242f80: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -00242f90: 7365 2220 6964 3d22 6964 3836 3022 3e3c se" id="id860"><
│ │ │ -00242fa0: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -00242fb0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -00242fc0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -00242fd0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -00242fe0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -00242ff0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -00243000: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -00243030: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -00243040: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -00243050: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -00243070: 3c74 643e 636f 6e66 6967 7572 653c 2f74 configure
<
│ │ │ -00243090: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -002430a0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ -002430b0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ -002430c0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ -002430d0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ -002430e0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ -002430f0: 3030 2d31 3731 2d33 2e31 2e31 330a 2020 00-171-3.1.13.
│ │ │ -00243100: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3
│ │ │ -00243110: 2e31 332e 3130 0a20 202d 204e 4953 542d .13.10. - NIST-
│ │ │ -00243120: 3830 302d 3533 2d41 432d 3137 2861 290a 800-53-AC-17(a).
│ │ │ -00243130: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -00243140: 4143 2d36 2831 290a 2020 2d20 4e49 5354 AC-6(1). - NIST
│ │ │ -00243150: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -00243160: 2020 2d20 5043 492d 4453 532d 5265 712d - PCI-DSS-Req-
│ │ │ -00243170: 322e 322e 340a 2020 2d20 5043 492d 4453 2.2.4. - PCI-DS
│ │ │ -00243180: 5376 342d 322e 320a 2020 2d20 5043 492d Sv4-2.2. - PCI-
│ │ │ -00243190: 4453 5376 342d 322e 322e 360a 2020 2d20 DSSv4-2.2.6. -
│ │ │ -002431a0: 636f 6e66 6967 7572 655f 7374 7261 7465 configure_strate
│ │ │ -002431b0: 6779 0a20 202d 2066 696c 655f 7065 726d gy. - file_perm
│ │ │ -002431c0: 6973 7369 6f6e 735f 7373 6864 5f70 7269 issions_sshd_pri
│ │ │ -002431d0: 7661 7465 5f6b 6579 0a20 202d 206c 6f77 vate_key. - low
│ │ │ -002431e0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -002431f0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -00243200: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -00243210: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -00243220: 5f6e 6565 6465 640a 0a2d 206e 616d 653a _needed..- name:
│ │ │ -00243230: 2046 696e 6420 726f 6f74 3a72 6f6f 742d Find root:root-
│ │ │ -00243240: 6f77 6e65 6420 6b65 7973 0a20 2061 6e73 owned keys. ans
│ │ │ -00243250: 6962 6c65 2e62 7569 6c74 696e 2e63 6f6d ible.builtin.com
│ │ │ -00243260: 6d61 6e64 3a20 6669 6e64 202d 4820 2f65 mand: find -H /e
│ │ │ -00243270: 7463 2f73 7368 2f20 2d6d 6178 6465 7074 tc/ssh/ -maxdept
│ │ │ -00243280: 6820 3120 2d75 7365 7220 726f 6f74 202d h 1 -user root -
│ │ │ -00243290: 7265 6765 7820 222e 2a5f 6b65 7924 220a regex ".*_key$".
│ │ │ -002432a0: 2020 2020 2d74 7970 6520 6620 2d67 726f -type f -gro
│ │ │ -002432b0: 7570 2072 6f6f 7420 2d70 6572 6d20 2f75 up root -perm /u
│ │ │ -002432c0: 2b78 732c 672b 7877 7273 2c6f 2b78 7772 +xs,g+xwrs,o+xwr
│ │ │ -002432d0: 740a 2020 7265 6769 7374 6572 3a20 726f t. register: ro
│ │ │ -002432e0: 6f74 5f6f 776e 6564 5f6b 6579 730a 2020 ot_owned_keys.
│ │ │ -002432f0: 6368 616e 6765 645f 7768 656e 3a20 6661 changed_when: fa
│ │ │ -00243300: 6c73 650a 2020 6661 696c 6564 5f77 6865 lse. failed_whe
│ │ │ -00243310: 6e3a 2066 616c 7365 0a20 2063 6865 636b n: false. check
│ │ │ -00243320: 5f6d 6f64 653a 2066 616c 7365 0a20 2077 _mode: false. w
│ │ │ -00243330: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas
│ │ │ -00243340: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ -00243350: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ -00243360: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ -00243370: 3030 2d31 3731 2d33 2e31 2e31 330a 2020 00-171-3.1.13.
│ │ │ -00243380: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3
│ │ │ -00243390: 2e31 332e 3130 0a20 202d 204e 4953 542d .13.10. - NIST-
│ │ │ -002433a0: 3830 302d 3533 2d41 432d 3137 2861 290a 800-53-AC-17(a).
│ │ │ -002433b0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -002433c0: 4143 2d36 2831 290a 2020 2d20 4e49 5354 AC-6(1). - NIST
│ │ │ -002433d0: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -002433e0: 2020 2d20 5043 492d 4453 532d 5265 712d - PCI-DSS-Req-
│ │ │ -002433f0: 322e 322e 340a 2020 2d20 5043 492d 4453 2.2.4. - PCI-DS
│ │ │ -00243400: 5376 342d 322e 320a 2020 2d20 5043 492d Sv4-2.2. - PCI-
│ │ │ -00243410: 4453 5376 342d 322e 322e 360a 2020 2d20 DSSv4-2.2.6. -
│ │ │ -00243420: 636f 6e66 6967 7572 655f 7374 7261 7465 configure_strate
│ │ │ -00243430: 6779 0a20 202d 2066 696c 655f 7065 726d gy. - file_perm
│ │ │ -00243440: 6973 7369 6f6e 735f 7373 6864 5f70 7269 issions_sshd_pri
│ │ │ -00243450: 7661 7465 5f6b 6579 0a20 202d 206c 6f77 vate_key. - low
│ │ │ -00243460: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -00243470: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -00243480: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -00243490: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -002434a0: 5f6e 6565 6465 640a 0a2d 206e 616d 653a _needed..- name:
│ │ │ -002434b0: 2053 6574 2070 6572 6d69 7373 696f 6e73 Set permissions
│ │ │ -002434c0: 2066 6f72 2072 6f6f 743a 726f 6f74 2d6f for root:root-o
│ │ │ -002434d0: 776e 6564 206b 6579 730a 2020 616e 7369 wned keys. ansi
│ │ │ -002434e0: 626c 652e 6275 696c 7469 6e2e 6669 6c65 ble.builtin.file
│ │ │ -002434f0: 3a0a 2020 2020 7061 7468 3a20 277b 7b20 :. path: '{{
│ │ │ -00243500: 6974 656d 207d 7d27 0a20 2020 206d 6f64 item }}'. mod
│ │ │ -00243510: 653a 2075 2d78 732c 672d 7877 7273 2c6f e: u-xs,g-xwrs,o
│ │ │ -00243520: 2d78 7772 740a 2020 2020 7374 6174 653a -xwrt. state:
│ │ │ -00243530: 2066 696c 650a 2020 7769 7468 5f69 7465 file. with_ite
│ │ │ -00243540: 6d73 3a0a 2020 2d20 277b 7b20 726f 6f74 ms:. - '{{ root
│ │ │ -00243550: 5f6f 776e 6564 5f6b 6579 732e 7374 646f _owned_keys.stdo
│ │ │ -00243560: 7574 5f6c 696e 6573 207d 7d27 0a20 2077 ut_lines }}'. w
│ │ │ -00243570: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas
│ │ │ -00243580: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ -00243590: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ -002435a0: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ -002435b0: 3030 2d31 3731 2d33 2e31 2e31 330a 2020 00-171-3.1.13.
│ │ │ -002435c0: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3
│ │ │ -002435d0: 2e31 332e 3130 0a20 202d 204e 4953 542d .13.10. - NIST-
│ │ │ -002435e0: 3830 302d 3533 2d41 432d 3137 2861 290a 800-53-AC-17(a).
│ │ │ -002435f0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -00243600: 4143 2d36 2831 290a 2020 2d20 4e49 5354 AC-6(1). - NIST
│ │ │ -00243610: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ -00243620: 2020 2d20 5043 492d 4453 532d 5265 712d - PCI-DSS-Req-
│ │ │ -00243630: 322e 322e 340a 2020 2d20 5043 492d 4453 2.2.4. - PCI-DS
│ │ │ -00243640: 5376 342d 322e 320a 2020 2d20 5043 492d Sv4-2.2. - PCI-
│ │ │ -00243650: 4453 5376 342d 322e 322e 360a 2020 2d20 DSSv4-2.2.6. -
│ │ │ -00243660: 636f 6e66 6967 7572 655f 7374 7261 7465 configure_strate
│ │ │ -00243670: 6779 0a20 202d 2066 696c 655f 7065 726d gy. - file_perm
│ │ │ -00243680: 6973 7369 6f6e 735f 7373 6864 5f70 7269 issions_sshd_pri
│ │ │ -00243690: 7661 7465 5f6b 6579 0a20 202d 206c 6f77 vate_key. - low
│ │ │ -002436a0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -002436b0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -002436c0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -002436d0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -002436e0: 5f6e 6565 6465 640a 3c2f 636f 6465 3e3c _needed.<
│ │ │ +00242d90: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ +00242da0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00242db0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +00242de0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +00242e30: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +00242e40: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00242e50: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +00242e60: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +00242e70: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +00242e80: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +00242e90: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +00242ea0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:configure
│ │ │ +00242ec0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +00242ed0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +00242ee0: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ +00242ef0: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ +00242f00: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ +00242f10: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ +00242f20: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ +00242f30: 3830 302d 3137 312d 332e 312e 3133 0a20 800-171-3.1.13.
│ │ │ +00242f40: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171-
│ │ │ +00242f50: 332e 3133 2e31 300a 2020 2d20 4e49 5354 3.13.10. - NIST
│ │ │ +00242f60: 2d38 3030 2d35 332d 4143 2d31 3728 6129 -800-53-AC-17(a)
│ │ │ +00242f70: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +00242f80: 2d41 432d 3628 3129 0a20 202d 204e 4953 -AC-6(1). - NIS
│ │ │ +00242f90: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +00242fa0: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ +00242fb0: 2d32 2e32 2e34 0a20 202d 2050 4349 2d44 -2.2.4. - PCI-D
│ │ │ +00242fc0: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI
│ │ │ +00242fd0: 2d44 5353 7634 2d32 2e32 2e36 0a20 202d -DSSv4-2.2.6. -
│ │ │ +00242fe0: 2063 6f6e 6669 6775 7265 5f73 7472 6174 configure_strat
│ │ │ +00242ff0: 6567 790a 2020 2d20 6669 6c65 5f70 6572 egy. - file_per
│ │ │ +00243000: 6d69 7373 696f 6e73 5f73 7368 645f 7072 missions_sshd_pr
│ │ │ +00243010: 6976 6174 655f 6b65 790a 2020 2d20 6c6f ivate_key. - lo
│ │ │ +00243020: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +00243030: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +00243040: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +00243050: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +00243060: 745f 6e65 6564 6564 0a0a 2d20 6e61 6d65 t_needed..- name
│ │ │ +00243070: 3a20 4669 6e64 2072 6f6f 743a 726f 6f74 : Find root:root
│ │ │ +00243080: 2d6f 776e 6564 206b 6579 730a 2020 616e -owned keys. an
│ │ │ +00243090: 7369 626c 652e 6275 696c 7469 6e2e 636f sible.builtin.co
│ │ │ +002430a0: 6d6d 616e 643a 2066 696e 6420 2d48 202f mmand: find -H /
│ │ │ +002430b0: 6574 632f 7373 682f 202d 6d61 7864 6570 etc/ssh/ -maxdep
│ │ │ +002430c0: 7468 2031 202d 7573 6572 2072 6f6f 7420 th 1 -user root
│ │ │ +002430d0: 2d72 6567 6578 2022 2e2a 5f6b 6579 2422 -regex ".*_key$"
│ │ │ +002430e0: 0a20 2020 202d 7479 7065 2066 202d 6772 . -type f -gr
│ │ │ +002430f0: 6f75 7020 726f 6f74 202d 7065 726d 202f oup root -perm /
│ │ │ +00243100: 752b 7873 2c67 2b78 7772 732c 6f2b 7877 u+xs,g+xwrs,o+xw
│ │ │ +00243110: 7274 0a20 2072 6567 6973 7465 723a 2072 rt. register: r
│ │ │ +00243120: 6f6f 745f 6f77 6e65 645f 6b65 7973 0a20 oot_owned_keys.
│ │ │ +00243130: 2063 6861 6e67 6564 5f77 6865 6e3a 2066 changed_when: f
│ │ │ +00243140: 616c 7365 0a20 2066 6169 6c65 645f 7768 alse. failed_wh
│ │ │ +00243150: 656e 3a20 6661 6c73 650a 2020 6368 6563 en: false. chec
│ │ │ +00243160: 6b5f 6d6f 6465 3a20 6661 6c73 650a 2020 k_mode: false.
│ │ │ +00243170: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba
│ │ │ +00243180: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ +00243190: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ +002431a0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ +002431b0: 3830 302d 3137 312d 332e 312e 3133 0a20 800-171-3.1.13.
│ │ │ +002431c0: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171-
│ │ │ +002431d0: 332e 3133 2e31 300a 2020 2d20 4e49 5354 3.13.10. - NIST
│ │ │ +002431e0: 2d38 3030 2d35 332d 4143 2d31 3728 6129 -800-53-AC-17(a)
│ │ │ +002431f0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +00243200: 2d41 432d 3628 3129 0a20 202d 204e 4953 -AC-6(1). - NIS
│ │ │ +00243210: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +00243220: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ +00243230: 2d32 2e32 2e34 0a20 202d 2050 4349 2d44 -2.2.4. - PCI-D
│ │ │ +00243240: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI
│ │ │ +00243250: 2d44 5353 7634 2d32 2e32 2e36 0a20 202d -DSSv4-2.2.6. -
│ │ │ +00243260: 2063 6f6e 6669 6775 7265 5f73 7472 6174 configure_strat
│ │ │ +00243270: 6567 790a 2020 2d20 6669 6c65 5f70 6572 egy. - file_per
│ │ │ +00243280: 6d69 7373 696f 6e73 5f73 7368 645f 7072 missions_sshd_pr
│ │ │ +00243290: 6976 6174 655f 6b65 790a 2020 2d20 6c6f ivate_key. - lo
│ │ │ +002432a0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +002432b0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +002432c0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +002432d0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +002432e0: 745f 6e65 6564 6564 0a0a 2d20 6e61 6d65 t_needed..- name
│ │ │ +002432f0: 3a20 5365 7420 7065 726d 6973 7369 6f6e : Set permission
│ │ │ +00243300: 7320 666f 7220 726f 6f74 3a72 6f6f 742d s for root:root-
│ │ │ +00243310: 6f77 6e65 6420 6b65 7973 0a20 2061 6e73 owned keys. ans
│ │ │ +00243320: 6962 6c65 2e62 7569 6c74 696e 2e66 696c ible.builtin.fil
│ │ │ +00243330: 653a 0a20 2020 2070 6174 683a 2027 7b7b e:. path: '{{
│ │ │ +00243340: 2069 7465 6d20 7d7d 270a 2020 2020 6d6f item }}'. mo
│ │ │ +00243350: 6465 3a20 752d 7873 2c67 2d78 7772 732c de: u-xs,g-xwrs,
│ │ │ +00243360: 6f2d 7877 7274 0a20 2020 2073 7461 7465 o-xwrt. state
│ │ │ +00243370: 3a20 6669 6c65 0a20 2077 6974 685f 6974 : file. with_it
│ │ │ +00243380: 656d 733a 0a20 202d 2027 7b7b 2072 6f6f ems:. - '{{ roo
│ │ │ +00243390: 745f 6f77 6e65 645f 6b65 7973 2e73 7464 t_owned_keys.std
│ │ │ +002433a0: 6f75 745f 6c69 6e65 7320 7d7d 270a 2020 out_lines }}'.
│ │ │ +002433b0: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba
│ │ │ +002433c0: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ +002433d0: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ +002433e0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ +002433f0: 3830 302d 3137 312d 332e 312e 3133 0a20 800-171-3.1.13.
│ │ │ +00243400: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171-
│ │ │ +00243410: 332e 3133 2e31 300a 2020 2d20 4e49 5354 3.13.10. - NIST
│ │ │ +00243420: 2d38 3030 2d35 332d 4143 2d31 3728 6129 -800-53-AC-17(a)
│ │ │ +00243430: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +00243440: 2d41 432d 3628 3129 0a20 202d 204e 4953 -AC-6(1). - NIS
│ │ │ +00243450: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +00243460: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ +00243470: 2d32 2e32 2e34 0a20 202d 2050 4349 2d44 -2.2.4. - PCI-D
│ │ │ +00243480: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI
│ │ │ +00243490: 2d44 5353 7634 2d32 2e32 2e36 0a20 202d -DSSv4-2.2.6. -
│ │ │ +002434a0: 2063 6f6e 6669 6775 7265 5f73 7472 6174 configure_strat
│ │ │ +002434b0: 6567 790a 2020 2d20 6669 6c65 5f70 6572 egy. - file_per
│ │ │ +002434c0: 6d69 7373 696f 6e73 5f73 7368 645f 7072 missions_sshd_pr
│ │ │ +002434d0: 6976 6174 655f 6b65 790a 2020 2d20 6c6f ivate_key. - lo
│ │ │ +002434e0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +002434f0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +00243500: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +00243510: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +00243520: 745f 6e65 6564 6564 0a3c 2f63 6f64 653e t_needed.
│ │ │ +00243530: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +002435e0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ +002435f0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +00243600: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +00243610: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +00243620: 7365 2220 6964 3d22 6964 3836 3022 3e3c se" id="id860"><
│ │ │ +00243630: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ
│ │ │ +00243640: 6520 7373 685f 7072 6976 6174 655f 6b65 e ssh_private_ke
│ │ │ +00243650: 795f 7065 726d 730a 0a63 6c61 7373 2073 y_perms..class s
│ │ │ +00243660: 7368 5f70 7269 7661 7465 5f6b 6579 5f70 sh_private_key_p
│ │ │ +00243670: 6572 6d73 207b 0a20 2065 7865 6320 7b20 erms {. exec {
│ │ │ +00243680: 2773 7368 645f 7072 6976 5f6b 6579 273a 'sshd_priv_key':
│ │ │ +00243690: 0a20 2020 2063 6f6d 6d61 6e64 203d 2667 . command =&g
│ │ │ +002436a0: 743b 2022 6368 6d6f 6420 3036 3430 202f t; "chmod 0640 /
│ │ │ +002436b0: 6574 632f 7373 682f 2a5f 6b65 7922 2c0a etc/ssh/*_key",.
│ │ │ +002436c0: 2020 2020 7061 7468 2020 2020 3d26 6774 path =>
│ │ │ +002436d0: 3b20 272f 6269 6e3a 2f75 7372 2f62 696e ; '/bin:/usr/bin
│ │ │ +002436e0: 270a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c '. }.}.<
│ │ │ 002436f0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Rem
│ │ │ -00244b50: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -00244b60: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -00244b70: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>in
│ │ │ -00244bb0: 636c 7564 6520 7373 685f 7075 626c 6963 clude ssh_public
│ │ │ -00244bc0: 5f6b 6579 5f70 6572 6d73 0a0a 636c 6173 _key_perms..clas
│ │ │ -00244bd0: 7320 7373 685f 7075 626c 6963 5f6b 6579 s ssh_public_key
│ │ │ -00244be0: 5f70 6572 6d73 207b 0a20 2065 7865 6320 _perms {. exec
│ │ │ -00244bf0: 7b20 2773 7368 645f 7075 625f 6b65 7927 { 'sshd_pub_key'
│ │ │ -00244c00: 3a0a 2020 2020 636f 6d6d 616e 6420 3d26 :. command =&
│ │ │ -00244c10: 6774 3b20 2263 686d 6f64 2030 3634 3420 gt; "chmod 0644
│ │ │ -00244c20: 2f65 7463 2f73 7368 2f2a 2e70 7562 222c /etc/ssh/*.pub",
│ │ │ -00244c30: 0a20 2020 2070 6174 6820 2020 203d 2667 . path =&g
│ │ │ -00244c40: 743b 2027 2f62 696e 3a2f 7573 722f 6269 t; '/bin:/usr/bi
│ │ │ -00244c50: 6e27 0a20 207d 0a7d 0a3c 2f63 6f64 653e n'. }.}.
│ │ │ -00244c60: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -00244d10: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -00244d20: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00244d30: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -00244d60: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -00244db0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -00244dc0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00244dd0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -00244de0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00244df0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -00244e00: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -00244e10: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -00244e20: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:configure
│ │ │ -00244e40: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -00244e50: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -00244e60: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ -00244e70: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ -00244e80: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ -00244e90: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ -00244ea0: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ -00244eb0: 3830 302d 3137 312d 332e 312e 3133 0a20 800-171-3.1.13.
│ │ │ -00244ec0: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171-
│ │ │ -00244ed0: 332e 3133 2e31 300a 2020 2d20 4e49 5354 3.13.10. - NIST
│ │ │ -00244ee0: 2d38 3030 2d35 332d 4143 2d31 3728 6129 -800-53-AC-17(a)
│ │ │ -00244ef0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00244f00: 2d41 432d 3628 3129 0a20 202d 204e 4953 -AC-6(1). - NIS
│ │ │ -00244f10: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ -00244f20: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ -00244f30: 2d32 2e32 2e34 0a20 202d 2050 4349 2d44 -2.2.4. - PCI-D
│ │ │ -00244f40: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI
│ │ │ -00244f50: 2d44 5353 7634 2d32 2e32 2e36 0a20 202d -DSSv4-2.2.6. -
│ │ │ -00244f60: 2063 6f6e 6669 6775 7265 5f73 7472 6174 configure_strat
│ │ │ -00244f70: 6567 790a 2020 2d20 6669 6c65 5f70 6572 egy. - file_per
│ │ │ -00244f80: 6d69 7373 696f 6e73 5f73 7368 645f 7075 missions_sshd_pu
│ │ │ -00244f90: 625f 6b65 790a 2020 2d20 6c6f 775f 636f b_key. - low_co
│ │ │ -00244fa0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -00244fb0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -00244fc0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -00244fd0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -00244fe0: 6564 6564 0a0a 2d20 6e61 6d65 3a20 4669 eded..- name: Fi
│ │ │ -00244ff0: 6e64 202f 6574 632f 7373 682f 2066 696c nd /etc/ssh/ fil
│ │ │ -00245000: 6528 7329 0a20 2061 6e73 6962 6c65 2e62 e(s). ansible.b
│ │ │ -00245010: 7569 6c74 696e 2e63 6f6d 6d61 6e64 3a20 uiltin.command:
│ │ │ -00245020: 6669 6e64 202d 5020 2f65 7463 2f73 7368 find -P /etc/ssh
│ │ │ -00245030: 2f20 2d6d 6178 6465 7074 6820 3120 2d70 / -maxdepth 1 -p
│ │ │ -00245040: 6572 6d20 2f75 2b78 732c 672b 7877 732c erm /u+xs,g+xws,
│ │ │ -00245050: 6f2b 7877 7420 202d 7479 7065 0a20 2020 o+xwt -type.
│ │ │ -00245060: 2066 202d 7265 6765 7874 7970 6520 706f f -regextype po
│ │ │ -00245070: 7369 782d 6578 7465 6e64 6564 202d 7265 six-extended -re
│ │ │ -00245080: 6765 7820 225e 2e2a 5c2e 7075 6224 220a gex "^.*\.pub$".
│ │ │ -00245090: 2020 7265 6769 7374 6572 3a20 6669 6c65 register: file
│ │ │ -002450a0: 735f 666f 756e 640a 2020 6368 616e 6765 s_found. change
│ │ │ -002450b0: 645f 7768 656e 3a20 6661 6c73 650a 2020 d_when: false.
│ │ │ -002450c0: 6661 696c 6564 5f77 6865 6e3a 2066 616c failed_when: fal
│ │ │ -002450d0: 7365 0a20 2063 6865 636b 5f6d 6f64 653a se. check_mode:
│ │ │ -002450e0: 2066 616c 7365 0a20 2077 6865 6e3a 2027 false. when: '
│ │ │ -002450f0: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ -00245100: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -00245110: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:.
│ │ │ -00245120: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171
│ │ │ -00245130: 2d33 2e31 2e31 330a 2020 2d20 4e49 5354 -3.1.13. - NIST
│ │ │ -00245140: 2d38 3030 2d31 3731 2d33 2e31 332e 3130 -800-171-3.13.10
│ │ │ -00245150: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00245160: 2d41 432d 3137 2861 290a 2020 2d20 4e49 -AC-17(a). - NI
│ │ │ -00245170: 5354 2d38 3030 2d35 332d 4143 2d36 2831 ST-800-53-AC-6(1
│ │ │ -00245180: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -00245190: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC
│ │ │ -002451a0: 492d 4453 532d 5265 712d 322e 322e 340a I-DSS-Req-2.2.4.
│ │ │ -002451b0: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ -002451c0: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ -002451d0: 322e 322e 360a 2020 2d20 636f 6e66 6967 2.2.6. - config
│ │ │ -002451e0: 7572 655f 7374 7261 7465 6779 0a20 202d ure_strategy. -
│ │ │ -002451f0: 2066 696c 655f 7065 726d 6973 7369 6f6e file_permission
│ │ │ -00245200: 735f 7373 6864 5f70 7562 5f6b 6579 0a20 s_sshd_pub_key.
│ │ │ -00245210: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -00245220: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -00245230: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -00245240: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -00245250: 7265 626f 6f74 5f6e 6565 6465 640a 0a2d reboot_needed..-
│ │ │ -00245260: 206e 616d 653a 2053 6574 2070 6572 6d69 name: Set permi
│ │ │ -00245270: 7373 696f 6e73 2066 6f72 202f 6574 632f ssions for /etc/
│ │ │ -00245280: 7373 682f 2066 696c 6528 7329 0a20 2061 ssh/ file(s). a
│ │ │ -00245290: 6e73 6962 6c65 2e62 7569 6c74 696e 2e66 nsible.builtin.f
│ │ │ -002452a0: 696c 653a 0a20 2020 2070 6174 683a 2027 ile:. path: '
│ │ │ -002452b0: 7b7b 2069 7465 6d20 7d7d 270a 2020 2020 {{ item }}'.
│ │ │ -002452c0: 6d6f 6465 3a20 752d 7873 2c67 2d78 7773 mode: u-xs,g-xws
│ │ │ -002452d0: 2c6f 2d78 7774 0a20 2020 2073 7461 7465 ,o-xwt. state
│ │ │ -002452e0: 3a20 6669 6c65 0a20 2077 6974 685f 6974 : file. with_it
│ │ │ -002452f0: 656d 733a 0a20 202d 2027 7b7b 2066 696c ems:. - '{{ fil
│ │ │ -00245300: 6573 5f66 6f75 6e64 2e73 7464 6f75 745f es_found.stdout_
│ │ │ -00245310: 6c69 6e65 7320 7d7d 270a 2020 7768 656e lines }}'. when
│ │ │ -00245320: 3a20 2722 6c69 6e75 782d 6261 7365 2220 : '"linux-base"
│ │ │ -00245330: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ -00245340: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag
│ │ │ -00245350: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ -00245360: 3137 312d 332e 312e 3133 0a20 202d 204e 171-3.1.13. - N
│ │ │ -00245370: 4953 542d 3830 302d 3137 312d 332e 3133 IST-800-171-3.13
│ │ │ -00245380: 2e31 300a 2020 2d20 4e49 5354 2d38 3030 .10. - NIST-800
│ │ │ -00245390: 2d35 332d 4143 2d31 3728 6129 0a20 202d -53-AC-17(a). -
│ │ │ -002453a0: 204e 4953 542d 3830 302d 3533 2d41 432d NIST-800-53-AC-
│ │ │ -002453b0: 3628 3129 0a20 202d 204e 4953 542d 3830 6(1). - NIST-80
│ │ │ -002453c0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -002453d0: 2050 4349 2d44 5353 2d52 6571 2d32 2e32 PCI-DSS-Req-2.2
│ │ │ -002453e0: 2e34 0a20 202d 2050 4349 2d44 5353 7634 .4. - PCI-DSSv4
│ │ │ -002453f0: 2d32 2e32 0a20 202d 2050 4349 2d44 5353 -2.2. - PCI-DSS
│ │ │ -00245400: 7634 2d32 2e32 2e36 0a20 202d 2063 6f6e v4-2.2.6. - con
│ │ │ -00245410: 6669 6775 7265 5f73 7472 6174 6567 790a figure_strategy.
│ │ │ -00245420: 2020 2d20 6669 6c65 5f70 6572 6d69 7373 - file_permiss
│ │ │ -00245430: 696f 6e73 5f73 7368 645f 7075 625f 6b65 ions_sshd_pub_ke
│ │ │ -00245440: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -00245450: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -00245460: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ -00245470: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ -00245480: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +00244b50: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ +00244b60: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +00244b70: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +00244bf0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +00244c10: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +00244c20: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +00244c30: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00244c40: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +00244c50: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +00244c60: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +00244c70: 3c2f 7468 3e3c 7464 3e63 6f6e 6669 6775 configu
│ │ │ +00244c80: 7265 3c2f 7464 3e3c 2f74 723e 3c2f 7461 re -
│ │ │ +00244ca0: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ +00244cb0: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ +00244cc0: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ +00244cd0: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ +00244ce0: 746f 0a20 2074 6167 733a 0a20 202d 204e to. tags:. - N
│ │ │ +00244cf0: 4953 542d 3830 302d 3137 312d 332e 312e IST-800-171-3.1.
│ │ │ +00244d00: 3133 0a20 202d 204e 4953 542d 3830 302d 13. - NIST-800-
│ │ │ +00244d10: 3137 312d 332e 3133 2e31 300a 2020 2d20 171-3.13.10. -
│ │ │ +00244d20: 4e49 5354 2d38 3030 2d35 332d 4143 2d31 NIST-800-53-AC-1
│ │ │ +00244d30: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80
│ │ │ +00244d40: 302d 3533 2d41 432d 3628 3129 0a20 202d 0-53-AC-6(1). -
│ │ │ +00244d50: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ +00244d60: 3628 6129 0a20 202d 2050 4349 2d44 5353 6(a). - PCI-DSS
│ │ │ +00244d70: 2d52 6571 2d32 2e32 2e34 0a20 202d 2050 -Req-2.2.4. - P
│ │ │ +00244d80: 4349 2d44 5353 7634 2d32 2e32 0a20 202d CI-DSSv4-2.2. -
│ │ │ +00244d90: 2050 4349 2d44 5353 7634 2d32 2e32 2e36 PCI-DSSv4-2.2.6
│ │ │ +00244da0: 0a20 202d 2063 6f6e 6669 6775 7265 5f73 . - configure_s
│ │ │ +00244db0: 7472 6174 6567 790a 2020 2d20 6669 6c65 trategy. - file
│ │ │ +00244dc0: 5f70 6572 6d69 7373 696f 6e73 5f73 7368 _permissions_ssh
│ │ │ +00244dd0: 645f 7075 625f 6b65 790a 2020 2d20 6c6f d_pub_key. - lo
│ │ │ +00244de0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +00244df0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +00244e00: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +00244e10: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +00244e20: 745f 6e65 6564 6564 0a0a 2d20 6e61 6d65 t_needed..- name
│ │ │ +00244e30: 3a20 4669 6e64 202f 6574 632f 7373 682f : Find /etc/ssh/
│ │ │ +00244e40: 2066 696c 6528 7329 0a20 2061 6e73 6962 file(s). ansib
│ │ │ +00244e50: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61 le.builtin.comma
│ │ │ +00244e60: 6e64 3a20 6669 6e64 202d 5020 2f65 7463 nd: find -P /etc
│ │ │ +00244e70: 2f73 7368 2f20 2d6d 6178 6465 7074 6820 /ssh/ -maxdepth
│ │ │ +00244e80: 3120 2d70 6572 6d20 2f75 2b78 732c 672b 1 -perm /u+xs,g+
│ │ │ +00244e90: 7877 732c 6f2b 7877 7420 202d 7479 7065 xws,o+xwt -type
│ │ │ +00244ea0: 0a20 2020 2066 202d 7265 6765 7874 7970 . f -regextyp
│ │ │ +00244eb0: 6520 706f 7369 782d 6578 7465 6e64 6564 e posix-extended
│ │ │ +00244ec0: 202d 7265 6765 7820 225e 2e2a 5c2e 7075 -regex "^.*\.pu
│ │ │ +00244ed0: 6224 220a 2020 7265 6769 7374 6572 3a20 b$". register:
│ │ │ +00244ee0: 6669 6c65 735f 666f 756e 640a 2020 6368 files_found. ch
│ │ │ +00244ef0: 616e 6765 645f 7768 656e 3a20 6661 6c73 anged_when: fals
│ │ │ +00244f00: 650a 2020 6661 696c 6564 5f77 6865 6e3a e. failed_when:
│ │ │ +00244f10: 2066 616c 7365 0a20 2063 6865 636b 5f6d false. check_m
│ │ │ +00244f20: 6f64 653a 2066 616c 7365 0a20 2077 6865 ode: false. whe
│ │ │ +00244f30: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ +00244f40: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +00244f50: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ +00244f60: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ +00244f70: 2d31 3731 2d33 2e31 2e31 330a 2020 2d20 -171-3.1.13. -
│ │ │ +00244f80: 4e49 5354 2d38 3030 2d31 3731 2d33 2e31 NIST-800-171-3.1
│ │ │ +00244f90: 332e 3130 0a20 202d 204e 4953 542d 3830 3.10. - NIST-80
│ │ │ +00244fa0: 302d 3533 2d41 432d 3137 2861 290a 2020 0-53-AC-17(a).
│ │ │ +00244fb0: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ +00244fc0: 2d36 2831 290a 2020 2d20 4e49 5354 2d38 -6(1). - NIST-8
│ │ │ +00244fd0: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ +00244fe0: 2d20 5043 492d 4453 532d 5265 712d 322e - PCI-DSS-Req-2.
│ │ │ +00244ff0: 322e 340a 2020 2d20 5043 492d 4453 5376 2.4. - PCI-DSSv
│ │ │ +00245000: 342d 322e 320a 2020 2d20 5043 492d 4453 4-2.2. - PCI-DS
│ │ │ +00245010: 5376 342d 322e 322e 360a 2020 2d20 636f Sv4-2.2.6. - co
│ │ │ +00245020: 6e66 6967 7572 655f 7374 7261 7465 6779 nfigure_strategy
│ │ │ +00245030: 0a20 202d 2066 696c 655f 7065 726d 6973 . - file_permis
│ │ │ +00245040: 7369 6f6e 735f 7373 6864 5f70 7562 5f6b sions_sshd_pub_k
│ │ │ +00245050: 6579 0a20 202d 206c 6f77 5f63 6f6d 706c ey. - low_compl
│ │ │ +00245060: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +00245070: 7372 7570 7469 6f6e 0a20 202d 206d 6564 sruption. - med
│ │ │ +00245080: 6975 6d5f 7365 7665 7269 7479 0a20 202d ium_severity. -
│ │ │ +00245090: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +002450a0: 640a 0a2d 206e 616d 653a 2053 6574 2070 d..- name: Set p
│ │ │ +002450b0: 6572 6d69 7373 696f 6e73 2066 6f72 202f ermissions for /
│ │ │ +002450c0: 6574 632f 7373 682f 2066 696c 6528 7329 etc/ssh/ file(s)
│ │ │ +002450d0: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ +002450e0: 696e 2e66 696c 653a 0a20 2020 2070 6174 in.file:. pat
│ │ │ +002450f0: 683a 2027 7b7b 2069 7465 6d20 7d7d 270a h: '{{ item }}'.
│ │ │ +00245100: 2020 2020 6d6f 6465 3a20 752d 7873 2c67 mode: u-xs,g
│ │ │ +00245110: 2d78 7773 2c6f 2d78 7774 0a20 2020 2073 -xws,o-xwt. s
│ │ │ +00245120: 7461 7465 3a20 6669 6c65 0a20 2077 6974 tate: file. wit
│ │ │ +00245130: 685f 6974 656d 733a 0a20 202d 2027 7b7b h_items:. - '{{
│ │ │ +00245140: 2066 696c 6573 5f66 6f75 6e64 2e73 7464 files_found.std
│ │ │ +00245150: 6f75 745f 6c69 6e65 7320 7d7d 270a 2020 out_lines }}'.
│ │ │ +00245160: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba
│ │ │ +00245170: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ +00245180: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ +00245190: 2074 6167 733a 0a20 202d 204e 4953 542d tags:. - NIST-
│ │ │ +002451a0: 3830 302d 3137 312d 332e 312e 3133 0a20 800-171-3.1.13.
│ │ │ +002451b0: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171-
│ │ │ +002451c0: 332e 3133 2e31 300a 2020 2d20 4e49 5354 3.13.10. - NIST
│ │ │ +002451d0: 2d38 3030 2d35 332d 4143 2d31 3728 6129 -800-53-AC-17(a)
│ │ │ +002451e0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +002451f0: 2d41 432d 3628 3129 0a20 202d 204e 4953 -AC-6(1). - NIS
│ │ │ +00245200: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +00245210: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ +00245220: 2d32 2e32 2e34 0a20 202d 2050 4349 2d44 -2.2.4. - PCI-D
│ │ │ +00245230: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI
│ │ │ +00245240: 2d44 5353 7634 2d32 2e32 2e36 0a20 202d -DSSv4-2.2.6. -
│ │ │ +00245250: 2063 6f6e 6669 6775 7265 5f73 7472 6174 configure_strat
│ │ │ +00245260: 6567 790a 2020 2d20 6669 6c65 5f70 6572 egy. - file_per
│ │ │ +00245270: 6d69 7373 696f 6e73 5f73 7368 645f 7075 missions_sshd_pu
│ │ │ +00245280: 625f 6b65 790a 2020 2d20 6c6f 775f 636f b_key. - low_co
│ │ │ +00245290: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +002452a0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +002452b0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +002452c0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +002452d0: 6564 6564 0a3c 2f63 6f64 653e 3c2f 7072 eded.Remediation
│ │ │ +00245390: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ +002453a0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +002453e0: 3c63 6f64 653e 696e 636c 7564 6520 7373 include ss
│ │ │ +002453f0: 685f 7075 626c 6963 5f6b 6579 5f70 6572 h_public_key_per
│ │ │ +00245400: 6d73 0a0a 636c 6173 7320 7373 685f 7075 ms..class ssh_pu
│ │ │ +00245410: 626c 6963 5f6b 6579 5f70 6572 6d73 207b blic_key_perms {
│ │ │ +00245420: 0a20 2065 7865 6320 7b20 2773 7368 645f . exec { 'sshd_
│ │ │ +00245430: 7075 625f 6b65 7927 3a0a 2020 2020 636f pub_key':. co
│ │ │ +00245440: 6d6d 616e 6420 3d26 6774 3b20 2263 686d mmand => "chm
│ │ │ +00245450: 6f64 2030 3634 3420 2f65 7463 2f73 7368 od 0644 /etc/ssh
│ │ │ +00245460: 2f2a 2e70 7562 222c 0a20 2020 2070 6174 /*.pub",. pat
│ │ │ +00245470: 6820 2020 203d 2667 743b 2027 2f62 696e h => '/bin
│ │ │ +00245480: 3a2f 7573 722f 6269 6e27 0a20 207d 0a7d :/usr/bin'. }.}
│ │ │ 00245490: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 002454a0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Reme
│ │ │ -00481d70: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild
│ │ │ -00481d80: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe
│ │ │ -00481d90: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
.[[pack
│ │ │ -00481de0: 6167 6573 5d5d 0a6e 616d 6520 3d20 2261 ages]].name = "a
│ │ │ -00481df0: 7564 6974 6422 0a76 6572 7369 6f6e 203d uditd".version =
│ │ │ -00481e00: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
Remediatio
│ │ │ -00481ec0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -00481ed0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
<
│ │ │ -00481f50: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -00481f60: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -00481f70: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00481f80: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -00481f90: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -00481fb0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -00481fc0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00481fd0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -00482000: 636f 6465 3e69 6e63 6c75 6465 2069 6e73 code>include ins
│ │ │ -00482010: 7461 6c6c 5f61 7564 6974 640a 0a63 6c61 tall_auditd..cla
│ │ │ -00482020: 7373 2069 6e73 7461 6c6c 5f61 7564 6974 ss install_audit
│ │ │ -00482030: 6420 7b0a 2020 7061 636b 6167 6520 7b20 d {. package {
│ │ │ -00482040: 2761 7564 6974 6427 3a0a 2020 2020 656e 'auditd':. en
│ │ │ -00482050: 7375 7265 203d 2667 743b 2027 696e 7374 sure => 'inst
│ │ │ -00482060: 616c 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f alled',. }.}.
│ │ │ -00482070: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>R
│ │ │ -00482120: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -00482130: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -00482140: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
Complexity: low Disrup
│ │ │ -004821f0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -00482200: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00482210: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -00482220: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -00482240: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ -00482250: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ -00482270: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -00482280: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -00482290: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ -004822a0: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ -004822b0: 746f 0a20 2074 6167 733a 0a20 202d 2044 to. tags:. - D
│ │ │ -004822c0: 4953 412d 5354 4947 2d55 4254 552d 3232 ISA-STIG-UBTU-22
│ │ │ -004822d0: 2d36 3533 3031 300a 2020 2d20 4e49 5354 -653010. - NIST
│ │ │ -004822e0: 2d38 3030 2d35 332d 4143 2d37 2861 290a -800-53-AC-7(a).
│ │ │ -004822f0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -00482300: 4155 2d31 3228 3229 0a20 202d 204e 4953 AU-12(2). - NIS
│ │ │ -00482310: 542d 3830 302d 3533 2d41 552d 3134 0a20 T-800-53-AU-14.
│ │ │ -00482320: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ -00482330: 552d 3228 6129 0a20 202d 204e 4953 542d U-2(a). - NIST-
│ │ │ -00482340: 3830 302d 3533 2d41 552d 3728 3129 0a20 800-53-AU-7(1).
│ │ │ -00482350: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ -00482360: 552d 3728 3229 0a20 202d 204e 4953 542d U-7(2). - NIST-
│ │ │ -00482370: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ -00482380: 202d 2050 4349 2d44 5353 2d52 6571 2d31 - PCI-DSS-Req-1
│ │ │ -00482390: 302e 310a 2020 2d20 5043 492d 4453 5376 0.1. - PCI-DSSv
│ │ │ -004823a0: 342d 3130 2e32 0a20 202d 2050 4349 2d44 4-10.2. - PCI-D
│ │ │ -004823b0: 5353 7634 2d31 302e 322e 310a 2020 2d20 SSv4-10.2.1. -
│ │ │ -004823c0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -004823d0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -004823e0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -004823f0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -00482400: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -00482410: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -00482420: 202d 2070 6163 6b61 6765 5f61 7564 6974 - package_audit
│ │ │ -00482430: 5f69 6e73 7461 6c6c 6564 0a0a 2d20 6e61 _installed..- na
│ │ │ -00482440: 6d65 3a20 456e 7375 7265 2061 7564 6974 me: Ensure audit
│ │ │ -00482450: 6420 6973 2069 6e73 7461 6c6c 6564 0a20 d is installed.
│ │ │ -00482460: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -00482470: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -00482480: 6d65 3a20 6175 6469 7464 0a20 2020 2073 me: auditd. s
│ │ │ -00482490: 7461 7465 3a20 7072 6573 656e 740a 2020 tate: present.
│ │ │ -004824a0: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba
│ │ │ -004824b0: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ -004824c0: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ -004824d0: 2074 6167 733a 0a20 202d 2044 4953 412d tags:. - DISA-
│ │ │ -004824e0: 5354 4947 2d55 4254 552d 3232 2d36 3533 STIG-UBTU-22-653
│ │ │ -004824f0: 3031 300a 2020 2d20 4e49 5354 2d38 3030 010. - NIST-800
│ │ │ -00482500: 2d35 332d 4143 2d37 2861 290a 2020 2d20 -53-AC-7(a). -
│ │ │ -00482510: 4e49 5354 2d38 3030 2d35 332d 4155 2d31 NIST-800-53-AU-1
│ │ │ -00482520: 3228 3229 0a20 202d 204e 4953 542d 3830 2(2). - NIST-80
│ │ │ -00482530: 302d 3533 2d41 552d 3134 0a20 202d 204e 0-53-AU-14. - N
│ │ │ -00482540: 4953 542d 3830 302d 3533 2d41 552d 3228 IST-800-53-AU-2(
│ │ │ -00482550: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ -00482560: 3533 2d41 552d 3728 3129 0a20 202d 204e 53-AU-7(1). - N
│ │ │ -00482570: 4953 542d 3830 302d 3533 2d41 552d 3728 IST-800-53-AU-7(
│ │ │ -00482580: 3229 0a20 202d 204e 4953 542d 3830 302d 2). - NIST-800-
│ │ │ -00482590: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ -004825a0: 4349 2d44 5353 2d52 6571 2d31 302e 310a CI-DSS-Req-10.1.
│ │ │ -004825b0: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10
│ │ │ -004825c0: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ -004825d0: 2d31 302e 322e 310a 2020 2d20 656e 6162 -10.2.1. - enab
│ │ │ -004825e0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -004825f0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -00482600: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -00482610: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ -00482620: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ -00482630: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -00482640: 6163 6b61 6765 5f61 7564 6974 5f69 6e73 ackage_audit_ins
│ │ │ -00482650: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f talled.
│ │ │ +00481d70: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ +00481d80: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +00481d90: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Co
│ │ │ +00481e10: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +00481e30: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +00481e40: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +00481e50: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00481e60: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +00481e70: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +00481e80: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +00481e90: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +00481ea0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +00481ec0: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +00481ed0: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ +00481ee0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ +00481ef0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +00481f00: 2020 7461 6773 3a0a 2020 2d20 4449 5341 tags:. - DISA
│ │ │ +00481f10: 2d53 5449 472d 5542 5455 2d32 322d 3635 -STIG-UBTU-22-65
│ │ │ +00481f20: 3330 3130 0a20 202d 204e 4953 542d 3830 3010. - NIST-80
│ │ │ +00481f30: 302d 3533 2d41 432d 3728 6129 0a20 202d 0-53-AC-7(a). -
│ │ │ +00481f40: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU-
│ │ │ +00481f50: 3132 2832 290a 2020 2d20 4e49 5354 2d38 12(2). - NIST-8
│ │ │ +00481f60: 3030 2d35 332d 4155 2d31 340a 2020 2d20 00-53-AU-14. -
│ │ │ +00481f70: 4e49 5354 2d38 3030 2d35 332d 4155 2d32 NIST-800-53-AU-2
│ │ │ +00481f80: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ +00481f90: 2d35 332d 4155 2d37 2831 290a 2020 2d20 -53-AU-7(1). -
│ │ │ +00481fa0: 4e49 5354 2d38 3030 2d35 332d 4155 2d37 NIST-800-53-AU-7
│ │ │ +00481fb0: 2832 290a 2020 2d20 4e49 5354 2d38 3030 (2). - NIST-800
│ │ │ +00481fc0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ +00481fd0: 5043 492d 4453 532d 5265 712d 3130 2e31 PCI-DSS-Req-10.1
│ │ │ +00481fe0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ +00481ff0: 302e 320a 2020 2d20 5043 492d 4453 5376 0.2. - PCI-DSSv
│ │ │ +00482000: 342d 3130 2e32 2e31 0a20 202d 2065 6e61 4-10.2.1. - ena
│ │ │ +00482010: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +00482020: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +00482030: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +00482040: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ +00482050: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ +00482060: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +00482070: 7061 636b 6167 655f 6175 6469 745f 696e package_audit_in
│ │ │ +00482080: 7374 616c 6c65 640a 0a2d 206e 616d 653a stalled..- name:
│ │ │ +00482090: 2045 6e73 7572 6520 6175 6469 7464 2069 Ensure auditd i
│ │ │ +004820a0: 7320 696e 7374 616c 6c65 640a 2020 616e s installed. an
│ │ │ +004820b0: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +004820c0: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ +004820d0: 2061 7564 6974 640a 2020 2020 7374 6174 auditd. stat
│ │ │ +004820e0: 653a 2070 7265 7365 6e74 0a20 2077 6865 e: present. whe
│ │ │ +004820f0: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ +00482100: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +00482110: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ +00482120: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI
│ │ │ +00482130: 472d 5542 5455 2d32 322d 3635 3330 3130 G-UBTU-22-653010
│ │ │ +00482140: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +00482150: 2d41 432d 3728 6129 0a20 202d 204e 4953 -AC-7(a). - NIS
│ │ │ +00482160: 542d 3830 302d 3533 2d41 552d 3132 2832 T-800-53-AU-12(2
│ │ │ +00482170: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ +00482180: 332d 4155 2d31 340a 2020 2d20 4e49 5354 3-AU-14. - NIST
│ │ │ +00482190: 2d38 3030 2d35 332d 4155 2d32 2861 290a -800-53-AU-2(a).
│ │ │ +004821a0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +004821b0: 4155 2d37 2831 290a 2020 2d20 4e49 5354 AU-7(1). - NIST
│ │ │ +004821c0: 2d38 3030 2d35 332d 4155 2d37 2832 290a -800-53-AU-7(2).
│ │ │ +004821d0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +004821e0: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ +004821f0: 4453 532d 5265 712d 3130 2e31 0a20 202d DSS-Req-10.1. -
│ │ │ +00482200: 2050 4349 2d44 5353 7634 2d31 302e 320a PCI-DSSv4-10.2.
│ │ │ +00482210: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10
│ │ │ +00482220: 2e32 2e31 0a20 202d 2065 6e61 626c 655f .2.1. - enable_
│ │ │ +00482230: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +00482240: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +00482250: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +00482260: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +00482270: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +00482280: 5f6e 6565 6465 640a 2020 2d20 7061 636b _needed. - pack
│ │ │ +00482290: 6167 655f 6175 6469 745f 696e 7374 616c age_audit_instal
│ │ │ +004822a0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
Remediation
│ │ │ +00482360: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ +00482370: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity
│ │ │ +00482400: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +00482420: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +00482430: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +00482440: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +00482450: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +00482470: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include inst
│ │ │ +004824b0: 616c 6c5f 6175 6469 7464 0a0a 636c 6173 all_auditd..clas
│ │ │ +004824c0: 7320 696e 7374 616c 6c5f 6175 6469 7464 s install_auditd
│ │ │ +004824d0: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ +004824e0: 6175 6469 7464 273a 0a20 2020 2065 6e73 auditd':. ens
│ │ │ +004824f0: 7572 6520 3d26 6774 3b20 2769 6e73 7461 ure => 'insta
│ │ │ +00482500: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63 lled',. }.}.
│ │ │ +00482520: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Re
│ │ │ +004825c0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ +004825d0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ +004825e0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +004825f0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +00482600: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +00482610: 7365 2220 6964 3d22 6964 3131 3133 223e se" id="id1113">
│ │ │ +00482620: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061 .[[pa
│ │ │ +00482630: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20 ckages]].name =
│ │ │ +00482640: 2261 7564 6974 6422 0a76 6572 7369 6f6e "auditd".version
│ │ │ +00482650: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f = "*".
│ │ │ 00482660: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
R
│ │ │ -00484380: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui
│ │ │ -00484390: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni
│ │ │ -004843a0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -004843b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65 .[cu
│ │ │ -004843f0: 7374 6f6d 697a 6174 696f 6e73 2e73 6572 stomizations.ser
│ │ │ -00484400: 7669 6365 735d 0a65 6e61 626c 6564 203d vices].enabled =
│ │ │ -00484410: 205b 2261 7564 6974 6422 5d0a 3c2f 636f ["auditd"].
<
│ │ │ -00484430: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -00484440: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -00484450: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -00484460: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -00484470: 6431 3131 3722 2074 6162 696e 6465 783d d1117" tabindex=
│ │ │ -00484480: 2230 2220 726f 6c65 3d22 6275 7474 6f6e "0" role="button
│ │ │ -00484490: 2220 6172 6961 2d65 7870 616e 6465 643d " aria-expanded=
│ │ │ -004844a0: 2266 616c 7365 2220 7469 746c 653d 2241 "false" title="A
│ │ │ -004844b0: 6374 6976 6174 6520 746f 2072 6576 6561 ctivate to revea
│ │ │ -004844c0: 6c22 2068 7265 663d 2223 2122 3e52 656d l" href="#!">Rem
│ │ │ -004844d0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ -004844e0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -004844f0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Co
│ │ │ -00484570: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -00484590: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -004845a0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -004845b0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -004845c0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -004845d0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -004845e0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -004845f0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -00484600: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -00484620: 7564 6520 656e 6162 6c65 5f61 7564 6974 ude enable_audit
│ │ │ -00484630: 640a 0a63 6c61 7373 2065 6e61 626c 655f d..class enable_
│ │ │ -00484640: 6175 6469 7464 207b 0a20 2073 6572 7669 auditd {. servi
│ │ │ -00484650: 6365 207b 2761 7564 6974 6427 3a0a 2020 ce {'auditd':.
│ │ │ -00484660: 2020 656e 6162 6c65 203d 2667 743b 2074 enable => t
│ │ │ -00484670: 7275 652c 0a20 2020 2065 6e73 7572 6520 rue,. ensure
│ │ │ -00484680: 3d26 6774 3b20 2772 756e 6e69 6e67 272c => 'running',
│ │ │ -00484690: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -004846a0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediat
│ │ │ -00484750: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ -00484760: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -00484770: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -00484780: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -00484790: 7365 2220 6964 3d22 6964 3131 3138 223e se" id="id1118">
│ │ │ -004847a0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -004847f0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -00484800: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00484810: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -00484820: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00484830: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -00484840: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -00484850: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -00484860: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -00484880: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -004848a0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ -004848b0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ -004848c0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ -004848d0: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ -004848e0: 6773 3a0a 2020 2d20 434a 4953 2d35 2e34 gs:. - CJIS-5.4
│ │ │ -004848f0: 2e31 2e31 0a20 202d 2044 4953 412d 5354 .1.1. - DISA-ST
│ │ │ -00484900: 4947 2d55 4254 552d 3232 2d36 3533 3031 IG-UBTU-22-65301
│ │ │ -00484910: 350a 2020 2d20 4e49 5354 2d38 3030 2d31 5. - NIST-800-1
│ │ │ -00484920: 3731 2d33 2e33 2e31 0a20 202d 204e 4953 71-3.3.1. - NIS
│ │ │ -00484930: 542d 3830 302d 3137 312d 332e 332e 320a T-800-171-3.3.2.
│ │ │ -00484940: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171
│ │ │ -00484950: 2d33 2e33 2e36 0a20 202d 204e 4953 542d -3.3.6. - NIST-
│ │ │ -00484960: 3830 302d 3533 2d41 432d 3228 6729 0a20 800-53-AC-2(g).
│ │ │ +00484380: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ +00484390: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ +004843a0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
Complexity: low Disrup
│ │ │ +00484450: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +00484460: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00484470: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +00484480: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +004844a0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +004844b0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +004844d0: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ +004844e0: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ +004844f0: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ +00484500: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ +00484510: 746f 0a20 2074 6167 733a 0a20 202d 2043 to. tags:. - C
│ │ │ +00484520: 4a49 532d 352e 342e 312e 310a 2020 2d20 JIS-5.4.1.1. -
│ │ │ +00484530: 4449 5341 2d53 5449 472d 5542 5455 2d32 DISA-STIG-UBTU-2
│ │ │ +00484540: 322d 3635 3330 3135 0a20 202d 204e 4953 2-653015. - NIS
│ │ │ +00484550: 542d 3830 302d 3137 312d 332e 332e 310a T-800-171-3.3.1.
│ │ │ +00484560: 2020 2d20 4e49 5354 2d38 3030 2d31 3731 - NIST-800-171
│ │ │ +00484570: 2d33 2e33 2e32 0a20 202d 204e 4953 542d -3.3.2. - NIST-
│ │ │ +00484580: 3830 302d 3137 312d 332e 332e 360a 2020 800-171-3.3.6.
│ │ │ +00484590: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ +004845a0: 2d32 2867 290a 2020 2d20 4e49 5354 2d38 -2(g). - NIST-8
│ │ │ +004845b0: 3030 2d35 332d 4143 2d36 2839 290a 2020 00-53-AC-6(9).
│ │ │ +004845c0: 2d20 4e49 5354 2d38 3030 2d35 332d 4155 - NIST-800-53-AU
│ │ │ +004845d0: 2d31 300a 2020 2d20 4e49 5354 2d38 3030 -10. - NIST-800
│ │ │ +004845e0: 2d35 332d 4155 2d31 3228 6329 0a20 202d -53-AU-12(c). -
│ │ │ +004845f0: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU-
│ │ │ +00484600: 3134 2831 290a 2020 2d20 4e49 5354 2d38 14(1). - NIST-8
│ │ │ +00484610: 3030 2d35 332d 4155 2d32 2864 290a 2020 00-53-AU-2(d).
│ │ │ +00484620: 2d20 4e49 5354 2d38 3030 2d35 332d 4155 - NIST-800-53-AU
│ │ │ +00484630: 2d33 0a20 202d 204e 4953 542d 3830 302d -3. - NIST-800-
│ │ │ +00484640: 3533 2d43 4d2d 3628 6129 0a20 202d 204e 53-CM-6(a). - N
│ │ │ +00484650: 4953 542d 3830 302d 3533 2d53 492d 3428 IST-800-53-SI-4(
│ │ │ +00484660: 3233 290a 2020 2d20 5043 492d 4453 532d 23). - PCI-DSS-
│ │ │ +00484670: 5265 712d 3130 2e31 0a20 202d 2050 4349 Req-10.1. - PCI
│ │ │ +00484680: 2d44 5353 7634 2d31 302e 320a 2020 2d20 -DSSv4-10.2. -
│ │ │ +00484690: 5043 492d 4453 5376 342d 3130 2e32 2e31 PCI-DSSv4-10.2.1
│ │ │ +004846a0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ +004846b0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +004846c0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +004846d0: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +004846e0: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +004846f0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +00484700: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ +00484710: 6175 6469 7464 5f65 6e61 626c 6564 0a0a auditd_enabled..
│ │ │ +00484720: 2d20 6e61 6d65 3a20 456e 6162 6c65 2061 - name: Enable a
│ │ │ +00484730: 7564 6974 6420 5365 7276 6963 6520 2d20 uditd Service -
│ │ │ +00484740: 456e 6162 6c65 2073 6572 7669 6365 2061 Enable service a
│ │ │ +00484750: 7564 6974 640a 2020 626c 6f63 6b3a 0a0a uditd. block:..
│ │ │ +00484760: 2020 2d20 6e61 6d65 3a20 4761 7468 6572 - name: Gather
│ │ │ +00484770: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ +00484780: 7473 0a20 2020 2061 6e73 6962 6c65 2e62 ts. ansible.b
│ │ │ +00484790: 7569 6c74 696e 2e70 6163 6b61 6765 5f66 uiltin.package_f
│ │ │ +004847a0: 6163 7473 3a0a 2020 2020 2020 6d61 6e61 acts:. mana
│ │ │ +004847b0: 6765 723a 2061 7574 6f0a 0a20 202d 206e ger: auto.. - n
│ │ │ +004847c0: 616d 653a 2045 6e61 626c 6520 6175 6469 ame: Enable audi
│ │ │ +004847d0: 7464 2053 6572 7669 6365 202d 2045 6e61 td Service - Ena
│ │ │ +004847e0: 626c 6520 5365 7276 6963 6520 6175 6469 ble Service audi
│ │ │ +004847f0: 7464 0a20 2020 2061 6e73 6962 6c65 2e62 td. ansible.b
│ │ │ +00484800: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a uiltin.systemd:.
│ │ │ +00484810: 2020 2020 2020 6e61 6d65 3a20 6175 6469 name: audi
│ │ │ +00484820: 7464 0a20 2020 2020 2065 6e61 626c 6564 td. enabled
│ │ │ +00484830: 3a20 7472 7565 0a20 2020 2020 2073 7461 : true. sta
│ │ │ +00484840: 7465 3a20 7374 6172 7465 640a 2020 2020 te: started.
│ │ │ +00484850: 2020 6d61 736b 6564 3a20 6661 6c73 650a masked: false.
│ │ │ +00484860: 2020 2020 7768 656e 3a0a 2020 2020 2d20 when:. -
│ │ │ +00484870: 2722 6175 6469 7464 2220 696e 2061 6e73 '"auditd" in ans
│ │ │ +00484880: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ +00484890: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ +004848a0: 2043 4a49 532d 352e 342e 312e 310a 2020 CJIS-5.4.1.1.
│ │ │ +004848b0: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU
│ │ │ +004848c0: 2d32 322d 3635 3330 3135 0a20 202d 204e -22-653015. - N
│ │ │ +004848d0: 4953 542d 3830 302d 3137 312d 332e 332e IST-800-171-3.3.
│ │ │ +004848e0: 310a 2020 2d20 4e49 5354 2d38 3030 2d31 1. - NIST-800-1
│ │ │ +004848f0: 3731 2d33 2e33 2e32 0a20 202d 204e 4953 71-3.3.2. - NIS
│ │ │ +00484900: 542d 3830 302d 3137 312d 332e 332e 360a T-800-171-3.3.6.
│ │ │ +00484910: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +00484920: 4143 2d32 2867 290a 2020 2d20 4e49 5354 AC-2(g). - NIST
│ │ │ +00484930: 2d38 3030 2d35 332d 4143 2d36 2839 290a -800-53-AC-6(9).
│ │ │ +00484940: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +00484950: 4155 2d31 300a 2020 2d20 4e49 5354 2d38 AU-10. - NIST-8
│ │ │ +00484960: 3030 2d35 332d 4155 2d31 3228 6329 0a20 00-53-AU-12(c).
│ │ │ 00484970: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ -00484980: 432d 3628 3929 0a20 202d 204e 4953 542d C-6(9). - NIST-
│ │ │ -00484990: 3830 302d 3533 2d41 552d 3130 0a20 202d 800-53-AU-10. -
│ │ │ -004849a0: 204e 4953 542d 3830 302d 3533 2d41 552d NIST-800-53-AU-
│ │ │ -004849b0: 3132 2863 290a 2020 2d20 4e49 5354 2d38 12(c). - NIST-8
│ │ │ -004849c0: 3030 2d35 332d 4155 2d31 3428 3129 0a20 00-53-AU-14(1).
│ │ │ -004849d0: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ -004849e0: 552d 3228 6429 0a20 202d 204e 4953 542d U-2(d). - NIST-
│ │ │ -004849f0: 3830 302d 3533 2d41 552d 330a 2020 2d20 800-53-AU-3. -
│ │ │ -00484a00: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ -00484a10: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -00484a20: 2d35 332d 5349 2d34 2832 3329 0a20 202d -53-SI-4(23). -
│ │ │ -00484a30: 2050 4349 2d44 5353 2d52 6571 2d31 302e PCI-DSS-Req-10.
│ │ │ -00484a40: 310a 2020 2d20 5043 492d 4453 5376 342d 1. - PCI-DSSv4-
│ │ │ -00484a50: 3130 2e32 0a20 202d 2050 4349 2d44 5353 10.2. - PCI-DSS
│ │ │ -00484a60: 7634 2d31 302e 322e 310a 2020 2d20 656e v4-10.2.1. - en
│ │ │ -00484a70: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -00484a80: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -00484a90: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -00484aa0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ -00484ab0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ -00484ac0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ -00484ad0: 2073 6572 7669 6365 5f61 7564 6974 645f service_auditd_
│ │ │ -00484ae0: 656e 6162 6c65 640a 0a2d 206e 616d 653a enabled..- name:
│ │ │ -00484af0: 2045 6e61 626c 6520 6175 6469 7464 2053 Enable auditd S
│ │ │ -00484b00: 6572 7669 6365 202d 2045 6e61 626c 6520 ervice - Enable
│ │ │ -00484b10: 7365 7276 6963 6520 6175 6469 7464 0a20 service auditd.
│ │ │ -00484b20: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d block:.. - nam
│ │ │ -00484b30: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ -00484b40: 636b 6167 6520 6661 6374 730a 2020 2020 ckage facts.
│ │ │ -00484b50: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -00484b60: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ -00484b70: 2020 2020 206d 616e 6167 6572 3a20 6175 manager: au
│ │ │ -00484b80: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e to.. - name: En
│ │ │ -00484b90: 6162 6c65 2061 7564 6974 6420 5365 7276 able auditd Serv
│ │ │ -00484ba0: 6963 6520 2d20 456e 6162 6c65 2053 6572 ice - Enable Ser
│ │ │ -00484bb0: 7669 6365 2061 7564 6974 640a 2020 2020 vice auditd.
│ │ │ -00484bc0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -00484bd0: 7379 7374 656d 643a 0a20 2020 2020 206e systemd:. n
│ │ │ -00484be0: 616d 653a 2061 7564 6974 640a 2020 2020 ame: auditd.
│ │ │ -00484bf0: 2020 656e 6162 6c65 643a 2074 7275 650a enabled: true.
│ │ │ -00484c00: 2020 2020 2020 7374 6174 653a 2073 7461 state: sta
│ │ │ -00484c10: 7274 6564 0a20 2020 2020 206d 6173 6b65 rted. maske
│ │ │ -00484c20: 643a 2066 616c 7365 0a20 2020 2077 6865 d: false. whe
│ │ │ -00484c30: 6e3a 0a20 2020 202d 2027 2261 7564 6974 n:. - '"audit
│ │ │ -00484c40: 6422 2069 6e20 616e 7369 626c 655f 6661 d" in ansible_fa
│ │ │ -00484c50: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ -00484c60: 7461 6773 3a0a 2020 2d20 434a 4953 2d35 tags:. - CJIS-5
│ │ │ -00484c70: 2e34 2e31 2e31 0a20 202d 2044 4953 412d .4.1.1. - DISA-
│ │ │ -00484c80: 5354 4947 2d55 4254 552d 3232 2d36 3533 STIG-UBTU-22-653
│ │ │ -00484c90: 3031 350a 2020 2d20 4e49 5354 2d38 3030 015. - NIST-800
│ │ │ -00484ca0: 2d31 3731 2d33 2e33 2e31 0a20 202d 204e -171-3.3.1. - N
│ │ │ -00484cb0: 4953 542d 3830 302d 3137 312d 332e 332e IST-800-171-3.3.
│ │ │ -00484cc0: 320a 2020 2d20 4e49 5354 2d38 3030 2d31 2. - NIST-800-1
│ │ │ -00484cd0: 3731 2d33 2e33 2e36 0a20 202d 204e 4953 71-3.3.6. - NIS
│ │ │ -00484ce0: 542d 3830 302d 3533 2d41 432d 3228 6729 T-800-53-AC-2(g)
│ │ │ -00484cf0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00484d00: 2d41 432d 3628 3929 0a20 202d 204e 4953 -AC-6(9). - NIS
│ │ │ -00484d10: 542d 3830 302d 3533 2d41 552d 3130 0a20 T-800-53-AU-10.
│ │ │ -00484d20: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ -00484d30: 552d 3132 2863 290a 2020 2d20 4e49 5354 U-12(c). - NIST
│ │ │ -00484d40: 2d38 3030 2d35 332d 4155 2d31 3428 3129 -800-53-AU-14(1)
│ │ │ -00484d50: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00484d60: 2d41 552d 3228 6429 0a20 202d 204e 4953 -AU-2(d). - NIS
│ │ │ -00484d70: 542d 3830 302d 3533 2d41 552d 330a 2020 T-800-53-AU-3.
│ │ │ -00484d80: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -00484d90: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8
│ │ │ -00484da0: 3030 2d35 332d 5349 2d34 2832 3329 0a20 00-53-SI-4(23).
│ │ │ -00484db0: 202d 2050 4349 2d44 5353 2d52 6571 2d31 - PCI-DSS-Req-1
│ │ │ -00484dc0: 302e 310a 2020 2d20 5043 492d 4453 5376 0.1. - PCI-DSSv
│ │ │ -00484dd0: 342d 3130 2e32 0a20 202d 2050 4349 2d44 4-10.2. - PCI-D
│ │ │ -00484de0: 5353 7634 2d31 302e 322e 310a 2020 2d20 SSv4-10.2.1. -
│ │ │ -00484df0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -00484e00: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -00484e10: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -00484e20: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -00484e30: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -00484e40: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -00484e50: 202d 2073 6572 7669 6365 5f61 7564 6974 - service_audit
│ │ │ -00484e60: 645f 656e 6162 6c65 640a 2020 2d20 7370 d_enabled. - sp
│ │ │ -00484e70: 6563 6961 6c5f 7365 7276 6963 655f 626c ecial_service_bl
│ │ │ -00484e80: 6f63 6b0a 2020 7768 656e 3a0a 2020 2d20 ock. when:. -
│ │ │ -00484e90: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in
│ │ │ -00484ea0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ -00484eb0: 6163 6b61 6765 7327 0a20 202d 2027 2261 ackages'. - '"a
│ │ │ -00484ec0: 7564 6974 6422 2069 6e20 616e 7369 626c uditd" in ansibl
│ │ │ -00484ed0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -00484ee0: 270a 3c2f 636f 6465 3e3c 2f70 7265 3e3c '.
<
│ │ │ +00484980: 552d 3134 2831 290a 2020 2d20 4e49 5354 U-14(1). - NIST
│ │ │ +00484990: 2d38 3030 2d35 332d 4155 2d32 2864 290a -800-53-AU-2(d).
│ │ │ +004849a0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +004849b0: 4155 2d33 0a20 202d 204e 4953 542d 3830 AU-3. - NIST-80
│ │ │ +004849c0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ +004849d0: 204e 4953 542d 3830 302d 3533 2d53 492d NIST-800-53-SI-
│ │ │ +004849e0: 3428 3233 290a 2020 2d20 5043 492d 4453 4(23). - PCI-DS
│ │ │ +004849f0: 532d 5265 712d 3130 2e31 0a20 202d 2050 S-Req-10.1. - P
│ │ │ +00484a00: 4349 2d44 5353 7634 2d31 302e 320a 2020 CI-DSSv4-10.2.
│ │ │ +00484a10: 2d20 5043 492d 4453 5376 342d 3130 2e32 - PCI-DSSv4-10.2
│ │ │ +00484a20: 2e31 0a20 202d 2065 6e61 626c 655f 7374 .1. - enable_st
│ │ │ +00484a30: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +00484a40: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +00484a50: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +00484a60: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +00484a70: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +00484a80: 6565 6465 640a 2020 2d20 7365 7276 6963 eeded. - servic
│ │ │ +00484a90: 655f 6175 6469 7464 5f65 6e61 626c 6564 e_auditd_enabled
│ │ │ +00484aa0: 0a20 202d 2073 7065 6369 616c 5f73 6572 . - special_ser
│ │ │ +00484ab0: 7669 6365 5f62 6c6f 636b 0a20 2077 6865 vice_block. whe
│ │ │ +00484ac0: 6e3a 0a20 202d 2027 226c 696e 7578 2d62 n:. - '"linux-b
│ │ │ +00484ad0: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_
│ │ │ +00484ae0: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ +00484af0: 2020 2d20 2722 6175 6469 7464 2220 696e - '"auditd" in
│ │ │ +00484b00: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +00484b10: 6163 6b61 6765 7327 0a3c 2f63 6f64 653e ackages'.
│ │ │ +00484b20: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063 Remedi
│ │ │ +00484bd0: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ +00484be0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00484bf0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65 Compl
│ │ │ +00484c70: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +00484c80: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00484c90: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +00484ca0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00484cb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +00484cc0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +00484cd0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +00484ce0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
include
│ │ │ +00484d20: 2065 6e61 626c 655f 6175 6469 7464 0a0a enable_auditd..
│ │ │ +00484d30: 636c 6173 7320 656e 6162 6c65 5f61 7564 class enable_aud
│ │ │ +00484d40: 6974 6420 7b0a 2020 7365 7276 6963 6520 itd {. service
│ │ │ +00484d50: 7b27 6175 6469 7464 273a 0a20 2020 2065 {'auditd':. e
│ │ │ +00484d60: 6e61 626c 6520 3d26 6774 3b20 7472 7565 nable => true
│ │ │ +00484d70: 2c0a 2020 2020 656e 7375 7265 203d 2667 ,. ensure =&g
│ │ │ +00484d80: 743b 2027 7275 6e6e 696e 6727 2c0a 2020 t; 'running',.
│ │ │ +00484d90: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediation
│ │ │ +00484e50: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri
│ │ │ +00484e60: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
│ │ │ +00484e70: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
.[customizatio
│ │ │ +00484ec0: 6e73 2e73 6572 7669 6365 735d 0a65 6e61 ns.services].ena
│ │ │ +00484ed0: 626c 6564 203d 205b 2261 7564 6974 6422 bled = ["auditd"
│ │ │ +00484ee0: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ].
<
│ │ │ 00484ef0: 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:
│ │ │ │ @@ -183,14 +166,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -811,27 +811,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:
│ │ │ │ @@ -865,14 +852,27 @@
│ │ │ │ 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 ]];
│ │ │ │ @@ -1948,31 +1948,14 @@
│ │ │ │ _i_s_m 1382, 1384, 1386
│ │ │ │ _n_i_s_t CM-6(a)
│ │ │ │ _o_s_p_p FMT_MOF_EXT.1
│ │ │ │ References: _o_s_-_s_r_g SRG-OS-000324-GPOS-00125
│ │ │ │ _a_n_s_s_i R33
│ │ │ │ _c_i_s 5.3.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 = "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:
│ │ │ │ @@ -1999,14 +1982,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -5843,31 +5843,14 @@
│ │ │ │ attacks on the system.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_pam_pwquality_installed
│ │ │ │ _o_s_-_s_r_g SRG-OS-000480-GPOS-00225
│ │ │ │ References: _c_i_s 5.4.1
│ │ │ │ _s_t_i_g_i_d UBTU-22-215010
│ │ │ │ _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:
│ │ │ │ @@ -5890,14 +5873,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}' 'libpam-runtime' 2>/dev/null | grep -
│ │ │ │ @@ -8128,31 +8128,14 @@
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_package_apparmor_installed
│ │ │ │ _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: _a_n_s_s_i R45
│ │ │ │ _c_i_s 1.6.1.1
│ │ │ │ _s_t_i_g_i_d UBTU-22-431010
│ │ │ │ _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
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -8163,14 +8146,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
│ │ │ │ @@ -8741,31 +8741,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:
│ │ │ │ @@ -8786,14 +8769,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -8812,31 +8812,14 @@
│ │ │ │ Rationale: determine cause of failure and any information necessary to return to operations with
│ │ │ │ least disruption to system processes.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_systemd-journald_enabled
│ │ │ │ _n_i_s_t SC-24
│ │ │ │ References: _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:
│ │ │ │ @@ -8871,14 +8854,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_systemd-journald_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -9608,31 +9608,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)
│ │ │ │ _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:
│ │ │ │ @@ -9655,14 +9638,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -9692,31 +9692,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
│ │ │ │ _c_i_s 4.2.2.2
│ │ │ │ _s_t_i_g_i_d UBTU-22-652010
│ │ │ │ _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:
│ │ │ │ @@ -9755,14 +9738,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_rsyslog_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -10260,31 +10260,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:
│ │ │ │ @@ -10309,14 +10292,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 ( ! (systemctl is-active nftables &>/dev/null) && ! (systemctl is-active ufw &>/dev/null) &&
│ │ │ │ @@ -10332,27 +10332,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:
│ │ │ │ @@ -10373,14 +10360,27 @@
│ │ │ │ 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}' 'ufw' 2>/dev/null | grep -q '^installed$';
│ │ │ │ @@ -15660,31 +15660,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:
│ │ │ │ @@ -15709,14 +15692,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 ( ! (systemctl is-active iptables &>/dev/null) && ! (systemctl is-active ufw &>/dev/null) &&
│ │ │ │ @@ -15733,31 +15733,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:
│ │ │ │ @@ -15791,14 +15774,31 @@
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_nftables_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: ( "nftables" in ansible_facts.packages and "linux-base" in ansible_facts.packages
│ │ │ │ )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'nftables' 2>/dev/null | grep -
│ │ │ │ @@ -16323,27 +16323,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, 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:
│ │ │ │ @@ -16364,14 +16351,27 @@
│ │ │ │ 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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -16395,31 +16395,14 @@
│ │ │ │ Rationale: The ufw service must be enabled and running in order for ufw to protect the system
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_ufw_enabled
│ │ │ │ _o_s_-_s_r_g SRG-OS-000297-GPOS-00115
│ │ │ │ References: _c_i_s 3.5.1.3
│ │ │ │ _s_t_i_g_i_d UBTU-22-251020
│ │ │ │ _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:
│ │ │ │ @@ -16456,14 +16439,31 @@
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_ufw_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - ( "ufw" in ansible_facts.packages and "linux-base" in ansible_facts.packages )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -19431,50 +19431,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:
│ │ │ │ @@ -19535,14 +19499,50 @@
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_autofs_disabled
│ │ │ │ - special_service_block
│ │ │ │ when: ( "autofs" in ansible_facts.packages and "linux-base" in ansible_facts.packages
│ │ │ │ )
│ │ │ │ +_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}' 'autofs' 2>/dev/null | grep -
│ │ │ │ @@ -24602,50 +24602,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:
│ │ │ │ @@ -24695,14 +24659,50 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_apport_disabled
│ │ │ │ - special_service_block
│ │ │ │ - unknown_severity
│ │ │ │ when: '"apport" in ansible_facts.packages'
│ │ │ │ +_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}' 'apport' 2>/dev/null | grep -
│ │ │ │ @@ -24754,27 +24754,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.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: 'Uninstall avahi Server Package: Ensure avahi-daemon is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -24786,14 +24773,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -24822,50 +24822,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:
│ │ │ │ @@ -24927,14 +24891,50 @@
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_avahi-daemon_disabled
│ │ │ │ - special_service_block
│ │ │ │ when: ( "avahi-daemon" in ansible_facts.packages and "linux-base" in ansible_facts.packages
│ │ │ │ )
│ │ │ │ +_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}' 'avahi-daemon' 2>/dev/null | grep -
│ │ │ │ @@ -25722,31 +25722,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:
│ │ │ │ @@ -25781,14 +25764,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_cron_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -27629,27 +27629,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: 'Uninstall the nis package: Ensure nis is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27658,14 +27645,27 @@
│ │ │ │ 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
│ │ │ │ @@ -27707,27 +27707,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
│ │ │ │ _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.2.4
│ │ │ │ _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: 'Uninstall DHCP Server Package: Ensure isc-dhcp-server is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27741,14 +27728,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -27784,27 +27784,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.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: 'Uninstall bind Package: Ensure bind9 is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27816,14 +27803,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -27862,27 +27862,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: 'Uninstall vsftpd Package: Ensure vsftpd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27898,14 +27885,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -27945,27 +27945,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: 'Uninstall apache2 Package: Ensure apache2 is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -27977,14 +27964,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -28013,27 +28013,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: 'Uninstall nginx Package: Ensure nginx is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28045,14 +28032,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -28073,27 +28073,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: 'Uninstall cyrus-imapd Package: Ensure cyrus-imapd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28102,14 +28089,27 @@
│ │ │ │ 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
│ │ │ │ @@ -28127,27 +28127,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: 'Uninstall dovecot Package: Ensure dovecot-core is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28156,14 +28143,27 @@
│ │ │ │ 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
│ │ │ │ @@ -28194,27 +28194,14 @@
│ │ │ │ command:
│ │ │ │ $ apt-get remove ldap-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 client is not installed: Ensure ldap-utils is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28223,14 +28210,27 @@
│ │ │ │ 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
│ │ │ │ @@ -28261,27 +28261,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.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: 'Uninstall openldap-servers Package: Ensure slapd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28293,14 +28280,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -28418,27 +28418,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:
│ │ │ │ @@ -28459,14 +28446,27 @@
│ │ │ │ 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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -28488,27 +28488,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: 'Uninstall nfs-kernel-server Package: Ensure nfs-kernel-server is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -28517,14 +28504,27 @@
│ │ │ │ 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
│ │ │ │ @@ -28590,31 +28590,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
│ │ │ │ _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)
│ │ │ │ _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:
│ │ │ │ @@ -28639,14 +28622,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -28666,31 +28666,14 @@
│ │ │ │ Rationale: If chrony is in use on the system proper configuration is vital to ensuring time
│ │ │ │ synchronization is working properly.
│ │ │ │ Severity: medium
│ │ │ │ Rule ID: xccdf_org.ssgproject.content_rule_service_chronyd_enabled
│ │ │ │ _i_s_m 0988, 1405
│ │ │ │ References: _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:
│ │ │ │ @@ -28725,14 +28708,31 @@
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_chronyd_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - '"chrony" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -28768,31 +28768,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:
│ │ │ │ @@ -28837,14 +28820,31 @@
│ │ │ │ - low_disruption
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_ntp_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - '"ntp" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -28879,31 +28879,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:
│ │ │ │ @@ -28949,14 +28932,31 @@
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_timesyncd_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - ( not ( "chrony" in ansible_facts.packages ) and not ( "ntp" in ansible_facts.packages
│ │ │ │ ) )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -29129,27 +29129,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
│ │ │ │ _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.3.2
│ │ │ │ _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: 'Uninstall rsh Package: Ensure rsh-client is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29161,14 +29148,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -29235,27 +29235,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: _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.3.3
│ │ │ │ _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: 'Uninstall talk Package: Ensure talk is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29266,14 +29253,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -29298,27 +29298,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
│ │ │ │ _a_n_s_s_i R62
│ │ │ │ _c_i_s 2.3.4
│ │ │ │ _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: 'Remove telnet Clients: Ensure telnet is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29330,14 +29317,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -29353,27 +29353,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: 'Uninstall rsync Package: Ensure rsync is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29382,14 +29369,27 @@
│ │ │ │ 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
│ │ │ │ @@ -29423,27 +29423,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: 'Uninstall CUPS Package: Ensure cups is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29455,14 +29442,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -29488,50 +29488,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:
│ │ │ │ @@ -29587,14 +29551,50 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_cups_disabled
│ │ │ │ - special_service_block
│ │ │ │ - unknown_severity
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -29634,27 +29634,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: 'Uninstall squid Package: Ensure squid is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29663,14 +29650,27 @@
│ │ │ │ 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
│ │ │ │ @@ -29696,27 +29696,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: 'Uninstall Samba Package: Ensure samba is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29725,14 +29712,27 @@
│ │ │ │ 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
│ │ │ │ @@ -29758,27 +29758,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: 'Uninstall net-snmp Package: Ensure snmp is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -29789,14 +29776,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -33243,23 +33243,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
│ │ │ │ _a_n_s_s_i R50
│ │ │ │ _c_i_s 5.2.2
│ │ │ │ _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:
│ │ │ │ @@ -33323,14 +33314,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
│ │ │ │ @@ -33370,23 +33370,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
│ │ │ │ _a_n_s_s_i R50
│ │ │ │ _c_i_s 5.2.3
│ │ │ │ _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:
│ │ │ │ @@ -33450,14 +33441,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -85393,31 +85393,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
│ │ │ │ _a_n_s_s_i R33, R73
│ │ │ │ _c_i_s 4.1.1.1
│ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2
│ │ │ │ _s_t_i_g_i_d UBTU-22-653010
│ │ │ │ _s_t_i_g_r_e_f SV-260590r1015022_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:
│ │ │ │ @@ -85460,14 +85443,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}' 'linux-base' 2>/dev/null | grep -
│ │ │ │ @@ -85529,31 +85529,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
│ │ │ │ _a_n_s_s_i R33, R73
│ │ │ │ _c_i_s 4.1.1.2
│ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2
│ │ │ │ _s_t_i_g_i_d UBTU-22-653015
│ │ │ │ _s_t_i_g_r_e_f SV-260591r1015023_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:
│ │ │ │ @@ -85622,14 +85605,31 @@
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_auditd_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - '"auditd" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null | grep -
│ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2204-guide-standard.html
│ │ │ @@ -20066,128 +20066,128 @@
│ │ │ 0004e610: 6461 7461 2d74 6172 6765 743d 2223 6964 data-target="#id
│ │ │ 0004e620: 3236 2220 7461 6269 6e64 6578 3d22 3022 26" tabindex="0"
│ │ │ 0004e630: 2072 6f6c 653d 2262 7574 746f 6e22 2061 role="button" a
│ │ │ 0004e640: 7269 612d 6578 7061 6e64 6564 3d22 6661 ria-expanded="fa
│ │ │ 0004e650: 6c73 6522 2074 6974 6c65 3d22 4163 7469 lse" title="Acti
│ │ │ 0004e660: 7661 7465 2074 6f20 7265 7665 616c 2220 vate to reveal"
│ │ │ 0004e670: 6872 6566 3d22 2321 223e 5265 6d65 6469 href="#!">Remedi
│ │ │ -0004e680: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ -0004e690: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ -0004e6a0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
<
│ │ │ -0004e6e0: 636f 6465 3e0a 5b5b 7061 636b 6167 6573 code>.[[packages
│ │ │ -0004e6f0: 5d5d 0a6e 616d 6520 3d20 2272 7379 736c ]].name = "rsysl
│ │ │ -0004e700: 6f67 220a 7665 7273 696f 6e20 3d20 222a og".version = "*
│ │ │ -0004e710: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ".
<
│ │ │ -0004e720: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pup
│ │ │ -0004e7d0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ -0004e7e0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -0004e860: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -0004e870: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -0004e890: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -0004e8a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -0004e8e0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ -0004e8f0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e in
│ │ │ -0004e910: 636c 7564 6520 696e 7374 616c 6c5f 7273 clude install_rs
│ │ │ -0004e920: 7973 6c6f 670a 0a63 6c61 7373 2069 6e73 yslog..class ins
│ │ │ -0004e930: 7461 6c6c 5f72 7379 736c 6f67 207b 0a20 tall_rsyslog {.
│ │ │ -0004e940: 2070 6163 6b61 6765 207b 2027 7273 7973 package { 'rsys
│ │ │ -0004e950: 6c6f 6727 3a0a 2020 2020 656e 7375 7265 log':. ensure
│ │ │ -0004e960: 203d 2667 743b 2027 696e 7374 616c 6c65 => 'installe
│ │ │ -0004e970: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remedia
│ │ │ -0004ea30: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -0004ea40: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0004ea50: 3c64 6976 2063 6c61 7373 3d22 7061 6e65 <
│ │ │ -0004ea80: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -0004ea90: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -0004eaa0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -0004eab0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -0004eac0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -0004ead0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -0004eae0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -0004eb10: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -0004eb20: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -0004eb30: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -0004eb50: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable <
│ │ │ -0004eb60: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ -0004eb80: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ -0004eb90: 6520 6661 6374 730a 2020 7061 636b 6167 e facts. packag
│ │ │ -0004eba0: 655f 6661 6374 733a 0a20 2020 206d 616e e_facts:. man
│ │ │ -0004ebb0: 6167 6572 3a20 6175 746f 0a20 2074 6167 ager: auto. tag
│ │ │ -0004ebc0: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ -0004ebd0: 3533 2d43 4d2d 3628 6129 0a20 202d 2065 53-CM-6(a). - e
│ │ │ -0004ebe0: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ -0004ebf0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -0004ec00: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -0004ec10: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -0004ec20: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -0004ec30: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -0004ec40: 2d20 7061 636b 6167 655f 7273 7973 6c6f - package_rsyslo
│ │ │ -0004ec50: 675f 696e 7374 616c 6c65 640a 0a2d 206e g_installed..- n
│ │ │ -0004ec60: 616d 653a 2045 6e73 7572 6520 7273 7973 ame: Ensure rsys
│ │ │ -0004ec70: 6c6f 6720 6973 2069 6e73 7461 6c6c 6564 log is installed
│ │ │ -0004ec80: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ -0004ec90: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ -0004eca0: 6e61 6d65 3a20 7273 7973 6c6f 670a 2020 name: rsyslog.
│ │ │ -0004ecb0: 2020 7374 6174 653a 2070 7265 7365 6e74 state: present
│ │ │ -0004ecc0: 0a20 2077 6865 6e3a 2027 226c 696e 7578 . when: '"linux
│ │ │ -0004ecd0: 2d62 6173 6522 2069 6e20 616e 7369 626c -base" in ansibl
│ │ │ -0004ece0: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -0004ecf0: 270a 2020 7461 6773 3a0a 2020 2d20 4e49 '. tags:. - NI
│ │ │ -0004ed00: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ -0004ed10: 290a 2020 2d20 656e 6162 6c65 5f73 7472 ). - enable_str
│ │ │ -0004ed20: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -0004ed30: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -0004ed40: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -0004ed50: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -0004ed60: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -0004ed70: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -0004ed80: 5f72 7379 736c 6f67 5f69 6e73 7461 6c6c _rsyslog_install
│ │ │ -0004ed90: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +0004e680: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ +0004e690: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
│ │ │ +0004e6d0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +0004e720: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +0004e730: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +0004e740: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +0004e750: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +0004e760: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +0004e770: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +0004e780: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +0004e790: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ +0004e7b0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +0004e7d0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ +0004e7e0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ +0004e7f0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ +0004e800: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ +0004e810: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ +0004e820: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ +0004e830: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ +0004e840: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +0004e850: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +0004e860: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +0004e870: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +0004e880: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +0004e890: 202d 2070 6163 6b61 6765 5f72 7379 736c - package_rsysl
│ │ │ +0004e8a0: 6f67 5f69 6e73 7461 6c6c 6564 0a0a 2d20 og_installed..-
│ │ │ +0004e8b0: 6e61 6d65 3a20 456e 7375 7265 2072 7379 name: Ensure rsy
│ │ │ +0004e8c0: 736c 6f67 2069 7320 696e 7374 616c 6c65 slog is installe
│ │ │ +0004e8d0: 640a 2020 616e 7369 626c 652e 6275 696c d. ansible.buil
│ │ │ +0004e8e0: 7469 6e2e 7061 636b 6167 653a 0a20 2020 tin.package:.
│ │ │ +0004e8f0: 206e 616d 653a 2072 7379 736c 6f67 0a20 name: rsyslog.
│ │ │ +0004e900: 2020 2073 7461 7465 3a20 7072 6573 656e state: presen
│ │ │ +0004e910: 740a 2020 7768 656e 3a20 2722 6c69 6e75 t. when: '"linu
│ │ │ +0004e920: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ +0004e930: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ +0004e940: 7327 0a20 2074 6167 733a 0a20 202d 204e s'. tags:. - N
│ │ │ +0004e950: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +0004e960: 6129 0a20 202d 2065 6e61 626c 655f 7374 a). - enable_st
│ │ │ +0004e970: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +0004e980: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +0004e990: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +0004e9a0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +0004e9b0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +0004e9c0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ +0004e9d0: 655f 7273 7973 6c6f 675f 696e 7374 616c e_rsyslog_instal
│ │ │ +0004e9e0: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led. Remediation P
│ │ │ +0004eaa0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ +0004eab0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: low
│ │ │ +0004eb50: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +0004eb60: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +0004eb70: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +0004eb80: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +0004eb90: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +0004eba0: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +0004ebb0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ +0004ebc0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +0004ebe0: 696e 636c 7564 6520 696e 7374 616c 6c5f include install_
│ │ │ +0004ebf0: 7273 7973 6c6f 670a 0a63 6c61 7373 2069 rsyslog..class i
│ │ │ +0004ec00: 6e73 7461 6c6c 5f72 7379 736c 6f67 207b nstall_rsyslog {
│ │ │ +0004ec10: 0a20 2070 6163 6b61 6765 207b 2027 7273 . package { 'rs
│ │ │ +0004ec20: 7973 6c6f 6727 3a0a 2020 2020 656e 7375 yslog':. ensu
│ │ │ +0004ec30: 7265 203d 2667 743b 2027 696e 7374 616c re => 'instal
│ │ │ +0004ec40: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f led',. }.}.
<
│ │ │ +0004ec60: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +0004ec70: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +0004ec80: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +0004ec90: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +0004eca0: 6432 3822 2074 6162 696e 6465 783d 2230 d28" tabindex="0
│ │ │ +0004ecb0: 2220 726f 6c65 3d22 6275 7474 6f6e 2220 " role="button"
│ │ │ +0004ecc0: 6172 6961 2d65 7870 616e 6465 643d 2266 aria-expanded="f
│ │ │ +0004ecd0: 616c 7365 2220 7469 746c 653d 2241 6374 alse" title="Act
│ │ │ +0004ece0: 6976 6174 6520 746f 2072 6576 6561 6c22 ivate to reveal"
│ │ │ +0004ecf0: 2068 7265 663d 2223 2122 3e52 656d 6564 href="#!">Remed
│ │ │ +0004ed00: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ +0004ed10: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ +0004ed20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ +0004ed60: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765 .[[package
│ │ │ +0004ed70: 735d 5d0a 6e61 6d65 203d 2022 7273 7973 s]].name = "rsys
│ │ │ +0004ed80: 6c6f 6722 0a76 6572 7369 6f6e 203d 2022 log".version = "
│ │ │ +0004ed90: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".
│ │ │ 0004eda0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remed
│ │ │ -00050090: 6961 7469 6f6e 204f 5342 7569 6c64 2042 iation OSBuild B
│ │ │ -000500a0: 6c75 6570 7269 6e74 2073 6e69 7070 6574 lueprint snippet
│ │ │ -000500b0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
│ │ │ -000500f0: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a .[customiz
│ │ │ -00050100: 6174 696f 6e73 2e73 6572 7669 6365 735d ations.services]
│ │ │ -00050110: 0a65 6e61 626c 6564 203d 205b 2272 7379 .enabled = ["rsy
│ │ │ -00050120: 736c 6f67 225d 0a3c 2f63 6f64 653e 3c2f slog"].
│ │ │ -00050130: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediatio
│ │ │ -000501e0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -000501f0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity:
│ │ │ -00050280: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -000502a0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -000502c0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -000502d0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -000502f0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -00050300: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -00050310: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ -00050330: 655f 7273 7973 6c6f 670a 0a63 6c61 7373 e_rsyslog..class
│ │ │ -00050340: 2065 6e61 626c 655f 7273 7973 6c6f 6720 enable_rsyslog
│ │ │ -00050350: 7b0a 2020 7365 7276 6963 6520 7b27 7273 {. service {'rs
│ │ │ -00050360: 7973 6c6f 6727 3a0a 2020 2020 656e 6162 yslog':. enab
│ │ │ -00050370: 6c65 203d 2667 743b 2074 7275 652c 0a20 le => true,.
│ │ │ -00050380: 2020 2065 6e73 7572 6520 3d26 6774 3b20 ensure =>
│ │ │ -00050390: 2772 756e 6e69 6e67 272c 0a20 207d 0a7d 'running',. }.}
│ │ │ -000503a0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ -000503b0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>
│ │ │ -00050450: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ -00050460: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ -00050470: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -000504f0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -00050500: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -00050520: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -00050530: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -00050570: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ -00050580: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ -000505a0: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the
│ │ │ -000505b0: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts.
│ │ │ -000505c0: 2070 6163 6b61 6765 5f66 6163 7473 3a0a package_facts:.
│ │ │ -000505d0: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ -000505e0: 6f0a 2020 7461 6773 3a0a 2020 2d20 4449 o. tags:. - DI
│ │ │ -000505f0: 5341 2d53 5449 472d 5542 5455 2d32 322d SA-STIG-UBTU-22-
│ │ │ -00050600: 3635 3230 3130 0a20 202d 204e 4953 542d 652010. - NIST-
│ │ │ -00050610: 3830 302d 3533 2d41 552d 3428 3129 0a20 800-53-AU-4(1).
│ │ │ -00050620: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -00050630: 4d2d 3628 6129 0a20 202d 2065 6e61 626c M-6(a). - enabl
│ │ │ -00050640: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -00050650: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -00050660: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -00050670: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -00050680: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -00050690: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ -000506a0: 7276 6963 655f 7273 7973 6c6f 675f 656e rvice_rsyslog_en
│ │ │ -000506b0: 6162 6c65 640a 0a2d 206e 616d 653a 2045 abled..- name: E
│ │ │ -000506c0: 6e61 626c 6520 7273 7973 6c6f 6720 5365 nable rsyslog Se
│ │ │ -000506d0: 7276 6963 6520 2d20 456e 6162 6c65 2073 rvice - Enable s
│ │ │ -000506e0: 6572 7669 6365 2072 7379 736c 6f67 0a20 ervice rsyslog.
│ │ │ -000506f0: 2062 6c6f 636b 3a0a 0a20 202d 206e 616d block:.. - nam
│ │ │ -00050700: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ -00050710: 636b 6167 6520 6661 6374 730a 2020 2020 ckage facts.
│ │ │ -00050720: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -00050730: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ -00050740: 2020 2020 206d 616e 6167 6572 3a20 6175 manager: au
│ │ │ -00050750: 746f 0a0a 2020 2d20 6e61 6d65 3a20 456e to.. - name: En
│ │ │ -00050760: 6162 6c65 2072 7379 736c 6f67 2053 6572 able rsyslog Ser
│ │ │ -00050770: 7669 6365 202d 2045 6e61 626c 6520 5365 vice - Enable Se
│ │ │ -00050780: 7276 6963 6520 7273 7973 6c6f 670a 2020 rvice rsyslog.
│ │ │ -00050790: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -000507a0: 6e2e 7379 7374 656d 643a 0a20 2020 2020 n.systemd:.
│ │ │ -000507b0: 206e 616d 653a 2072 7379 736c 6f67 0a20 name: rsyslog.
│ │ │ -000507c0: 2020 2020 2065 6e61 626c 6564 3a20 7472 enabled: tr
│ │ │ -000507d0: 7565 0a20 2020 2020 2073 7461 7465 3a20 ue. state:
│ │ │ -000507e0: 7374 6172 7465 640a 2020 2020 2020 6d61 started. ma
│ │ │ -000507f0: 736b 6564 3a20 6661 6c73 650a 2020 2020 sked: false.
│ │ │ -00050800: 7768 656e 3a0a 2020 2020 2d20 2722 7273 when:. - '"rs
│ │ │ -00050810: 7973 6c6f 6722 2069 6e20 616e 7369 626c yslog" in ansibl
│ │ │ -00050820: 655f 6661 6374 732e 7061 636b 6167 6573 e_facts.packages
│ │ │ -00050830: 270a 2020 7461 6773 3a0a 2020 2d20 4449 '. tags:. - DI
│ │ │ -00050840: 5341 2d53 5449 472d 5542 5455 2d32 322d SA-STIG-UBTU-22-
│ │ │ -00050850: 3635 3230 3130 0a20 202d 204e 4953 542d 652010. - NIST-
│ │ │ -00050860: 3830 302d 3533 2d41 552d 3428 3129 0a20 800-53-AU-4(1).
│ │ │ -00050870: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -00050880: 4d2d 3628 6129 0a20 202d 2065 6e61 626c M-6(a). - enabl
│ │ │ -00050890: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -000508a0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -000508b0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -000508c0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -000508d0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -000508e0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ -000508f0: 7276 6963 655f 7273 7973 6c6f 675f 656e rvice_rsyslog_en
│ │ │ -00050900: 6162 6c65 640a 2020 2d20 7370 6563 6961 abled. - specia
│ │ │ -00050910: 6c5f 7365 7276 6963 655f 626c 6f63 6b0a l_service_block.
│ │ │ -00050920: 2020 7768 656e 3a20 2722 6c69 6e75 782d when: '"linux-
│ │ │ -00050930: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ -00050940: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +00050090: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ +000500a0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Compl
│ │ │ +00050130: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +00050140: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00050150: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +00050160: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00050170: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +00050180: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +00050190: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +000501a0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
- name:
│ │ │ +000501e0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ +000501f0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ +00050200: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ +00050210: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ +00050220: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ +00050230: 4947 2d55 4254 552d 3232 2d36 3532 3031 IG-UBTU-22-65201
│ │ │ +00050240: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +00050250: 332d 4155 2d34 2831 290a 2020 2d20 4e49 3-AU-4(1). - NI
│ │ │ +00050260: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ +00050270: 290a 2020 2d20 656e 6162 6c65 5f73 7472 ). - enable_str
│ │ │ +00050280: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +00050290: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +000502a0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +000502b0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +000502c0: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +000502d0: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ +000502e0: 5f72 7379 736c 6f67 5f65 6e61 626c 6564 _rsyslog_enabled
│ │ │ +000502f0: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65 ..- name: Enable
│ │ │ +00050300: 2072 7379 736c 6f67 2053 6572 7669 6365 rsyslog Service
│ │ │ +00050310: 202d 2045 6e61 626c 6520 7365 7276 6963 - Enable servic
│ │ │ +00050320: 6520 7273 7973 6c6f 670a 2020 626c 6f63 e rsyslog. bloc
│ │ │ +00050330: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761 k:.. - name: Ga
│ │ │ +00050340: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ +00050350: 2066 6163 7473 0a20 2020 2061 6e73 6962 facts. ansib
│ │ │ +00050360: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +00050370: 6765 5f66 6163 7473 3a0a 2020 2020 2020 ge_facts:.
│ │ │ +00050380: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20 manager: auto..
│ │ │ +00050390: 202d 206e 616d 653a 2045 6e61 626c 6520 - name: Enable
│ │ │ +000503a0: 7273 7973 6c6f 6720 5365 7276 6963 6520 rsyslog Service
│ │ │ +000503b0: 2d20 456e 6162 6c65 2053 6572 7669 6365 - Enable Service
│ │ │ +000503c0: 2072 7379 736c 6f67 0a20 2020 2061 6e73 rsyslog. ans
│ │ │ +000503d0: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys
│ │ │ +000503e0: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65 temd:. name
│ │ │ +000503f0: 3a20 7273 7973 6c6f 670a 2020 2020 2020 : rsyslog.
│ │ │ +00050400: 656e 6162 6c65 643a 2074 7275 650a 2020 enabled: true.
│ │ │ +00050410: 2020 2020 7374 6174 653a 2073 7461 7274 state: start
│ │ │ +00050420: 6564 0a20 2020 2020 206d 6173 6b65 643a ed. masked:
│ │ │ +00050430: 2066 616c 7365 0a20 2020 2077 6865 6e3a false. when:
│ │ │ +00050440: 0a20 2020 202d 2027 2272 7379 736c 6f67 . - '"rsyslog
│ │ │ +00050450: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +00050460: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t
│ │ │ +00050470: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ +00050480: 4947 2d55 4254 552d 3232 2d36 3532 3031 IG-UBTU-22-65201
│ │ │ +00050490: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +000504a0: 332d 4155 2d34 2831 290a 2020 2d20 4e49 3-AU-4(1). - NI
│ │ │ +000504b0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ +000504c0: 290a 2020 2d20 656e 6162 6c65 5f73 7472 ). - enable_str
│ │ │ +000504d0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +000504e0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +000504f0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +00050500: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +00050510: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +00050520: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ +00050530: 5f72 7379 736c 6f67 5f65 6e61 626c 6564 _rsyslog_enabled
│ │ │ +00050540: 0a20 202d 2073 7065 6369 616c 5f73 6572 . - special_ser
│ │ │ +00050550: 7669 6365 5f62 6c6f 636b 0a20 2077 6865 vice_block. whe
│ │ │ +00050560: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ +00050570: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +00050580: 732e 7061 636b 6167 6573 270a 3c2f 636f s.packages'.
<
│ │ │ +000505a0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +000505b0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +000505c0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +000505d0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +000505e0: 6433 3222 2074 6162 696e 6465 783d 2230 d32" tabindex="0
│ │ │ +000505f0: 2220 726f 6c65 3d22 6275 7474 6f6e 2220 " role="button"
│ │ │ +00050600: 6172 6961 2d65 7870 616e 6465 643d 2266 aria-expanded="f
│ │ │ +00050610: 616c 7365 2220 7469 746c 653d 2241 6374 alse" title="Act
│ │ │ +00050620: 6976 6174 6520 746f 2072 6576 6561 6c22 ivate to reveal"
│ │ │ +00050630: 2068 7265 663d 2223 2122 3e52 656d 6564 href="#!">Remed
│ │ │ +00050640: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ +00050650: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
│ │ │ +00050690: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +000506e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +000506f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00050700: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +00050710: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +00050720: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +00050730: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +00050740: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +00050750: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ +00050770: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ +00050790: 656e 6162 6c65 5f72 7379 736c 6f67 0a0a enable_rsyslog..
│ │ │ +000507a0: 636c 6173 7320 656e 6162 6c65 5f72 7379 class enable_rsy
│ │ │ +000507b0: 736c 6f67 207b 0a20 2073 6572 7669 6365 slog {. service
│ │ │ +000507c0: 207b 2772 7379 736c 6f67 273a 0a20 2020 {'rsyslog':.
│ │ │ +000507d0: 2065 6e61 626c 6520 3d26 6774 3b20 7472 enable => tr
│ │ │ +000507e0: 7565 2c0a 2020 2020 656e 7375 7265 203d ue,. ensure =
│ │ │ +000507f0: 2667 743b 2027 7275 6e6e 696e 6727 2c0a > 'running',.
│ │ │ +00050800: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}. Remediation
│ │ │ +000508c0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri
│ │ │ +000508d0: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
│ │ │ +000508e0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +00050920: 0a5b 6375 7374 6f6d 697a 6174 696f 6e73 .[customizations
│ │ │ +00050930: 2e73 6572 7669 6365 735d 0a65 6e61 626c .services].enabl
│ │ │ +00050940: 6564 203d 205b 2272 7379 736c 6f67 225d ed = ["rsyslog"]
│ │ │ 00050950: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 00050960: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Re
│ │ │ -000703a0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ -000703b0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ -000703c0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -000703d0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -000703e0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -000703f0: 7365 2220 6964 3d22 6964 3837 223e 3c70 se" id="id87">.[custo
│ │ │ -00070410: 6d69 7a61 7469 6f6e 732e 7365 7276 6963 mizations.servic
│ │ │ -00070420: 6573 5d0a 6d61 736b 6564 203d 205b 2261 es].masked = ["a
│ │ │ -00070430: 7070 6f72 7422 5d0a 3c2f 636f 6465 3e3c pport"].<
│ │ │ -00070440: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediati
│ │ │ -000704f0: 6f6e 204b 7562 6572 6e65 7465 7320 736e on Kubernetes sn
│ │ │ -00070500: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
│ │ │ -00070540: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -00070590: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -000705a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -000705b0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -000705c0: 7468 3e3c 7464 3e6d 6564 6975 6d3c 2f74 th>medium R
│ │ │ -000705e0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e74 eboot: t
│ │ │ -000705f0: 7275 653c 2f74 643e 3c2f 7472 3e3c 7472 rue Strategy:
│ │ │ -00070610: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -00070620: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -00070630: 3c70 7265 3e3c 636f 6465 3e61 7069 5665 apiVe
│ │ │ -00070640: 7273 696f 6e3a 206d 6163 6869 6e65 636f rsion: machineco
│ │ │ -00070650: 6e66 6967 7572 6174 696f 6e2e 6f70 656e nfiguration.open
│ │ │ -00070660: 7368 6966 742e 696f 2f76 310a 6b69 6e64 shift.io/v1.kind
│ │ │ -00070670: 3a20 4d61 6368 696e 6543 6f6e 6669 670a : MachineConfig.
│ │ │ -00070680: 7370 6563 3a0a 2020 636f 6e66 6967 3a0a spec:. config:.
│ │ │ -00070690: 2020 2020 6967 6e69 7469 6f6e 3a0a 2020 ignition:.
│ │ │ -000706a0: 2020 2020 7665 7273 696f 6e3a 2033 2e31 version: 3.1
│ │ │ -000706b0: 2e30 0a20 2020 2073 7973 7465 6d64 3a0a .0. systemd:.
│ │ │ -000706c0: 2020 2020 2020 756e 6974 733a 0a20 2020 units:.
│ │ │ -000706d0: 2020 202d 206e 616d 653a 2061 7070 6f72 - name: appor
│ │ │ -000706e0: 742e 7365 7276 6963 650a 2020 2020 2020 t.service.
│ │ │ -000706f0: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false
│ │ │ -00070700: 0a20 2020 2020 2020 206d 6173 6b3a 2074 . mask: t
│ │ │ -00070710: 7275 650a 2020 2020 2020 2d20 6e61 6d65 rue. - name
│ │ │ -00070720: 3a20 6170 706f 7274 2e73 6f63 6b65 740a : apport.socket.
│ │ │ -00070730: 2020 2020 2020 2020 656e 6162 6c65 643a enabled:
│ │ │ -00070740: 2066 616c 7365 0a20 2020 2020 2020 206d false. m
│ │ │ -00070750: 6173 6b3a 2074 7275 650a 3c2f 636f 6465 ask: true.
Remedia
│ │ │ -00070810: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ -00070820: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -00070830: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -00070840: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -00070850: 7365 2220 6964 3d22 6964 3839 223e 3c74 se" id="id89">
│ │ │ -000708a0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -000708b0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -000708c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -00070900: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -00070910: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -00070930: 7464 3e65 6e61 626c 653c 2f74 643e 3c2f td>enable
│ │ │ -00070940: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -00070950: 3c63 6f64 653e 696e 636c 7564 6520 6469 include di
│ │ │ -00070960: 7361 626c 655f 6170 706f 7274 0a0a 636c sable_apport..cl
│ │ │ -00070970: 6173 7320 6469 7361 626c 655f 6170 706f ass disable_appo
│ │ │ -00070980: 7274 207b 0a20 2073 6572 7669 6365 207b rt {. service {
│ │ │ -00070990: 2761 7070 6f72 7427 3a0a 2020 2020 656e 'apport':. en
│ │ │ -000709a0: 6162 6c65 203d 2667 743b 2066 616c 7365 able => false
│ │ │ -000709b0: 2c0a 2020 2020 656e 7375 7265 203d 2667 ,. ensure =&g
│ │ │ -000709c0: 743b 2027 7374 6f70 7065 6427 2c0a 2020 t; 'stopped',.
│ │ │ -000709d0: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
Remediation A
│ │ │ -00070a90: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ -00070aa0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
<
│ │ │ -00070b20: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -00070b30: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00070b40: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -00070b50: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -00070b60: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -00070b90: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -00070ba0: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -00070bb0: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -00070bc0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ -00070be0: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ -00070bf0: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ -00070c00: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ -00070c10: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ -00070c20: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ -00070c30: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ -00070c40: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -00070c50: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_
│ │ │ -00070c60: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -00070c70: 2d20 7365 7276 6963 655f 6170 706f 7274 - service_apport
│ │ │ -00070c80: 5f64 6973 6162 6c65 640a 2020 2d20 756e _disabled. - un
│ │ │ -00070c90: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a0a known_severity..
│ │ │ -00070ca0: 2d20 6e61 6d65 3a20 4469 7361 626c 6520 - name: Disable
│ │ │ -00070cb0: 4170 706f 7274 2053 6572 7669 6365 202d Apport Service -
│ │ │ -00070cc0: 2044 6973 6162 6c65 2073 6572 7669 6365 Disable service
│ │ │ -00070cd0: 2061 7070 6f72 740a 2020 626c 6f63 6b3a apport. block:
│ │ │ -00070ce0: 0a0a 2020 2d20 6e61 6d65 3a20 4469 7361 .. - name: Disa
│ │ │ -00070cf0: 626c 6520 4170 706f 7274 2053 6572 7669 ble Apport Servi
│ │ │ -00070d00: 6365 202d 2043 6f6c 6c65 6374 2073 7973 ce - Collect sys
│ │ │ -00070d10: 7465 6d64 2053 6572 7669 6365 7320 5072 temd Services Pr
│ │ │ -00070d20: 6573 656e 7420 696e 2074 6865 2053 7973 esent in the Sys
│ │ │ -00070d30: 7465 6d0a 2020 2020 616e 7369 626c 652e tem. ansible.
│ │ │ -00070d40: 6275 696c 7469 6e2e 636f 6d6d 616e 643a builtin.command:
│ │ │ -00070d50: 2073 7973 7465 6d63 746c 202d 7120 6c69 systemctl -q li
│ │ │ -00070d60: 7374 2d75 6e69 742d 6669 6c65 7320 2d2d st-unit-files --
│ │ │ -00070d70: 7479 7065 2073 6572 7669 6365 0a20 2020 type service.
│ │ │ -00070d80: 2072 6567 6973 7465 723a 2073 6572 7669 register: servi
│ │ │ -00070d90: 6365 5f65 7869 7374 730a 2020 2020 6368 ce_exists. ch
│ │ │ -00070da0: 616e 6765 645f 7768 656e 3a20 6661 6c73 anged_when: fals
│ │ │ -00070db0: 650a 2020 2020 6661 696c 6564 5f77 6865 e. failed_whe
│ │ │ -00070dc0: 6e3a 2073 6572 7669 6365 5f65 7869 7374 n: service_exist
│ │ │ -00070dd0: 732e 7263 206e 6f74 2069 6e20 5b30 2c20 s.rc not in [0,
│ │ │ -00070de0: 315d 0a20 2020 2063 6865 636b 5f6d 6f64 1]. check_mod
│ │ │ -00070df0: 653a 2066 616c 7365 0a0a 2020 2d20 6e61 e: false.. - na
│ │ │ -00070e00: 6d65 3a20 4469 7361 626c 6520 4170 706f me: Disable Appo
│ │ │ -00070e10: 7274 2053 6572 7669 6365 202d 2045 6e73 rt Service - Ens
│ │ │ -00070e20: 7572 6520 6170 706f 7274 2e73 6572 7669 ure apport.servi
│ │ │ -00070e30: 6365 2069 7320 4d61 736b 6564 0a20 2020 ce is Masked.
│ │ │ -00070e40: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -00070e50: 2e73 7973 7465 6d64 3a0a 2020 2020 2020 .systemd:.
│ │ │ -00070e60: 6e61 6d65 3a20 6170 706f 7274 2e73 6572 name: apport.ser
│ │ │ -00070e70: 7669 6365 0a20 2020 2020 2073 7461 7465 vice. state
│ │ │ -00070e80: 3a20 7374 6f70 7065 640a 2020 2020 2020 : stopped.
│ │ │ -00070e90: 656e 6162 6c65 643a 2066 616c 7365 0a20 enabled: false.
│ │ │ -00070ea0: 2020 2020 206d 6173 6b65 643a 2074 7275 masked: tru
│ │ │ -00070eb0: 650a 2020 2020 7768 656e 3a20 7365 7276 e. when: serv
│ │ │ -00070ec0: 6963 655f 6578 6973 7473 2e73 7464 6f75 ice_exists.stdou
│ │ │ -00070ed0: 745f 6c69 6e65 7320 6973 2073 6561 7263 t_lines is searc
│ │ │ -00070ee0: 6828 2261 7070 6f72 742e 7365 7276 6963 h("apport.servic
│ │ │ -00070ef0: 6522 2c20 6d75 6c74 696c 696e 653d 5472 e", multiline=Tr
│ │ │ -00070f00: 7565 290a 0a20 202d 206e 616d 653a 2055 ue).. - name: U
│ │ │ -00070f10: 6e69 7420 536f 636b 6574 2045 7869 7374 nit Socket Exist
│ │ │ -00070f20: 7320 2d20 6170 706f 7274 2e73 6f63 6b65 s - apport.socke
│ │ │ -00070f30: 740a 2020 2020 616e 7369 626c 652e 6275 t. ansible.bu
│ │ │ -00070f40: 696c 7469 6e2e 636f 6d6d 616e 643a 2073 iltin.command: s
│ │ │ -00070f50: 7973 7465 6d63 746c 202d 7120 6c69 7374 ystemctl -q list
│ │ │ -00070f60: 2d75 6e69 742d 6669 6c65 7320 6170 706f -unit-files appo
│ │ │ -00070f70: 7274 2e73 6f63 6b65 740a 2020 2020 7265 rt.socket. re
│ │ │ -00070f80: 6769 7374 6572 3a20 736f 636b 6574 5f66 gister: socket_f
│ │ │ -00070f90: 696c 655f 6578 6973 7473 0a20 2020 2063 ile_exists. c
│ │ │ -00070fa0: 6861 6e67 6564 5f77 6865 6e3a 2066 616c hanged_when: fal
│ │ │ -00070fb0: 7365 0a20 2020 2066 6169 6c65 645f 7768 se. failed_wh
│ │ │ -00070fc0: 656e 3a20 736f 636b 6574 5f66 696c 655f en: socket_file_
│ │ │ -00070fd0: 6578 6973 7473 2e72 6320 6e6f 7420 696e exists.rc not in
│ │ │ -00070fe0: 205b 302c 2031 5d0a 2020 2020 6368 6563 [0, 1]. chec
│ │ │ -00070ff0: 6b5f 6d6f 6465 3a20 6661 6c73 650a 0a20 k_mode: false..
│ │ │ -00071000: 202d 206e 616d 653a 2044 6973 6162 6c65 - name: Disable
│ │ │ -00071010: 2041 7070 6f72 7420 5365 7276 6963 6520 Apport Service
│ │ │ -00071020: 2d20 4469 7361 626c 6520 536f 636b 6574 - Disable Socket
│ │ │ -00071030: 2061 7070 6f72 740a 2020 2020 616e 7369 apport. ansi
│ │ │ -00071040: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst
│ │ │ -00071050: 656d 643a 0a20 2020 2020 206e 616d 653a emd:. name:
│ │ │ -00071060: 2061 7070 6f72 742e 736f 636b 6574 0a20 apport.socket.
│ │ │ -00071070: 2020 2020 2065 6e61 626c 6564 3a20 6661 enabled: fa
│ │ │ -00071080: 6c73 650a 2020 2020 2020 7374 6174 653a lse. state:
│ │ │ -00071090: 2073 746f 7070 6564 0a20 2020 2020 206d stopped. m
│ │ │ -000710a0: 6173 6b65 643a 2074 7275 650a 2020 2020 asked: true.
│ │ │ -000710b0: 7768 656e 3a20 736f 636b 6574 5f66 696c when: socket_fil
│ │ │ -000710c0: 655f 6578 6973 7473 2e73 7464 6f75 745f e_exists.stdout_
│ │ │ -000710d0: 6c69 6e65 7320 6973 2073 6561 7263 6828 lines is search(
│ │ │ -000710e0: 2261 7070 6f72 742e 736f 636b 6574 222c "apport.socket",
│ │ │ -000710f0: 206d 756c 7469 6c69 6e65 3d54 7275 6529 multiline=True)
│ │ │ -00071100: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ -00071110: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -00071120: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -00071130: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -00071140: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo
│ │ │ -00071150: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser
│ │ │ -00071160: 7669 6365 5f61 7070 6f72 745f 6469 7361 vice_apport_disa
│ │ │ -00071170: 626c 6564 0a20 202d 2073 7065 6369 616c bled. - special
│ │ │ -00071180: 5f73 6572 7669 6365 5f62 6c6f 636b 0a20 _service_block.
│ │ │ -00071190: 202d 2075 6e6b 6e6f 776e 5f73 6576 6572 - unknown_sever
│ │ │ -000711a0: 6974 790a 2020 7768 656e 3a20 2722 6170 ity. when: '"ap
│ │ │ -000711b0: 706f 7274 2220 696e 2061 6e73 6962 6c65 port" in ansible
│ │ │ -000711c0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +000703a0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ +000703b0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Co
│ │ │ +00070440: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +00070460: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +00070470: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +00070480: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00070490: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +000704a0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +000704b0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +000704c0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +000704d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +000704f0: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +00070500: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +00070510: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ +00070520: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ +00070530: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ +00070540: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +00070550: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +00070560: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +00070570: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo
│ │ │ +00070580: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser
│ │ │ +00070590: 7669 6365 5f61 7070 6f72 745f 6469 7361 vice_apport_disa
│ │ │ +000705a0: 626c 6564 0a20 202d 2075 6e6b 6e6f 776e bled. - unknown
│ │ │ +000705b0: 5f73 6576 6572 6974 790a 0a2d 206e 616d _severity..- nam
│ │ │ +000705c0: 653a 2044 6973 6162 6c65 2041 7070 6f72 e: Disable Appor
│ │ │ +000705d0: 7420 5365 7276 6963 6520 2d20 4469 7361 t Service - Disa
│ │ │ +000705e0: 626c 6520 7365 7276 6963 6520 6170 706f ble service appo
│ │ │ +000705f0: 7274 0a20 2062 6c6f 636b 3a0a 0a20 202d rt. block:.. -
│ │ │ +00070600: 206e 616d 653a 2044 6973 6162 6c65 2041 name: Disable A
│ │ │ +00070610: 7070 6f72 7420 5365 7276 6963 6520 2d20 pport Service -
│ │ │ +00070620: 436f 6c6c 6563 7420 7379 7374 656d 6420 Collect systemd
│ │ │ +00070630: 5365 7276 6963 6573 2050 7265 7365 6e74 Services Present
│ │ │ +00070640: 2069 6e20 7468 6520 5379 7374 656d 0a20 in the System.
│ │ │ +00070650: 2020 2061 6e73 6962 6c65 2e62 7569 6c74 ansible.built
│ │ │ +00070660: 696e 2e63 6f6d 6d61 6e64 3a20 7379 7374 in.command: syst
│ │ │ +00070670: 656d 6374 6c20 2d71 206c 6973 742d 756e emctl -q list-un
│ │ │ +00070680: 6974 2d66 696c 6573 202d 2d74 7970 6520 it-files --type
│ │ │ +00070690: 7365 7276 6963 650a 2020 2020 7265 6769 service. regi
│ │ │ +000706a0: 7374 6572 3a20 7365 7276 6963 655f 6578 ster: service_ex
│ │ │ +000706b0: 6973 7473 0a20 2020 2063 6861 6e67 6564 ists. changed
│ │ │ +000706c0: 5f77 6865 6e3a 2066 616c 7365 0a20 2020 _when: false.
│ │ │ +000706d0: 2066 6169 6c65 645f 7768 656e 3a20 7365 failed_when: se
│ │ │ +000706e0: 7276 6963 655f 6578 6973 7473 2e72 6320 rvice_exists.rc
│ │ │ +000706f0: 6e6f 7420 696e 205b 302c 2031 5d0a 2020 not in [0, 1].
│ │ │ +00070700: 2020 6368 6563 6b5f 6d6f 6465 3a20 6661 check_mode: fa
│ │ │ +00070710: 6c73 650a 0a20 202d 206e 616d 653a 2044 lse.. - name: D
│ │ │ +00070720: 6973 6162 6c65 2041 7070 6f72 7420 5365 isable Apport Se
│ │ │ +00070730: 7276 6963 6520 2d20 456e 7375 7265 2061 rvice - Ensure a
│ │ │ +00070740: 7070 6f72 742e 7365 7276 6963 6520 6973 pport.service is
│ │ │ +00070750: 204d 6173 6b65 640a 2020 2020 616e 7369 Masked. ansi
│ │ │ +00070760: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst
│ │ │ +00070770: 656d 643a 0a20 2020 2020 206e 616d 653a emd:. name:
│ │ │ +00070780: 2061 7070 6f72 742e 7365 7276 6963 650a apport.service.
│ │ │ +00070790: 2020 2020 2020 7374 6174 653a 2073 746f state: sto
│ │ │ +000707a0: 7070 6564 0a20 2020 2020 2065 6e61 626c pped. enabl
│ │ │ +000707b0: 6564 3a20 6661 6c73 650a 2020 2020 2020 ed: false.
│ │ │ +000707c0: 6d61 736b 6564 3a20 7472 7565 0a20 2020 masked: true.
│ │ │ +000707d0: 2077 6865 6e3a 2073 6572 7669 6365 5f65 when: service_e
│ │ │ +000707e0: 7869 7374 732e 7374 646f 7574 5f6c 696e xists.stdout_lin
│ │ │ +000707f0: 6573 2069 7320 7365 6172 6368 2822 6170 es is search("ap
│ │ │ +00070800: 706f 7274 2e73 6572 7669 6365 222c 206d port.service", m
│ │ │ +00070810: 756c 7469 6c69 6e65 3d54 7275 6529 0a0a ultiline=True)..
│ │ │ +00070820: 2020 2d20 6e61 6d65 3a20 556e 6974 2053 - name: Unit S
│ │ │ +00070830: 6f63 6b65 7420 4578 6973 7473 202d 2061 ocket Exists - a
│ │ │ +00070840: 7070 6f72 742e 736f 636b 6574 0a20 2020 pport.socket.
│ │ │ +00070850: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ +00070860: 2e63 6f6d 6d61 6e64 3a20 7379 7374 656d .command: system
│ │ │ +00070870: 6374 6c20 2d71 206c 6973 742d 756e 6974 ctl -q list-unit
│ │ │ +00070880: 2d66 696c 6573 2061 7070 6f72 742e 736f -files apport.so
│ │ │ +00070890: 636b 6574 0a20 2020 2072 6567 6973 7465 cket. registe
│ │ │ +000708a0: 723a 2073 6f63 6b65 745f 6669 6c65 5f65 r: socket_file_e
│ │ │ +000708b0: 7869 7374 730a 2020 2020 6368 616e 6765 xists. change
│ │ │ +000708c0: 645f 7768 656e 3a20 6661 6c73 650a 2020 d_when: false.
│ │ │ +000708d0: 2020 6661 696c 6564 5f77 6865 6e3a 2073 failed_when: s
│ │ │ +000708e0: 6f63 6b65 745f 6669 6c65 5f65 7869 7374 ocket_file_exist
│ │ │ +000708f0: 732e 7263 206e 6f74 2069 6e20 5b30 2c20 s.rc not in [0,
│ │ │ +00070900: 315d 0a20 2020 2063 6865 636b 5f6d 6f64 1]. check_mod
│ │ │ +00070910: 653a 2066 616c 7365 0a0a 2020 2d20 6e61 e: false.. - na
│ │ │ +00070920: 6d65 3a20 4469 7361 626c 6520 4170 706f me: Disable Appo
│ │ │ +00070930: 7274 2053 6572 7669 6365 202d 2044 6973 rt Service - Dis
│ │ │ +00070940: 6162 6c65 2053 6f63 6b65 7420 6170 706f able Socket appo
│ │ │ +00070950: 7274 0a20 2020 2061 6e73 6962 6c65 2e62 rt. ansible.b
│ │ │ +00070960: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a uiltin.systemd:.
│ │ │ +00070970: 2020 2020 2020 6e61 6d65 3a20 6170 706f name: appo
│ │ │ +00070980: 7274 2e73 6f63 6b65 740a 2020 2020 2020 rt.socket.
│ │ │ +00070990: 656e 6162 6c65 643a 2066 616c 7365 0a20 enabled: false.
│ │ │ +000709a0: 2020 2020 2073 7461 7465 3a20 7374 6f70 state: stop
│ │ │ +000709b0: 7065 640a 2020 2020 2020 6d61 736b 6564 ped. masked
│ │ │ +000709c0: 3a20 7472 7565 0a20 2020 2077 6865 6e3a : true. when:
│ │ │ +000709d0: 2073 6f63 6b65 745f 6669 6c65 5f65 7869 socket_file_exi
│ │ │ +000709e0: 7374 732e 7374 646f 7574 5f6c 696e 6573 sts.stdout_lines
│ │ │ +000709f0: 2069 7320 7365 6172 6368 2822 6170 706f is search("appo
│ │ │ +00070a00: 7274 2e73 6f63 6b65 7422 2c20 6d75 6c74 rt.socket", mult
│ │ │ +00070a10: 696c 696e 653d 5472 7565 290a 2020 7461 iline=True). ta
│ │ │ +00070a20: 6773 3a0a 2020 2d20 6469 7361 626c 655f gs:. - disable_
│ │ │ +00070a30: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +00070a40: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +00070a50: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +00070a60: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +00070a70: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ +00070a80: 6170 706f 7274 5f64 6973 6162 6c65 640a apport_disabled.
│ │ │ +00070a90: 2020 2d20 7370 6563 6961 6c5f 7365 7276 - special_serv
│ │ │ +00070aa0: 6963 655f 626c 6f63 6b0a 2020 2d20 756e ice_block. - un
│ │ │ +00070ab0: 6b6e 6f77 6e5f 7365 7665 7269 7479 0a20 known_severity.
│ │ │ +00070ac0: 2077 6865 6e3a 2027 2261 7070 6f72 7422 when: '"apport"
│ │ │ +00070ad0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +00070ae0: 732e 7061 636b 6167 6573 270a 3c2f 636f s.packages'.
<
│ │ │ +00070b00: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +00070b10: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +00070b20: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +00070b30: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +00070b40: 6438 3822 2074 6162 696e 6465 783d 2230 d88" tabindex="0
│ │ │ +00070b50: 2220 726f 6c65 3d22 6275 7474 6f6e 2220 " role="button"
│ │ │ +00070b60: 6172 6961 2d65 7870 616e 6465 643d 2266 aria-expanded="f
│ │ │ +00070b70: 616c 7365 2220 7469 746c 653d 2241 6374 alse" title="Act
│ │ │ +00070b80: 6976 6174 6520 746f 2072 6576 6561 6c22 ivate to reveal"
│ │ │ +00070b90: 2068 7265 663d 2223 2122 3e52 656d 6564 href="#!">Remed
│ │ │ +00070ba0: 6961 7469 6f6e 204b 7562 6572 6e65 7465 iation Kubernete
│ │ │ +00070bb0: 7320 736e 6970 7065 7420 e287 b23c 2f61 s snippet ...
Co
│ │ │ +00070c40: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +00070c60: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +00070c70: 6e3a 3c2f 7468 3e3c 7464 3e6d 6564 6975 n: mediu
│ │ │ +00070c80: 6d3c 2f74 643e 3c2f 7472 3e3c 7472 3e3c m <
│ │ │ +00070c90: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +00070ca0: 7464 3e74 7275 653c 2f74 643e 3c2f 7472 td>true Strateg
│ │ │ +00070cc0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +00070cd0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le a
│ │ │ +00070cf0: 7069 5665 7273 696f 6e3a 206d 6163 6869 piVersion: machi
│ │ │ +00070d00: 6e65 636f 6e66 6967 7572 6174 696f 6e2e neconfiguration.
│ │ │ +00070d10: 6f70 656e 7368 6966 742e 696f 2f76 310a openshift.io/v1.
│ │ │ +00070d20: 6b69 6e64 3a20 4d61 6368 696e 6543 6f6e kind: MachineCon
│ │ │ +00070d30: 6669 670a 7370 6563 3a0a 2020 636f 6e66 fig.spec:. conf
│ │ │ +00070d40: 6967 3a0a 2020 2020 6967 6e69 7469 6f6e ig:. ignition
│ │ │ +00070d50: 3a0a 2020 2020 2020 7665 7273 696f 6e3a :. version:
│ │ │ +00070d60: 2033 2e31 2e30 0a20 2020 2073 7973 7465 3.1.0. syste
│ │ │ +00070d70: 6d64 3a0a 2020 2020 2020 756e 6974 733a md:. units:
│ │ │ +00070d80: 0a20 2020 2020 202d 206e 616d 653a 2061 . - name: a
│ │ │ +00070d90: 7070 6f72 742e 7365 7276 6963 650a 2020 pport.service.
│ │ │ +00070da0: 2020 2020 2020 656e 6162 6c65 643a 2066 enabled: f
│ │ │ +00070db0: 616c 7365 0a20 2020 2020 2020 206d 6173 alse. mas
│ │ │ +00070dc0: 6b3a 2074 7275 650a 2020 2020 2020 2d20 k: true. -
│ │ │ +00070dd0: 6e61 6d65 3a20 6170 706f 7274 2e73 6f63 name: apport.soc
│ │ │ +00070de0: 6b65 740a 2020 2020 2020 2020 656e 6162 ket. enab
│ │ │ +00070df0: 6c65 643a 2066 616c 7365 0a20 2020 2020 led: false.
│ │ │ +00070e00: 2020 206d 6173 6b3a 2074 7275 650a 3c2f mask: true.
│ │ │ +00070e10: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Rem
│ │ │ +00070ec0: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +00070ed0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +00070ee0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Comp
│ │ │ +00070f60: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +00070f70: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +00070f90: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +00070fb0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +00070fc0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +00070fe0: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ +00071000: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ
│ │ │ +00071010: 6520 6469 7361 626c 655f 6170 706f 7274 e disable_apport
│ │ │ +00071020: 0a0a 636c 6173 7320 6469 7361 626c 655f ..class disable_
│ │ │ +00071030: 6170 706f 7274 207b 0a20 2073 6572 7669 apport {. servi
│ │ │ +00071040: 6365 207b 2761 7070 6f72 7427 3a0a 2020 ce {'apport':.
│ │ │ +00071050: 2020 656e 6162 6c65 203d 2667 743b 2066 enable => f
│ │ │ +00071060: 616c 7365 2c0a 2020 2020 656e 7375 7265 alse,. ensure
│ │ │ +00071070: 203d 2667 743b 2027 7374 6f70 7065 6427 => 'stopped'
│ │ │ +00071080: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ +00071090: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediati
│ │ │ +00071140: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ +00071150: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ +00071160: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[customizatio
│ │ │ +000711b0: 6e73 2e73 6572 7669 6365 735d 0a6d 6173 ns.services].mas
│ │ │ +000711c0: 6b65 6420 3d20 5b22 6170 706f 7274 225d ked = ["apport"]
│ │ │ 000711d0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 000711e0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Re
│ │ │ -00072ae0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ -00072af0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ -00072b00: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -00072b10: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -00072b20: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -00072b30: 7365 2220 6964 3d22 6964 3933 223e 3c70 se" id="id93">.[[pack
│ │ │ -00072b50: 6167 6573 5d5d 0a6e 616d 6520 3d20 2263 ages]].name = "c
│ │ │ -00072b60: 726f 6e22 0a76 6572 7369 6f6e 203d 2022 ron".version = "
│ │ │ -00072b70: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".
│ │ │ -00072b80: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22
Remediation Pu
│ │ │ -00072c30: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ -00072c40: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low Disrup
│ │ │ -00072cf0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -00072d00: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00072d10: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -00072d20: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -00072d40: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ -00072d50: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ -00072d70: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f63 nclude install_c
│ │ │ -00072d80: 726f 6e0a 0a63 6c61 7373 2069 6e73 7461 ron..class insta
│ │ │ -00072d90: 6c6c 5f63 726f 6e20 7b0a 2020 7061 636b ll_cron {. pack
│ │ │ -00072da0: 6167 6520 7b20 2763 726f 6e27 3a0a 2020 age { 'cron':.
│ │ │ -00072db0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ -00072dc0: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a installed',. }.
│ │ │ -00072dd0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -00072de0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Ans
│ │ │ -00072e90: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ -00072ea0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low Disrup
│ │ │ -00072f50: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -00072f60: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00072f70: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -00072f80: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -00072fa0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ -00072fb0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ -00072fd0: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -00072fe0: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -00072ff0: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ -00073000: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ -00073010: 746f 0a20 2074 6167 733a 0a20 202d 204e to. tags:. - N
│ │ │ -00073020: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ -00073030: 6129 0a20 202d 2050 4349 2d44 5353 7634 a). - PCI-DSSv4
│ │ │ -00073040: 2d32 2e32 0a20 202d 2050 4349 2d44 5353 -2.2. - PCI-DSS
│ │ │ -00073050: 7634 2d32 2e32 2e36 0a20 202d 2065 6e61 v4-2.2.6. - ena
│ │ │ -00073060: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -00073070: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -00073080: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -00073090: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -000730a0: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -000730b0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -000730c0: 7061 636b 6167 655f 6372 6f6e 5f69 6e73 package_cron_ins
│ │ │ -000730d0: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 talled..- name:
│ │ │ -000730e0: 456e 7375 7265 2063 726f 6e20 6973 2069 Ensure cron is i
│ │ │ -000730f0: 6e73 7461 6c6c 6564 0a20 2061 6e73 6962 nstalled. ansib
│ │ │ -00073100: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ -00073110: 6765 3a0a 2020 2020 6e61 6d65 3a20 6372 ge:. name: cr
│ │ │ -00073120: 6f6e 0a20 2020 2073 7461 7465 3a20 7072 on. state: pr
│ │ │ -00073130: 6573 656e 740a 2020 7768 656e 3a20 2722 esent. when: '"
│ │ │ -00073140: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ -00073150: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -00073160: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ -00073170: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -00073180: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ -00073190: 5353 7634 2d32 2e32 0a20 202d 2050 4349 SSv4-2.2. - PCI
│ │ │ -000731a0: 2d44 5353 7634 2d32 2e32 2e36 0a20 202d -DSSv4-2.2.6. -
│ │ │ -000731b0: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -000731c0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -000731d0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -000731e0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -000731f0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -00073200: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -00073210: 2020 2d20 7061 636b 6167 655f 6372 6f6e - package_cron
│ │ │ -00073220: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64 _installed.
Co
│ │ │ +00072b80: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +00072ba0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +00072bb0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +00072bc0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00072bd0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +00072be0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +00072bf0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +00072c00: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ +00072c10: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ +00072c30: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ +00072c40: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ +00072c50: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ +00072c60: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +00072c70: 2020 7461 6773 3a0a 2020 2d20 4e49 5354 tags:. - NIST
│ │ │ +00072c80: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ +00072c90: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ +00072ca0: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ +00072cb0: 322e 322e 360a 2020 2d20 656e 6162 6c65 2.2.6. - enable
│ │ │ +00072cc0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ +00072cd0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +00072ce0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +00072cf0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ +00072d00: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ +00072d10: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +00072d20: 6b61 6765 5f63 726f 6e5f 696e 7374 616c kage_cron_instal
│ │ │ +00072d30: 6c65 640a 0a2d 206e 616d 653a 2045 6e73 led..- name: Ens
│ │ │ +00072d40: 7572 6520 6372 6f6e 2069 7320 696e 7374 ure cron is inst
│ │ │ +00072d50: 616c 6c65 640a 2020 616e 7369 626c 652e alled. ansible.
│ │ │ +00072d60: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ +00072d70: 0a20 2020 206e 616d 653a 2063 726f 6e0a . name: cron.
│ │ │ +00072d80: 2020 2020 7374 6174 653a 2070 7265 7365 state: prese
│ │ │ +00072d90: 6e74 0a20 2077 6865 6e3a 2027 226c 696e nt. when: '"lin
│ │ │ +00072da0: 7578 2d62 6173 6522 2069 6e20 616e 7369 ux-base" in ansi
│ │ │ +00072db0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ +00072dc0: 6573 270a 2020 7461 6773 3a0a 2020 2d20 es'. tags:. -
│ │ │ +00072dd0: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ +00072de0: 2861 290a 2020 2d20 5043 492d 4453 5376 (a). - PCI-DSSv
│ │ │ +00072df0: 342d 322e 320a 2020 2d20 5043 492d 4453 4-2.2. - PCI-DS
│ │ │ +00072e00: 5376 342d 322e 322e 360a 2020 2d20 656e Sv4-2.2.6. - en
│ │ │ +00072e10: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +00072e20: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +00072e30: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +00072e40: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +00072e50: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +00072e60: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +00072e70: 2070 6163 6b61 6765 5f63 726f 6e5f 696e package_cron_in
│ │ │ +00072e80: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c stalled.<
│ │ │ +00072e90: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediati
│ │ │ +00072f40: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +00072f50: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
Complexity
│ │ │ +00072fe0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +00073000: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +00073010: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +00073020: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +00073030: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +00073050: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include inst
│ │ │ +00073090: 616c 6c5f 6372 6f6e 0a0a 636c 6173 7320 all_cron..class
│ │ │ +000730a0: 696e 7374 616c 6c5f 6372 6f6e 207b 0a20 install_cron {.
│ │ │ +000730b0: 2070 6163 6b61 6765 207b 2027 6372 6f6e package { 'cron
│ │ │ +000730c0: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ +000730d0: 6774 3b20 2769 6e73 7461 6c6c 6564 272c gt; 'installed',
│ │ │ +000730e0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ +000730f0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediatio
│ │ │ +000731a0: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr
│ │ │ +000731b0: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...<
│ │ │ +000731c0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[[packages]].n
│ │ │ +00073210: 616d 6520 3d20 2263 726f 6e22 0a76 6572 ame = "cron".ver
│ │ │ +00073220: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64 sion = "*".
Remedia
│ │ │ -00074430: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu
│ │ │ -00074440: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet .
│ │ │ -00074450: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
.[customizat
│ │ │ -000744a0: 696f 6e73 2e73 6572 7669 6365 735d 0a65 ions.services].e
│ │ │ -000744b0: 6e61 626c 6564 203d 205b 2263 726f 6e22 nabled = ["cron"
│ │ │ -000744c0: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ].
<
│ │ │ -000744d0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pup
│ │ │ -00074580: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ -00074590: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
│ │ │ -00074610: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -00074620: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -00074640: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -00074650: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -00074690: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ -000746a0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e in
│ │ │ -000746c0: 636c 7564 6520 656e 6162 6c65 5f63 726f clude enable_cro
│ │ │ -000746d0: 6e0a 0a63 6c61 7373 2065 6e61 626c 655f n..class enable_
│ │ │ -000746e0: 6372 6f6e 207b 0a20 2073 6572 7669 6365 cron {. service
│ │ │ -000746f0: 207b 2763 726f 6e27 3a0a 2020 2020 656e {'cron':. en
│ │ │ -00074700: 6162 6c65 203d 2667 743b 2074 7275 652c able => true,
│ │ │ -00074710: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -00074720: 3b20 2772 756e 6e69 6e67 272c 0a20 207d ; 'running',. }
│ │ │ -00074730: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -00074740: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation A
│ │ │ -000747f0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ -00074800: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -00074880: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -00074890: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -000748a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -000748b0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -000748f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -00074900: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ -00074910: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ -00074920: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ -00074940: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ -00074950: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ -00074960: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ -00074970: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ -00074980: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -00074990: 2d36 2861 290a 2020 2d20 656e 6162 6c65 -6(a). - enable
│ │ │ -000749a0: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ -000749b0: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -000749c0: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -000749d0: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ -000749e0: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -000749f0: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser
│ │ │ -00074a00: 7669 6365 5f63 726f 6e5f 656e 6162 6c65 vice_cron_enable
│ │ │ -00074a10: 640a 0a2d 206e 616d 653a 2045 6e61 626c d..- name: Enabl
│ │ │ -00074a20: 6520 6372 6f6e 2053 6572 7669 6365 202d e cron Service -
│ │ │ -00074a30: 2045 6e61 626c 6520 7365 7276 6963 6520 Enable service
│ │ │ -00074a40: 6372 6f6e 0a20 2062 6c6f 636b 3a0a 0a20 cron. block:..
│ │ │ -00074a50: 202d 206e 616d 653a 2047 6174 6865 7220 - name: Gather
│ │ │ -00074a60: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ -00074a70: 730a 2020 2020 616e 7369 626c 652e 6275 s. ansible.bu
│ │ │ -00074a80: 696c 7469 6e2e 7061 636b 6167 655f 6661 iltin.package_fa
│ │ │ -00074a90: 6374 733a 0a20 2020 2020 206d 616e 6167 cts:. manag
│ │ │ -00074aa0: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61 er: auto.. - na
│ │ │ -00074ab0: 6d65 3a20 456e 6162 6c65 2063 726f 6e20 me: Enable cron
│ │ │ -00074ac0: 5365 7276 6963 6520 2d20 456e 6162 6c65 Service - Enable
│ │ │ -00074ad0: 2053 6572 7669 6365 2063 726f 6e0a 2020 Service cron.
│ │ │ -00074ae0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -00074af0: 6e2e 7379 7374 656d 643a 0a20 2020 2020 n.systemd:.
│ │ │ -00074b00: 206e 616d 653a 2063 726f 6e0a 2020 2020 name: cron.
│ │ │ -00074b10: 2020 656e 6162 6c65 643a 2074 7275 650a enabled: true.
│ │ │ -00074b20: 2020 2020 2020 7374 6174 653a 2073 7461 state: sta
│ │ │ -00074b30: 7274 6564 0a20 2020 2020 206d 6173 6b65 rted. maske
│ │ │ -00074b40: 643a 2066 616c 7365 0a20 2020 2077 6865 d: false. whe
│ │ │ -00074b50: 6e3a 0a20 2020 202d 2027 2263 726f 6e22 n:. - '"cron"
│ │ │ -00074b60: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -00074b70: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ -00074b80: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -00074b90: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -00074ba0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -00074bb0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -00074bc0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -00074bd0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -00074be0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -00074bf0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -00074c00: 202d 2073 6572 7669 6365 5f63 726f 6e5f - service_cron_
│ │ │ -00074c10: 656e 6162 6c65 640a 2020 2d20 7370 6563 enabled. - spec
│ │ │ -00074c20: 6961 6c5f 7365 7276 6963 655f 626c 6f63 ial_service_bloc
│ │ │ -00074c30: 6b0a 2020 7768 656e 3a20 2722 6c69 6e75 k. when: '"linu
│ │ │ -00074c40: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ -00074c50: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ -00074c60: 7327 0a3c 2f63 6f64 653e 3c2f 7072 653e s'.
│ │ │ +00074430: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ +00074440: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00074450: 3c64 6976 2063 6c61 7373 3d22 7061 6e65 <
│ │ │ +00074480: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +00074490: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +000744a0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +000744b0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +000744c0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +000744d0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +000744e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +00074510: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +00074520: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +00074530: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +00074550: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable <
│ │ │ +00074560: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: G
│ │ │ +00074580: 6174 6865 7220 7468 6520 7061 636b 6167 ather the packag
│ │ │ +00074590: 6520 6661 6374 730a 2020 7061 636b 6167 e facts. packag
│ │ │ +000745a0: 655f 6661 6374 733a 0a20 2020 206d 616e e_facts:. man
│ │ │ +000745b0: 6167 6572 3a20 6175 746f 0a20 2074 6167 ager: auto. tag
│ │ │ +000745c0: 733a 0a20 202d 204e 4953 542d 3830 302d s:. - NIST-800-
│ │ │ +000745d0: 3533 2d43 4d2d 3628 6129 0a20 202d 2065 53-CM-6(a). - e
│ │ │ +000745e0: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ +000745f0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +00074600: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +00074610: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ +00074620: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +00074630: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +00074640: 2d20 7365 7276 6963 655f 6372 6f6e 5f65 - service_cron_e
│ │ │ +00074650: 6e61 626c 6564 0a0a 2d20 6e61 6d65 3a20 nabled..- name:
│ │ │ +00074660: 456e 6162 6c65 2063 726f 6e20 5365 7276 Enable cron Serv
│ │ │ +00074670: 6963 6520 2d20 456e 6162 6c65 2073 6572 ice - Enable ser
│ │ │ +00074680: 7669 6365 2063 726f 6e0a 2020 626c 6f63 vice cron. bloc
│ │ │ +00074690: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761 k:.. - name: Ga
│ │ │ +000746a0: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ +000746b0: 2066 6163 7473 0a20 2020 2061 6e73 6962 facts. ansib
│ │ │ +000746c0: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +000746d0: 6765 5f66 6163 7473 3a0a 2020 2020 2020 ge_facts:.
│ │ │ +000746e0: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20 manager: auto..
│ │ │ +000746f0: 202d 206e 616d 653a 2045 6e61 626c 6520 - name: Enable
│ │ │ +00074700: 6372 6f6e 2053 6572 7669 6365 202d 2045 cron Service - E
│ │ │ +00074710: 6e61 626c 6520 5365 7276 6963 6520 6372 nable Service cr
│ │ │ +00074720: 6f6e 0a20 2020 2061 6e73 6962 6c65 2e62 on. ansible.b
│ │ │ +00074730: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a uiltin.systemd:.
│ │ │ +00074740: 2020 2020 2020 6e61 6d65 3a20 6372 6f6e name: cron
│ │ │ +00074750: 0a20 2020 2020 2065 6e61 626c 6564 3a20 . enabled:
│ │ │ +00074760: 7472 7565 0a20 2020 2020 2073 7461 7465 true. state
│ │ │ +00074770: 3a20 7374 6172 7465 640a 2020 2020 2020 : started.
│ │ │ +00074780: 6d61 736b 6564 3a20 6661 6c73 650a 2020 masked: false.
│ │ │ +00074790: 2020 7768 656e 3a0a 2020 2020 2d20 2722 when:. - '"
│ │ │ +000747a0: 6372 6f6e 2220 696e 2061 6e73 6962 6c65 cron" in ansible
│ │ │ +000747b0: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +000747c0: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ +000747d0: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +000747e0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ +000747f0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +00074800: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +00074810: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +00074820: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +00074830: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +00074840: 6465 640a 2020 2d20 7365 7276 6963 655f ded. - service_
│ │ │ +00074850: 6372 6f6e 5f65 6e61 626c 6564 0a20 202d cron_enabled. -
│ │ │ +00074860: 2073 7065 6369 616c 5f73 6572 7669 6365 special_service
│ │ │ +00074870: 5f62 6c6f 636b 0a20 2077 6865 6e3a 2027 _block. when: '
│ │ │ +00074880: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ +00074890: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ +000748a0: 636b 6167 6573 270a 3c2f 636f 6465 3e3c ckages'.<
│ │ │ +000748b0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remediati
│ │ │ +00074960: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +00074970: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
Complexity
│ │ │ +00074a00: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +00074a20: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +00074a30: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +00074a40: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +00074a50: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +00074a70: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include enab
│ │ │ +00074ab0: 6c65 5f63 726f 6e0a 0a63 6c61 7373 2065 le_cron..class e
│ │ │ +00074ac0: 6e61 626c 655f 6372 6f6e 207b 0a20 2073 nable_cron {. s
│ │ │ +00074ad0: 6572 7669 6365 207b 2763 726f 6e27 3a0a ervice {'cron':.
│ │ │ +00074ae0: 2020 2020 656e 6162 6c65 203d 2667 743b enable =>
│ │ │ +00074af0: 2074 7275 652c 0a20 2020 2065 6e73 7572 true,. ensur
│ │ │ +00074b00: 6520 3d26 6774 3b20 2772 756e 6e69 6e67 e => 'running
│ │ │ +00074b10: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ +00074b20: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +00074bd0: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu
│ │ │ +00074be0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet .
│ │ │ +00074bf0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
<
│ │ │ +00074c30: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61 code>.[customiza
│ │ │ +00074c40: 7469 6f6e 732e 7365 7276 6963 6573 5d0a tions.services].
│ │ │ +00074c50: 656e 6162 6c65 6420 3d20 5b22 6372 6f6e enabled = ["cron
│ │ │ +00074c60: 225d 0a3c 2f63 6f64 653e 3c2f 7072 653e "].
│ │ │ 00074c70: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediat
│ │ │ -00076230: 696f 6e20 5075 7070 6574 2073 6e69 7070 ion Puppet snipp
│ │ │ -00076240: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -000762c0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -000762d0: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -000762e0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -00076320: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -00076330: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -00076350: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -00076360: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
.include
│ │ │ -00076380: 7265 6d6f 7665 5f69 6e65 7475 7469 6c73 remove_inetutils
│ │ │ -00076390: 2d74 656c 6e65 7464 0a0a 636c 6173 7320 -telnetd..class
│ │ │ -000763a0: 7265 6d6f 7665 5f69 6e65 7475 7469 6c73 remove_inetutils
│ │ │ -000763b0: 2d74 656c 6e65 7464 207b 0a20 2070 6163 -telnetd {. pac
│ │ │ -000763c0: 6b61 6765 207b 2027 696e 6574 7574 696c kage { 'inetutil
│ │ │ -000763d0: 732d 7465 6c6e 6574 6427 3a0a 2020 2020 s-telnetd':.
│ │ │ -000763e0: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ -000763f0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ -00076410: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -000764b0: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -000764c0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -000764d0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -00076550: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -00076570: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -00076580: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -00076590: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000765a0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -000765b0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -000765c0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -000765d0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -000765e0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ -00076600: 616d 653a 2027 556e 696e 7374 616c 6c20 ame: 'Uninstall
│ │ │ -00076610: 7468 6520 696e 6574 2d62 6173 6564 2074 the inet-based t
│ │ │ -00076620: 656c 6e65 7420 7365 7276 6572 3a20 456e elnet server: En
│ │ │ -00076630: 7375 7265 2069 6e65 7475 7469 6c73 2d74 sure inetutils-t
│ │ │ -00076640: 656c 6e65 7464 2069 7320 7265 6d6f 7665 elnetd is remove
│ │ │ -00076650: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -00076660: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -00076670: 2020 6e61 6d65 3a20 696e 6574 7574 696c name: inetutil
│ │ │ -00076680: 732d 7465 6c6e 6574 640a 2020 2020 7374 s-telnetd. st
│ │ │ -00076690: 6174 653a 2061 6273 656e 740a 2020 7461 ate: absent. ta
│ │ │ -000766a0: 6773 3a0a 2020 2d20 4e49 5354 2d38 3030 gs:. - NIST-800
│ │ │ -000766b0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -000766c0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ -000766d0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ -000766e0: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). -
│ │ │ -000766f0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ -00076700: 0a20 202d 2068 6967 685f 7365 7665 7269 . - high_severi
│ │ │ -00076710: 7479 0a20 202d 206c 6f77 5f63 6f6d 706c ty. - low_compl
│ │ │ -00076720: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -00076730: 7372 7570 7469 6f6e 0a20 202d 206e 6f5f sruption. - no_
│ │ │ -00076740: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -00076750: 2d20 7061 636b 6167 655f 696e 6574 7574 - package_inetut
│ │ │ -00076760: 696c 732d 7465 6c6e 6574 645f 7265 6d6f ils-telnetd_remo
│ │ │ -00076770: 7665 640a 3c2f 636f 6465 3e3c 2f70 7265 ved.
<
│ │ │ +00076250: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +00076260: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +00076270: 7365 2220 6964 3d22 6964 3130 3322 3e3c se" id="id103"><
│ │ │ +00076280: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +00076290: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +000762a0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +000762b0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +000762c0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +000762d0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +000762e0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +00076310: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +00076320: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +00076330: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +00076350: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ +00076360: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +00076380: 2755 6e69 6e73 7461 6c6c 2074 6865 2069 'Uninstall the i
│ │ │ +00076390: 6e65 742d 6261 7365 6420 7465 6c6e 6574 net-based telnet
│ │ │ +000763a0: 2073 6572 7665 723a 2045 6e73 7572 6520 server: Ensure
│ │ │ +000763b0: 696e 6574 7574 696c 732d 7465 6c6e 6574 inetutils-telnet
│ │ │ +000763c0: 6420 6973 2072 656d 6f76 6564 270a 2020 d is removed'.
│ │ │ +000763d0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +000763e0: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +000763f0: 653a 2069 6e65 7475 7469 6c73 2d74 656c e: inetutils-tel
│ │ │ +00076400: 6e65 7464 0a20 2020 2073 7461 7465 3a20 netd. state:
│ │ │ +00076410: 6162 7365 6e74 0a20 2074 6167 733a 0a20 absent. tags:.
│ │ │ +00076420: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +00076430: 4d2d 3628 6129 0a20 202d 204e 4953 542d M-6(a). - NIST-
│ │ │ +00076440: 3830 302d 3533 2d43 4d2d 3728 6129 0a20 800-53-CM-7(a).
│ │ │ +00076450: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +00076460: 4d2d 3728 6229 0a20 202d 2064 6973 6162 M-7(b). - disab
│ │ │ +00076470: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +00076480: 6869 6768 5f73 6576 6572 6974 790a 2020 high_severity.
│ │ │ +00076490: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +000764a0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +000764b0: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo
│ │ │ +000764c0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +000764d0: 6b61 6765 5f69 6e65 7475 7469 6c73 2d74 kage_inetutils-t
│ │ │ +000764e0: 656c 6e65 7464 5f72 656d 6f76 6564 0a3c elnetd_removed.<
│ │ │ +000764f0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>R
│ │ │ +000765a0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +000765b0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ +00076640: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +00076650: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +00076660: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +00076670: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +00076680: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +000766b0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +000766c0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ +000766d0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ +000766f0: 6e63 6c75 6465 2072 656d 6f76 655f 696e nclude remove_in
│ │ │ +00076700: 6574 7574 696c 732d 7465 6c6e 6574 640a etutils-telnetd.
│ │ │ +00076710: 0a63 6c61 7373 2072 656d 6f76 655f 696e .class remove_in
│ │ │ +00076720: 6574 7574 696c 732d 7465 6c6e 6574 6420 etutils-telnetd
│ │ │ +00076730: 7b0a 2020 7061 636b 6167 6520 7b20 2769 {. package { 'i
│ │ │ +00076740: 6e65 7475 7469 6c73 2d74 656c 6e65 7464 netutils-telnetd
│ │ │ +00076750: 273a 0a20 2020 2065 6e73 7572 6520 3d26 ':. ensure =&
│ │ │ +00076760: 6774 3b20 2770 7572 6765 6427 2c0a 2020 gt; 'purged',.
│ │ │ +00076770: 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 7265 }.}.
│ │ │ -00077270: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ -00077280: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ -00077290: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -00077310: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -00077320: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -00077340: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -00077350: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -00077390: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ -000773a0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le .
│ │ │ -000773c0: 696e 636c 7564 6520 7265 6d6f 7665 5f6e include remove_n
│ │ │ -000773d0: 6973 0a0a 636c 6173 7320 7265 6d6f 7665 is..class remove
│ │ │ -000773e0: 5f6e 6973 207b 0a20 2070 6163 6b61 6765 _nis {. package
│ │ │ -000773f0: 207b 2027 6e69 7327 3a0a 2020 2020 656e { 'nis':. en
│ │ │ -00077400: 7375 7265 203d 2667 743b 2027 7075 7267 sure => 'purg
│ │ │ -00077410: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -000774d0: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -000774e0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -00077570: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -00077580: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -000775a0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -000775c0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -000775d0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -000775f0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ -00077600: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -00077610: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -00077620: 653a 2027 556e 696e 7374 616c 6c20 7468 e: 'Uninstall th
│ │ │ -00077630: 6520 6e69 7320 7061 636b 6167 653a 2045 e nis package: E
│ │ │ -00077640: 6e73 7572 6520 6e69 7320 6973 2072 656d nsure nis is rem
│ │ │ -00077650: 6f76 6564 270a 2020 616e 7369 626c 652e oved'. ansible.
│ │ │ -00077660: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -00077670: 0a20 2020 206e 616d 653a 206e 6973 0a20 . name: nis.
│ │ │ -00077680: 2020 2073 7461 7465 3a20 6162 7365 6e74 state: absent
│ │ │ -00077690: 0a20 2074 6167 733a 0a20 202d 2064 6973 . tags:. - dis
│ │ │ -000776a0: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -000776b0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ -000776c0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ -000776d0: 696f 6e0a 2020 2d20 6c6f 775f 7365 7665 ion. - low_seve
│ │ │ -000776e0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -000776f0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ -00077700: 636b 6167 655f 6e69 735f 7265 6d6f 7665 ckage_nis_remove
│ │ │ -00077710: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.
<
│ │ │ +00077270: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ +00077280: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ +00077290: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +00077340: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +00077350: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00077360: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +00077370: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +00077390: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ +000773a0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +000773c0: 2d20 6e61 6d65 3a20 2755 6e69 6e73 7461 - name: 'Uninsta
│ │ │ +000773d0: 6c6c 2074 6865 206e 6973 2070 6163 6b61 ll the nis packa
│ │ │ +000773e0: 6765 3a20 456e 7375 7265 206e 6973 2069 ge: Ensure nis i
│ │ │ +000773f0: 7320 7265 6d6f 7665 6427 0a20 2061 6e73 s removed'. ans
│ │ │ +00077400: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ +00077410: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ +00077420: 6e69 730a 2020 2020 7374 6174 653a 2061 nis. state: a
│ │ │ +00077430: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:.
│ │ │ +00077440: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ +00077450: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ +00077460: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ +00077470: 7372 7570 7469 6f6e 0a20 202d 206c 6f77 sruption. - low
│ │ │ +00077480: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +00077490: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +000774a0: 202d 2070 6163 6b61 6765 5f6e 6973 5f72 - package_nis_r
│ │ │ +000774b0: 656d 6f76 6564 0a3c 2f63 6f64 653e 3c2f emoved.
│ │ │ +000774c0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ +00077570: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +00077580: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +00077600: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +00077610: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +00077620: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00077630: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +00077640: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +00077660: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +00077670: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00077680: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +000776a0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +000776b0: 3c63 6f64 653e 0a69 6e63 6c75 6465 2072 .include r
│ │ │ +000776c0: 656d 6f76 655f 6e69 730a 0a63 6c61 7373 emove_nis..class
│ │ │ +000776d0: 2072 656d 6f76 655f 6e69 7320 7b0a 2020 remove_nis {.
│ │ │ +000776e0: 7061 636b 6167 6520 7b20 276e 6973 273a package { 'nis':
│ │ │ +000776f0: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +00077700: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ +00077710: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ 00077720: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediati
│ │ │ -00078080: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -00078090: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -00078110: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -00078120: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -00078130: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00078140: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -00078150: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -00078170: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -00078180: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -00078190: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ -000781b0: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ -000781c0: 3c63 6f64 653e 0a69 6e63 6c75 6465 2072 .include r
│ │ │ -000781d0: 656d 6f76 655f 6e74 7064 6174 650a 0a63 emove_ntpdate..c
│ │ │ -000781e0: 6c61 7373 2072 656d 6f76 655f 6e74 7064 lass remove_ntpd
│ │ │ -000781f0: 6174 6520 7b0a 2020 7061 636b 6167 6520 ate {. package
│ │ │ -00078200: 7b20 276e 7470 6461 7465 273a 0a20 2020 { 'ntpdate':.
│ │ │ -00078210: 2065 6e73 7572 6520 3d26 6774 3b20 2770 ensure => 'p
│ │ │ -00078220: 7572 6765 6427 2c0a 2020 7d0a 7d0a 3c2f urged',. }.}.
│ │ │ -00078230: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ -000782e0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ -000782f0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ -00078380: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -00078390: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -000783a0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -000783b0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -000783c0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -000783f0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -00078400: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -00078410: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ -00078430: 6e61 6d65 3a20 2755 6e69 6e73 7461 6c6c name: 'Uninstall
│ │ │ -00078440: 2074 6865 206e 7470 6461 7465 2070 6163 the ntpdate pac
│ │ │ -00078450: 6b61 6765 3a20 456e 7375 7265 206e 7470 kage: Ensure ntp
│ │ │ -00078460: 6461 7465 2069 7320 7265 6d6f 7665 6427 date is removed'
│ │ │ -00078470: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ -00078480: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ -00078490: 6e61 6d65 3a20 6e74 7064 6174 650a 2020 name: ntpdate.
│ │ │ -000784a0: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ -000784b0: 2020 7461 6773 3a0a 2020 2d20 6469 7361 tags:. - disa
│ │ │ -000784c0: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -000784d0: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -000784e0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -000784f0: 6f6e 0a20 202d 206c 6f77 5f73 6576 6572 on. - low_sever
│ │ │ -00078500: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -00078510: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ -00078520: 6b61 6765 5f6e 7470 6461 7465 5f72 656d kage_ntpdate_rem
│ │ │ -00078530: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
│ │ │ +00078110: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ +00078120: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ +00078130: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ +00078170: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ +00078180: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ +000781a0: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ +000781b0: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: '
│ │ │ +000781d0: 556e 696e 7374 616c 6c20 7468 6520 6e74 Uninstall the nt
│ │ │ +000781e0: 7064 6174 6520 7061 636b 6167 653a 2045 pdate package: E
│ │ │ +000781f0: 6e73 7572 6520 6e74 7064 6174 6520 6973 nsure ntpdate is
│ │ │ +00078200: 2072 656d 6f76 6564 270a 2020 616e 7369 removed'. ansi
│ │ │ +00078210: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ +00078220: 6167 653a 0a20 2020 206e 616d 653a 206e age:. name: n
│ │ │ +00078230: 7470 6461 7465 0a20 2020 2073 7461 7465 tpdate. state
│ │ │ +00078240: 3a20 6162 7365 6e74 0a20 2074 6167 733a : absent. tags:
│ │ │ +00078250: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +00078260: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +00078270: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +00078280: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +00078290: 6c6f 775f 7365 7665 7269 7479 0a20 202d low_severity. -
│ │ │ +000782a0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ +000782b0: 640a 2020 2d20 7061 636b 6167 655f 6e74 d. - package_nt
│ │ │ +000782c0: 7064 6174 655f 7265 6d6f 7665 640a 3c2f pdate_removed.
│ │ │ +000782d0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +00078380: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ +00078390: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +000783a0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +00078420: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +00078440: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +00078450: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +00078460: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00078470: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +00078480: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +00078490: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +000784a0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +000784b0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ +000784d0: 636c 7564 6520 7265 6d6f 7665 5f6e 7470 clude remove_ntp
│ │ │ +000784e0: 6461 7465 0a0a 636c 6173 7320 7265 6d6f date..class remo
│ │ │ +000784f0: 7665 5f6e 7470 6461 7465 207b 0a20 2070 ve_ntpdate {. p
│ │ │ +00078500: 6163 6b61 6765 207b 2027 6e74 7064 6174 ackage { 'ntpdat
│ │ │ +00078510: 6527 3a0a 2020 2020 656e 7375 7265 203d e':. ensure =
│ │ │ +00078520: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ +00078530: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.Remediation
│ │ │ -000795f0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ -00079600: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -00079680: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -00079690: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -000796a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -000796b0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -000796f0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -00079700: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ -00079710: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ -00079720: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
.include remo
│ │ │ -00079740: 7665 5f74 656c 6e65 7464 2d73 736c 0a0a ve_telnetd-ssl..
│ │ │ -00079750: 636c 6173 7320 7265 6d6f 7665 5f74 656c class remove_tel
│ │ │ -00079760: 6e65 7464 2d73 736c 207b 0a20 2070 6163 netd-ssl {. pac
│ │ │ -00079770: 6b61 6765 207b 2027 7465 6c6e 6574 642d kage { 'telnetd-
│ │ │ -00079780: 7373 6c27 3a0a 2020 2020 656e 7375 7265 ssl':. ensure
│ │ │ -00079790: 203d 2667 743b 2027 7075 7267 6564 272c => 'purged',
│ │ │ -000797a0: 0a20 207d 0a7d 0a3c 2f63 6f64 653e 3c2f . }.}.
│ │ │ -000797b0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ -00079860: 6f6e 2041 6e73 6962 6c65 2073 6e69 7070 on Ansible snipp
│ │ │ -00079870: 6574 20e2 87b2 3c2f 613e 3c62 723e 3c64 et ...
│ │ │ -000798f0: 3c74 723e 3c74 683e 436f 6d70 6c65 7869 Complexi
│ │ │ -00079900: 7479 3a3c 2f74 683e 3c74 643e 6c6f 773c ty: low<
│ │ │ -00079910: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Disruption: low Reboot
│ │ │ -00079950: 3a3c 2f74 683e 3c74 643e 6661 6c73 653c : false<
│ │ │ -00079960: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Strategy: <
│ │ │ -00079980: 7464 3e64 6973 6162 6c65 3c2f 7464 3e3c td>disable<
│ │ │ -00079990: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
- name: '
│ │ │ -000799b0: 556e 696e 7374 616c 6c20 7468 6520 7373 Uninstall the ss
│ │ │ -000799c0: 6c20 636f 6d70 6c69 616e 7420 7465 6c6e l compliant teln
│ │ │ -000799d0: 6574 2073 6572 7665 723a 2045 6e73 7572 et server: Ensur
│ │ │ -000799e0: 6520 7465 6c6e 6574 642d 7373 6c20 6973 e telnetd-ssl is
│ │ │ -000799f0: 2072 656d 6f76 6564 270a 2020 616e 7369 removed'. ansi
│ │ │ -00079a00: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ -00079a10: 6167 653a 0a20 2020 206e 616d 653a 2074 age:. name: t
│ │ │ -00079a20: 656c 6e65 7464 2d73 736c 0a20 2020 2073 elnetd-ssl. s
│ │ │ -00079a30: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ -00079a40: 6167 733a 0a20 202d 204e 4953 542d 3830 ags:. - NIST-80
│ │ │ -00079a50: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -00079a60: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -00079a70: 3728 6129 0a20 202d 204e 4953 542d 3830 7(a). - NIST-80
│ │ │ -00079a80: 302d 3533 2d43 4d2d 3728 6229 0a20 202d 0-53-CM-7(b). -
│ │ │ -00079a90: 2064 6973 6162 6c65 5f73 7472 6174 6567 disable_strateg
│ │ │ -00079aa0: 790a 2020 2d20 6869 6768 5f73 6576 6572 y. - high_sever
│ │ │ -00079ab0: 6974 790a 2020 2d20 6c6f 775f 636f 6d70 ity. - low_comp
│ │ │ -00079ac0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ -00079ad0: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no
│ │ │ -00079ae0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -00079af0: 202d 2070 6163 6b61 6765 5f74 656c 6e65 - package_telne
│ │ │ -00079b00: 7464 2d73 736c 5f72 656d 6f76 6564 0a3c td-ssl_removed.<
│ │ │ +000795f0: 416e 7369 626c 6520 736e 6970 7065 7420 Ansible snippet
│ │ │ +00079600: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +00079690: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +000796b0: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +000796d0: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +000796e0: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +00079700: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +00079710: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
- name: 'Uni
│ │ │ +00079740: 6e73 7461 6c6c 2074 6865 2073 736c 2063 nstall the ssl c
│ │ │ +00079750: 6f6d 706c 6961 6e74 2074 656c 6e65 7420 ompliant telnet
│ │ │ +00079760: 7365 7276 6572 3a20 456e 7375 7265 2074 server: Ensure t
│ │ │ +00079770: 656c 6e65 7464 2d73 736c 2069 7320 7265 elnetd-ssl is re
│ │ │ +00079780: 6d6f 7665 6427 0a20 2061 6e73 6962 6c65 moved'. ansible
│ │ │ +00079790: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +000797a0: 3a0a 2020 2020 6e61 6d65 3a20 7465 6c6e :. name: teln
│ │ │ +000797b0: 6574 642d 7373 6c0a 2020 2020 7374 6174 etd-ssl. stat
│ │ │ +000797c0: 653a 2061 6273 656e 740a 2020 7461 6773 e: absent. tags
│ │ │ +000797d0: 3a0a 2020 2d20 4e49 5354 2d38 3030 2d35 :. - NIST-800-5
│ │ │ +000797e0: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI
│ │ │ +000797f0: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a
│ │ │ +00079800: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ +00079810: 332d 434d 2d37 2862 290a 2020 2d20 6469 3-CM-7(b). - di
│ │ │ +00079820: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ +00079830: 202d 2068 6967 685f 7365 7665 7269 7479 - high_severity
│ │ │ +00079840: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +00079850: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +00079860: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re
│ │ │ +00079870: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +00079880: 7061 636b 6167 655f 7465 6c6e 6574 642d package_telnetd-
│ │ │ +00079890: 7373 6c5f 7265 6d6f 7665 640a 3c2f 636f ssl_removed.
<
│ │ │ +000798b0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +000798c0: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +000798d0: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +000798e0: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +000798f0: 6431 3136 2220 7461 6269 6e64 6578 3d22 d116" tabindex="
│ │ │ +00079900: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ +00079910: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ +00079920: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ +00079930: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ +00079940: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ +00079950: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ +00079960: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +000799f0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +00079a00: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +00079a20: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +00079a40: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +00079a50: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +00079a70: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +00079a80: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +00079a90: 3c70 7265 3e3c 636f 6465 3e0a 696e 636c .incl
│ │ │ +00079aa0: 7564 6520 7265 6d6f 7665 5f74 656c 6e65 ude remove_telne
│ │ │ +00079ab0: 7464 2d73 736c 0a0a 636c 6173 7320 7265 td-ssl..class re
│ │ │ +00079ac0: 6d6f 7665 5f74 656c 6e65 7464 2d73 736c move_telnetd-ssl
│ │ │ +00079ad0: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ +00079ae0: 7465 6c6e 6574 642d 7373 6c27 3a0a 2020 telnetd-ssl':.
│ │ │ +00079af0: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +00079b00: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.<
│ │ │ 00079b10: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remediatio
│ │ │ -0007acd0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -0007ace0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -0007ad70: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -0007ad90: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -0007ada0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0007adb0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -0007adc0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -0007ade0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ -0007ae10: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ -0007ae20: 6d6f 7665 5f74 656c 6e65 7464 0a0a 636c move_telnetd..cl
│ │ │ -0007ae30: 6173 7320 7265 6d6f 7665 5f74 656c 6e65 ass remove_telne
│ │ │ -0007ae40: 7464 207b 0a20 2070 6163 6b61 6765 207b td {. package {
│ │ │ -0007ae50: 2027 7465 6c6e 6574 6427 3a0a 2020 2020 'telnetd':.
│ │ │ -0007ae60: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ -0007ae70: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ -0007ae90: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -0007af30: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -0007af40: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -0007af50: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -0007afd0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -0007aff0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -0007b000: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -0007b010: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -0007b020: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -0007b030: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -0007b040: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -0007b050: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ -0007b060: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ -0007b080: 616d 653a 2027 556e 696e 7374 616c 6c20 ame: 'Uninstall
│ │ │ -0007b090: 7468 6520 7465 6c6e 6574 2073 6572 7665 the telnet serve
│ │ │ -0007b0a0: 723a 2045 6e73 7572 6520 7465 6c6e 6574 r: Ensure telnet
│ │ │ -0007b0b0: 6420 6973 2072 656d 6f76 6564 270a 2020 d is removed'.
│ │ │ -0007b0c0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -0007b0d0: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ -0007b0e0: 653a 2074 656c 6e65 7464 0a20 2020 2073 e: telnetd. s
│ │ │ -0007b0f0: 7461 7465 3a20 6162 7365 6e74 0a20 2074 tate: absent. t
│ │ │ -0007b100: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ -0007b110: 4947 2d55 4254 552d 3232 2d32 3135 3033 IG-UBTU-22-21503
│ │ │ -0007b120: 350a 2020 2d20 4e49 5354 2d38 3030 2d35 5. - NIST-800-5
│ │ │ -0007b130: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI
│ │ │ -0007b140: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a
│ │ │ -0007b150: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -0007b160: 332d 434d 2d37 2862 290a 2020 2d20 6469 3-CM-7(b). - di
│ │ │ -0007b170: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ -0007b180: 202d 2068 6967 685f 7365 7665 7269 7479 - high_severity
│ │ │ -0007b190: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -0007b1a0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -0007b1b0: 7570 7469 6f6e 0a20 202d 206e 6f5f 7265 uption. - no_re
│ │ │ -0007b1c0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -0007b1d0: 7061 636b 6167 655f 7465 6c6e 6574 645f package_telnetd_
│ │ │ -0007b1e0: 7265 6d6f 7665 640a 3c2f 636f 6465 3e3c removed.<
│ │ │ +0007acd0: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ +0007ace0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +0007ad60: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +0007ad70: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +0007ad80: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0007ad90: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +0007ada0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +0007adc0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +0007add0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0007ade0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: disable
│ │ │ +0007ae00: 7472 3e3c 2f74 6162 6c65 3e3c 7072 653e tr>
│ │ │ +0007ae10: 3c63 6f64 653e 2d20 6e61 6d65 3a20 2755 - name: 'U
│ │ │ +0007ae20: 6e69 6e73 7461 6c6c 2074 6865 2074 656c ninstall the tel
│ │ │ +0007ae30: 6e65 7420 7365 7276 6572 3a20 456e 7375 net server: Ensu
│ │ │ +0007ae40: 7265 2074 656c 6e65 7464 2069 7320 7265 re telnetd is re
│ │ │ +0007ae50: 6d6f 7665 6427 0a20 2061 6e73 6962 6c65 moved'. ansible
│ │ │ +0007ae60: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +0007ae70: 3a0a 2020 2020 6e61 6d65 3a20 7465 6c6e :. name: teln
│ │ │ +0007ae80: 6574 640a 2020 2020 7374 6174 653a 2061 etd. state: a
│ │ │ +0007ae90: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:.
│ │ │ +0007aea0: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU
│ │ │ +0007aeb0: 2d32 322d 3231 3530 3335 0a20 202d 204e -22-215035. - N
│ │ │ +0007aec0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +0007aed0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +0007aee0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N
│ │ │ +0007aef0: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ +0007af00: 6229 0a20 202d 2064 6973 6162 6c65 5f73 b). - disable_s
│ │ │ +0007af10: 7472 6174 6567 790a 2020 2d20 6869 6768 trategy. - high
│ │ │ +0007af20: 5f73 6576 6572 6974 790a 2020 2d20 6c6f _severity. - lo
│ │ │ +0007af30: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ +0007af40: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ +0007af50: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +0007af60: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +0007af70: 5f74 656c 6e65 7464 5f72 656d 6f76 6564 _telnetd_removed
│ │ │ +0007af80: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +0007af90: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation Pup
│ │ │ +0007b040: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +0007b050: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +0007b100: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +0007b110: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +0007b120: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +0007b130: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +0007b150: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ +0007b160: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +0007b180: 0a69 6e63 6c75 6465 2072 656d 6f76 655f .include remove_
│ │ │ +0007b190: 7465 6c6e 6574 640a 0a63 6c61 7373 2072 telnetd..class r
│ │ │ +0007b1a0: 656d 6f76 655f 7465 6c6e 6574 6420 7b0a emove_telnetd {.
│ │ │ +0007b1b0: 2020 7061 636b 6167 6520 7b20 2774 656c package { 'tel
│ │ │ +0007b1c0: 6e65 7464 273a 0a20 2020 2065 6e73 7572 netd':. ensur
│ │ │ +0007b1d0: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ +0007b1e0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ 0007b1f0: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
│ │ │ -0007d1b0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu
│ │ │ -0007d1c0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn
│ │ │ -0007d1d0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.[[p
│ │ │ -0007d220: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d ackages]].name =
│ │ │ -0007d230: 2022 7379 7374 656d 642d 7469 6d65 7379 "systemd-timesy
│ │ │ -0007d240: 6e63 6422 0a76 6572 7369 6f6e 203d 2022 ncd".version = "
│ │ │ -0007d250: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".
│ │ │ -0007d260: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ -0007d310: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -0007d320: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -0007d3a0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -0007d3b0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -0007d3c0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -0007d3d0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -0007d3e0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -0007d410: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -0007d420: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -0007d430: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -0007d440: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include install
│ │ │ -0007d460: 5f73 7973 7465 6d64 2d74 696d 6573 796e _systemd-timesyn
│ │ │ -0007d470: 6364 0a0a 636c 6173 7320 696e 7374 616c cd..class instal
│ │ │ -0007d480: 6c5f 7379 7374 656d 642d 7469 6d65 7379 l_systemd-timesy
│ │ │ -0007d490: 6e63 6420 7b0a 2020 7061 636b 6167 6520 ncd {. package
│ │ │ -0007d4a0: 7b20 2773 7973 7465 6d64 2d74 696d 6573 { 'systemd-times
│ │ │ -0007d4b0: 796e 6364 273a 0a20 2020 2065 6e73 7572 yncd':. ensur
│ │ │ -0007d4c0: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install
│ │ │ -0007d4d0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -0007d590: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -0007d5a0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -0007d630: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -0007d640: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -0007d660: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -0007d680: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -0007d690: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -0007d6b0: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ -0007d6d0: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -0007d6e0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ -0007d6f0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ -0007d700: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ -0007d710: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ -0007d720: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ -0007d730: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ -0007d740: 2d20 5043 492d 4453 532d 5265 712d 3130 - PCI-DSS-Req-10
│ │ │ -0007d750: 2e34 0a20 202d 2065 6e61 626c 655f 7374 .4. - enable_st
│ │ │ -0007d760: 7261 7465 6779 0a20 202d 2068 6967 685f rategy. - high_
│ │ │ -0007d770: 7365 7665 7269 7479 0a20 202d 206c 6f77 severity. - low
│ │ │ -0007d780: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -0007d790: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -0007d7a0: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -0007d7b0: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ -0007d7c0: 7469 6d65 7379 6e63 645f 696e 7374 616c timesyncd_instal
│ │ │ -0007d7d0: 6c65 640a 0a2d 206e 616d 653a 2045 6e73 led..- name: Ens
│ │ │ -0007d7e0: 7572 6520 7379 7374 656d 642d 7469 6d65 ure systemd-time
│ │ │ -0007d7f0: 7379 6e63 6420 6973 2069 6e73 7461 6c6c syncd is install
│ │ │ -0007d800: 6564 0a20 2061 6e73 6962 6c65 2e62 7569 ed. ansible.bui
│ │ │ -0007d810: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -0007d820: 2020 6e61 6d65 3a20 7379 7374 656d 642d name: systemd-
│ │ │ -0007d830: 7469 6d65 7379 6e63 640a 2020 2020 7374 timesyncd. st
│ │ │ -0007d840: 6174 653a 2070 7265 7365 6e74 0a20 2077 ate: present. w
│ │ │ -0007d850: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas
│ │ │ -0007d860: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ -0007d870: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ -0007d880: 7461 6773 3a0a 2020 2d20 4e49 5354 2d38 tags:. - NIST-8
│ │ │ -0007d890: 3030 2d35 332d 434d 2d36 2861 290a 2020 00-53-CM-6(a).
│ │ │ -0007d8a0: 2d20 5043 492d 4453 532d 5265 712d 3130 - PCI-DSS-Req-10
│ │ │ -0007d8b0: 2e34 0a20 202d 2065 6e61 626c 655f 7374 .4. - enable_st
│ │ │ -0007d8c0: 7261 7465 6779 0a20 202d 2068 6967 685f rategy. - high_
│ │ │ -0007d8d0: 7365 7665 7269 7479 0a20 202d 206c 6f77 severity. - low
│ │ │ -0007d8e0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -0007d8f0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -0007d900: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ -0007d910: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ -0007d920: 7469 6d65 7379 6e63 645f 696e 7374 616c timesyncd_instal
│ │ │ -0007d930: 6c65 640a 3c2f 636f 6465 3e3c 2f70 7265 led.
Complexity: low Disrup
│ │ │ +0007d280: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +0007d290: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +0007d2a0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +0007d2b0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +0007d2d0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +0007d2e0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +0007d300: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ +0007d310: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ +0007d320: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ +0007d330: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ +0007d340: 746f 0a20 2074 6167 733a 0a20 202d 204e to. tags:. - N
│ │ │ +0007d350: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +0007d360: 6129 0a20 202d 2050 4349 2d44 5353 2d52 a). - PCI-DSS-R
│ │ │ +0007d370: 6571 2d31 302e 340a 2020 2d20 656e 6162 eq-10.4. - enab
│ │ │ +0007d380: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +0007d390: 6869 6768 5f73 6576 6572 6974 790a 2020 high_severity.
│ │ │ +0007d3a0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +0007d3b0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +0007d3c0: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo
│ │ │ +0007d3d0: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +0007d3e0: 6b61 6765 5f74 696d 6573 796e 6364 5f69 kage_timesyncd_i
│ │ │ +0007d3f0: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65 nstalled..- name
│ │ │ +0007d400: 3a20 456e 7375 7265 2073 7973 7465 6d64 : Ensure systemd
│ │ │ +0007d410: 2d74 696d 6573 796e 6364 2069 7320 696e -timesyncd is in
│ │ │ +0007d420: 7374 616c 6c65 640a 2020 616e 7369 626c stalled. ansibl
│ │ │ +0007d430: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ +0007d440: 653a 0a20 2020 206e 616d 653a 2073 7973 e:. name: sys
│ │ │ +0007d450: 7465 6d64 2d74 696d 6573 796e 6364 0a20 temd-timesyncd.
│ │ │ +0007d460: 2020 2073 7461 7465 3a20 7072 6573 656e state: presen
│ │ │ +0007d470: 740a 2020 7768 656e 3a20 2722 6c69 6e75 t. when: '"linu
│ │ │ +0007d480: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ +0007d490: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ +0007d4a0: 7327 0a20 2074 6167 733a 0a20 202d 204e s'. tags:. - N
│ │ │ +0007d4b0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +0007d4c0: 6129 0a20 202d 2050 4349 2d44 5353 2d52 a). - PCI-DSS-R
│ │ │ +0007d4d0: 6571 2d31 302e 340a 2020 2d20 656e 6162 eq-10.4. - enab
│ │ │ +0007d4e0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +0007d4f0: 6869 6768 5f73 6576 6572 6974 790a 2020 high_severity.
│ │ │ +0007d500: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +0007d510: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +0007d520: 696f 6e0a 2020 2d20 6e6f 5f72 6562 6f6f ion. - no_reboo
│ │ │ +0007d530: 745f 6e65 6564 6564 0a20 202d 2070 6163 t_needed. - pac
│ │ │ +0007d540: 6b61 6765 5f74 696d 6573 796e 6364 5f69 kage_timesyncd_i
│ │ │ +0007d550: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e nstalled.
│ │ │ +0007d560: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +0007d610: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ +0007d620: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +0007d630: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +0007d640: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +0007d650: 7365 2220 6964 3d22 6964 3132 3422 3e3c se" id="id124"><
│ │ │ +0007d660: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +0007d670: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +0007d680: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +0007d690: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +0007d6a0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +0007d6b0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +0007d6c0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +0007d6f0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +0007d700: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +0007d710: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +0007d730: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable <
│ │ │ +0007d740: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include i
│ │ │ +0007d760: 6e73 7461 6c6c 5f73 7973 7465 6d64 2d74 nstall_systemd-t
│ │ │ +0007d770: 696d 6573 796e 6364 0a0a 636c 6173 7320 imesyncd..class
│ │ │ +0007d780: 696e 7374 616c 6c5f 7379 7374 656d 642d install_systemd-
│ │ │ +0007d790: 7469 6d65 7379 6e63 6420 7b0a 2020 7061 timesyncd {. pa
│ │ │ +0007d7a0: 636b 6167 6520 7b20 2773 7973 7465 6d64 ckage { 'systemd
│ │ │ +0007d7b0: 2d74 696d 6573 796e 6364 273a 0a20 2020 -timesyncd':.
│ │ │ +0007d7c0: 2065 6e73 7572 6520 3d26 6774 3b20 2769 ensure => 'i
│ │ │ +0007d7d0: 6e73 7461 6c6c 6564 272c 0a20 207d 0a7d nstalled',. }.}
│ │ │ +0007d7e0: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ +0007d7f0: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation OSB
│ │ │ +0007d8a0: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ +0007d8b0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ....[[
│ │ │ +0007d900: 7061 636b 6167 6573 5d5d 0a6e 616d 6520 packages]].name
│ │ │ +0007d910: 3d20 2273 7973 7465 6d64 2d74 696d 6573 = "systemd-times
│ │ │ +0007d920: 796e 6364 220a 7665 7273 696f 6e20 3d20 yncd".version =
│ │ │ +0007d930: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*".
Re
│ │ │ -0007eb10: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ -0007eb20: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ -0007eb30: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -0007eb40: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -0007eb50: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -0007eb60: 7365 2220 6964 3d22 6964 3132 3822 3e3c se" id="id128"><
│ │ │ -0007eb70: 7072 653e 3c63 6f64 653e 0a5b 6375 7374 pre>.[cust
│ │ │ -0007eb80: 6f6d 697a 6174 696f 6e73 2e73 6572 7669 omizations.servi
│ │ │ -0007eb90: 6365 735d 0a65 6e61 626c 6564 203d 205b ces].enabled = [
│ │ │ -0007eba0: 2273 7973 7465 6d64 2d74 696d 6573 796e "systemd-timesyn
│ │ │ -0007ebb0: 6364 225d 0a3c 2f63 6f64 653e 3c2f 7072 cd"].Remediation
│ │ │ -0007ec70: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ -0007ec80: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ -0007ed10: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -0007ed30: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -0007ed50: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -0007ed60: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -0007ed80: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -0007ed90: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -0007eda0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
include enabl
│ │ │ -0007edc0: 655f 7379 7374 656d 642d 7469 6d65 7379 e_systemd-timesy
│ │ │ -0007edd0: 6e63 640a 0a63 6c61 7373 2065 6e61 626c ncd..class enabl
│ │ │ -0007ede0: 655f 7379 7374 656d 642d 7469 6d65 7379 e_systemd-timesy
│ │ │ -0007edf0: 6e63 6420 7b0a 2020 7365 7276 6963 6520 ncd {. service
│ │ │ -0007ee00: 7b27 7379 7374 656d 642d 7469 6d65 7379 {'systemd-timesy
│ │ │ -0007ee10: 6e63 6427 3a0a 2020 2020 656e 6162 6c65 ncd':. enable
│ │ │ -0007ee20: 203d 2667 743b 2074 7275 652c 0a20 2020 => true,.
│ │ │ -0007ee30: 2065 6e73 7572 6520 3d26 6774 3b20 2772 ensure => 'r
│ │ │ -0007ee40: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c unning',. }.}.<
│ │ │ -0007ee50: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -0007ef00: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -0007ef10: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -0007ef20: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -0007efa0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -0007efb0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -0007efd0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -0007efe0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -0007f020: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ -0007f030: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ -0007f050: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the
│ │ │ -0007f060: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts.
│ │ │ -0007f070: 2070 6163 6b61 6765 5f66 6163 7473 3a0a package_facts:.
│ │ │ -0007f080: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ -0007f090: 6f0a 2020 7461 6773 3a0a 2020 2d20 4e49 o. tags:. - NI
│ │ │ -0007f0a0: 5354 2d38 3030 2d35 332d 4155 2d38 2831 ST-800-53-AU-8(1
│ │ │ -0007f0b0: 2928 6129 0a20 202d 204e 4953 542d 3830 )(a). - NIST-80
│ │ │ -0007f0c0: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -0007f0d0: 2050 4349 2d44 5353 2d52 6571 2d31 302e PCI-DSS-Req-10.
│ │ │ -0007f0e0: 340a 2020 2d20 5043 492d 4453 5376 342d 4. - PCI-DSSv4-
│ │ │ -0007f0f0: 3130 2e36 0a20 202d 2050 4349 2d44 5353 10.6. - PCI-DSS
│ │ │ -0007f100: 7634 2d31 302e 362e 310a 2020 2d20 656e v4-10.6.1. - en
│ │ │ -0007f110: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ -0007f120: 2d20 6869 6768 5f73 6576 6572 6974 790a - high_severity.
│ │ │ -0007f130: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -0007f140: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -0007f150: 7074 696f 6e0a 2020 2d20 6e6f 5f72 6562 ption. - no_reb
│ │ │ -0007f160: 6f6f 745f 6e65 6564 6564 0a20 202d 2073 oot_needed. - s
│ │ │ -0007f170: 6572 7669 6365 5f74 696d 6573 796e 6364 ervice_timesyncd
│ │ │ -0007f180: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65 _enabled..- name
│ │ │ -0007f190: 3a20 456e 6162 6c65 2073 7973 7465 6d64 : Enable systemd
│ │ │ -0007f1a0: 5f74 696d 6573 796e 6364 2053 6572 7669 _timesyncd Servi
│ │ │ -0007f1b0: 6365 202d 2045 6e61 626c 6520 7365 7276 ce - Enable serv
│ │ │ -0007f1c0: 6963 6520 7379 7374 656d 642d 7469 6d65 ice systemd-time
│ │ │ -0007f1d0: 7379 6e63 640a 2020 626c 6f63 6b3a 0a0a syncd. block:..
│ │ │ -0007f1e0: 2020 2d20 6e61 6d65 3a20 4761 7468 6572 - name: Gather
│ │ │ -0007f1f0: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ -0007f200: 7473 0a20 2020 2061 6e73 6962 6c65 2e62 ts. ansible.b
│ │ │ -0007f210: 7569 6c74 696e 2e70 6163 6b61 6765 5f66 uiltin.package_f
│ │ │ -0007f220: 6163 7473 3a0a 2020 2020 2020 6d61 6e61 acts:. mana
│ │ │ -0007f230: 6765 723a 2061 7574 6f0a 0a20 202d 206e ger: auto.. - n
│ │ │ -0007f240: 616d 653a 2045 6e61 626c 6520 7379 7374 ame: Enable syst
│ │ │ -0007f250: 656d 645f 7469 6d65 7379 6e63 6420 5365 emd_timesyncd Se
│ │ │ -0007f260: 7276 6963 6520 2d20 456e 6162 6c65 2053 rvice - Enable S
│ │ │ -0007f270: 6572 7669 6365 2073 7973 7465 6d64 2d74 ervice systemd-t
│ │ │ -0007f280: 696d 6573 796e 6364 0a20 2020 2061 6e73 imesyncd. ans
│ │ │ -0007f290: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys
│ │ │ -0007f2a0: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65 temd:. name
│ │ │ -0007f2b0: 3a20 7379 7374 656d 642d 7469 6d65 7379 : systemd-timesy
│ │ │ -0007f2c0: 6e63 640a 2020 2020 2020 656e 6162 6c65 ncd. enable
│ │ │ -0007f2d0: 643a 2074 7275 650a 2020 2020 2020 7374 d: true. st
│ │ │ -0007f2e0: 6174 653a 2073 7461 7274 6564 0a20 2020 ate: started.
│ │ │ -0007f2f0: 2020 206d 6173 6b65 643a 2066 616c 7365 masked: false
│ │ │ -0007f300: 0a20 2020 2077 6865 6e3a 0a20 2020 202d . when:. -
│ │ │ -0007f310: 2027 2273 7973 7465 6d64 2220 696e 2061 '"systemd" in a
│ │ │ -0007f320: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -0007f330: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ -0007f340: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ -0007f350: 552d 3828 3129 2861 290a 2020 2d20 4e49 U-8(1)(a). - NI
│ │ │ -0007f360: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ -0007f370: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ -0007f380: 712d 3130 2e34 0a20 202d 2050 4349 2d44 q-10.4. - PCI-D
│ │ │ -0007f390: 5353 7634 2d31 302e 360a 2020 2d20 5043 SSv4-10.6. - PC
│ │ │ -0007f3a0: 492d 4453 5376 342d 3130 2e36 2e31 0a20 I-DSSv4-10.6.1.
│ │ │ -0007f3b0: 202d 2065 6e61 626c 655f 7374 7261 7465 - enable_strate
│ │ │ -0007f3c0: 6779 0a20 202d 2068 6967 685f 7365 7665 gy. - high_seve
│ │ │ -0007f3d0: 7269 7479 0a20 202d 206c 6f77 5f63 6f6d rity. - low_com
│ │ │ -0007f3e0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ -0007f3f0: 6469 7372 7570 7469 6f6e 0a20 202d 206e disruption. - n
│ │ │ -0007f400: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -0007f410: 2020 2d20 7365 7276 6963 655f 7469 6d65 - service_time
│ │ │ -0007f420: 7379 6e63 645f 656e 6162 6c65 640a 2020 syncd_enabled.
│ │ │ -0007f430: 2d20 7370 6563 6961 6c5f 7365 7276 6963 - special_servic
│ │ │ -0007f440: 655f 626c 6f63 6b0a 2020 7768 656e 3a0a e_block. when:.
│ │ │ -0007f450: 2020 2d20 2722 6c69 6e75 782d 6261 7365 - '"linux-base
│ │ │ -0007f460: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ -0007f470: 7473 2e70 6163 6b61 6765 7327 0a20 202d ts.packages'. -
│ │ │ -0007f480: 2028 206e 6f74 2028 2022 6368 726f 6e79 ( not ( "chrony
│ │ │ -0007f490: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ -0007f4a0: 7473 2e70 6163 6b61 6765 7320 2920 616e ts.packages ) an
│ │ │ -0007f4b0: 6420 6e6f 7420 2820 226e 7470 2220 696e d not ( "ntp" in
│ │ │ -0007f4c0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ -0007f4d0: 6163 6b61 6765 730a 2020 2020 2920 290a ackages. ) ).
│ │ │ +0007eb10: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ +0007eb20: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ +0007ebb0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +0007ebc0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +0007ebd0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +0007ebe0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +0007ebf0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +0007ec20: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +0007ec30: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ +0007ec40: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +0007ec60: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +0007ec70: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +0007ec80: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ +0007ec90: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ +0007eca0: 0a20 2074 6167 733a 0a20 202d 204e 4953 . tags:. - NIS
│ │ │ +0007ecb0: 542d 3830 302d 3533 2d41 552d 3828 3129 T-800-53-AU-8(1)
│ │ │ +0007ecc0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ +0007ecd0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ +0007ece0: 5043 492d 4453 532d 5265 712d 3130 2e34 PCI-DSS-Req-10.4
│ │ │ +0007ecf0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ +0007ed00: 302e 360a 2020 2d20 5043 492d 4453 5376 0.6. - PCI-DSSv
│ │ │ +0007ed10: 342d 3130 2e36 2e31 0a20 202d 2065 6e61 4-10.6.1. - ena
│ │ │ +0007ed20: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +0007ed30: 2068 6967 685f 7365 7665 7269 7479 0a20 high_severity.
│ │ │ +0007ed40: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +0007ed50: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +0007ed60: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo
│ │ │ +0007ed70: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ +0007ed80: 7276 6963 655f 7469 6d65 7379 6e63 645f rvice_timesyncd_
│ │ │ +0007ed90: 656e 6162 6c65 640a 0a2d 206e 616d 653a enabled..- name:
│ │ │ +0007eda0: 2045 6e61 626c 6520 7379 7374 656d 645f Enable systemd_
│ │ │ +0007edb0: 7469 6d65 7379 6e63 6420 5365 7276 6963 timesyncd Servic
│ │ │ +0007edc0: 6520 2d20 456e 6162 6c65 2073 6572 7669 e - Enable servi
│ │ │ +0007edd0: 6365 2073 7973 7465 6d64 2d74 696d 6573 ce systemd-times
│ │ │ +0007ede0: 796e 6364 0a20 2062 6c6f 636b 3a0a 0a20 yncd. block:..
│ │ │ +0007edf0: 202d 206e 616d 653a 2047 6174 6865 7220 - name: Gather
│ │ │ +0007ee00: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ +0007ee10: 730a 2020 2020 616e 7369 626c 652e 6275 s. ansible.bu
│ │ │ +0007ee20: 696c 7469 6e2e 7061 636b 6167 655f 6661 iltin.package_fa
│ │ │ +0007ee30: 6374 733a 0a20 2020 2020 206d 616e 6167 cts:. manag
│ │ │ +0007ee40: 6572 3a20 6175 746f 0a0a 2020 2d20 6e61 er: auto.. - na
│ │ │ +0007ee50: 6d65 3a20 456e 6162 6c65 2073 7973 7465 me: Enable syste
│ │ │ +0007ee60: 6d64 5f74 696d 6573 796e 6364 2053 6572 md_timesyncd Ser
│ │ │ +0007ee70: 7669 6365 202d 2045 6e61 626c 6520 5365 vice - Enable Se
│ │ │ +0007ee80: 7276 6963 6520 7379 7374 656d 642d 7469 rvice systemd-ti
│ │ │ +0007ee90: 6d65 7379 6e63 640a 2020 2020 616e 7369 mesyncd. ansi
│ │ │ +0007eea0: 626c 652e 6275 696c 7469 6e2e 7379 7374 ble.builtin.syst
│ │ │ +0007eeb0: 656d 643a 0a20 2020 2020 206e 616d 653a emd:. name:
│ │ │ +0007eec0: 2073 7973 7465 6d64 2d74 696d 6573 796e systemd-timesyn
│ │ │ +0007eed0: 6364 0a20 2020 2020 2065 6e61 626c 6564 cd. enabled
│ │ │ +0007eee0: 3a20 7472 7565 0a20 2020 2020 2073 7461 : true. sta
│ │ │ +0007eef0: 7465 3a20 7374 6172 7465 640a 2020 2020 te: started.
│ │ │ +0007ef00: 2020 6d61 736b 6564 3a20 6661 6c73 650a masked: false.
│ │ │ +0007ef10: 2020 2020 7768 656e 3a0a 2020 2020 2d20 when:. -
│ │ │ +0007ef20: 2722 7379 7374 656d 6422 2069 6e20 616e '"systemd" in an
│ │ │ +0007ef30: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +0007ef40: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ +0007ef50: 2d20 4e49 5354 2d38 3030 2d35 332d 4155 - NIST-800-53-AU
│ │ │ +0007ef60: 2d38 2831 2928 6129 0a20 202d 204e 4953 -8(1)(a). - NIS
│ │ │ +0007ef70: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +0007ef80: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ +0007ef90: 2d31 302e 340a 2020 2d20 5043 492d 4453 -10.4. - PCI-DS
│ │ │ +0007efa0: 5376 342d 3130 2e36 0a20 202d 2050 4349 Sv4-10.6. - PCI
│ │ │ +0007efb0: 2d44 5353 7634 2d31 302e 362e 310a 2020 -DSSv4-10.6.1.
│ │ │ +0007efc0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ +0007efd0: 790a 2020 2d20 6869 6768 5f73 6576 6572 y. - high_sever
│ │ │ +0007efe0: 6974 790a 2020 2d20 6c6f 775f 636f 6d70 ity. - low_comp
│ │ │ +0007eff0: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +0007f000: 6973 7275 7074 696f 6e0a 2020 2d20 6e6f isruption. - no
│ │ │ +0007f010: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +0007f020: 202d 2073 6572 7669 6365 5f74 696d 6573 - service_times
│ │ │ +0007f030: 796e 6364 5f65 6e61 626c 6564 0a20 202d yncd_enabled. -
│ │ │ +0007f040: 2073 7065 6369 616c 5f73 6572 7669 6365 special_service
│ │ │ +0007f050: 5f62 6c6f 636b 0a20 2077 6865 6e3a 0a20 _block. when:.
│ │ │ +0007f060: 202d 2027 226c 696e 7578 2d62 6173 6522 - '"linux-base"
│ │ │ +0007f070: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +0007f080: 732e 7061 636b 6167 6573 270a 2020 2d20 s.packages'. -
│ │ │ +0007f090: 2820 6e6f 7420 2820 2263 6872 6f6e 7922 ( not ( "chrony"
│ │ │ +0007f0a0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +0007f0b0: 732e 7061 636b 6167 6573 2029 2061 6e64 s.packages ) and
│ │ │ +0007f0c0: 206e 6f74 2028 2022 6e74 7022 2069 6e20 not ( "ntp" in
│ │ │ +0007f0d0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ +0007f0e0: 636b 6167 6573 0a20 2020 2029 2029 0a3c ckages. ) ).<
│ │ │ +0007f0f0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +0007f1a0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +0007f1b0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ +0007f240: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +0007f250: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +0007f260: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +0007f270: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +0007f280: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +0007f2b0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +0007f2c0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ +0007f2d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c inc
│ │ │ +0007f2f0: 6c75 6465 2065 6e61 626c 655f 7379 7374 lude enable_syst
│ │ │ +0007f300: 656d 642d 7469 6d65 7379 6e63 640a 0a63 emd-timesyncd..c
│ │ │ +0007f310: 6c61 7373 2065 6e61 626c 655f 7379 7374 lass enable_syst
│ │ │ +0007f320: 656d 642d 7469 6d65 7379 6e63 6420 7b0a emd-timesyncd {.
│ │ │ +0007f330: 2020 7365 7276 6963 6520 7b27 7379 7374 service {'syst
│ │ │ +0007f340: 656d 642d 7469 6d65 7379 6e63 6427 3a0a emd-timesyncd':.
│ │ │ +0007f350: 2020 2020 656e 6162 6c65 203d 2667 743b enable =>
│ │ │ +0007f360: 2074 7275 652c 0a20 2020 2065 6e73 7572 true,. ensur
│ │ │ +0007f370: 6520 3d26 6774 3b20 2772 756e 6e69 6e67 e => 'running
│ │ │ +0007f380: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ +0007f390: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +0007f440: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu
│ │ │ +0007f450: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet .
│ │ │ +0007f460: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
<
│ │ │ +0007f4a0: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61 code>.[customiza
│ │ │ +0007f4b0: 7469 6f6e 732e 7365 7276 6963 6573 5d0a tions.services].
│ │ │ +0007f4c0: 656e 6162 6c65 6420 3d20 5b22 7379 7374 enabled = ["syst
│ │ │ +0007f4d0: 656d 642d 7469 6d65 7379 6e63 6422 5d0a emd-timesyncd"].
│ │ │ 0007f4e0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Reme
│ │ │ -0008e450: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild
│ │ │ -0008e460: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe
│ │ │ -0008e470: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
.[[packa
│ │ │ -0008e4c0: 6765 735d 5d0a 6e61 6d65 203d 2022 6175 ges]].name = "au
│ │ │ -0008e4d0: 6469 7464 220a 7665 7273 696f 6e20 3d20 ditd".version =
│ │ │ -0008e4e0: 222a 220a 3c2f 636f 6465 3e3c 2f70 7265 "*". Remediation
│ │ │ -0008e5a0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ -0008e5b0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -0008e630: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -0008e640: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -0008e650: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -0008e660: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -0008e6a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -0008e6b0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ -0008e6c0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ -0008e6d0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include instal
│ │ │ -0008e6f0: 6c5f 6175 6469 7464 0a0a 636c 6173 7320 l_auditd..class
│ │ │ -0008e700: 696e 7374 616c 6c5f 6175 6469 7464 207b install_auditd {
│ │ │ -0008e710: 0a20 2070 6163 6b61 6765 207b 2027 6175 . package { 'au
│ │ │ -0008e720: 6469 7464 273a 0a20 2020 2065 6e73 7572 ditd':. ensur
│ │ │ -0008e730: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install
│ │ │ -0008e740: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remed
│ │ │ -0008e800: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -0008e810: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -0008e8a0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -0008e8b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -0008e8d0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -0008e8f0: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -0008e900: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -0008e920: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ -0008e940: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -0008e950: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ -0008e960: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ -0008e970: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ -0008e980: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ -0008e990: 7461 6773 3a0a 2020 2d20 4449 5341 2d53 tags:. - DISA-S
│ │ │ -0008e9a0: 5449 472d 5542 5455 2d32 322d 3635 3330 TIG-UBTU-22-6530
│ │ │ -0008e9b0: 3130 0a20 202d 204e 4953 542d 3830 302d 10. - NIST-800-
│ │ │ -0008e9c0: 3533 2d41 432d 3728 6129 0a20 202d 204e 53-AC-7(a). - N
│ │ │ -0008e9d0: 4953 542d 3830 302d 3533 2d41 552d 3132 IST-800-53-AU-12
│ │ │ -0008e9e0: 2832 290a 2020 2d20 4e49 5354 2d38 3030 (2). - NIST-800
│ │ │ -0008e9f0: 2d35 332d 4155 2d31 340a 2020 2d20 4e49 -53-AU-14. - NI
│ │ │ -0008ea00: 5354 2d38 3030 2d35 332d 4155 2d32 2861 ST-800-53-AU-2(a
│ │ │ -0008ea10: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -0008ea20: 332d 4155 2d37 2831 290a 2020 2d20 4e49 3-AU-7(1). - NI
│ │ │ -0008ea30: 5354 2d38 3030 2d35 332d 4155 2d37 2832 ST-800-53-AU-7(2
│ │ │ -0008ea40: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -0008ea50: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC
│ │ │ -0008ea60: 492d 4453 532d 5265 712d 3130 2e31 0a20 I-DSS-Req-10.1.
│ │ │ -0008ea70: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10.
│ │ │ -0008ea80: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ -0008ea90: 3130 2e32 2e31 0a20 202d 2065 6e61 626c 10.2.1. - enabl
│ │ │ -0008eaa0: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -0008eab0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -0008eac0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -0008ead0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -0008eae0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -0008eaf0: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ -0008eb00: 636b 6167 655f 6175 6469 745f 696e 7374 ckage_audit_inst
│ │ │ -0008eb10: 616c 6c65 640a 0a2d 206e 616d 653a 2045 alled..- name: E
│ │ │ -0008eb20: 6e73 7572 6520 6175 6469 7464 2069 7320 nsure auditd is
│ │ │ -0008eb30: 696e 7374 616c 6c65 640a 2020 616e 7369 installed. ansi
│ │ │ -0008eb40: 626c 652e 6275 696c 7469 6e2e 7061 636b ble.builtin.pack
│ │ │ -0008eb50: 6167 653a 0a20 2020 206e 616d 653a 2061 age:. name: a
│ │ │ -0008eb60: 7564 6974 640a 2020 2020 7374 6174 653a uditd. state:
│ │ │ -0008eb70: 2070 7265 7365 6e74 0a20 2077 6865 6e3a present. when:
│ │ │ -0008eb80: 2027 226c 696e 7578 2d62 6173 6522 2069 '"linux-base" i
│ │ │ -0008eb90: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ -0008eba0: 7061 636b 6167 6573 270a 2020 7461 6773 packages'. tags
│ │ │ -0008ebb0: 3a0a 2020 2d20 4449 5341 2d53 5449 472d :. - DISA-STIG-
│ │ │ -0008ebc0: 5542 5455 2d32 322d 3635 3330 3130 0a20 UBTU-22-653010.
│ │ │ -0008ebd0: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ -0008ebe0: 432d 3728 6129 0a20 202d 204e 4953 542d C-7(a). - NIST-
│ │ │ -0008ebf0: 3830 302d 3533 2d41 552d 3132 2832 290a 800-53-AU-12(2).
│ │ │ -0008ec00: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -0008ec10: 4155 2d31 340a 2020 2d20 4e49 5354 2d38 AU-14. - NIST-8
│ │ │ -0008ec20: 3030 2d35 332d 4155 2d32 2861 290a 2020 00-53-AU-2(a).
│ │ │ -0008ec30: 2d20 4e49 5354 2d38 3030 2d35 332d 4155 - NIST-800-53-AU
│ │ │ -0008ec40: 2d37 2831 290a 2020 2d20 4e49 5354 2d38 -7(1). - NIST-8
│ │ │ -0008ec50: 3030 2d35 332d 4155 2d37 2832 290a 2020 00-53-AU-7(2).
│ │ │ -0008ec60: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -0008ec70: 2d36 2861 290a 2020 2d20 5043 492d 4453 -6(a). - PCI-DS
│ │ │ -0008ec80: 532d 5265 712d 3130 2e31 0a20 202d 2050 S-Req-10.1. - P
│ │ │ -0008ec90: 4349 2d44 5353 7634 2d31 302e 320a 2020 CI-DSSv4-10.2.
│ │ │ -0008eca0: 2d20 5043 492d 4453 5376 342d 3130 2e32 - PCI-DSSv4-10.2
│ │ │ -0008ecb0: 2e31 0a20 202d 2065 6e61 626c 655f 7374 .1. - enable_st
│ │ │ -0008ecc0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -0008ecd0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -0008ece0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -0008ecf0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ -0008ed00: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -0008ed10: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ -0008ed20: 655f 6175 6469 745f 696e 7374 616c 6c65 e_audit_installe
│ │ │ -0008ed30: 640a 3c2f 636f 6465 3e3c 2f70 7265 3e3c d.<
│ │ │ +0008e450: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ +0008e460: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +0008e470: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +0008e4f0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +0008e520: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +0008e540: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +0008e550: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +0008e570: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ +0008e580: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +0008e590: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +0008e5a0: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ +0008e5b0: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ +0008e5c0: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ +0008e5d0: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ +0008e5e0: 2074 6167 733a 0a20 202d 2044 4953 412d tags:. - DISA-
│ │ │ +0008e5f0: 5354 4947 2d55 4254 552d 3232 2d36 3533 STIG-UBTU-22-653
│ │ │ +0008e600: 3031 300a 2020 2d20 4e49 5354 2d38 3030 010. - NIST-800
│ │ │ +0008e610: 2d35 332d 4143 2d37 2861 290a 2020 2d20 -53-AC-7(a). -
│ │ │ +0008e620: 4e49 5354 2d38 3030 2d35 332d 4155 2d31 NIST-800-53-AU-1
│ │ │ +0008e630: 3228 3229 0a20 202d 204e 4953 542d 3830 2(2). - NIST-80
│ │ │ +0008e640: 302d 3533 2d41 552d 3134 0a20 202d 204e 0-53-AU-14. - N
│ │ │ +0008e650: 4953 542d 3830 302d 3533 2d41 552d 3228 IST-800-53-AU-2(
│ │ │ +0008e660: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +0008e670: 3533 2d41 552d 3728 3129 0a20 202d 204e 53-AU-7(1). - N
│ │ │ +0008e680: 4953 542d 3830 302d 3533 2d41 552d 3728 IST-800-53-AU-7(
│ │ │ +0008e690: 3229 0a20 202d 204e 4953 542d 3830 302d 2). - NIST-800-
│ │ │ +0008e6a0: 3533 2d43 4d2d 3628 6129 0a20 202d 2050 53-CM-6(a). - P
│ │ │ +0008e6b0: 4349 2d44 5353 2d52 6571 2d31 302e 310a CI-DSS-Req-10.1.
│ │ │ +0008e6c0: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10
│ │ │ +0008e6d0: 2e32 0a20 202d 2050 4349 2d44 5353 7634 .2. - PCI-DSSv4
│ │ │ +0008e6e0: 2d31 302e 322e 310a 2020 2d20 656e 6162 -10.2.1. - enab
│ │ │ +0008e6f0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ +0008e700: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ +0008e710: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ +0008e720: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ +0008e730: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ +0008e740: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ +0008e750: 6163 6b61 6765 5f61 7564 6974 5f69 6e73 ackage_audit_ins
│ │ │ +0008e760: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 talled..- name:
│ │ │ +0008e770: 456e 7375 7265 2061 7564 6974 6420 6973 Ensure auditd is
│ │ │ +0008e780: 2069 6e73 7461 6c6c 6564 0a20 2061 6e73 installed. ans
│ │ │ +0008e790: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ +0008e7a0: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ +0008e7b0: 6175 6469 7464 0a20 2020 2073 7461 7465 auditd. state
│ │ │ +0008e7c0: 3a20 7072 6573 656e 740a 2020 7768 656e : present. when
│ │ │ +0008e7d0: 3a20 2722 6c69 6e75 782d 6261 7365 2220 : '"linux-base"
│ │ │ +0008e7e0: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ +0008e7f0: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag
│ │ │ +0008e800: 733a 0a20 202d 2044 4953 412d 5354 4947 s:. - DISA-STIG
│ │ │ +0008e810: 2d55 4254 552d 3232 2d36 3533 3031 300a -UBTU-22-653010.
│ │ │ +0008e820: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +0008e830: 4143 2d37 2861 290a 2020 2d20 4e49 5354 AC-7(a). - NIST
│ │ │ +0008e840: 2d38 3030 2d35 332d 4155 2d31 3228 3229 -800-53-AU-12(2)
│ │ │ +0008e850: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +0008e860: 2d41 552d 3134 0a20 202d 204e 4953 542d -AU-14. - NIST-
│ │ │ +0008e870: 3830 302d 3533 2d41 552d 3228 6129 0a20 800-53-AU-2(a).
│ │ │ +0008e880: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ +0008e890: 552d 3728 3129 0a20 202d 204e 4953 542d U-7(1). - NIST-
│ │ │ +0008e8a0: 3830 302d 3533 2d41 552d 3728 3229 0a20 800-53-AU-7(2).
│ │ │ +0008e8b0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +0008e8c0: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ +0008e8d0: 5353 2d52 6571 2d31 302e 310a 2020 2d20 SS-Req-10.1. -
│ │ │ +0008e8e0: 5043 492d 4453 5376 342d 3130 2e32 0a20 PCI-DSSv4-10.2.
│ │ │ +0008e8f0: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10.
│ │ │ +0008e900: 322e 310a 2020 2d20 656e 6162 6c65 5f73 2.1. - enable_s
│ │ │ +0008e910: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +0008e920: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +0008e930: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +0008e940: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ +0008e950: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +0008e960: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +0008e970: 6765 5f61 7564 6974 5f69 6e73 7461 6c6c ge_audit_install
│ │ │ +0008e980: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +0008e990: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ +0008ea40: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ +0008ea50: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +0008ead0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +0008eae0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +0008eaf0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +0008eb00: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +0008eb10: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +0008eb40: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +0008eb50: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ +0008eb60: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +0008eb70: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include install
│ │ │ +0008eb90: 5f61 7564 6974 640a 0a63 6c61 7373 2069 _auditd..class i
│ │ │ +0008eba0: 6e73 7461 6c6c 5f61 7564 6974 6420 7b0a nstall_auditd {.
│ │ │ +0008ebb0: 2020 7061 636b 6167 6520 7b20 2761 7564 package { 'aud
│ │ │ +0008ebc0: 6974 6427 3a0a 2020 2020 656e 7375 7265 itd':. ensure
│ │ │ +0008ebd0: 203d 2667 743b 2027 696e 7374 616c 6c65 => 'installe
│ │ │ +0008ebe0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remedi
│ │ │ +0008eca0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ +0008ecb0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ +0008ecc0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +0008ed00: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765 .[[package
│ │ │ +0008ed10: 735d 5d0a 6e61 6d65 203d 2022 6175 6469 s]].name = "audi
│ │ │ +0008ed20: 7464 220a 7665 7273 696f 6e20 3d20 222a td".version = "*
│ │ │ +0008ed30: 220a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ".
<
│ │ │ 0008ed40: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediatio
│ │ │ -00090a60: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr
│ │ │ -00090a70: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...<
│ │ │ -00090a80: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[customizatio
│ │ │ -00090ad0: 6e73 2e73 6572 7669 6365 735d 0a65 6e61 ns.services].ena
│ │ │ -00090ae0: 626c 6564 203d 205b 2261 7564 6974 6422 bled = ["auditd"
│ │ │ -00090af0: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ].
<
│ │ │ -00090b00: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu
│ │ │ -00090bb0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ -00090bc0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -00090c60: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -00090c70: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -00090c80: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00090c90: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -00090ca0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -00090cb0: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -00090cc0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ -00090cd0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -00090cf0: 696e 636c 7564 6520 656e 6162 6c65 5f61 include enable_a
│ │ │ -00090d00: 7564 6974 640a 0a63 6c61 7373 2065 6e61 uditd..class ena
│ │ │ -00090d10: 626c 655f 6175 6469 7464 207b 0a20 2073 ble_auditd {. s
│ │ │ -00090d20: 6572 7669 6365 207b 2761 7564 6974 6427 ervice {'auditd'
│ │ │ -00090d30: 3a0a 2020 2020 656e 6162 6c65 203d 2667 :. enable =&g
│ │ │ -00090d40: 743b 2074 7275 652c 0a20 2020 2065 6e73 t; true,. ens
│ │ │ -00090d50: 7572 6520 3d26 6774 3b20 2772 756e 6e69 ure => 'runni
│ │ │ -00090d60: 6e67 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ng',. }.}.
Remed
│ │ │ -00090e20: 6961 7469 6f6e 2041 6e73 6962 6c65 2073 iation Ansible s
│ │ │ -00090e30: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ -00090ec0: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ -00090ed0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ -00090ef0: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ -00090f10: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ -00090f20: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ -00090f40: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ -00090f60: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ -00090f70: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ -00090f80: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ -00090f90: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ -00090fa0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ -00090fb0: 7461 6773 3a0a 2020 2d20 434a 4953 2d35 tags:. - CJIS-5
│ │ │ -00090fc0: 2e34 2e31 2e31 0a20 202d 2044 4953 412d .4.1.1. - DISA-
│ │ │ -00090fd0: 5354 4947 2d55 4254 552d 3232 2d36 3533 STIG-UBTU-22-653
│ │ │ -00090fe0: 3031 350a 2020 2d20 4e49 5354 2d38 3030 015. - NIST-800
│ │ │ -00090ff0: 2d31 3731 2d33 2e33 2e31 0a20 202d 204e -171-3.3.1. - N
│ │ │ -00091000: 4953 542d 3830 302d 3137 312d 332e 332e IST-800-171-3.3.
│ │ │ -00091010: 320a 2020 2d20 4e49 5354 2d38 3030 2d31 2. - NIST-800-1
│ │ │ -00091020: 3731 2d33 2e33 2e36 0a20 202d 204e 4953 71-3.3.6. - NIS
│ │ │ -00091030: 542d 3830 302d 3533 2d41 432d 3228 6729 T-800-53-AC-2(g)
│ │ │ -00091040: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00091050: 2d41 432d 3628 3929 0a20 202d 204e 4953 -AC-6(9). - NIS
│ │ │ -00091060: 542d 3830 302d 3533 2d41 552d 3130 0a20 T-800-53-AU-10.
│ │ │ -00091070: 202d 204e 4953 542d 3830 302d 3533 2d41 - NIST-800-53-A
│ │ │ -00091080: 552d 3132 2863 290a 2020 2d20 4e49 5354 U-12(c). - NIST
│ │ │ -00091090: 2d38 3030 2d35 332d 4155 2d31 3428 3129 -800-53-AU-14(1)
│ │ │ -000910a0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -000910b0: 2d41 552d 3228 6429 0a20 202d 204e 4953 -AU-2(d). - NIS
│ │ │ -000910c0: 542d 3830 302d 3533 2d41 552d 330a 2020 T-800-53-AU-3.
│ │ │ -000910d0: 2d20 4e49 5354 2d38 3030 2d35 332d 434d - NIST-800-53-CM
│ │ │ -000910e0: 2d36 2861 290a 2020 2d20 4e49 5354 2d38 -6(a). - NIST-8
│ │ │ -000910f0: 3030 2d35 332d 5349 2d34 2832 3329 0a20 00-53-SI-4(23).
│ │ │ -00091100: 202d 2050 4349 2d44 5353 2d52 6571 2d31 - PCI-DSS-Req-1
│ │ │ -00091110: 302e 310a 2020 2d20 5043 492d 4453 5376 0.1. - PCI-DSSv
│ │ │ -00091120: 342d 3130 2e32 0a20 202d 2050 4349 2d44 4-10.2. - PCI-D
│ │ │ -00091130: 5353 7634 2d31 302e 322e 310a 2020 2d20 SSv4-10.2.1. -
│ │ │ -00091140: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -00091150: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -00091160: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -00091170: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -00091180: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -00091190: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -000911a0: 202d 2073 6572 7669 6365 5f61 7564 6974 - service_audit
│ │ │ -000911b0: 645f 656e 6162 6c65 640a 0a2d 206e 616d d_enabled..- nam
│ │ │ -000911c0: 653a 2045 6e61 626c 6520 6175 6469 7464 e: Enable auditd
│ │ │ -000911d0: 2053 6572 7669 6365 202d 2045 6e61 626c Service - Enabl
│ │ │ -000911e0: 6520 7365 7276 6963 6520 6175 6469 7464 e service auditd
│ │ │ -000911f0: 0a20 2062 6c6f 636b 3a0a 0a20 202d 206e . block:.. - n
│ │ │ -00091200: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ -00091210: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ -00091220: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -00091230: 6e2e 7061 636b 6167 655f 6661 6374 733a n.package_facts:
│ │ │ -00091240: 0a20 2020 2020 206d 616e 6167 6572 3a20 . manager:
│ │ │ -00091250: 6175 746f 0a0a 2020 2d20 6e61 6d65 3a20 auto.. - name:
│ │ │ -00091260: 456e 6162 6c65 2061 7564 6974 6420 5365 Enable auditd Se
│ │ │ -00091270: 7276 6963 6520 2d20 456e 6162 6c65 2053 rvice - Enable S
│ │ │ -00091280: 6572 7669 6365 2061 7564 6974 640a 2020 ervice auditd.
│ │ │ -00091290: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -000912a0: 6e2e 7379 7374 656d 643a 0a20 2020 2020 n.systemd:.
│ │ │ -000912b0: 206e 616d 653a 2061 7564 6974 640a 2020 name: auditd.
│ │ │ -000912c0: 2020 2020 656e 6162 6c65 643a 2074 7275 enabled: tru
│ │ │ -000912d0: 650a 2020 2020 2020 7374 6174 653a 2073 e. state: s
│ │ │ -000912e0: 7461 7274 6564 0a20 2020 2020 206d 6173 tarted. mas
│ │ │ -000912f0: 6b65 643a 2066 616c 7365 0a20 2020 2077 ked: false. w
│ │ │ -00091300: 6865 6e3a 0a20 2020 202d 2027 2261 7564 hen:. - '"aud
│ │ │ -00091310: 6974 6422 2069 6e20 616e 7369 626c 655f itd" in ansible_
│ │ │ -00091320: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ -00091330: 2020 7461 6773 3a0a 2020 2d20 434a 4953 tags:. - CJIS
│ │ │ -00091340: 2d35 2e34 2e31 2e31 0a20 202d 2044 4953 -5.4.1.1. - DIS
│ │ │ -00091350: 412d 5354 4947 2d55 4254 552d 3232 2d36 A-STIG-UBTU-22-6
│ │ │ -00091360: 3533 3031 350a 2020 2d20 4e49 5354 2d38 53015. - NIST-8
│ │ │ -00091370: 3030 2d31 3731 2d33 2e33 2e31 0a20 202d 00-171-3.3.1. -
│ │ │ -00091380: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ -00091390: 332e 320a 2020 2d20 4e49 5354 2d38 3030 3.2. - NIST-800
│ │ │ -000913a0: 2d31 3731 2d33 2e33 2e36 0a20 202d 204e -171-3.3.6. - N
│ │ │ -000913b0: 4953 542d 3830 302d 3533 2d41 432d 3228 IST-800-53-AC-2(
│ │ │ -000913c0: 6729 0a20 202d 204e 4953 542d 3830 302d g). - NIST-800-
│ │ │ -000913d0: 3533 2d41 432d 3628 3929 0a20 202d 204e 53-AC-6(9). - N
│ │ │ -000913e0: 4953 542d 3830 302d 3533 2d41 552d 3130 IST-800-53-AU-10
│ │ │ -000913f0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00091400: 2d41 552d 3132 2863 290a 2020 2d20 4e49 -AU-12(c). - NI
│ │ │ -00091410: 5354 2d38 3030 2d35 332d 4155 2d31 3428 ST-800-53-AU-14(
│ │ │ -00091420: 3129 0a20 202d 204e 4953 542d 3830 302d 1). - NIST-800-
│ │ │ -00091430: 3533 2d41 552d 3228 6429 0a20 202d 204e 53-AU-2(d). - N
│ │ │ -00091440: 4953 542d 3830 302d 3533 2d41 552d 330a IST-800-53-AU-3.
│ │ │ -00091450: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ -00091460: 434d 2d36 2861 290a 2020 2d20 4e49 5354 CM-6(a). - NIST
│ │ │ -00091470: 2d38 3030 2d35 332d 5349 2d34 2832 3329 -800-53-SI-4(23)
│ │ │ -00091480: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ -00091490: 2d31 302e 310a 2020 2d20 5043 492d 4453 -10.1. - PCI-DS
│ │ │ -000914a0: 5376 342d 3130 2e32 0a20 202d 2050 4349 Sv4-10.2. - PCI
│ │ │ -000914b0: 2d44 5353 7634 2d31 302e 322e 310a 2020 -DSSv4-10.2.1.
│ │ │ -000914c0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ -000914d0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -000914e0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -000914f0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ -00091500: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ -00091510: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -00091520: 0a20 202d 2073 6572 7669 6365 5f61 7564 . - service_aud
│ │ │ -00091530: 6974 645f 656e 6162 6c65 640a 2020 2d20 itd_enabled. -
│ │ │ -00091540: 7370 6563 6961 6c5f 7365 7276 6963 655f special_service_
│ │ │ -00091550: 626c 6f63 6b0a 2020 7768 656e 3a0a 2020 block. when:.
│ │ │ -00091560: 2d20 2722 6c69 6e75 782d 6261 7365 2220 - '"linux-base"
│ │ │ -00091570: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ -00091580: 2e70 6163 6b61 6765 7327 0a20 202d 2027 .packages'. - '
│ │ │ -00091590: 2261 7564 6974 6422 2069 6e20 616e 7369 "auditd" in ansi
│ │ │ -000915a0: 626c 655f 6661 6374 732e 7061 636b 6167 ble_facts.packag
│ │ │ -000915b0: 6573 270a 3c2f 636f 6465 3e3c 2f70 7265 es'.
<
│ │ │ +00090af0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +00090b00: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +00090b10: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00090b20: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +00090b30: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +00090b50: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +00090b60: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00090b70: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +00090ba0: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ +00090bb0: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ +00090bc0: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ +00090bd0: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ +00090be0: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ +00090bf0: 0a20 202d 2043 4a49 532d 352e 342e 312e . - CJIS-5.4.1.
│ │ │ +00090c00: 310a 2020 2d20 4449 5341 2d53 5449 472d 1. - DISA-STIG-
│ │ │ +00090c10: 5542 5455 2d32 322d 3635 3330 3135 0a20 UBTU-22-653015.
│ │ │ +00090c20: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171-
│ │ │ +00090c30: 332e 332e 310a 2020 2d20 4e49 5354 2d38 3.3.1. - NIST-8
│ │ │ +00090c40: 3030 2d31 3731 2d33 2e33 2e32 0a20 202d 00-171-3.3.2. -
│ │ │ +00090c50: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ +00090c60: 332e 360a 2020 2d20 4e49 5354 2d38 3030 3.6. - NIST-800
│ │ │ +00090c70: 2d35 332d 4143 2d32 2867 290a 2020 2d20 -53-AC-2(g). -
│ │ │ +00090c80: 4e49 5354 2d38 3030 2d35 332d 4143 2d36 NIST-800-53-AC-6
│ │ │ +00090c90: 2839 290a 2020 2d20 4e49 5354 2d38 3030 (9). - NIST-800
│ │ │ +00090ca0: 2d35 332d 4155 2d31 300a 2020 2d20 4e49 -53-AU-10. - NI
│ │ │ +00090cb0: 5354 2d38 3030 2d35 332d 4155 2d31 3228 ST-800-53-AU-12(
│ │ │ +00090cc0: 6329 0a20 202d 204e 4953 542d 3830 302d c). - NIST-800-
│ │ │ +00090cd0: 3533 2d41 552d 3134 2831 290a 2020 2d20 53-AU-14(1). -
│ │ │ +00090ce0: 4e49 5354 2d38 3030 2d35 332d 4155 2d32 NIST-800-53-AU-2
│ │ │ +00090cf0: 2864 290a 2020 2d20 4e49 5354 2d38 3030 (d). - NIST-800
│ │ │ +00090d00: 2d35 332d 4155 2d33 0a20 202d 204e 4953 -53-AU-3. - NIS
│ │ │ +00090d10: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +00090d20: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +00090d30: 2d53 492d 3428 3233 290a 2020 2d20 5043 -SI-4(23). - PC
│ │ │ +00090d40: 492d 4453 532d 5265 712d 3130 2e31 0a20 I-DSS-Req-10.1.
│ │ │ +00090d50: 202d 2050 4349 2d44 5353 7634 2d31 302e - PCI-DSSv4-10.
│ │ │ +00090d60: 320a 2020 2d20 5043 492d 4453 5376 342d 2. - PCI-DSSv4-
│ │ │ +00090d70: 3130 2e32 2e31 0a20 202d 2065 6e61 626c 10.2.1. - enabl
│ │ │ +00090d80: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ +00090d90: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ +00090da0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ +00090db0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ +00090dc0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ +00090dd0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ +00090de0: 7276 6963 655f 6175 6469 7464 5f65 6e61 rvice_auditd_ena
│ │ │ +00090df0: 626c 6564 0a0a 2d20 6e61 6d65 3a20 456e bled..- name: En
│ │ │ +00090e00: 6162 6c65 2061 7564 6974 6420 5365 7276 able auditd Serv
│ │ │ +00090e10: 6963 6520 2d20 456e 6162 6c65 2073 6572 ice - Enable ser
│ │ │ +00090e20: 7669 6365 2061 7564 6974 640a 2020 626c vice auditd. bl
│ │ │ +00090e30: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 ock:.. - name:
│ │ │ +00090e40: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ +00090e50: 6765 2066 6163 7473 0a20 2020 2061 6e73 ge facts. ans
│ │ │ +00090e60: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ +00090e70: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ +00090e80: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ +00090e90: 0a20 202d 206e 616d 653a 2045 6e61 626c . - name: Enabl
│ │ │ +00090ea0: 6520 6175 6469 7464 2053 6572 7669 6365 e auditd Service
│ │ │ +00090eb0: 202d 2045 6e61 626c 6520 5365 7276 6963 - Enable Servic
│ │ │ +00090ec0: 6520 6175 6469 7464 0a20 2020 2061 6e73 e auditd. ans
│ │ │ +00090ed0: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys
│ │ │ +00090ee0: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65 temd:. name
│ │ │ +00090ef0: 3a20 6175 6469 7464 0a20 2020 2020 2065 : auditd. e
│ │ │ +00090f00: 6e61 626c 6564 3a20 7472 7565 0a20 2020 nabled: true.
│ │ │ +00090f10: 2020 2073 7461 7465 3a20 7374 6172 7465 state: starte
│ │ │ +00090f20: 640a 2020 2020 2020 6d61 736b 6564 3a20 d. masked:
│ │ │ +00090f30: 6661 6c73 650a 2020 2020 7768 656e 3a0a false. when:.
│ │ │ +00090f40: 2020 2020 2d20 2722 6175 6469 7464 2220 - '"auditd"
│ │ │ +00090f50: 696e 2061 6e73 6962 6c65 5f66 6163 7473 in ansible_facts
│ │ │ +00090f60: 2e70 6163 6b61 6765 7327 0a20 2074 6167 .packages'. tag
│ │ │ +00090f70: 733a 0a20 202d 2043 4a49 532d 352e 342e s:. - CJIS-5.4.
│ │ │ +00090f80: 312e 310a 2020 2d20 4449 5341 2d53 5449 1.1. - DISA-STI
│ │ │ +00090f90: 472d 5542 5455 2d32 322d 3635 3330 3135 G-UBTU-22-653015
│ │ │ +00090fa0: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17
│ │ │ +00090fb0: 312d 332e 332e 310a 2020 2d20 4e49 5354 1-3.3.1. - NIST
│ │ │ +00090fc0: 2d38 3030 2d31 3731 2d33 2e33 2e32 0a20 -800-171-3.3.2.
│ │ │ +00090fd0: 202d 204e 4953 542d 3830 302d 3137 312d - NIST-800-171-
│ │ │ +00090fe0: 332e 332e 360a 2020 2d20 4e49 5354 2d38 3.3.6. - NIST-8
│ │ │ +00090ff0: 3030 2d35 332d 4143 2d32 2867 290a 2020 00-53-AC-2(g).
│ │ │ +00091000: 2d20 4e49 5354 2d38 3030 2d35 332d 4143 - NIST-800-53-AC
│ │ │ +00091010: 2d36 2839 290a 2020 2d20 4e49 5354 2d38 -6(9). - NIST-8
│ │ │ +00091020: 3030 2d35 332d 4155 2d31 300a 2020 2d20 00-53-AU-10. -
│ │ │ +00091030: 4e49 5354 2d38 3030 2d35 332d 4155 2d31 NIST-800-53-AU-1
│ │ │ +00091040: 3228 6329 0a20 202d 204e 4953 542d 3830 2(c). - NIST-80
│ │ │ +00091050: 302d 3533 2d41 552d 3134 2831 290a 2020 0-53-AU-14(1).
│ │ │ +00091060: 2d20 4e49 5354 2d38 3030 2d35 332d 4155 - NIST-800-53-AU
│ │ │ +00091070: 2d32 2864 290a 2020 2d20 4e49 5354 2d38 -2(d). - NIST-8
│ │ │ +00091080: 3030 2d35 332d 4155 2d33 0a20 202d 204e 00-53-AU-3. - N
│ │ │ +00091090: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +000910a0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +000910b0: 3533 2d53 492d 3428 3233 290a 2020 2d20 53-SI-4(23). -
│ │ │ +000910c0: 5043 492d 4453 532d 5265 712d 3130 2e31 PCI-DSS-Req-10.1
│ │ │ +000910d0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ +000910e0: 302e 320a 2020 2d20 5043 492d 4453 5376 0.2. - PCI-DSSv
│ │ │ +000910f0: 342d 3130 2e32 2e31 0a20 202d 2065 6e61 4-10.2.1. - ena
│ │ │ +00091100: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +00091110: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +00091120: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +00091130: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ +00091140: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ +00091150: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +00091160: 7365 7276 6963 655f 6175 6469 7464 5f65 service_auditd_e
│ │ │ +00091170: 6e61 626c 6564 0a20 202d 2073 7065 6369 nabled. - speci
│ │ │ +00091180: 616c 5f73 6572 7669 6365 5f62 6c6f 636b al_service_block
│ │ │ +00091190: 0a20 2077 6865 6e3a 0a20 202d 2027 226c . when:. - '"l
│ │ │ +000911a0: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ +000911b0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +000911c0: 6167 6573 270a 2020 2d20 2722 6175 6469 ages'. - '"audi
│ │ │ +000911d0: 7464 2220 696e 2061 6e73 6962 6c65 5f66 td" in ansible_f
│ │ │ +000911e0: 6163 7473 2e70 6163 6b61 6765 7327 0a3c acts.packages'.<
│ │ │ +000911f0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +000912a0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +000912b0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ +00091340: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +00091350: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +00091360: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +00091370: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +00091380: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +000913b0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +000913c0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ +000913d0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c inc
│ │ │ +000913f0: 6c75 6465 2065 6e61 626c 655f 6175 6469 lude enable_audi
│ │ │ +00091400: 7464 0a0a 636c 6173 7320 656e 6162 6c65 td..class enable
│ │ │ +00091410: 5f61 7564 6974 6420 7b0a 2020 7365 7276 _auditd {. serv
│ │ │ +00091420: 6963 6520 7b27 6175 6469 7464 273a 0a20 ice {'auditd':.
│ │ │ +00091430: 2020 2065 6e61 626c 6520 3d26 6774 3b20 enable =>
│ │ │ +00091440: 7472 7565 2c0a 2020 2020 656e 7375 7265 true,. ensure
│ │ │ +00091450: 203d 2667 743b 2027 7275 6e6e 696e 6727 => 'running'
│ │ │ +00091460: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ +00091470: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediat
│ │ │ +00091520: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue
│ │ │ +00091530: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet ..
│ │ │ +00091540: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customizat
│ │ │ +00091590: 696f 6e73 2e73 6572 7669 6365 735d 0a65 ions.services].e
│ │ │ +000915a0: 6e61 626c 6564 203d 205b 2261 7564 6974 nabled = ["audit
│ │ │ +000915b0: 6422 5d0a 3c2f 636f 6465 3e3c 2f70 7265 d"].
'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:
│ │ │ │ @@ -1703,14 +1686,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}' 'linux-base' 2>/dev/
│ │ │ │ @@ -1743,31 +1743,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
│ │ │ │ _c_i_s 4.2.2.2
│ │ │ │ _s_t_i_g_i_d UBTU-22-652010
│ │ │ │ _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:
│ │ │ │ @@ -1806,14 +1789,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_rsyslog_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null
│ │ │ │ @@ -3912,50 +3912,14 @@
│ │ │ │ $ sudo systemctl mask --now apport.service
│ │ │ │ The Apport service modifies the kernel fs.suid_dumpable
│ │ │ │ Rationale: configuration 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
│ │ │ │ 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:
│ │ │ │ @@ -4008,14 +3972,50 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_apport_disabled
│ │ │ │ - special_service_block
│ │ │ │ - unknown_severity
│ │ │ │ when: '"apport" in ansible_facts.packages'
│ │ │ │ +_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}' 'apport' 2>/dev/null |
│ │ │ │ @@ -4072,31 +4072,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:
│ │ │ │ @@ -4123,14 +4106,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}' 'linux-base' 2>/dev/null
│ │ │ │ @@ -4167,31 +4167,14 @@
│ │ │ │ 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:
│ │ │ │ @@ -4226,14 +4209,31 @@
│ │ │ │ - low_complexity
│ │ │ │ - low_disruption
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_cron_enabled
│ │ │ │ - special_service_block
│ │ │ │ when: '"linux-base" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/
│ │ │ │ @@ -4276,27 +4276,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: 'Uninstall the inet-based telnet server: Ensure inetutils-telnetd is
│ │ │ │ removed'
│ │ │ │ @@ -4309,14 +4296,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -4331,27 +4331,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.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: 'Uninstall the nis package: Ensure nis is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -4360,14 +4347,27 @@
│ │ │ │ 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
│ │ │ │ @@ -4382,27 +4382,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: 'Uninstall the ntpdate package: Ensure ntpdate is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -4411,14 +4398,27 @@
│ │ │ │ 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
│ │ │ │ @@ -4450,27 +4450,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: 'Uninstall the ssl compliant telnet server: Ensure telnetd-ssl is
│ │ │ │ removed'
│ │ │ │ @@ -4483,14 +4470,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -4525,27 +4525,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-22-215035
│ │ │ │ _s_t_i_g_r_e_f SV-260483r987796_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: 'Uninstall the telnet server: Ensure telnetd is removed'
│ │ │ │ ansible.builtin.package:
│ │ │ │ @@ -4558,14 +4545,27 @@
│ │ │ │ - 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
│ │ │ │ @@ -4641,31 +4641,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.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:
│ │ │ │ @@ -4690,14 +4673,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}' 'linux-base' 2>/dev/
│ │ │ │ @@ -4728,31 +4728,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:
│ │ │ │ @@ -4799,14 +4782,31 @@
│ │ │ │ - service_timesyncd_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - ( not ( "chrony" in ansible_facts.packages ) and not ( "ntp" in
│ │ │ │ ansible_facts.packages
│ │ │ │ ) )
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null
│ │ │ │ @@ -5808,31 +5808,14 @@
│ │ │ │ 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
│ │ │ │ _c_i_s 4.1.1.1
│ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2
│ │ │ │ _s_t_i_g_i_d UBTU-22-653010
│ │ │ │ _s_t_i_g_r_e_f SV-260590r1015022_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:
│ │ │ │ @@ -5875,14 +5858,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}' 'linux-base' 2>/dev/null
│ │ │ │ @@ -5952,31 +5952,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
│ │ │ │ _a_n_s_s_i R33, R73
│ │ │ │ _c_i_s 4.1.1.2
│ │ │ │ _p_c_i_d_s_s_4 10.2.1, 10.2
│ │ │ │ _s_t_i_g_i_d UBTU-22-653015
│ │ │ │ _s_t_i_g_r_e_f SV-260591r1015023_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:
│ │ │ │ @@ -6045,14 +6028,31 @@
│ │ │ │ - medium_severity
│ │ │ │ - no_reboot_needed
│ │ │ │ - service_auditd_enabled
│ │ │ │ - special_service_block
│ │ │ │ when:
│ │ │ │ - '"linux-base" in ansible_facts.packages'
│ │ │ │ - '"auditd" in ansible_facts.packages'
│ │ │ │ +_R_e_m_e_d_i_a_t_i_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}' 'linux-base' 2>/dev/null
│ │ ├── ./usr/share/doc/ssg-debderived/ssg-ubuntu2204-guide-stig.html
│ │ │ @@ -15061,137 +15061,137 @@
│ │ │ 0003ad40: 6c6c 6170 7365 2220 6461 7461 2d74 6172 llapse" data-tar
│ │ │ 0003ad50: 6765 743d 2223 6964 3822 2074 6162 696e get="#id8" tabin
│ │ │ 0003ad60: 6465 783d 2230 2220 726f 6c65 3d22 6275 dex="0" role="bu
│ │ │ 0003ad70: 7474 6f6e 2220 6172 6961 2d65 7870 616e tton" aria-expan
│ │ │ 0003ad80: 6465 643d 2266 616c 7365 2220 7469 746c ded="false" titl
│ │ │ 0003ad90: 653d 2241 6374 6976 6174 6520 746f 2072 e="Activate to r
│ │ │ 0003ada0: 6576 6561 6c22 2068 7265 663d 2223 2122 eveal" href="#!"
│ │ │ -0003adb0: 3e52 656d 6564 6961 7469 6f6e 204f 5342 >Remediation OSB
│ │ │ -0003adc0: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ -0003add0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...
│ │ │ -0003ae10: 3c70 7265 3e3c 636f 6465 3e0a 5b5b 7061 .[[pa
│ │ │ -0003ae20: 636b 6167 6573 5d5d 0a6e 616d 6520 3d20 ckages]].name =
│ │ │ -0003ae30: 2261 6964 6522 0a76 6572 7369 6f6e 203d "aide".version =
│ │ │ -0003ae40: 2022 2a22 0a3c 2f63 6f64 653e 3c2f 7072 "*".
Remediation P
│ │ │ -0003af00: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -0003af10: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: low Disrup
│ │ │ -0003afc0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -0003afd0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -0003afe0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -0003aff0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -0003b010: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ -0003b020: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ -0003b040: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f61 nclude install_a
│ │ │ -0003b050: 6964 650a 0a63 6c61 7373 2069 6e73 7461 ide..class insta
│ │ │ -0003b060: 6c6c 5f61 6964 6520 7b0a 2020 7061 636b ll_aide {. pack
│ │ │ -0003b070: 6167 6520 7b20 2761 6964 6527 3a0a 2020 age { 'aide':.
│ │ │ -0003b080: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ -0003b090: 696e 7374 616c 6c65 6427 2c0a 2020 7d0a installed',. }.
│ │ │ -0003b0a0: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -0003b0b0: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Ans
│ │ │ -0003b160: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ -0003b170: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low Disrup
│ │ │ -0003b220: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -0003b230: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -0003b240: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -0003b250: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -0003b270: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ -0003b280: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ -0003b2a0: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -0003b2b0: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -0003b2c0: 2020 7061 636b 6167 655f 6661 6374 733a package_facts:
│ │ │ -0003b2d0: 0a20 2020 206d 616e 6167 6572 3a20 6175 . manager: au
│ │ │ -0003b2e0: 746f 0a20 2074 6167 733a 0a20 202d 2043 to. tags:. - C
│ │ │ -0003b2f0: 4a49 532d 352e 3130 2e31 2e33 0a20 202d JIS-5.10.1.3. -
│ │ │ -0003b300: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU-
│ │ │ -0003b310: 3232 2d36 3531 3031 300a 2020 2d20 4e49 22-651010. - NI
│ │ │ -0003b320: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ -0003b330: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ -0003b340: 712d 3131 2e35 0a20 202d 2050 4349 2d44 q-11.5. - PCI-D
│ │ │ -0003b350: 5353 7634 2d31 312e 352e 320a 2020 2d20 SSv4-11.5.2. -
│ │ │ -0003b360: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -0003b370: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -0003b380: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -0003b390: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -0003b3a0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -0003b3b0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -0003b3c0: 202d 2070 6163 6b61 6765 5f61 6964 655f - package_aide_
│ │ │ -0003b3d0: 696e 7374 616c 6c65 640a 0a2d 206e 616d installed..- nam
│ │ │ -0003b3e0: 653a 2045 6e73 7572 6520 6169 6465 2069 e: Ensure aide i
│ │ │ -0003b3f0: 7320 696e 7374 616c 6c65 640a 2020 616e s installed. an
│ │ │ -0003b400: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ -0003b410: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ -0003b420: 2061 6964 650a 2020 2020 7374 6174 653a aide. state:
│ │ │ -0003b430: 2070 7265 7365 6e74 0a20 2077 6865 6e3a present. when:
│ │ │ -0003b440: 2027 226c 696e 7578 2d62 6173 6522 2069 '"linux-base" i
│ │ │ -0003b450: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ -0003b460: 7061 636b 6167 6573 270a 2020 7461 6773 packages'. tags
│ │ │ -0003b470: 3a0a 2020 2d20 434a 4953 2d35 2e31 302e :. - CJIS-5.10.
│ │ │ -0003b480: 312e 330a 2020 2d20 4449 5341 2d53 5449 1.3. - DISA-STI
│ │ │ -0003b490: 472d 5542 5455 2d32 322d 3635 3130 3130 G-UBTU-22-651010
│ │ │ -0003b4a0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -0003b4b0: 2d43 4d2d 3628 6129 0a20 202d 2050 4349 -CM-6(a). - PCI
│ │ │ -0003b4c0: 2d44 5353 2d52 6571 2d31 312e 350a 2020 -DSS-Req-11.5.
│ │ │ -0003b4d0: 2d20 5043 492d 4453 5376 342d 3131 2e35 - PCI-DSSv4-11.5
│ │ │ -0003b4e0: 2e32 0a20 202d 2065 6e61 626c 655f 7374 .2. - enable_st
│ │ │ -0003b4f0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -0003b500: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -0003b510: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -0003b520: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ -0003b530: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -0003b540: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ -0003b550: 655f 6169 6465 5f69 6e73 7461 6c6c 6564 e_aide_installed
│ │ │ +0003adb0: 3e52 656d 6564 6961 7469 6f6e 2041 6e73 >Remediation Ans
│ │ │ +0003adc0: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ +0003add0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
│ │ │ +0003ae50: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +0003ae60: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +0003ae80: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +0003ae90: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +0003aed0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ +0003aee0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ +0003af00: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the
│ │ │ +0003af10: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts.
│ │ │ +0003af20: 2070 6163 6b61 6765 5f66 6163 7473 3a0a package_facts:.
│ │ │ +0003af30: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ +0003af40: 6f0a 2020 7461 6773 3a0a 2020 2d20 434a o. tags:. - CJ
│ │ │ +0003af50: 4953 2d35 2e31 302e 312e 330a 2020 2d20 IS-5.10.1.3. -
│ │ │ +0003af60: 4449 5341 2d53 5449 472d 5542 5455 2d32 DISA-STIG-UBTU-2
│ │ │ +0003af70: 322d 3635 3130 3130 0a20 202d 204e 4953 2-651010. - NIS
│ │ │ +0003af80: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +0003af90: 0a20 202d 2050 4349 2d44 5353 2d52 6571 . - PCI-DSS-Req
│ │ │ +0003afa0: 2d31 312e 350a 2020 2d20 5043 492d 4453 -11.5. - PCI-DS
│ │ │ +0003afb0: 5376 342d 3131 2e35 2e32 0a20 202d 2065 Sv4-11.5.2. - e
│ │ │ +0003afc0: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ +0003afd0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +0003afe0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +0003aff0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ +0003b000: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ +0003b010: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ +0003b020: 2d20 7061 636b 6167 655f 6169 6465 5f69 - package_aide_i
│ │ │ +0003b030: 6e73 7461 6c6c 6564 0a0a 2d20 6e61 6d65 nstalled..- name
│ │ │ +0003b040: 3a20 456e 7375 7265 2061 6964 6520 6973 : Ensure aide is
│ │ │ +0003b050: 2069 6e73 7461 6c6c 6564 0a20 2061 6e73 installed. ans
│ │ │ +0003b060: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ +0003b070: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ +0003b080: 6169 6465 0a20 2020 2073 7461 7465 3a20 aide. state:
│ │ │ +0003b090: 7072 6573 656e 740a 2020 7768 656e 3a20 present. when:
│ │ │ +0003b0a0: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in
│ │ │ +0003b0b0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ +0003b0c0: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ +0003b0d0: 0a20 202d 2043 4a49 532d 352e 3130 2e31 . - CJIS-5.10.1
│ │ │ +0003b0e0: 2e33 0a20 202d 2044 4953 412d 5354 4947 .3. - DISA-STIG
│ │ │ +0003b0f0: 2d55 4254 552d 3232 2d36 3531 3031 300a -UBTU-22-651010.
│ │ │ +0003b100: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +0003b110: 434d 2d36 2861 290a 2020 2d20 5043 492d CM-6(a). - PCI-
│ │ │ +0003b120: 4453 532d 5265 712d 3131 2e35 0a20 202d DSS-Req-11.5. -
│ │ │ +0003b130: 2050 4349 2d44 5353 7634 2d31 312e 352e PCI-DSSv4-11.5.
│ │ │ +0003b140: 320a 2020 2d20 656e 6162 6c65 5f73 7472 2. - enable_str
│ │ │ +0003b150: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +0003b160: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +0003b170: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +0003b180: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +0003b190: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +0003b1a0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ +0003b1b0: 5f61 6964 655f 696e 7374 616c 6c65 640a _aide_installed.
│ │ │ +0003b1c0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
Re
│ │ │ +0003b270: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ +0003b280: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +0003b290: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Comp
│ │ │ +0003b310: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +0003b320: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +0003b340: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +0003b360: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +0003b370: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +0003b390: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ +0003b3b0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ
│ │ │ +0003b3c0: 6520 696e 7374 616c 6c5f 6169 6465 0a0a e install_aide..
│ │ │ +0003b3d0: 636c 6173 7320 696e 7374 616c 6c5f 6169 class install_ai
│ │ │ +0003b3e0: 6465 207b 0a20 2070 6163 6b61 6765 207b de {. package {
│ │ │ +0003b3f0: 2027 6169 6465 273a 0a20 2020 2065 6e73 'aide':. ens
│ │ │ +0003b400: 7572 6520 3d26 6774 3b20 2769 6e73 7461 ure => 'insta
│ │ │ +0003b410: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63 lled',. }.}.
│ │ │ +0003b430: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Reme
│ │ │ +0003b4d0: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild
│ │ │ +0003b4e0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe
│ │ │ +0003b4f0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
.[[packag
│ │ │ +0003b540: 6573 5d5d 0a6e 616d 6520 3d20 2261 6964 es]].name = "aid
│ │ │ +0003b550: 6522 0a76 6572 7369 6f6e 203d 2022 2a22 e".version = "*"
│ │ │ 0003b560: 0a3c 2f63 6f64 653e 3c2f 7072 653e 3c2f .
│ │ │ 0003b570: 6469 763e 3c61 2063 6c61 7373 3d22 6274 div>Remediation OS
│ │ │ -00094cd0: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint
│ │ │ -00094ce0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -00094cf0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>.[[
│ │ │ -00094d30: 7061 636b 6167 6573 5d5d 0a6e 616d 6520 packages]].name
│ │ │ -00094d40: 3d20 226c 6962 7061 6d2d 7077 7175 616c = "libpam-pwqual
│ │ │ -00094d50: 6974 7922 0a76 6572 7369 6f6e 203d 2022 ity".version = "
│ │ │ -00094d60: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".
│ │ │ -00094d70: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation Pu
│ │ │ -00094e20: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ -00094e30: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low Disrup
│ │ │ -00094ee0: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -00094ef0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00094f00: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -00094f10: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -00094f30: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ -00094f40: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ -00094f60: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f6c nclude install_l
│ │ │ -00094f70: 6962 7061 6d2d 7077 7175 616c 6974 790a ibpam-pwquality.
│ │ │ -00094f80: 0a63 6c61 7373 2069 6e73 7461 6c6c 5f6c .class install_l
│ │ │ -00094f90: 6962 7061 6d2d 7077 7175 616c 6974 7920 ibpam-pwquality
│ │ │ -00094fa0: 7b0a 2020 7061 636b 6167 6520 7b20 276c {. package { 'l
│ │ │ -00094fb0: 6962 7061 6d2d 7077 7175 616c 6974 7927 ibpam-pwquality'
│ │ │ -00094fc0: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ -00094fd0: 743b 2027 696e 7374 616c 6c65 6427 2c0a t; 'installed',.
│ │ │ -00094fe0: 2020 7d0a 7d0a 3c2f 636f 6465 3e3c 2f70 }.}.Remediation
│ │ │ -000950a0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ -000950b0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity:
│ │ │ -00095140: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ -00095160: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ -00095180: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ -00095190: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ -000951b0: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ -000951c0: 656e 6162 6c65 3c2f 7464 3e3c 2f74 723e enable
│ │ │ -000951d0: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ -000951f0: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ -00095200: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ -00095210: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ -00095220: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ -00095230: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT
│ │ │ -00095240: 552d 3232 2d32 3135 3031 300a 2020 2d20 U-22-215010. -
│ │ │ -00095250: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -00095260: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -00095270: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -00095280: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -00095290: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -000952a0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -000952b0: 202d 2070 6163 6b61 6765 5f70 616d 5f70 - package_pam_p
│ │ │ -000952c0: 7771 7561 6c69 7479 5f69 6e73 7461 6c6c wquality_install
│ │ │ -000952d0: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu
│ │ │ -000952e0: 7265 206c 6962 7061 6d2d 7077 7175 616c re libpam-pwqual
│ │ │ -000952f0: 6974 7920 6973 2069 6e73 7461 6c6c 6564 ity is installed
│ │ │ -00095300: 0a20 2061 6e73 6962 6c65 2e62 7569 6c74 . ansible.built
│ │ │ -00095310: 696e 2e70 6163 6b61 6765 3a0a 2020 2020 in.package:.
│ │ │ -00095320: 6e61 6d65 3a20 6c69 6270 616d 2d70 7771 name: libpam-pwq
│ │ │ -00095330: 7561 6c69 7479 0a20 2020 2073 7461 7465 uality. state
│ │ │ -00095340: 3a20 7072 6573 656e 740a 2020 7768 656e : present. when
│ │ │ -00095350: 3a20 2722 6c69 6270 616d 2d72 756e 7469 : '"libpam-runti
│ │ │ -00095360: 6d65 2220 696e 2061 6e73 6962 6c65 5f66 me" in ansible_f
│ │ │ -00095370: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ -00095380: 2074 6167 733a 0a20 202d 2044 4953 412d tags:. - DISA-
│ │ │ -00095390: 5354 4947 2d55 4254 552d 3232 2d32 3135 STIG-UBTU-22-215
│ │ │ -000953a0: 3031 300a 2020 2d20 656e 6162 6c65 5f73 010. - enable_s
│ │ │ -000953b0: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ -000953c0: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ -000953d0: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ -000953e0: 2d20 6d65 6469 756d 5f73 6576 6572 6974 - medium_severit
│ │ │ -000953f0: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ -00095400: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ -00095410: 6765 5f70 616d 5f70 7771 7561 6c69 7479 ge_pam_pwquality
│ │ │ -00095420: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64 _installed.Remediation An
│ │ │ +00094cd0: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ +00094ce0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
Complexity: low
│ │ │ +00094d80: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +00094d90: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +00094da0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00094db0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +00094dc0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +00094dd0: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +00094de0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ +00094df0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +00094e10: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ +00094e20: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ +00094e30: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ +00094e40: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ +00094e50: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ +00094e60: 4449 5341 2d53 5449 472d 5542 5455 2d32 DISA-STIG-UBTU-2
│ │ │ +00094e70: 322d 3231 3530 3130 0a20 202d 2065 6e61 2-215010. - ena
│ │ │ +00094e80: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +00094e90: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +00094ea0: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +00094eb0: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ +00094ec0: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ +00094ed0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +00094ee0: 7061 636b 6167 655f 7061 6d5f 7077 7175 package_pam_pwqu
│ │ │ +00094ef0: 616c 6974 795f 696e 7374 616c 6c65 640a ality_installed.
│ │ │ +00094f00: 0a2d 206e 616d 653a 2045 6e73 7572 6520 .- name: Ensure
│ │ │ +00094f10: 6c69 6270 616d 2d70 7771 7561 6c69 7479 libpam-pwquality
│ │ │ +00094f20: 2069 7320 696e 7374 616c 6c65 640a 2020 is installed.
│ │ │ +00094f30: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +00094f40: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +00094f50: 653a 206c 6962 7061 6d2d 7077 7175 616c e: libpam-pwqual
│ │ │ +00094f60: 6974 790a 2020 2020 7374 6174 653a 2070 ity. state: p
│ │ │ +00094f70: 7265 7365 6e74 0a20 2077 6865 6e3a 2027 resent. when: '
│ │ │ +00094f80: 226c 6962 7061 6d2d 7275 6e74 696d 6522 "libpam-runtime"
│ │ │ +00094f90: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +00094fa0: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ +00094fb0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI
│ │ │ +00094fc0: 472d 5542 5455 2d32 322d 3231 3530 3130 G-UBTU-22-215010
│ │ │ +00094fd0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ +00094fe0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +00094ff0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +00095000: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +00095010: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +00095020: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +00095030: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ +00095040: 7061 6d5f 7077 7175 616c 6974 795f 696e pam_pwquality_in
│ │ │ +00095050: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c stalled.<
│ │ │ +00095060: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediati
│ │ │ +00095110: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +00095120: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
Complexity
│ │ │ +000951b0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +000951d0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +000951e0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +000951f0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +00095200: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +00095220: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include inst
│ │ │ +00095260: 616c 6c5f 6c69 6270 616d 2d70 7771 7561 all_libpam-pwqua
│ │ │ +00095270: 6c69 7479 0a0a 636c 6173 7320 696e 7374 lity..class inst
│ │ │ +00095280: 616c 6c5f 6c69 6270 616d 2d70 7771 7561 all_libpam-pwqua
│ │ │ +00095290: 6c69 7479 207b 0a20 2070 6163 6b61 6765 lity {. package
│ │ │ +000952a0: 207b 2027 6c69 6270 616d 2d70 7771 7561 { 'libpam-pwqua
│ │ │ +000952b0: 6c69 7479 273a 0a20 2020 2065 6e73 7572 lity':. ensur
│ │ │ +000952c0: 6520 3d26 6774 3b20 2769 6e73 7461 6c6c e => 'install
│ │ │ +000952d0: 6564 272c 0a20 207d 0a7d 0a3c 2f63 6f64 ed',. }.}.
Remedi
│ │ │ +00095390: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ +000953a0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ +000953b0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
<
│ │ │ +000953f0: 636f 6465 3e0a 5b5b 7061 636b 6167 6573 code>.[[packages
│ │ │ +00095400: 5d5d 0a6e 616d 6520 3d20 226c 6962 7061 ]].name = "libpa
│ │ │ +00095410: 6d2d 7077 7175 616c 6974 7922 0a76 6572 m-pwquality".ver
│ │ │ +00095420: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64 sion = "*".
Remediati
│ │ │ -00097150: 6f6e 204f 5342 7569 6c64 2042 6c75 6570 on OSBuild Bluep
│ │ │ -00097160: 7269 6e74 2073 6e69 7070 6574 20e2 87b2 rint snippet ...
│ │ │ -00097170: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
.[[packages]].
│ │ │ -000971c0: 6e61 6d65 203d 2022 766c 6f63 6b22 0a76 name = "vlock".v
│ │ │ -000971d0: 6572 7369 6f6e 203d 2022 2a22 0a3c 2f63 ersion = "*".
│ │ │ -000971f0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Reme
│ │ │ -00097290: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ -000972a0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Compl
│ │ │ -00097330: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -00097340: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00097350: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -00097360: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -00097370: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -00097380: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -00097390: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -000973a0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
include
│ │ │ -000973e0: 2069 6e73 7461 6c6c 5f76 6c6f 636b 0a0a install_vlock..
│ │ │ -000973f0: 636c 6173 7320 696e 7374 616c 6c5f 766c class install_vl
│ │ │ -00097400: 6f63 6b20 7b0a 2020 7061 636b 6167 6520 ock {. package
│ │ │ -00097410: 7b20 2776 6c6f 636b 273a 0a20 2020 2065 { 'vlock':. e
│ │ │ -00097420: 6e73 7572 6520 3d26 6774 3b20 2769 6e73 nsure => 'ins
│ │ │ -00097430: 7461 6c6c 6564 272c 0a20 207d 0a7d 0a3c talled',. }.}.<
│ │ │ -00097440: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>Re
│ │ │ -000974f0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ -00097500: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
Co
│ │ │ -00097590: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -000975b0: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -000975c0: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -000975d0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000975e0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -000975f0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -00097600: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -00097610: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -00097620: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -00097640: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ -00097650: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ -00097660: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -00097670: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ -00097680: 2020 7461 6773 3a0a 2020 2d20 4449 5341 tags:. - DISA
│ │ │ -00097690: 2d53 5449 472d 5542 5455 2d32 322d 3431 -STIG-UBTU-22-41
│ │ │ -000976a0: 3230 3235 0a20 202d 2065 6e61 626c 655f 2025. - enable_
│ │ │ -000976b0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -000976c0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -000976d0: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -000976e0: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -000976f0: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -00097700: 5f6e 6565 6465 640a 2020 2d20 766c 6f63 _needed. - vloc
│ │ │ -00097710: 6b5f 696e 7374 616c 6c65 640a 0a2d 206e k_installed..- n
│ │ │ -00097720: 616d 653a 2045 6e73 7572 6520 766c 6f63 ame: Ensure vloc
│ │ │ -00097730: 6b20 6973 2069 6e73 7461 6c6c 6564 0a20 k is installed.
│ │ │ -00097740: 2061 6e73 6962 6c65 2e62 7569 6c74 696e ansible.builtin
│ │ │ -00097750: 2e70 6163 6b61 6765 3a0a 2020 2020 6e61 .package:. na
│ │ │ -00097760: 6d65 3a20 766c 6f63 6b0a 2020 2020 7374 me: vlock. st
│ │ │ -00097770: 6174 653a 2070 7265 7365 6e74 0a20 2077 ate: present. w
│ │ │ -00097780: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas
│ │ │ -00097790: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ -000977a0: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ -000977b0: 7461 6773 3a0a 2020 2d20 4449 5341 2d53 tags:. - DISA-S
│ │ │ -000977c0: 5449 472d 5542 5455 2d32 322d 3431 3230 TIG-UBTU-22-4120
│ │ │ -000977d0: 3235 0a20 202d 2065 6e61 626c 655f 7374 25. - enable_st
│ │ │ -000977e0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ -000977f0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ -00097800: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ -00097810: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ -00097820: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -00097830: 6565 6465 640a 2020 2d20 766c 6f63 6b5f eeded. - vlock_
│ │ │ -00097840: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.
<
│ │ │ +000971e0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +000971f0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +00097200: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00097210: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +00097220: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +00097240: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +00097250: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +00097260: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +00097290: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ +000972a0: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ +000972b0: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ +000972c0: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ +000972d0: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ +000972e0: 0a20 202d 2044 4953 412d 5354 4947 2d55 . - DISA-STIG-U
│ │ │ +000972f0: 4254 552d 3232 2d34 3132 3032 350a 2020 BTU-22-412025.
│ │ │ +00097300: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ +00097310: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +00097320: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +00097330: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ +00097340: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ +00097350: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +00097360: 0a20 202d 2076 6c6f 636b 5f69 6e73 7461 . - vlock_insta
│ │ │ +00097370: 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 456e lled..- name: En
│ │ │ +00097380: 7375 7265 2076 6c6f 636b 2069 7320 696e sure vlock is in
│ │ │ +00097390: 7374 616c 6c65 640a 2020 616e 7369 626c stalled. ansibl
│ │ │ +000973a0: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ +000973b0: 653a 0a20 2020 206e 616d 653a 2076 6c6f e:. name: vlo
│ │ │ +000973c0: 636b 0a20 2020 2073 7461 7465 3a20 7072 ck. state: pr
│ │ │ +000973d0: 6573 656e 740a 2020 7768 656e 3a20 2722 esent. when: '"
│ │ │ +000973e0: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ +000973f0: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +00097400: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ +00097410: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT
│ │ │ +00097420: 552d 3232 2d34 3132 3032 350a 2020 2d20 U-22-412025. -
│ │ │ +00097430: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ +00097440: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ +00097450: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ +00097460: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ +00097470: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ +00097480: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ +00097490: 202d 2076 6c6f 636b 5f69 6e73 7461 6c6c - vlock_install
│ │ │ +000974a0: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +000974b0: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation Pu
│ │ │ +00097560: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ +00097570: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low Disrup
│ │ │ +00097620: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +00097630: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00097640: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +00097650: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +00097670: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +00097680: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ +000976a0: 6e63 6c75 6465 2069 6e73 7461 6c6c 5f76 nclude install_v
│ │ │ +000976b0: 6c6f 636b 0a0a 636c 6173 7320 696e 7374 lock..class inst
│ │ │ +000976c0: 616c 6c5f 766c 6f63 6b20 7b0a 2020 7061 all_vlock {. pa
│ │ │ +000976d0: 636b 6167 6520 7b20 2776 6c6f 636b 273a ckage { 'vlock':
│ │ │ +000976e0: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +000976f0: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20 ; 'installed',.
│ │ │ +00097700: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.Remediation
│ │ │ +000977c0: 4f53 4275 696c 6420 426c 7565 7072 696e OSBuild Blueprin
│ │ │ +000977d0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
.
│ │ │ +00097820: 5b5b 7061 636b 6167 6573 5d5d 0a6e 616d [[packages]].nam
│ │ │ +00097830: 6520 3d20 2276 6c6f 636b 220a 7665 7273 e = "vlock".vers
│ │ │ +00097840: 696f 6e20 3d20 222a 220a 3c2f 636f 6465 ion = "*".
Remediation OSB
│ │ │ -00098c10: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ -00098c20: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ....[[
│ │ │ -00098c70: 7061 636b 6167 6573 5d5d 0a6e 616d 6520 packages]].name
│ │ │ -00098c80: 3d20 226f 7065 6e73 632d 706b 6373 3131 = "opensc-pkcs11
│ │ │ -00098c90: 220a 7665 7273 696f 6e20 3d20 222a 220a ".version = "*".
│ │ │ -00098ca0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -00098d50: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ -00098d60: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ -00098d70: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -00098df0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -00098e00: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -00098e20: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -00098e30: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -00098e70: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ -00098e80: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e in
│ │ │ -00098ea0: 636c 7564 6520 696e 7374 616c 6c5f 6f70 clude install_op
│ │ │ -00098eb0: 656e 7363 2d70 6b63 7331 310a 0a63 6c61 ensc-pkcs11..cla
│ │ │ -00098ec0: 7373 2069 6e73 7461 6c6c 5f6f 7065 6e73 ss install_opens
│ │ │ -00098ed0: 632d 706b 6373 3131 207b 0a20 2070 6163 c-pkcs11 {. pac
│ │ │ -00098ee0: 6b61 6765 207b 2027 6f70 656e 7363 2d70 kage { 'opensc-p
│ │ │ -00098ef0: 6b63 7331 3127 3a0a 2020 2020 656e 7375 kcs11':. ensu
│ │ │ -00098f00: 7265 203d 2667 743b 2027 696e 7374 616c re => 'instal
│ │ │ -00098f10: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f led',. }.}.
<
│ │ │ -00098f30: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ -00098f40: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ -00098f50: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ -00098f60: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ -00098f70: 6431 3034 2220 7461 6269 6e64 6578 3d22 d104" tabindex="
│ │ │ -00098f80: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ -00098f90: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ -00098fa0: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ -00098fb0: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ -00098fc0: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ -00098fd0: 6469 6174 696f 6e20 416e 7369 626c 6520 diation Ansible
│ │ │ -00098fe0: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -00098ff0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ -00099070: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ -000990a0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ -000990c0: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ -000990d0: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ -000990f0: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ -00099100: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ -00099110: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ -00099120: 653a 2047 6174 6865 7220 7468 6520 7061 e: Gather the pa
│ │ │ -00099130: 636b 6167 6520 6661 6374 730a 2020 7061 ckage facts. pa
│ │ │ -00099140: 636b 6167 655f 6661 6374 733a 0a20 2020 ckage_facts:.
│ │ │ -00099150: 206d 616e 6167 6572 3a20 6175 746f 0a20 manager: auto.
│ │ │ -00099160: 2074 6167 733a 0a20 202d 2044 4953 412d tags:. - DISA-
│ │ │ -00099170: 5354 4947 2d55 4254 552d 3232 2d36 3132 STIG-UBTU-22-612
│ │ │ -00099180: 3031 350a 2020 2d20 4e49 5354 2d38 3030 015. - NIST-800
│ │ │ -00099190: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ -000991a0: 656e 6162 6c65 5f73 7472 6174 6567 790a enable_strategy.
│ │ │ -000991b0: 2020 2d20 6c6f 775f 636f 6d70 6c65 7869 - low_complexi
│ │ │ -000991c0: 7479 0a20 202d 206c 6f77 5f64 6973 7275 ty. - low_disru
│ │ │ -000991d0: 7074 696f 6e0a 2020 2d20 6d65 6469 756d ption. - medium
│ │ │ -000991e0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -000991f0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -00099200: 202d 2070 6163 6b61 6765 5f6f 7065 6e73 - package_opens
│ │ │ -00099210: 635f 696e 7374 616c 6c65 640a 0a2d 206e c_installed..- n
│ │ │ -00099220: 616d 653a 2045 6e73 7572 6520 6f70 656e ame: Ensure open
│ │ │ -00099230: 7363 2d70 6b63 7331 3120 6973 2069 6e73 sc-pkcs11 is ins
│ │ │ -00099240: 7461 6c6c 6564 0a20 2061 6e73 6962 6c65 talled. ansible
│ │ │ -00099250: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ -00099260: 3a0a 2020 2020 6e61 6d65 3a20 6f70 656e :. name: open
│ │ │ -00099270: 7363 2d70 6b63 7331 310a 2020 2020 7374 sc-pkcs11. st
│ │ │ -00099280: 6174 653a 2070 7265 7365 6e74 0a20 2077 ate: present. w
│ │ │ -00099290: 6865 6e3a 2027 226c 696e 7578 2d62 6173 hen: '"linux-bas
│ │ │ -000992a0: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ -000992b0: 6374 732e 7061 636b 6167 6573 270a 2020 cts.packages'.
│ │ │ -000992c0: 7461 6773 3a0a 2020 2d20 4449 5341 2d53 tags:. - DISA-S
│ │ │ -000992d0: 5449 472d 5542 5455 2d32 322d 3631 3230 TIG-UBTU-22-6120
│ │ │ -000992e0: 3135 0a20 202d 204e 4953 542d 3830 302d 15. - NIST-800-
│ │ │ -000992f0: 3533 2d43 4d2d 3628 6129 0a20 202d 2065 53-CM-6(a). - e
│ │ │ -00099300: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ -00099310: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -00099320: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -00099330: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -00099340: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -00099350: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -00099360: 2d20 7061 636b 6167 655f 6f70 656e 7363 - package_opensc
│ │ │ -00099370: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64 _installed.Remediation Ans
│ │ │ +00098c10: 6962 6c65 2073 6e69 7070 6574 20e2 87b2 ible snippet ...
│ │ │ +00098c20: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ +00098cc0: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ +00098cd0: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ +00098ce0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00098cf0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ +00098d00: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ +00098d10: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ +00098d20: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ +00098d30: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +00098d50: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ +00098d60: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ +00098d70: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ +00098d80: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ +00098d90: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ +00098da0: 4449 5341 2d53 5449 472d 5542 5455 2d32 DISA-STIG-UBTU-2
│ │ │ +00098db0: 322d 3631 3230 3135 0a20 202d 204e 4953 2-612015. - NIS
│ │ │ +00098dc0: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +00098dd0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ +00098de0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +00098df0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +00098e00: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +00098e10: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +00098e20: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +00098e30: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ +00098e40: 6f70 656e 7363 5f69 6e73 7461 6c6c 6564 opensc_installed
│ │ │ +00098e50: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265 ..- name: Ensure
│ │ │ +00098e60: 206f 7065 6e73 632d 706b 6373 3131 2069 opensc-pkcs11 i
│ │ │ +00098e70: 7320 696e 7374 616c 6c65 640a 2020 616e s installed. an
│ │ │ +00098e80: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +00098e90: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ +00098ea0: 206f 7065 6e73 632d 706b 6373 3131 0a20 opensc-pkcs11.
│ │ │ +00098eb0: 2020 2073 7461 7465 3a20 7072 6573 656e state: presen
│ │ │ +00098ec0: 740a 2020 7768 656e 3a20 2722 6c69 6e75 t. when: '"linu
│ │ │ +00098ed0: 782d 6261 7365 2220 696e 2061 6e73 6962 x-base" in ansib
│ │ │ +00098ee0: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ +00098ef0: 7327 0a20 2074 6167 733a 0a20 202d 2044 s'. tags:. - D
│ │ │ +00098f00: 4953 412d 5354 4947 2d55 4254 552d 3232 ISA-STIG-UBTU-22
│ │ │ +00098f10: 2d36 3132 3031 350a 2020 2d20 4e49 5354 -612015. - NIST
│ │ │ +00098f20: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ +00098f30: 2020 2d20 656e 6162 6c65 5f73 7472 6174 - enable_strat
│ │ │ +00098f40: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +00098f50: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +00098f60: 6973 7275 7074 696f 6e0a 2020 2d20 6d65 isruption. - me
│ │ │ +00098f70: 6469 756d 5f73 6576 6572 6974 790a 2020 dium_severity.
│ │ │ +00098f80: 2d20 6e6f 5f72 6562 6f6f 745f 6e65 6564 - no_reboot_need
│ │ │ +00098f90: 6564 0a20 202d 2070 6163 6b61 6765 5f6f ed. - package_o
│ │ │ +00098fa0: 7065 6e73 635f 696e 7374 616c 6c65 640a pensc_installed.
│ │ │ +00098fb0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +00099060: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +00099070: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +00099080: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +00099100: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +00099110: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +00099130: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +00099140: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +00099180: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ +00099190: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e in
│ │ │ +000991b0: 636c 7564 6520 696e 7374 616c 6c5f 6f70 clude install_op
│ │ │ +000991c0: 656e 7363 2d70 6b63 7331 310a 0a63 6c61 ensc-pkcs11..cla
│ │ │ +000991d0: 7373 2069 6e73 7461 6c6c 5f6f 7065 6e73 ss install_opens
│ │ │ +000991e0: 632d 706b 6373 3131 207b 0a20 2070 6163 c-pkcs11 {. pac
│ │ │ +000991f0: 6b61 6765 207b 2027 6f70 656e 7363 2d70 kage { 'opensc-p
│ │ │ +00099200: 6b63 7331 3127 3a0a 2020 2020 656e 7375 kcs11':. ensu
│ │ │ +00099210: 7265 203d 2667 743b 2027 696e 7374 616c re => 'instal
│ │ │ +00099220: 6c65 6427 2c0a 2020 7d0a 7d0a 3c2f 636f led',. }.}.
<
│ │ │ +00099240: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +00099250: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +00099260: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +00099270: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +00099280: 6431 3034 2220 7461 6269 6e64 6578 3d22 d104" tabindex="
│ │ │ +00099290: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ +000992a0: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ +000992b0: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ +000992c0: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ +000992d0: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ +000992e0: 6469 6174 696f 6e20 4f53 4275 696c 6420 diation OSBuild
│ │ │ +000992f0: 426c 7565 7072 696e 7420 736e 6970 7065 Blueprint snippe
│ │ │ +00099300: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
.[[packa
│ │ │ +00099350: 6765 735d 5d0a 6e61 6d65 203d 2022 6f70 ges]].name = "op
│ │ │ +00099360: 656e 7363 2d70 6b63 7331 3122 0a76 6572 ensc-pkcs11".ver
│ │ │ +00099370: 7369 6f6e 203d 2022 2a22 0a3c 2f63 6f64 sion = "*".Remedi
│ │ │ -0009a3a0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ -0009a3b0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ -0009a3c0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -0009a400: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765 .[[package
│ │ │ -0009a410: 735d 5d0a 6e61 6d65 203d 2022 6c69 6270 s]].name = "libp
│ │ │ -0009a420: 616d 2d70 6b63 7331 3122 0a76 6572 7369 am-pkcs11".versi
│ │ │ -0009a430: 6f6e 203d 2022 2a22 0a3c 2f63 6f64 653e on = "*".
│ │ │ -0009a440: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -0009a4f0: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ -0009a500: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -0009a510: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -0009a520: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -0009a530: 7365 2220 6964 3d22 6964 3130 3822 3e3c se" id="id108"><
│ │ │ -0009a540: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -0009a550: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -0009a560: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -0009a570: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -0009a580: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -0009a590: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -0009a5a0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -0009a5d0: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -0009a5e0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -0009a5f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -0009a610: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable <
│ │ │ -0009a620: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include i
│ │ │ -0009a640: 6e73 7461 6c6c 5f6c 6962 7061 6d2d 706b nstall_libpam-pk
│ │ │ -0009a650: 6373 3131 0a0a 636c 6173 7320 696e 7374 cs11..class inst
│ │ │ -0009a660: 616c 6c5f 6c69 6270 616d 2d70 6b63 7331 all_libpam-pkcs1
│ │ │ -0009a670: 3120 7b0a 2020 7061 636b 6167 6520 7b20 1 {. package {
│ │ │ -0009a680: 276c 6962 7061 6d2d 706b 6373 3131 273a 'libpam-pkcs11':
│ │ │ -0009a690: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -0009a6a0: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20 ; 'installed',.
│ │ │ -0009a6b0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediation
│ │ │ -0009a770: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ -0009a780: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -0009a810: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -0009a830: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -0009a840: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0009a850: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -0009a860: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -0009a880: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
- name: Gath
│ │ │ -0009a8c0: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ -0009a8d0: 6163 7473 0a20 2070 6163 6b61 6765 5f66 acts. package_f
│ │ │ -0009a8e0: 6163 7473 3a0a 2020 2020 6d61 6e61 6765 acts:. manage
│ │ │ -0009a8f0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a r: auto. tags:.
│ │ │ -0009a900: 2020 2d20 4449 5341 2d53 5449 472d 5542 - DISA-STIG-UB
│ │ │ -0009a910: 5455 2d32 322d 3631 3230 3130 0a20 202d TU-22-612010. -
│ │ │ -0009a920: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -0009a930: 3628 6129 0a20 202d 2050 4349 2d44 5353 6(a). - PCI-DSS
│ │ │ -0009a940: 2d52 6571 2d38 2e33 0a20 202d 2065 6e61 -Req-8.3. - ena
│ │ │ -0009a950: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -0009a960: 2069 6e73 7461 6c6c 5f73 6d61 7274 6361 install_smartca
│ │ │ -0009a970: 7264 5f70 6163 6b61 6765 730a 2020 2d20 rd_packages. -
│ │ │ -0009a980: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -0009a990: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -0009a9a0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ -0009a9b0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ -0009a9c0: 6f6f 745f 6e65 6564 6564 0a0a 2d20 6e61 oot_needed..- na
│ │ │ -0009a9d0: 6d65 3a20 456e 7375 7265 206c 6962 7061 me: Ensure libpa
│ │ │ -0009a9e0: 6d2d 706b 6373 3131 2069 7320 696e 7374 m-pkcs11 is inst
│ │ │ -0009a9f0: 616c 6c65 640a 2020 616e 7369 626c 652e alled. ansible.
│ │ │ -0009aa00: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -0009aa10: 0a20 2020 206e 616d 653a 206c 6962 7061 . name: libpa
│ │ │ -0009aa20: 6d2d 706b 6373 3131 0a20 2020 2073 7461 m-pkcs11. sta
│ │ │ -0009aa30: 7465 3a20 7072 6573 656e 740a 2020 7768 te: present. wh
│ │ │ -0009aa40: 656e 3a0a 2020 2d20 2722 6c69 6e75 782d en:. - '"linux-
│ │ │ -0009aa50: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ -0009aa60: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ -0009aa70: 0a20 202d 2061 6e73 6962 6c65 5f61 7263 . - ansible_arc
│ │ │ -0009aa80: 6869 7465 6374 7572 6520 213d 2022 7333 hitecture != "s3
│ │ │ -0009aa90: 3930 7822 0a20 2074 6167 733a 0a20 202d 90x". tags:. -
│ │ │ -0009aaa0: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU-
│ │ │ -0009aab0: 3232 2d36 3132 3031 300a 2020 2d20 4e49 22-612010. - NI
│ │ │ -0009aac0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ -0009aad0: 290a 2020 2d20 5043 492d 4453 532d 5265 ). - PCI-DSS-Re
│ │ │ -0009aae0: 712d 382e 330a 2020 2d20 656e 6162 6c65 q-8.3. - enable
│ │ │ -0009aaf0: 5f73 7472 6174 6567 790a 2020 2d20 696e _strategy. - in
│ │ │ -0009ab00: 7374 616c 6c5f 736d 6172 7463 6172 645f stall_smartcard_
│ │ │ -0009ab10: 7061 636b 6167 6573 0a20 202d 206c 6f77 packages. - low
│ │ │ -0009ab20: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -0009ab30: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -0009ab40: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ -0009ab50: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ -0009ab60: 5f6e 6565 6465 640a 3c2f 636f 6465 3e3c _needed.<
│ │ │ +0009a3a0: 6174 696f 6e20 416e 7369 626c 6520 736e ation Ansible sn
│ │ │ +0009a3b0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +0009a440: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +0009a450: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +0009a460: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +0009a470: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +0009a480: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +0009a490: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +0009a4a0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +0009a4b0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
- name:
│ │ │ +0009a4f0: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ +0009a500: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ +0009a510: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ +0009a520: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ +0009a530: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ +0009a540: 4947 2d55 4254 552d 3232 2d36 3132 3031 IG-UBTU-22-61201
│ │ │ +0009a550: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +0009a560: 332d 434d 2d36 2861 290a 2020 2d20 5043 3-CM-6(a). - PC
│ │ │ +0009a570: 492d 4453 532d 5265 712d 382e 330a 2020 I-DSS-Req-8.3.
│ │ │ +0009a580: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ +0009a590: 790a 2020 2d20 696e 7374 616c 6c5f 736d y. - install_sm
│ │ │ +0009a5a0: 6172 7463 6172 645f 7061 636b 6167 6573 artcard_packages
│ │ │ +0009a5b0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +0009a5c0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +0009a5d0: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ +0009a5e0: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +0009a5f0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +0009a600: 0a2d 206e 616d 653a 2045 6e73 7572 6520 .- name: Ensure
│ │ │ +0009a610: 6c69 6270 616d 2d70 6b63 7331 3120 6973 libpam-pkcs11 is
│ │ │ +0009a620: 2069 6e73 7461 6c6c 6564 0a20 2061 6e73 installed. ans
│ │ │ +0009a630: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ +0009a640: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ +0009a650: 6c69 6270 616d 2d70 6b63 7331 310a 2020 libpam-pkcs11.
│ │ │ +0009a660: 2020 7374 6174 653a 2070 7265 7365 6e74 state: present
│ │ │ +0009a670: 0a20 2077 6865 6e3a 0a20 202d 2027 226c . when:. - '"l
│ │ │ +0009a680: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ +0009a690: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +0009a6a0: 6167 6573 270a 2020 2d20 616e 7369 626c ages'. - ansibl
│ │ │ +0009a6b0: 655f 6172 6368 6974 6563 7475 7265 2021 e_architecture !
│ │ │ +0009a6c0: 3d20 2273 3339 3078 220a 2020 7461 6773 = "s390x". tags
│ │ │ +0009a6d0: 3a0a 2020 2d20 4449 5341 2d53 5449 472d :. - DISA-STIG-
│ │ │ +0009a6e0: 5542 5455 2d32 322d 3631 3230 3130 0a20 UBTU-22-612010.
│ │ │ +0009a6f0: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ +0009a700: 4d2d 3628 6129 0a20 202d 2050 4349 2d44 M-6(a). - PCI-D
│ │ │ +0009a710: 5353 2d52 6571 2d38 2e33 0a20 202d 2065 SS-Req-8.3. - e
│ │ │ +0009a720: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ +0009a730: 202d 2069 6e73 7461 6c6c 5f73 6d61 7274 - install_smart
│ │ │ +0009a740: 6361 7264 5f70 6163 6b61 6765 730a 2020 card_packages.
│ │ │ +0009a750: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +0009a760: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +0009a770: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +0009a780: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +0009a790: 6562 6f6f 745f 6e65 6564 6564 0a3c 2f63 eboot_needed.
│ │ │ +0009a7b0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ +0009a850: 6564 6961 7469 6f6e 2050 7570 7065 7420 ediation Puppet
│ │ │ +0009a860: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ +0009a870: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>Com
│ │ │ +0009a8f0: 706c 6578 6974 793a 3c2f 7468 3e3c 7464 plexity: low Disruption
│ │ │ +0009a920: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low R
│ │ │ +0009a940: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e66 eboot: f
│ │ │ +0009a950: 616c 7365 3c2f 7464 3e3c 2f74 723e 3c74 alse Strategy:<
│ │ │ +0009a970: 2f74 683e 3c74 643e 656e 6162 6c65 3c2f /th> enable
│ │ │ +0009a980: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +0009a990: 3c70 7265 3e3c 636f 6465 3e69 6e63 6c75 inclu
│ │ │ +0009a9a0: 6465 2069 6e73 7461 6c6c 5f6c 6962 7061 de install_libpa
│ │ │ +0009a9b0: 6d2d 706b 6373 3131 0a0a 636c 6173 7320 m-pkcs11..class
│ │ │ +0009a9c0: 696e 7374 616c 6c5f 6c69 6270 616d 2d70 install_libpam-p
│ │ │ +0009a9d0: 6b63 7331 3120 7b0a 2020 7061 636b 6167 kcs11 {. packag
│ │ │ +0009a9e0: 6520 7b20 276c 6962 7061 6d2d 706b 6373 e { 'libpam-pkcs
│ │ │ +0009a9f0: 3131 273a 0a20 2020 2065 6e73 7572 6520 11':. ensure
│ │ │ +0009aa00: 3d26 6774 3b20 2769 6e73 7461 6c6c 6564 => 'installed
│ │ │ +0009aa10: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ +0009aa20: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +0009aad0: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu
│ │ │ +0009aae0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet .
│ │ │ +0009aaf0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
<
│ │ │ +0009ab30: 636f 6465 3e0a 5b5b 7061 636b 6167 6573 code>.[[packages
│ │ │ +0009ab40: 5d5d 0a6e 616d 6520 3d20 226c 6962 7061 ]].name = "libpa
│ │ │ +0009ab50: 6d2d 706b 6373 3131 220a 7665 7273 696f m-pkcs11".versio
│ │ │ +0009ab60: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c n = "*".<
│ │ │ 0009ab70: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remedia
│ │ │ -000b7790: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu
│ │ │ -000b77a0: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet .
│ │ │ -000b77b0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
<
│ │ │ -000b77f0: 636f 6465 3e0a 5b5b 7061 636b 6167 6573 code>.[[packages
│ │ │ -000b7800: 5d5d 0a6e 616d 6520 3d20 2261 7070 6172 ]].name = "appar
│ │ │ -000b7810: 6d6f 7222 0a76 6572 7369 6f6e 203d 2022 mor".version = "
│ │ │ -000b7820: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".
│ │ │ -000b7830: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ -000b78e0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -000b78f0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -000b7970: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -000b7980: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -000b7990: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -000b79a0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -000b79b0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -000b79e0: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -000b79f0: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -000b7a00: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -000b7a10: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include install
│ │ │ -000b7a30: 5f61 7070 6172 6d6f 720a 0a63 6c61 7373 _apparmor..class
│ │ │ -000b7a40: 2069 6e73 7461 6c6c 5f61 7070 6172 6d6f install_apparmo
│ │ │ -000b7a50: 7220 7b0a 2020 7061 636b 6167 6520 7b20 r {. package {
│ │ │ -000b7a60: 2761 7070 6172 6d6f 7227 3a0a 2020 2020 'apparmor':.
│ │ │ -000b7a70: 656e 7375 7265 203d 2667 743b 2027 696e ensure => 'in
│ │ │ -000b7a80: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a stalled',. }.}.
│ │ │ -000b7a90: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -000b7b40: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ -000b7b50: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ -000b7b60: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ -000b7c10: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ -000b7c20: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -000b7c30: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ -000b7c40: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ -000b7c60: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ -000b7c70: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ -000b7c90: 206e 616d 653a 2045 6e73 7572 6520 6170 name: Ensure ap
│ │ │ -000b7ca0: 7061 726d 6f72 2069 7320 696e 7374 616c parmor is instal
│ │ │ -000b7cb0: 6c65 640a 2020 616e 7369 626c 652e 6275 led. ansible.bu
│ │ │ -000b7cc0: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ -000b7cd0: 2020 206e 616d 653a 2061 7070 6172 6d6f name: apparmo
│ │ │ -000b7ce0: 720a 2020 2020 7374 6174 653a 2070 7265 r. state: pre
│ │ │ -000b7cf0: 7365 6e74 0a20 2077 6865 6e3a 2061 6e73 sent. when: ans
│ │ │ -000b7d00: 6962 6c65 5f76 6972 7475 616c 697a 6174 ible_virtualizat
│ │ │ -000b7d10: 696f 6e5f 7479 7065 206e 6f74 2069 6e20 ion_type not in
│ │ │ -000b7d20: 5b22 646f 636b 6572 222c 2022 6c78 6322 ["docker", "lxc"
│ │ │ -000b7d30: 2c20 226f 7065 6e76 7a22 2c20 2270 6f64 , "openvz", "pod
│ │ │ -000b7d40: 6d61 6e22 2c20 2263 6f6e 7461 696e 6572 man", "container
│ │ │ -000b7d50: 225d 0a20 2074 6167 733a 0a20 202d 2044 "]. tags:. - D
│ │ │ -000b7d60: 4953 412d 5354 4947 2d55 4254 552d 3232 ISA-STIG-UBTU-22
│ │ │ -000b7d70: 2d34 3331 3031 300a 2020 2d20 656e 6162 -431010. - enab
│ │ │ -000b7d80: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -000b7d90: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -000b7da0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -000b7db0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ -000b7dc0: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ -000b7dd0: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -000b7de0: 6163 6b61 6765 5f61 7070 6172 6d6f 725f ackage_apparmor_
│ │ │ -000b7df0: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.
│ │ │ +000b77b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +000b77e0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +000b7830: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +000b7840: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +000b7850: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +000b7860: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +000b7870: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +000b7880: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +000b7890: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +000b78a0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ +000b78c0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +000b78e0: 456e 7375 7265 2061 7070 6172 6d6f 7220 Ensure apparmor
│ │ │ +000b78f0: 6973 2069 6e73 7461 6c6c 6564 0a20 2061 is installed. a
│ │ │ +000b7900: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ +000b7910: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ +000b7920: 3a20 6170 7061 726d 6f72 0a20 2020 2073 : apparmor. s
│ │ │ +000b7930: 7461 7465 3a20 7072 6573 656e 740a 2020 tate: present.
│ │ │ +000b7940: 7768 656e 3a20 616e 7369 626c 655f 7669 when: ansible_vi
│ │ │ +000b7950: 7274 7561 6c69 7a61 7469 6f6e 5f74 7970 rtualization_typ
│ │ │ +000b7960: 6520 6e6f 7420 696e 205b 2264 6f63 6b65 e not in ["docke
│ │ │ +000b7970: 7222 2c20 226c 7863 222c 2022 6f70 656e r", "lxc", "open
│ │ │ +000b7980: 767a 222c 2022 706f 646d 616e 222c 2022 vz", "podman", "
│ │ │ +000b7990: 636f 6e74 6169 6e65 7222 5d0a 2020 7461 container"]. ta
│ │ │ +000b79a0: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI
│ │ │ +000b79b0: 472d 5542 5455 2d32 322d 3433 3130 3130 G-UBTU-22-431010
│ │ │ +000b79c0: 0a20 202d 2065 6e61 626c 655f 7374 7261 . - enable_stra
│ │ │ +000b79d0: 7465 6779 0a20 202d 206c 6f77 5f63 6f6d tegy. - low_com
│ │ │ +000b79e0: 706c 6578 6974 790a 2020 2d20 6c6f 775f plexity. - low_
│ │ │ +000b79f0: 6469 7372 7570 7469 6f6e 0a20 202d 206d disruption. - m
│ │ │ +000b7a00: 6564 6975 6d5f 7365 7665 7269 7479 0a20 edium_severity.
│ │ │ +000b7a10: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +000b7a20: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ +000b7a30: 6170 7061 726d 6f72 5f69 6e73 7461 6c6c apparmor_install
│ │ │ +000b7a40: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +000b7a50: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ +000b7b00: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ +000b7b10: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +000b7b90: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +000b7ba0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +000b7bb0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +000b7bc0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +000b7bd0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +000b7c00: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +000b7c10: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ +000b7c20: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +000b7c30: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>include install
│ │ │ +000b7c50: 5f61 7070 6172 6d6f 720a 0a63 6c61 7373 _apparmor..class
│ │ │ +000b7c60: 2069 6e73 7461 6c6c 5f61 7070 6172 6d6f install_apparmo
│ │ │ +000b7c70: 7220 7b0a 2020 7061 636b 6167 6520 7b20 r {. package {
│ │ │ +000b7c80: 2761 7070 6172 6d6f 7227 3a0a 2020 2020 'apparmor':.
│ │ │ +000b7c90: 656e 7375 7265 203d 2667 743b 2027 696e ensure => 'in
│ │ │ +000b7ca0: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a stalled',. }.}.
│ │ │ +000b7cb0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +000b7d60: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu
│ │ │ +000b7d70: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn
│ │ │ +000b7d80: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.[[p
│ │ │ +000b7dd0: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d ackages]].name =
│ │ │ +000b7de0: 2022 6170 7061 726d 6f72 220a 7665 7273 "apparmor".vers
│ │ │ +000b7df0: 696f 6e20 3d20 222a 220a 3c2f 636f 6465 ion = "*".
Remediation OSB
│ │ │ -000b90d0: 7569 6c64 2042 6c75 6570 7269 6e74 2073 uild Blueprint s
│ │ │ -000b90e0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ....[c
│ │ │ -000b9130: 7573 746f 6d69 7a61 7469 6f6e 732e 7365 ustomizations.se
│ │ │ -000b9140: 7276 6963 6573 5d0a 656e 6162 6c65 6420 rvices].enabled
│ │ │ -000b9150: 3d20 5b22 6170 7061 726d 6f72 225d 0a3c = ["apparmor"].<
│ │ │ -000b9160: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -000b9210: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -000b9220: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ -000b92b0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -000b92c0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -000b92d0: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -000b92e0: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -000b92f0: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -000b9320: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -000b9330: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ -000b9340: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c inc
│ │ │ -000b9360: 6c75 6465 2065 6e61 626c 655f 6170 7061 lude enable_appa
│ │ │ -000b9370: 726d 6f72 0a0a 636c 6173 7320 656e 6162 rmor..class enab
│ │ │ -000b9380: 6c65 5f61 7070 6172 6d6f 7220 7b0a 2020 le_apparmor {.
│ │ │ -000b9390: 7365 7276 6963 6520 7b27 6170 7061 726d service {'apparm
│ │ │ -000b93a0: 6f72 273a 0a20 2020 2065 6e61 626c 6520 or':. enable
│ │ │ -000b93b0: 3d26 6774 3b20 7472 7565 2c0a 2020 2020 => true,.
│ │ │ -000b93c0: 656e 7375 7265 203d 2667 743b 2027 7275 ensure => 'ru
│ │ │ -000b93d0: 6e6e 696e 6727 2c0a 2020 7d0a 7d0a 3c2f nning',. }.}.
│ │ │ +000b90c0: 3e52 656d 6564 6961 7469 6f6e 2050 7570 >Remediation Pup
│ │ │ +000b90d0: 7065 7420 736e 6970 7065 7420 e287 b23c pet snippet ...<
│ │ │ +000b90e0: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +000b9190: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +000b91a0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +000b91b0: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +000b91c0: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +000b91e0: 6779 3a3c 2f74 683e 3c74 643e 656e 6162 gy: enab
│ │ │ +000b91f0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le i
│ │ │ +000b9210: 6e63 6c75 6465 2065 6e61 626c 655f 6170 nclude enable_ap
│ │ │ +000b9220: 7061 726d 6f72 0a0a 636c 6173 7320 656e parmor..class en
│ │ │ +000b9230: 6162 6c65 5f61 7070 6172 6d6f 7220 7b0a able_apparmor {.
│ │ │ +000b9240: 2020 7365 7276 6963 6520 7b27 6170 7061 service {'appa
│ │ │ +000b9250: 726d 6f72 273a 0a20 2020 2065 6e61 626c rmor':. enabl
│ │ │ +000b9260: 6520 3d26 6774 3b20 7472 7565 2c0a 2020 e => true,.
│ │ │ +000b9270: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +000b9280: 7275 6e6e 696e 6727 2c0a 2020 7d0a 7d0a running',. }.}.
│ │ │ +000b9290: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +000b9340: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu
│ │ │ +000b9350: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn
│ │ │ +000b9360: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.[cu
│ │ │ +000b93b0: 7374 6f6d 697a 6174 696f 6e73 2e73 6572 stomizations.ser
│ │ │ +000b93c0: 7669 6365 735d 0a65 6e61 626c 6564 203d vices].enabled =
│ │ │ +000b93d0: 205b 2261 7070 6172 6d6f 7222 5d0a 3c2f ["apparmor"].
│ │ │ 000b93e0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Remedi
│ │ │ -000ce7e0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ -000ce7f0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ -000ce800: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -000ce840: 3c63 6f64 653e 0a5b 6375 7374 6f6d 697a .[customiz
│ │ │ -000ce850: 6174 696f 6e73 2e73 6572 7669 6365 735d ations.services]
│ │ │ -000ce860: 0a65 6e61 626c 6564 203d 205b 2272 7379 .enabled = ["rsy
│ │ │ -000ce870: 736c 6f67 225d 0a3c 2f63 6f64 653e 3c2f slog"].
│ │ │ -000ce880: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ -000ce930: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -000ce940: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -000ce9c0: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -000ce9d0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -000ce9e0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000ce9f0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -000cea00: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -000cea20: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -000cea30: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000cea40: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -000cea70: 636f 6465 3e69 6e63 6c75 6465 2065 6e61 code>include ena
│ │ │ -000cea80: 626c 655f 7273 7973 6c6f 670a 0a63 6c61 ble_rsyslog..cla
│ │ │ -000cea90: 7373 2065 6e61 626c 655f 7273 7973 6c6f ss enable_rsyslo
│ │ │ -000ceaa0: 6720 7b0a 2020 7365 7276 6963 6520 7b27 g {. service {'
│ │ │ -000ceab0: 7273 7973 6c6f 6727 3a0a 2020 2020 656e rsyslog':. en
│ │ │ -000ceac0: 6162 6c65 203d 2667 743b 2074 7275 652c able => true,
│ │ │ -000cead0: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -000ceae0: 3b20 2772 756e 6e69 6e67 272c 0a20 207d ; 'running',. }
│ │ │ -000ceaf0: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ -000ceb00: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation A
│ │ │ -000cebb0: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ -000cebc0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -000cec40: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -000cec50: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -000cec60: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -000cec70: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ -000cecb0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ -000cecc0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ -000cecd0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ -000cece0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: Gather
│ │ │ -000ced00: 2074 6865 2070 6163 6b61 6765 2066 6163 the package fac
│ │ │ -000ced10: 7473 0a20 2070 6163 6b61 6765 5f66 6163 ts. package_fac
│ │ │ -000ced20: 7473 3a0a 2020 2020 6d61 6e61 6765 723a ts:. manager:
│ │ │ -000ced30: 2061 7574 6f0a 2020 7461 6773 3a0a 2020 auto. tags:.
│ │ │ -000ced40: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU
│ │ │ -000ced50: 2d32 322d 3635 3230 3130 0a20 202d 204e -22-652010. - N
│ │ │ -000ced60: 4953 542d 3830 302d 3533 2d41 552d 3428 IST-800-53-AU-4(
│ │ │ -000ced70: 3129 0a20 202d 204e 4953 542d 3830 302d 1). - NIST-800-
│ │ │ -000ced80: 3533 2d43 4d2d 3628 6129 0a20 202d 2065 53-CM-6(a). - e
│ │ │ -000ced90: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ -000ceda0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -000cedb0: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -000cedc0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -000cedd0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -000cede0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -000cedf0: 2d20 7365 7276 6963 655f 7273 7973 6c6f - service_rsyslo
│ │ │ -000cee00: 675f 656e 6162 6c65 640a 0a2d 206e 616d g_enabled..- nam
│ │ │ -000cee10: 653a 2045 6e61 626c 6520 7273 7973 6c6f e: Enable rsyslo
│ │ │ -000cee20: 6720 5365 7276 6963 6520 2d20 456e 6162 g Service - Enab
│ │ │ -000cee30: 6c65 2073 6572 7669 6365 2072 7379 736c le service rsysl
│ │ │ -000cee40: 6f67 0a20 2062 6c6f 636b 3a0a 0a20 202d og. block:.. -
│ │ │ -000cee50: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -000cee60: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -000cee70: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ -000cee80: 7469 6e2e 7061 636b 6167 655f 6661 6374 tin.package_fact
│ │ │ -000cee90: 733a 0a20 2020 2020 206d 616e 6167 6572 s:. manager
│ │ │ -000ceea0: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65 : auto.. - name
│ │ │ -000ceeb0: 3a20 456e 6162 6c65 2072 7379 736c 6f67 : Enable rsyslog
│ │ │ -000ceec0: 2053 6572 7669 6365 202d 2045 6e61 626c Service - Enabl
│ │ │ -000ceed0: 6520 5365 7276 6963 6520 7273 7973 6c6f e Service rsyslo
│ │ │ -000ceee0: 670a 2020 2020 616e 7369 626c 652e 6275 g. ansible.bu
│ │ │ -000ceef0: 696c 7469 6e2e 7379 7374 656d 643a 0a20 iltin.systemd:.
│ │ │ -000cef00: 2020 2020 206e 616d 653a 2072 7379 736c name: rsysl
│ │ │ -000cef10: 6f67 0a20 2020 2020 2065 6e61 626c 6564 og. enabled
│ │ │ -000cef20: 3a20 7472 7565 0a20 2020 2020 2073 7461 : true. sta
│ │ │ -000cef30: 7465 3a20 7374 6172 7465 640a 2020 2020 te: started.
│ │ │ -000cef40: 2020 6d61 736b 6564 3a20 6661 6c73 650a masked: false.
│ │ │ -000cef50: 2020 2020 7768 656e 3a0a 2020 2020 2d20 when:. -
│ │ │ -000cef60: 2722 7273 7973 6c6f 6722 2069 6e20 616e '"rsyslog" in an
│ │ │ -000cef70: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ -000cef80: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ -000cef90: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU
│ │ │ -000cefa0: 2d32 322d 3635 3230 3130 0a20 202d 204e -22-652010. - N
│ │ │ -000cefb0: 4953 542d 3830 302d 3533 2d41 552d 3428 IST-800-53-AU-4(
│ │ │ -000cefc0: 3129 0a20 202d 204e 4953 542d 3830 302d 1). - NIST-800-
│ │ │ -000cefd0: 3533 2d43 4d2d 3628 6129 0a20 202d 2065 53-CM-6(a). - e
│ │ │ -000cefe0: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ -000ceff0: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -000cf000: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -000cf010: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -000cf020: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -000cf030: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -000cf040: 2d20 7365 7276 6963 655f 7273 7973 6c6f - service_rsyslo
│ │ │ -000cf050: 675f 656e 6162 6c65 640a 2020 2d20 7370 g_enabled. - sp
│ │ │ -000cf060: 6563 6961 6c5f 7365 7276 6963 655f 626c ecial_service_bl
│ │ │ -000cf070: 6f63 6b0a 2020 7768 656e 3a20 2722 6c69 ock. when: '"li
│ │ │ -000cf080: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ -000cf090: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -000cf0a0: 6765 7327 0a3c 2f63 6f64 653e 3c2f 7072 ges'.
Compl
│ │ │ +000ce880: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +000ce890: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +000ce8a0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +000ce8b0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +000ce8c0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +000ce8d0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +000ce8e0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +000ce8f0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
- name:
│ │ │ +000ce930: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ +000ce940: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ +000ce950: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ +000ce960: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ +000ce970: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ +000ce980: 4947 2d55 4254 552d 3232 2d36 3532 3031 IG-UBTU-22-65201
│ │ │ +000ce990: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +000ce9a0: 332d 4155 2d34 2831 290a 2020 2d20 4e49 3-AU-4(1). - NI
│ │ │ +000ce9b0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ +000ce9c0: 290a 2020 2d20 656e 6162 6c65 5f73 7472 ). - enable_str
│ │ │ +000ce9d0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +000ce9e0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +000ce9f0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +000cea00: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +000cea10: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +000cea20: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ +000cea30: 5f72 7379 736c 6f67 5f65 6e61 626c 6564 _rsyslog_enabled
│ │ │ +000cea40: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65 ..- name: Enable
│ │ │ +000cea50: 2072 7379 736c 6f67 2053 6572 7669 6365 rsyslog Service
│ │ │ +000cea60: 202d 2045 6e61 626c 6520 7365 7276 6963 - Enable servic
│ │ │ +000cea70: 6520 7273 7973 6c6f 670a 2020 626c 6f63 e rsyslog. bloc
│ │ │ +000cea80: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761 k:.. - name: Ga
│ │ │ +000cea90: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ +000ceaa0: 2066 6163 7473 0a20 2020 2061 6e73 6962 facts. ansib
│ │ │ +000ceab0: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +000ceac0: 6765 5f66 6163 7473 3a0a 2020 2020 2020 ge_facts:.
│ │ │ +000cead0: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20 manager: auto..
│ │ │ +000ceae0: 202d 206e 616d 653a 2045 6e61 626c 6520 - name: Enable
│ │ │ +000ceaf0: 7273 7973 6c6f 6720 5365 7276 6963 6520 rsyslog Service
│ │ │ +000ceb00: 2d20 456e 6162 6c65 2053 6572 7669 6365 - Enable Service
│ │ │ +000ceb10: 2072 7379 736c 6f67 0a20 2020 2061 6e73 rsyslog. ans
│ │ │ +000ceb20: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys
│ │ │ +000ceb30: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65 temd:. name
│ │ │ +000ceb40: 3a20 7273 7973 6c6f 670a 2020 2020 2020 : rsyslog.
│ │ │ +000ceb50: 656e 6162 6c65 643a 2074 7275 650a 2020 enabled: true.
│ │ │ +000ceb60: 2020 2020 7374 6174 653a 2073 7461 7274 state: start
│ │ │ +000ceb70: 6564 0a20 2020 2020 206d 6173 6b65 643a ed. masked:
│ │ │ +000ceb80: 2066 616c 7365 0a20 2020 2077 6865 6e3a false. when:
│ │ │ +000ceb90: 0a20 2020 202d 2027 2272 7379 736c 6f67 . - '"rsyslog
│ │ │ +000ceba0: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +000cebb0: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t
│ │ │ +000cebc0: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ +000cebd0: 4947 2d55 4254 552d 3232 2d36 3532 3031 IG-UBTU-22-65201
│ │ │ +000cebe0: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +000cebf0: 332d 4155 2d34 2831 290a 2020 2d20 4e49 3-AU-4(1). - NI
│ │ │ +000cec00: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ +000cec10: 290a 2020 2d20 656e 6162 6c65 5f73 7472 ). - enable_str
│ │ │ +000cec20: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +000cec30: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +000cec40: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +000cec50: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +000cec60: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +000cec70: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ +000cec80: 5f72 7379 736c 6f67 5f65 6e61 626c 6564 _rsyslog_enabled
│ │ │ +000cec90: 0a20 202d 2073 7065 6369 616c 5f73 6572 . - special_ser
│ │ │ +000ceca0: 7669 6365 5f62 6c6f 636b 0a20 2077 6865 vice_block. whe
│ │ │ +000cecb0: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ +000cecc0: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +000cecd0: 732e 7061 636b 6167 6573 270a 3c2f 636f s.packages'.
<
│ │ │ +000cecf0: 6120 636c 6173 733d 2262 746e 2062 746e a class="btn btn
│ │ │ +000ced00: 2d73 7563 6365 7373 2220 6461 7461 2d74 -success" data-t
│ │ │ +000ced10: 6f67 676c 653d 2263 6f6c 6c61 7073 6522 oggle="collapse"
│ │ │ +000ced20: 2064 6174 612d 7461 7267 6574 3d22 2369 data-target="#i
│ │ │ +000ced30: 6431 3932 2220 7461 6269 6e64 6578 3d22 d192" tabindex="
│ │ │ +000ced40: 3022 2072 6f6c 653d 2262 7574 746f 6e22 0" role="button"
│ │ │ +000ced50: 2061 7269 612d 6578 7061 6e64 6564 3d22 aria-expanded="
│ │ │ +000ced60: 6661 6c73 6522 2074 6974 6c65 3d22 4163 false" title="Ac
│ │ │ +000ced70: 7469 7661 7465 2074 6f20 7265 7665 616c tivate to reveal
│ │ │ +000ced80: 2220 6872 6566 3d22 2321 223e 5265 6d65 " href="#!">Reme
│ │ │ +000ced90: 6469 6174 696f 6e20 5075 7070 6574 2073 diation Puppet s
│ │ │ +000ceda0: 6e69 7070 6574 20e2 87b2 3c2f 613e 3c62 nippet ...Comp
│ │ │ +000cee30: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +000cee40: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +000cee60: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +000cee80: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +000cee90: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +000ceeb0: 7468 3e3c 7464 3e65 6e61 626c 653c 2f74 th> enable
<
│ │ │ +000ceed0: 7072 653e 3c63 6f64 653e 696e 636c 7564 pre>includ
│ │ │ +000ceee0: 6520 656e 6162 6c65 5f72 7379 736c 6f67 e enable_rsyslog
│ │ │ +000ceef0: 0a0a 636c 6173 7320 656e 6162 6c65 5f72 ..class enable_r
│ │ │ +000cef00: 7379 736c 6f67 207b 0a20 2073 6572 7669 syslog {. servi
│ │ │ +000cef10: 6365 207b 2772 7379 736c 6f67 273a 0a20 ce {'rsyslog':.
│ │ │ +000cef20: 2020 2065 6e61 626c 6520 3d26 6774 3b20 enable =>
│ │ │ +000cef30: 7472 7565 2c0a 2020 2020 656e 7375 7265 true,. ensure
│ │ │ +000cef40: 203d 2667 743b 2027 7275 6e6e 696e 6727 => 'running'
│ │ │ +000cef50: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ +000cef60: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediat
│ │ │ +000cf010: 696f 6e20 4f53 4275 696c 6420 426c 7565 ion OSBuild Blue
│ │ │ +000cf020: 7072 696e 7420 736e 6970 7065 7420 e287 print snippet ..
│ │ │ +000cf030: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
.[customizat
│ │ │ +000cf080: 696f 6e73 2e73 6572 7669 6365 735d 0a65 ions.services].e
│ │ │ +000cf090: 6e61 626c 6564 203d 205b 2272 7379 736c nabled = ["rsysl
│ │ │ +000cf0a0: 6f67 225d 0a3c 2f63 6f64 653e 3c2f 7072 og"].
Remediation OS
│ │ │ -000d4f80: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint
│ │ │ -000d4f90: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -000d4fa0: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>.[
│ │ │ -000d4fe0: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65 [packages]].name
│ │ │ -000d4ff0: 203d 2022 7566 7722 0a76 6572 7369 6f6e = "ufw".version
│ │ │ -000d5000: 203d 2022 2a22 0a3c 2f63 6f64 653e 3c2f = "*".
│ │ │ -000d5010: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>
Remediati
│ │ │ -000d50c0: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ -000d50d0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ -000d5150: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ -000d5160: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ -000d5170: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000d5180: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ -000d5190: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ -000d51b0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ -000d51c0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -000d51d0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ -000d5200: 636f 6465 3e69 6e63 6c75 6465 2069 6e73 code>include ins
│ │ │ -000d5210: 7461 6c6c 5f75 6677 0a0a 636c 6173 7320 tall_ufw..class
│ │ │ -000d5220: 696e 7374 616c 6c5f 7566 7720 7b0a 2020 install_ufw {.
│ │ │ -000d5230: 7061 636b 6167 6520 7b20 2775 6677 273a package { 'ufw':
│ │ │ -000d5240: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -000d5250: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20 ; 'installed',.
│ │ │ -000d5260: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.Remediation
│ │ │ -000d5320: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ -000d5330: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -000d53c0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -000d53e0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -000d53f0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -000d5400: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -000d5410: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -000d5430: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
- name: Gath
│ │ │ -000d5470: 6572 2074 6865 2070 6163 6b61 6765 2066 er the package f
│ │ │ -000d5480: 6163 7473 0a20 2070 6163 6b61 6765 5f66 acts. package_f
│ │ │ -000d5490: 6163 7473 3a0a 2020 2020 6d61 6e61 6765 acts:. manage
│ │ │ -000d54a0: 723a 2061 7574 6f0a 2020 7461 6773 3a0a r: auto. tags:.
│ │ │ -000d54b0: 2020 2d20 4449 5341 2d53 5449 472d 5542 - DISA-STIG-UB
│ │ │ -000d54c0: 5455 2d32 322d 3235 3130 3130 0a20 202d TU-22-251010. -
│ │ │ -000d54d0: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -000d54e0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -000d54f0: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -000d5500: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -000d5510: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -000d5520: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -000d5530: 2020 2d20 7061 636b 6167 655f 7566 775f - package_ufw_
│ │ │ -000d5540: 696e 7374 616c 6c65 640a 0a2d 206e 616d installed..- nam
│ │ │ -000d5550: 653a 2045 6e73 7572 6520 7566 7720 6973 e: Ensure ufw is
│ │ │ -000d5560: 2069 6e73 7461 6c6c 6564 0a20 2061 6e73 installed. ans
│ │ │ -000d5570: 6962 6c65 2e62 7569 6c74 696e 2e70 6163 ible.builtin.pac
│ │ │ -000d5580: 6b61 6765 3a0a 2020 2020 6e61 6d65 3a20 kage:. name:
│ │ │ -000d5590: 7566 770a 2020 2020 7374 6174 653a 2070 ufw. state: p
│ │ │ -000d55a0: 7265 7365 6e74 0a20 2077 6865 6e3a 2027 resent. when: '
│ │ │ -000d55b0: 226c 696e 7578 2d62 6173 6522 2069 6e20 "linux-base" in
│ │ │ -000d55c0: 616e 7369 626c 655f 6661 6374 732e 7061 ansible_facts.pa
│ │ │ -000d55d0: 636b 6167 6573 270a 2020 7461 6773 3a0a ckages'. tags:.
│ │ │ -000d55e0: 2020 2d20 4449 5341 2d53 5449 472d 5542 - DISA-STIG-UB
│ │ │ -000d55f0: 5455 2d32 322d 3235 3130 3130 0a20 202d TU-22-251010. -
│ │ │ -000d5600: 2065 6e61 626c 655f 7374 7261 7465 6779 enable_strategy
│ │ │ -000d5610: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ -000d5620: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ -000d5630: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ -000d5640: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ -000d5650: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ -000d5660: 2020 2d20 7061 636b 6167 655f 7566 775f - package_ufw_
│ │ │ -000d5670: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.Remediation An
│ │ │ +000d4f80: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ +000d4f90: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ +000d5010: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ +000d5020: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +000d5030: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ +000d5040: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ +000d5050: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ +000d5080: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ +000d5090: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ +000d50a0: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ +000d50b0: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: Gather
│ │ │ +000d50d0: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ +000d50e0: 730a 2020 7061 636b 6167 655f 6661 6374 s. package_fact
│ │ │ +000d50f0: 733a 0a20 2020 206d 616e 6167 6572 3a20 s:. manager:
│ │ │ +000d5100: 6175 746f 0a20 2074 6167 733a 0a20 202d auto. tags:. -
│ │ │ +000d5110: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU-
│ │ │ +000d5120: 3232 2d32 3531 3031 300a 2020 2d20 656e 22-251010. - en
│ │ │ +000d5130: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +000d5140: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +000d5150: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +000d5160: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +000d5170: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +000d5180: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +000d5190: 2070 6163 6b61 6765 5f75 6677 5f69 6e73 package_ufw_ins
│ │ │ +000d51a0: 7461 6c6c 6564 0a0a 2d20 6e61 6d65 3a20 talled..- name:
│ │ │ +000d51b0: 456e 7375 7265 2075 6677 2069 7320 696e Ensure ufw is in
│ │ │ +000d51c0: 7374 616c 6c65 640a 2020 616e 7369 626c stalled. ansibl
│ │ │ +000d51d0: 652e 6275 696c 7469 6e2e 7061 636b 6167 e.builtin.packag
│ │ │ +000d51e0: 653a 0a20 2020 206e 616d 653a 2075 6677 e:. name: ufw
│ │ │ +000d51f0: 0a20 2020 2073 7461 7465 3a20 7072 6573 . state: pres
│ │ │ +000d5200: 656e 740a 2020 7768 656e 3a20 2722 6c69 ent. when: '"li
│ │ │ +000d5210: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ +000d5220: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ +000d5230: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ +000d5240: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU-
│ │ │ +000d5250: 3232 2d32 3531 3031 300a 2020 2d20 656e 22-251010. - en
│ │ │ +000d5260: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +000d5270: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +000d5280: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +000d5290: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +000d52a0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +000d52b0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +000d52c0: 2070 6163 6b61 6765 5f75 6677 5f69 6e73 package_ufw_ins
│ │ │ +000d52d0: 7461 6c6c 6564 0a3c 2f63 6f64 653e 3c2f talled.
│ │ │ +000d52e0: 7072 653e 3c2f 6469 763e 3c61 2063 6c61 pre>Remediati
│ │ │ +000d5390: 6f6e 2050 7570 7065 7420 736e 6970 7065 on Puppet snippe
│ │ │ +000d53a0: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +000d5420: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +000d5430: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +000d5440: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000d5450: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +000d5460: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +000d5480: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +000d5490: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000d54a0: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +000d54d0: 636f 6465 3e69 6e63 6c75 6465 2069 6e73 code>include ins
│ │ │ +000d54e0: 7461 6c6c 5f75 6677 0a0a 636c 6173 7320 tall_ufw..class
│ │ │ +000d54f0: 696e 7374 616c 6c5f 7566 7720 7b0a 2020 install_ufw {.
│ │ │ +000d5500: 7061 636b 6167 6520 7b20 2775 6677 273a package { 'ufw':
│ │ │ +000d5510: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ +000d5520: 3b20 2769 6e73 7461 6c6c 6564 272c 0a20 ; 'installed',.
│ │ │ +000d5530: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.Remediation
│ │ │ +000d55f0: 204f 5342 7569 6c64 2042 6c75 6570 7269 OSBuild Bluepri
│ │ │ +000d5600: 6e74 2073 6e69 7070 6574 20e2 87b2 3c2f nt snippet ...
│ │ │ +000d5610: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
.[[packages]].n
│ │ │ +000d5660: 616d 6520 3d20 2275 6677 220a 7665 7273 ame = "ufw".vers
│ │ │ +000d5670: 696f 6e20 3d20 222a 220a 3c2f 636f 6465 ion = "*".
Remediatio
│ │ │ -000d6300: 6e20 4f53 4275 696c 6420 426c 7565 7072 n OSBuild Bluepr
│ │ │ -000d6310: 696e 7420 736e 6970 7065 7420 e287 b23c int snippet ...<
│ │ │ -000d6320: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
.[customizatio
│ │ │ -000d6370: 6e73 2e73 6572 7669 6365 735d 0a65 6e61 ns.services].ena
│ │ │ -000d6380: 626c 6564 203d 205b 2275 6677 225d 0a3c bled = ["ufw"].<
│ │ │ -000d6390: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -000d6440: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -000d6450: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ -000d64e0: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -000d64f0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -000d6500: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -000d6510: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -000d6520: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -000d6550: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -000d6560: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ -000d6570: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c inc
│ │ │ -000d6590: 6c75 6465 2065 6e61 626c 655f 7566 770a lude enable_ufw.
│ │ │ -000d65a0: 0a63 6c61 7373 2065 6e61 626c 655f 7566 .class enable_uf
│ │ │ -000d65b0: 7720 7b0a 2020 7365 7276 6963 6520 7b27 w {. service {'
│ │ │ -000d65c0: 7566 7727 3a0a 2020 2020 656e 6162 6c65 ufw':. enable
│ │ │ -000d65d0: 203d 2667 743b 2074 7275 652c 0a20 2020 => true,.
│ │ │ -000d65e0: 2065 6e73 7572 6520 3d26 6774 3b20 2772 ensure => 'r
│ │ │ -000d65f0: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c unning',. }.}.<
│ │ │ -000d6600: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -000d66b0: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -000d66c0: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -000d66d0: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -000d6750: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -000d6760: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -000d6780: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -000d6790: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -000d67d0: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ -000d67e0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e -
│ │ │ -000d6800: 6e61 6d65 3a20 4761 7468 6572 2074 6865 name: Gather the
│ │ │ -000d6810: 2070 6163 6b61 6765 2066 6163 7473 0a20 package facts.
│ │ │ -000d6820: 2070 6163 6b61 6765 5f66 6163 7473 3a0a package_facts:.
│ │ │ -000d6830: 2020 2020 6d61 6e61 6765 723a 2061 7574 manager: aut
│ │ │ -000d6840: 6f0a 2020 7461 6773 3a0a 2020 2d20 4449 o. tags:. - DI
│ │ │ -000d6850: 5341 2d53 5449 472d 5542 5455 2d32 322d SA-STIG-UBTU-22-
│ │ │ -000d6860: 3235 3130 3230 0a20 202d 2065 6e61 626c 251020. - enabl
│ │ │ -000d6870: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ -000d6880: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -000d6890: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -000d68a0: 0a20 202d 206d 6564 6975 6d5f 7365 7665 . - medium_seve
│ │ │ -000d68b0: 7269 7479 0a20 202d 206e 6f5f 7265 626f rity. - no_rebo
│ │ │ -000d68c0: 6f74 5f6e 6565 6465 640a 2020 2d20 7365 ot_needed. - se
│ │ │ -000d68d0: 7276 6963 655f 7566 775f 656e 6162 6c65 rvice_ufw_enable
│ │ │ -000d68e0: 640a 0a2d 206e 616d 653a 2056 6572 6966 d..- name: Verif
│ │ │ -000d68f0: 7920 7566 7720 456e 6162 6c65 6420 2d20 y ufw Enabled -
│ │ │ -000d6900: 456e 6162 6c65 2073 6572 7669 6365 2075 Enable service u
│ │ │ -000d6910: 6677 0a20 2062 6c6f 636b 3a0a 0a20 202d fw. block:.. -
│ │ │ -000d6920: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -000d6930: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -000d6940: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ -000d6950: 7469 6e2e 7061 636b 6167 655f 6661 6374 tin.package_fact
│ │ │ -000d6960: 733a 0a20 2020 2020 206d 616e 6167 6572 s:. manager
│ │ │ -000d6970: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65 : auto.. - name
│ │ │ -000d6980: 3a20 5665 7269 6679 2075 6677 2045 6e61 : Verify ufw Ena
│ │ │ -000d6990: 626c 6564 202d 2045 6e61 626c 6520 5365 bled - Enable Se
│ │ │ -000d69a0: 7276 6963 6520 7566 770a 2020 2020 616e rvice ufw. an
│ │ │ -000d69b0: 7369 626c 652e 6275 696c 7469 6e2e 7379 sible.builtin.sy
│ │ │ -000d69c0: 7374 656d 643a 0a20 2020 2020 206e 616d stemd:. nam
│ │ │ -000d69d0: 653a 2075 6677 0a20 2020 2020 2065 6e61 e: ufw. ena
│ │ │ -000d69e0: 626c 6564 3a20 7472 7565 0a20 2020 2020 bled: true.
│ │ │ -000d69f0: 2073 7461 7465 3a20 7374 6172 7465 640a state: started.
│ │ │ -000d6a00: 2020 2020 2020 6d61 736b 6564 3a20 6661 masked: fa
│ │ │ -000d6a10: 6c73 650a 2020 2020 7768 656e 3a0a 2020 lse. when:.
│ │ │ -000d6a20: 2020 2d20 2722 7566 7722 2069 6e20 616e - '"ufw" in an
│ │ │ -000d6a30: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ -000d6a40: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ -000d6a50: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU
│ │ │ -000d6a60: 2d32 322d 3235 3130 3230 0a20 202d 2065 -22-251020. - e
│ │ │ -000d6a70: 6e61 626c 655f 7374 7261 7465 6779 0a20 nable_strategy.
│ │ │ -000d6a80: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -000d6a90: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -000d6aa0: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -000d6ab0: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -000d6ac0: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -000d6ad0: 2d20 7365 7276 6963 655f 7566 775f 656e - service_ufw_en
│ │ │ -000d6ae0: 6162 6c65 640a 2020 2d20 7370 6563 6961 abled. - specia
│ │ │ -000d6af0: 6c5f 7365 7276 6963 655f 626c 6f63 6b0a l_service_block.
│ │ │ -000d6b00: 2020 7768 656e 3a0a 2020 2d20 2722 6c69 when:. - '"li
│ │ │ -000d6b10: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ -000d6b20: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -000d6b30: 6765 7327 0a20 202d 2028 2022 7566 7722 ges'. - ( "ufw"
│ │ │ -000d6b40: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -000d6b50: 732e 7061 636b 6167 6573 2061 6e64 2022 s.packages and "
│ │ │ -000d6b60: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ -000d6b70: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ -000d6b80: 6b61 6765 7320 290a 3c2f 636f 6465 3e3c kages ).<
│ │ │ +000d6300: 6e20 416e 7369 626c 6520 736e 6970 7065 n Ansible snippe
│ │ │ +000d6310: 7420 e287 b23c 2f61 3e3c 6272 3e3c 6469 t ...
<
│ │ │ +000d6390: 7472 3e3c 7468 3e43 6f6d 706c 6578 6974 tr>Complexit
│ │ │ +000d63a0: 793a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f y: low
│ │ │ +000d63b0: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000d63c0: 4469 7372 7570 7469 6f6e 3a3c 2f74 683e Disruption:
│ │ │ +000d63d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Reboot:
│ │ │ +000d63f0: 3c2f 7468 3e3c 7464 3e66 616c 7365 3c2f false
│ │ │ +000d6400: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +000d6410: 5374 7261 7465 6779 3a3c 2f74 683e 3c74 Strategy: enable
<
│ │ │ +000d6440: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ +000d6450: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ +000d6460: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ +000d6470: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ +000d6480: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ +000d6490: 0a20 202d 2044 4953 412d 5354 4947 2d55 . - DISA-STIG-U
│ │ │ +000d64a0: 4254 552d 3232 2d32 3531 3032 300a 2020 BTU-22-251020.
│ │ │ +000d64b0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ +000d64c0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ +000d64d0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ +000d64e0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ +000d64f0: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ +000d6500: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ +000d6510: 0a20 202d 2073 6572 7669 6365 5f75 6677 . - service_ufw
│ │ │ +000d6520: 5f65 6e61 626c 6564 0a0a 2d20 6e61 6d65 _enabled..- name
│ │ │ +000d6530: 3a20 5665 7269 6679 2075 6677 2045 6e61 : Verify ufw Ena
│ │ │ +000d6540: 626c 6564 202d 2045 6e61 626c 6520 7365 bled - Enable se
│ │ │ +000d6550: 7276 6963 6520 7566 770a 2020 626c 6f63 rvice ufw. bloc
│ │ │ +000d6560: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761 k:.. - name: Ga
│ │ │ +000d6570: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ +000d6580: 2066 6163 7473 0a20 2020 2061 6e73 6962 facts. ansib
│ │ │ +000d6590: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +000d65a0: 6765 5f66 6163 7473 3a0a 2020 2020 2020 ge_facts:.
│ │ │ +000d65b0: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20 manager: auto..
│ │ │ +000d65c0: 202d 206e 616d 653a 2056 6572 6966 7920 - name: Verify
│ │ │ +000d65d0: 7566 7720 456e 6162 6c65 6420 2d20 456e ufw Enabled - En
│ │ │ +000d65e0: 6162 6c65 2053 6572 7669 6365 2075 6677 able Service ufw
│ │ │ +000d65f0: 0a20 2020 2061 6e73 6962 6c65 2e62 7569 . ansible.bui
│ │ │ +000d6600: 6c74 696e 2e73 7973 7465 6d64 3a0a 2020 ltin.systemd:.
│ │ │ +000d6610: 2020 2020 6e61 6d65 3a20 7566 770a 2020 name: ufw.
│ │ │ +000d6620: 2020 2020 656e 6162 6c65 643a 2074 7275 enabled: tru
│ │ │ +000d6630: 650a 2020 2020 2020 7374 6174 653a 2073 e. state: s
│ │ │ +000d6640: 7461 7274 6564 0a20 2020 2020 206d 6173 tarted. mas
│ │ │ +000d6650: 6b65 643a 2066 616c 7365 0a20 2020 2077 ked: false. w
│ │ │ +000d6660: 6865 6e3a 0a20 2020 202d 2027 2275 6677 hen:. - '"ufw
│ │ │ +000d6670: 2220 696e 2061 6e73 6962 6c65 5f66 6163 " in ansible_fac
│ │ │ +000d6680: 7473 2e70 6163 6b61 6765 7327 0a20 2074 ts.packages'. t
│ │ │ +000d6690: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ +000d66a0: 4947 2d55 4254 552d 3232 2d32 3531 3032 IG-UBTU-22-25102
│ │ │ +000d66b0: 300a 2020 2d20 656e 6162 6c65 5f73 7472 0. - enable_str
│ │ │ +000d66c0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +000d66d0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +000d66e0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +000d66f0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +000d6700: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +000d6710: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ +000d6720: 5f75 6677 5f65 6e61 626c 6564 0a20 202d _ufw_enabled. -
│ │ │ +000d6730: 2073 7065 6369 616c 5f73 6572 7669 6365 special_service
│ │ │ +000d6740: 5f62 6c6f 636b 0a20 2077 6865 6e3a 0a20 _block. when:.
│ │ │ +000d6750: 202d 2027 226c 696e 7578 2d62 6173 6522 - '"linux-base"
│ │ │ +000d6760: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ +000d6770: 732e 7061 636b 6167 6573 270a 2020 2d20 s.packages'. -
│ │ │ +000d6780: 2820 2275 6677 2220 696e 2061 6e73 6962 ( "ufw" in ansib
│ │ │ +000d6790: 6c65 5f66 6163 7473 2e70 6163 6b61 6765 le_facts.package
│ │ │ +000d67a0: 7320 616e 6420 226c 696e 7578 2d62 6173 s and "linux-bas
│ │ │ +000d67b0: 6522 2069 6e20 616e 7369 626c 655f 6661 e" in ansible_fa
│ │ │ +000d67c0: 6374 732e 7061 636b 6167 6573 2029 0a3c cts.packages ).<
│ │ │ +000d67d0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +000d6880: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +000d6890: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ +000d6920: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +000d6930: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +000d6940: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +000d6950: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +000d6960: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +000d6990: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +000d69a0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ +000d69b0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c inc
│ │ │ +000d69d0: 6c75 6465 2065 6e61 626c 655f 7566 770a lude enable_ufw.
│ │ │ +000d69e0: 0a63 6c61 7373 2065 6e61 626c 655f 7566 .class enable_uf
│ │ │ +000d69f0: 7720 7b0a 2020 7365 7276 6963 6520 7b27 w {. service {'
│ │ │ +000d6a00: 7566 7727 3a0a 2020 2020 656e 6162 6c65 ufw':. enable
│ │ │ +000d6a10: 203d 2667 743b 2074 7275 652c 0a20 2020 => true,.
│ │ │ +000d6a20: 2065 6e73 7572 6520 3d26 6774 3b20 2772 ensure => 'r
│ │ │ +000d6a30: 756e 6e69 6e67 272c 0a20 207d 0a7d 0a3c unning',. }.}.<
│ │ │ +000d6a40: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +000d6af0: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui
│ │ │ +000d6b00: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni
│ │ │ +000d6b10: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +000d6b20: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +000d6b50: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573 .[cus
│ │ │ +000d6b60: 746f 6d69 7a61 7469 6f6e 732e 7365 7276 tomizations.serv
│ │ │ +000d6b70: 6963 6573 5d0a 656e 6162 6c65 6420 3d20 ices].enabled =
│ │ │ +000d6b80: 5b22 7566 7722 5d0a 3c2f 636f 6465 3e3c ["ufw"].<
│ │ │ 000d6b90: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
│ │ │ -00106030: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu
│ │ │ -00106040: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn
│ │ │ -00106050: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.[cu
│ │ │ -001060a0: 7374 6f6d 697a 6174 696f 6e73 2e73 6572 stomizations.ser
│ │ │ -001060b0: 7669 6365 735d 0a6d 6173 6b65 6420 3d20 vices].masked =
│ │ │ -001060c0: 5b22 6b64 756d 702d 746f 6f6c 7322 5d0a ["kdump-tools"].
│ │ │ -001060d0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ -00106180: 5265 6d65 6469 6174 696f 6e20 4b75 6265 Remediation Kube
│ │ │ -00106190: 726e 6574 6573 2073 6e69 7070 6574 20e2 rnetes snippet .
│ │ │ -001061a0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ -00106220: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ -00106230: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -00106240: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ -00106250: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: medium Reboot:
│ │ │ -00106280: 3c2f 7468 3e3c 7464 3e74 7275 653c 2f74 true S
│ │ │ -001062a0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ -001062d0: 636f 6465 3e61 7069 5665 7273 696f 6e3a code>apiVersion:
│ │ │ -001062e0: 206d 6163 6869 6e65 636f 6e66 6967 7572 machineconfigur
│ │ │ -001062f0: 6174 696f 6e2e 6f70 656e 7368 6966 742e ation.openshift.
│ │ │ -00106300: 696f 2f76 310a 6b69 6e64 3a20 4d61 6368 io/v1.kind: Mach
│ │ │ -00106310: 696e 6543 6f6e 6669 670a 7370 6563 3a0a ineConfig.spec:.
│ │ │ -00106320: 2020 636f 6e66 6967 3a0a 2020 2020 6967 config:. ig
│ │ │ -00106330: 6e69 7469 6f6e 3a0a 2020 2020 2020 7665 nition:. ve
│ │ │ -00106340: 7273 696f 6e3a 2033 2e31 2e30 0a20 2020 rsion: 3.1.0.
│ │ │ -00106350: 2073 7973 7465 6d64 3a0a 2020 2020 2020 systemd:.
│ │ │ -00106360: 756e 6974 733a 0a20 2020 2020 202d 206e units:. - n
│ │ │ -00106370: 616d 653a 206b 6475 6d70 2d74 6f6f 6c73 ame: kdump-tools
│ │ │ -00106380: 2e73 6572 7669 6365 0a20 2020 2020 2020 .service.
│ │ │ -00106390: 2065 6e61 626c 6564 3a20 6661 6c73 650a enabled: false.
│ │ │ -001063a0: 2020 2020 2020 2020 6d61 736b 3a20 7472 mask: tr
│ │ │ -001063b0: 7565 0a20 2020 2020 202d 206e 616d 653a ue. - name:
│ │ │ -001063c0: 206b 6475 6d70 2d74 6f6f 6c73 2e73 6f63 kdump-tools.soc
│ │ │ -001063d0: 6b65 740a 2020 2020 2020 2020 656e 6162 ket. enab
│ │ │ -001063e0: 6c65 643a 2066 616c 7365 0a20 2020 2020 led: false.
│ │ │ -001063f0: 2020 206d 6173 6b3a 2074 7275 650a 3c2f mask: true.
│ │ │ -00106400: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ -001064b0: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ -001064c0: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -001064d0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -00106550: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -00106570: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -00106580: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -00106590: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -001065a0: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -001065b0: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -001065c0: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -001065d0: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -001065e0: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
incl
│ │ │ -00106600: 7564 6520 6469 7361 626c 655f 6b64 756d ude disable_kdum
│ │ │ -00106610: 702d 746f 6f6c 730a 0a63 6c61 7373 2064 p-tools..class d
│ │ │ -00106620: 6973 6162 6c65 5f6b 6475 6d70 2d74 6f6f isable_kdump-too
│ │ │ -00106630: 6c73 207b 0a20 2073 6572 7669 6365 207b ls {. service {
│ │ │ -00106640: 276b 6475 6d70 2d74 6f6f 6c73 273a 0a20 'kdump-tools':.
│ │ │ -00106650: 2020 2065 6e61 626c 6520 3d26 6774 3b20 enable =>
│ │ │ -00106660: 6661 6c73 652c 0a20 2020 2065 6e73 7572 false,. ensur
│ │ │ -00106670: 6520 3d26 6774 3b20 2773 746f 7070 6564 e => 'stopped
│ │ │ -00106680: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ -00106690: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ -00106740: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -00106750: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00106760: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -00106790: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001067e0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001067f0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00106800: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -00106810: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00106820: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -00106830: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -00106840: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -00106850: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
- name:
│ │ │ -00106890: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ -001068a0: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ -001068b0: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ -001068c0: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ -001068d0: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ -001068e0: 4947 2d55 4254 552d 3232 2d32 3133 3031 IG-UBTU-22-21301
│ │ │ -001068f0: 350a 2020 2d20 4e49 5354 2d38 3030 2d35 5. - NIST-800-5
│ │ │ -00106900: 332d 434d 2d36 2861 290a 2020 2d20 4e49 3-CM-6(a). - NI
│ │ │ -00106910: 5354 2d38 3030 2d35 332d 434d 2d37 2861 ST-800-53-CM-7(a
│ │ │ -00106920: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -00106930: 332d 434d 2d37 2862 290a 2020 2d20 6469 3-CM-7(b). - di
│ │ │ -00106940: 7361 626c 655f 7374 7261 7465 6779 0a20 sable_strategy.
│ │ │ -00106950: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ -00106960: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ -00106970: 7469 6f6e 0a20 202d 206d 6564 6975 6d5f tion. - medium_
│ │ │ -00106980: 7365 7665 7269 7479 0a20 202d 206e 6f5f severity. - no_
│ │ │ -00106990: 7265 626f 6f74 5f6e 6565 6465 640a 2020 reboot_needed.
│ │ │ -001069a0: 2d20 7365 7276 6963 655f 6b64 756d 705f - service_kdump_
│ │ │ -001069b0: 6469 7361 626c 6564 0a0a 2d20 6e61 6d65 disabled..- name
│ │ │ -001069c0: 3a20 4469 7361 626c 6520 4b44 756d 7020 : Disable KDump
│ │ │ -001069d0: 4b65 726e 656c 2043 7261 7368 2041 6e61 Kernel Crash Ana
│ │ │ -001069e0: 6c79 7a65 7220 286b 6475 6d70 2920 2d20 lyzer (kdump) -
│ │ │ -001069f0: 4469 7361 626c 6520 7365 7276 6963 6520 Disable service
│ │ │ -00106a00: 6b64 756d 702d 746f 6f6c 730a 2020 626c kdump-tools. bl
│ │ │ -00106a10: 6f63 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 ock:.. - name:
│ │ │ -00106a20: 4469 7361 626c 6520 4b44 756d 7020 4b65 Disable KDump Ke
│ │ │ -00106a30: 726e 656c 2043 7261 7368 2041 6e61 6c79 rnel Crash Analy
│ │ │ -00106a40: 7a65 7220 286b 6475 6d70 2920 2d20 436f zer (kdump) - Co
│ │ │ -00106a50: 6c6c 6563 7420 7379 7374 656d 6420 5365 llect systemd Se
│ │ │ -00106a60: 7276 6963 6573 2050 7265 7365 6e74 0a20 rvices Present.
│ │ │ -00106a70: 2020 2020 2069 6e20 7468 6520 5379 7374 in the Syst
│ │ │ -00106a80: 656d 0a20 2020 2061 6e73 6962 6c65 2e62 em. ansible.b
│ │ │ -00106a90: 7569 6c74 696e 2e63 6f6d 6d61 6e64 3a20 uiltin.command:
│ │ │ -00106aa0: 7379 7374 656d 6374 6c20 2d71 206c 6973 systemctl -q lis
│ │ │ -00106ab0: 742d 756e 6974 2d66 696c 6573 202d 2d74 t-unit-files --t
│ │ │ -00106ac0: 7970 6520 7365 7276 6963 650a 2020 2020 ype service.
│ │ │ -00106ad0: 7265 6769 7374 6572 3a20 7365 7276 6963 register: servic
│ │ │ -00106ae0: 655f 6578 6973 7473 0a20 2020 2063 6861 e_exists. cha
│ │ │ -00106af0: 6e67 6564 5f77 6865 6e3a 2066 616c 7365 nged_when: false
│ │ │ -00106b00: 0a20 2020 2066 6169 6c65 645f 7768 656e . failed_when
│ │ │ -00106b10: 3a20 7365 7276 6963 655f 6578 6973 7473 : service_exists
│ │ │ -00106b20: 2e72 6320 6e6f 7420 696e 205b 302c 2031 .rc not in [0, 1
│ │ │ -00106b30: 5d0a 2020 2020 6368 6563 6b5f 6d6f 6465 ]. check_mode
│ │ │ -00106b40: 3a20 6661 6c73 650a 0a20 202d 206e 616d : false.. - nam
│ │ │ -00106b50: 653a 2044 6973 6162 6c65 204b 4475 6d70 e: Disable KDump
│ │ │ -00106b60: 204b 6572 6e65 6c20 4372 6173 6820 416e Kernel Crash An
│ │ │ -00106b70: 616c 797a 6572 2028 6b64 756d 7029 202d alyzer (kdump) -
│ │ │ -00106b80: 2045 6e73 7572 6520 6b64 756d 702d 746f Ensure kdump-to
│ │ │ -00106b90: 6f6c 732e 7365 7276 6963 650a 2020 2020 ols.service.
│ │ │ -00106ba0: 2020 6973 204d 6173 6b65 640a 2020 2020 is Masked.
│ │ │ -00106bb0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ -00106bc0: 7379 7374 656d 643a 0a20 2020 2020 206e systemd:. n
│ │ │ -00106bd0: 616d 653a 206b 6475 6d70 2d74 6f6f 6c73 ame: kdump-tools
│ │ │ -00106be0: 2e73 6572 7669 6365 0a20 2020 2020 2073 .service. s
│ │ │ -00106bf0: 7461 7465 3a20 7374 6f70 7065 640a 2020 tate: stopped.
│ │ │ -00106c00: 2020 2020 656e 6162 6c65 643a 2066 616c enabled: fal
│ │ │ -00106c10: 7365 0a20 2020 2020 206d 6173 6b65 643a se. masked:
│ │ │ -00106c20: 2074 7275 650a 2020 2020 7768 656e 3a20 true. when:
│ │ │ -00106c30: 7365 7276 6963 655f 6578 6973 7473 2e73 service_exists.s
│ │ │ -00106c40: 7464 6f75 745f 6c69 6e65 7320 6973 2073 tdout_lines is s
│ │ │ -00106c50: 6561 7263 6828 226b 6475 6d70 2d74 6f6f earch("kdump-too
│ │ │ -00106c60: 6c73 2e73 6572 7669 6365 222c 206d 756c ls.service", mul
│ │ │ -00106c70: 7469 6c69 6e65 3d54 7275 6529 0a0a 2020 tiline=True)..
│ │ │ -00106c80: 2d20 6e61 6d65 3a20 556e 6974 2053 6f63 - name: Unit Soc
│ │ │ -00106c90: 6b65 7420 4578 6973 7473 202d 206b 6475 ket Exists - kdu
│ │ │ -00106ca0: 6d70 2d74 6f6f 6c73 2e73 6f63 6b65 740a mp-tools.socket.
│ │ │ -00106cb0: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ -00106cc0: 7469 6e2e 636f 6d6d 616e 643a 2073 7973 tin.command: sys
│ │ │ -00106cd0: 7465 6d63 746c 202d 7120 6c69 7374 2d75 temctl -q list-u
│ │ │ -00106ce0: 6e69 742d 6669 6c65 7320 6b64 756d 702d nit-files kdump-
│ │ │ -00106cf0: 746f 6f6c 732e 736f 636b 6574 0a20 2020 tools.socket.
│ │ │ -00106d00: 2072 6567 6973 7465 723a 2073 6f63 6b65 register: socke
│ │ │ -00106d10: 745f 6669 6c65 5f65 7869 7374 730a 2020 t_file_exists.
│ │ │ -00106d20: 2020 6368 616e 6765 645f 7768 656e 3a20 changed_when:
│ │ │ -00106d30: 6661 6c73 650a 2020 2020 6661 696c 6564 false. failed
│ │ │ -00106d40: 5f77 6865 6e3a 2073 6f63 6b65 745f 6669 _when: socket_fi
│ │ │ -00106d50: 6c65 5f65 7869 7374 732e 7263 206e 6f74 le_exists.rc not
│ │ │ -00106d60: 2069 6e20 5b30 2c20 315d 0a20 2020 2063 in [0, 1]. c
│ │ │ -00106d70: 6865 636b 5f6d 6f64 653a 2066 616c 7365 heck_mode: false
│ │ │ -00106d80: 0a0a 2020 2d20 6e61 6d65 3a20 4469 7361 .. - name: Disa
│ │ │ -00106d90: 626c 6520 4b44 756d 7020 4b65 726e 656c ble KDump Kernel
│ │ │ -00106da0: 2043 7261 7368 2041 6e61 6c79 7a65 7220 Crash Analyzer
│ │ │ -00106db0: 286b 6475 6d70 2920 2d20 4469 7361 626c (kdump) - Disabl
│ │ │ -00106dc0: 6520 536f 636b 6574 206b 6475 6d70 2d74 e Socket kdump-t
│ │ │ -00106dd0: 6f6f 6c73 0a20 2020 2061 6e73 6962 6c65 ools. ansible
│ │ │ -00106de0: 2e62 7569 6c74 696e 2e73 7973 7465 6d64 .builtin.systemd
│ │ │ -00106df0: 3a0a 2020 2020 2020 6e61 6d65 3a20 6b64 :. name: kd
│ │ │ -00106e00: 756d 702d 746f 6f6c 732e 736f 636b 6574 ump-tools.socket
│ │ │ -00106e10: 0a20 2020 2020 2065 6e61 626c 6564 3a20 . enabled:
│ │ │ -00106e20: 6661 6c73 650a 2020 2020 2020 7374 6174 false. stat
│ │ │ -00106e30: 653a 2073 746f 7070 6564 0a20 2020 2020 e: stopped.
│ │ │ -00106e40: 206d 6173 6b65 643a 2074 7275 650a 2020 masked: true.
│ │ │ -00106e50: 2020 7768 656e 3a20 736f 636b 6574 5f66 when: socket_f
│ │ │ -00106e60: 696c 655f 6578 6973 7473 2e73 7464 6f75 ile_exists.stdou
│ │ │ -00106e70: 745f 6c69 6e65 7320 6973 2073 6561 7263 t_lines is searc
│ │ │ -00106e80: 6828 226b 6475 6d70 2d74 6f6f 6c73 2e73 h("kdump-tools.s
│ │ │ -00106e90: 6f63 6b65 7422 2c20 6d75 6c74 696c 696e ocket", multilin
│ │ │ -00106ea0: 653d 5472 7565 290a 2020 7461 6773 3a0a e=True). tags:.
│ │ │ -00106eb0: 2020 2d20 4449 5341 2d53 5449 472d 5542 - DISA-STIG-UB
│ │ │ -00106ec0: 5455 2d32 322d 3231 3330 3135 0a20 202d TU-22-213015. -
│ │ │ -00106ed0: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -00106ee0: 3628 6129 0a20 202d 204e 4953 542d 3830 6(a). - NIST-80
│ │ │ -00106ef0: 302d 3533 2d43 4d2d 3728 6129 0a20 202d 0-53-CM-7(a). -
│ │ │ -00106f00: 204e 4953 542d 3830 302d 3533 2d43 4d2d NIST-800-53-CM-
│ │ │ -00106f10: 3728 6229 0a20 202d 2064 6973 6162 6c65 7(b). - disable
│ │ │ -00106f20: 5f73 7472 6174 6567 790a 2020 2d20 6c6f _strategy. - lo
│ │ │ -00106f30: 775f 636f 6d70 6c65 7869 7479 0a20 202d w_complexity. -
│ │ │ -00106f40: 206c 6f77 5f64 6973 7275 7074 696f 6e0a low_disruption.
│ │ │ -00106f50: 2020 2d20 6d65 6469 756d 5f73 6576 6572 - medium_sever
│ │ │ -00106f60: 6974 790a 2020 2d20 6e6f 5f72 6562 6f6f ity. - no_reboo
│ │ │ -00106f70: 745f 6e65 6564 6564 0a20 202d 2073 6572 t_needed. - ser
│ │ │ -00106f80: 7669 6365 5f6b 6475 6d70 5f64 6973 6162 vice_kdump_disab
│ │ │ -00106f90: 6c65 640a 2020 2d20 7370 6563 6961 6c5f led. - special_
│ │ │ -00106fa0: 7365 7276 6963 655f 626c 6f63 6b0a 2020 service_block.
│ │ │ -00106fb0: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba
│ │ │ -00106fc0: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ -00106fd0: 6163 7473 2e70 6163 6b61 6765 7327 0a3c acts.packages'.<
│ │ │ +00106030: 5265 6d65 6469 6174 696f 6e20 416e 7369 Remediation Ansi
│ │ │ +00106040: 626c 6520 736e 6970 7065 7420 e287 b23c ble snippet ...<
│ │ │ +00106050: 2f61 3e3c 6272 3e3c 6469 7620 636c 6173 /a>
Complexity: low Disrup
│ │ │ +00106100: 7469 6f6e 3a3c 2f74 683e 3c74 643e 6c6f tion: lo
│ │ │ +00106110: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00106120: 7468 3e52 6562 6f6f 743a 3c2f 7468 3e3c th>Reboot:<
│ │ │ +00106130: 7464 3e66 616c 7365 3c2f 7464 3e3c 2f74 td>false Strate
│ │ │ +00106150: 6779 3a3c 2f74 683e 3c74 643e 6469 7361 gy: disa
│ │ │ +00106160: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ +00106180: 2d20 6e61 6d65 3a20 4761 7468 6572 2074 - name: Gather t
│ │ │ +00106190: 6865 2070 6163 6b61 6765 2066 6163 7473 he package facts
│ │ │ +001061a0: 0a20 2070 6163 6b61 6765 5f66 6163 7473 . package_facts
│ │ │ +001061b0: 3a0a 2020 2020 6d61 6e61 6765 723a 2061 :. manager: a
│ │ │ +001061c0: 7574 6f0a 2020 7461 6773 3a0a 2020 2d20 uto. tags:. -
│ │ │ +001061d0: 4449 5341 2d53 5449 472d 5542 5455 2d32 DISA-STIG-UBTU-2
│ │ │ +001061e0: 322d 3231 3330 3135 0a20 202d 204e 4953 2-213015. - NIS
│ │ │ +001061f0: 542d 3830 302d 3533 2d43 4d2d 3628 6129 T-800-53-CM-6(a)
│ │ │ +00106200: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +00106210: 2d43 4d2d 3728 6129 0a20 202d 204e 4953 -CM-7(a). - NIS
│ │ │ +00106220: 542d 3830 302d 3533 2d43 4d2d 3728 6229 T-800-53-CM-7(b)
│ │ │ +00106230: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ +00106240: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ +00106250: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ +00106260: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ +00106270: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ +00106280: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ +00106290: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ +001062a0: 5f6b 6475 6d70 5f64 6973 6162 6c65 640a _kdump_disabled.
│ │ │ +001062b0: 0a2d 206e 616d 653a 2044 6973 6162 6c65 .- name: Disable
│ │ │ +001062c0: 204b 4475 6d70 204b 6572 6e65 6c20 4372 KDump Kernel Cr
│ │ │ +001062d0: 6173 6820 416e 616c 797a 6572 2028 6b64 ash Analyzer (kd
│ │ │ +001062e0: 756d 7029 202d 2044 6973 6162 6c65 2073 ump) - Disable s
│ │ │ +001062f0: 6572 7669 6365 206b 6475 6d70 2d74 6f6f ervice kdump-too
│ │ │ +00106300: 6c73 0a20 2062 6c6f 636b 3a0a 0a20 202d ls. block:.. -
│ │ │ +00106310: 206e 616d 653a 2044 6973 6162 6c65 204b name: Disable K
│ │ │ +00106320: 4475 6d70 204b 6572 6e65 6c20 4372 6173 Dump Kernel Cras
│ │ │ +00106330: 6820 416e 616c 797a 6572 2028 6b64 756d h Analyzer (kdum
│ │ │ +00106340: 7029 202d 2043 6f6c 6c65 6374 2073 7973 p) - Collect sys
│ │ │ +00106350: 7465 6d64 2053 6572 7669 6365 7320 5072 temd Services Pr
│ │ │ +00106360: 6573 656e 740a 2020 2020 2020 696e 2074 esent. in t
│ │ │ +00106370: 6865 2053 7973 7465 6d0a 2020 2020 616e he System. an
│ │ │ +00106380: 7369 626c 652e 6275 696c 7469 6e2e 636f sible.builtin.co
│ │ │ +00106390: 6d6d 616e 643a 2073 7973 7465 6d63 746c mmand: systemctl
│ │ │ +001063a0: 202d 7120 6c69 7374 2d75 6e69 742d 6669 -q list-unit-fi
│ │ │ +001063b0: 6c65 7320 2d2d 7479 7065 2073 6572 7669 les --type servi
│ │ │ +001063c0: 6365 0a20 2020 2072 6567 6973 7465 723a ce. register:
│ │ │ +001063d0: 2073 6572 7669 6365 5f65 7869 7374 730a service_exists.
│ │ │ +001063e0: 2020 2020 6368 616e 6765 645f 7768 656e changed_when
│ │ │ +001063f0: 3a20 6661 6c73 650a 2020 2020 6661 696c : false. fail
│ │ │ +00106400: 6564 5f77 6865 6e3a 2073 6572 7669 6365 ed_when: service
│ │ │ +00106410: 5f65 7869 7374 732e 7263 206e 6f74 2069 _exists.rc not i
│ │ │ +00106420: 6e20 5b30 2c20 315d 0a20 2020 2063 6865 n [0, 1]. che
│ │ │ +00106430: 636b 5f6d 6f64 653a 2066 616c 7365 0a0a ck_mode: false..
│ │ │ +00106440: 2020 2d20 6e61 6d65 3a20 4469 7361 626c - name: Disabl
│ │ │ +00106450: 6520 4b44 756d 7020 4b65 726e 656c 2043 e KDump Kernel C
│ │ │ +00106460: 7261 7368 2041 6e61 6c79 7a65 7220 286b rash Analyzer (k
│ │ │ +00106470: 6475 6d70 2920 2d20 456e 7375 7265 206b dump) - Ensure k
│ │ │ +00106480: 6475 6d70 2d74 6f6f 6c73 2e73 6572 7669 dump-tools.servi
│ │ │ +00106490: 6365 0a20 2020 2020 2069 7320 4d61 736b ce. is Mask
│ │ │ +001064a0: 6564 0a20 2020 2061 6e73 6962 6c65 2e62 ed. ansible.b
│ │ │ +001064b0: 7569 6c74 696e 2e73 7973 7465 6d64 3a0a uiltin.systemd:.
│ │ │ +001064c0: 2020 2020 2020 6e61 6d65 3a20 6b64 756d name: kdum
│ │ │ +001064d0: 702d 746f 6f6c 732e 7365 7276 6963 650a p-tools.service.
│ │ │ +001064e0: 2020 2020 2020 7374 6174 653a 2073 746f state: sto
│ │ │ +001064f0: 7070 6564 0a20 2020 2020 2065 6e61 626c pped. enabl
│ │ │ +00106500: 6564 3a20 6661 6c73 650a 2020 2020 2020 ed: false.
│ │ │ +00106510: 6d61 736b 6564 3a20 7472 7565 0a20 2020 masked: true.
│ │ │ +00106520: 2077 6865 6e3a 2073 6572 7669 6365 5f65 when: service_e
│ │ │ +00106530: 7869 7374 732e 7374 646f 7574 5f6c 696e xists.stdout_lin
│ │ │ +00106540: 6573 2069 7320 7365 6172 6368 2822 6b64 es is search("kd
│ │ │ +00106550: 756d 702d 746f 6f6c 732e 7365 7276 6963 ump-tools.servic
│ │ │ +00106560: 6522 2c20 6d75 6c74 696c 696e 653d 5472 e", multiline=Tr
│ │ │ +00106570: 7565 290a 0a20 202d 206e 616d 653a 2055 ue).. - name: U
│ │ │ +00106580: 6e69 7420 536f 636b 6574 2045 7869 7374 nit Socket Exist
│ │ │ +00106590: 7320 2d20 6b64 756d 702d 746f 6f6c 732e s - kdump-tools.
│ │ │ +001065a0: 736f 636b 6574 0a20 2020 2061 6e73 6962 socket. ansib
│ │ │ +001065b0: 6c65 2e62 7569 6c74 696e 2e63 6f6d 6d61 le.builtin.comma
│ │ │ +001065c0: 6e64 3a20 7379 7374 656d 6374 6c20 2d71 nd: systemctl -q
│ │ │ +001065d0: 206c 6973 742d 756e 6974 2d66 696c 6573 list-unit-files
│ │ │ +001065e0: 206b 6475 6d70 2d74 6f6f 6c73 2e73 6f63 kdump-tools.soc
│ │ │ +001065f0: 6b65 740a 2020 2020 7265 6769 7374 6572 ket. register
│ │ │ +00106600: 3a20 736f 636b 6574 5f66 696c 655f 6578 : socket_file_ex
│ │ │ +00106610: 6973 7473 0a20 2020 2063 6861 6e67 6564 ists. changed
│ │ │ +00106620: 5f77 6865 6e3a 2066 616c 7365 0a20 2020 _when: false.
│ │ │ +00106630: 2066 6169 6c65 645f 7768 656e 3a20 736f failed_when: so
│ │ │ +00106640: 636b 6574 5f66 696c 655f 6578 6973 7473 cket_file_exists
│ │ │ +00106650: 2e72 6320 6e6f 7420 696e 205b 302c 2031 .rc not in [0, 1
│ │ │ +00106660: 5d0a 2020 2020 6368 6563 6b5f 6d6f 6465 ]. check_mode
│ │ │ +00106670: 3a20 6661 6c73 650a 0a20 202d 206e 616d : false.. - nam
│ │ │ +00106680: 653a 2044 6973 6162 6c65 204b 4475 6d70 e: Disable KDump
│ │ │ +00106690: 204b 6572 6e65 6c20 4372 6173 6820 416e Kernel Crash An
│ │ │ +001066a0: 616c 797a 6572 2028 6b64 756d 7029 202d alyzer (kdump) -
│ │ │ +001066b0: 2044 6973 6162 6c65 2053 6f63 6b65 7420 Disable Socket
│ │ │ +001066c0: 6b64 756d 702d 746f 6f6c 730a 2020 2020 kdump-tools.
│ │ │ +001066d0: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +001066e0: 7379 7374 656d 643a 0a20 2020 2020 206e systemd:. n
│ │ │ +001066f0: 616d 653a 206b 6475 6d70 2d74 6f6f 6c73 ame: kdump-tools
│ │ │ +00106700: 2e73 6f63 6b65 740a 2020 2020 2020 656e .socket. en
│ │ │ +00106710: 6162 6c65 643a 2066 616c 7365 0a20 2020 abled: false.
│ │ │ +00106720: 2020 2073 7461 7465 3a20 7374 6f70 7065 state: stoppe
│ │ │ +00106730: 640a 2020 2020 2020 6d61 736b 6564 3a20 d. masked:
│ │ │ +00106740: 7472 7565 0a20 2020 2077 6865 6e3a 2073 true. when: s
│ │ │ +00106750: 6f63 6b65 745f 6669 6c65 5f65 7869 7374 ocket_file_exist
│ │ │ +00106760: 732e 7374 646f 7574 5f6c 696e 6573 2069 s.stdout_lines i
│ │ │ +00106770: 7320 7365 6172 6368 2822 6b64 756d 702d s search("kdump-
│ │ │ +00106780: 746f 6f6c 732e 736f 636b 6574 222c 206d tools.socket", m
│ │ │ +00106790: 756c 7469 6c69 6e65 3d54 7275 6529 0a20 ultiline=True).
│ │ │ +001067a0: 2074 6167 733a 0a20 202d 2044 4953 412d tags:. - DISA-
│ │ │ +001067b0: 5354 4947 2d55 4254 552d 3232 2d32 3133 STIG-UBTU-22-213
│ │ │ +001067c0: 3031 350a 2020 2d20 4e49 5354 2d38 3030 015. - NIST-800
│ │ │ +001067d0: 2d35 332d 434d 2d36 2861 290a 2020 2d20 -53-CM-6(a). -
│ │ │ +001067e0: 4e49 5354 2d38 3030 2d35 332d 434d 2d37 NIST-800-53-CM-7
│ │ │ +001067f0: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ +00106800: 2d35 332d 434d 2d37 2862 290a 2020 2d20 -53-CM-7(b). -
│ │ │ +00106810: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ +00106820: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +00106830: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +00106840: 7570 7469 6f6e 0a20 202d 206d 6564 6975 uption. - mediu
│ │ │ +00106850: 6d5f 7365 7665 7269 7479 0a20 202d 206e m_severity. - n
│ │ │ +00106860: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +00106870: 2020 2d20 7365 7276 6963 655f 6b64 756d - service_kdum
│ │ │ +00106880: 705f 6469 7361 626c 6564 0a20 202d 2073 p_disabled. - s
│ │ │ +00106890: 7065 6369 616c 5f73 6572 7669 6365 5f62 pecial_service_b
│ │ │ +001068a0: 6c6f 636b 0a20 2077 6865 6e3a 2027 226c lock. when: '"l
│ │ │ +001068b0: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ +001068c0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +001068d0: 6167 6573 270a 3c2f 636f 6465 3e3c 2f70 ages'.Remediatio
│ │ │ +00106990: 6e20 4b75 6265 726e 6574 6573 2073 6e69 n Kubernetes sni
│ │ │ +001069a0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +001069b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +001069e0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +00106a30: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +00106a40: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00106a50: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +00106a60: 7468 3e3c 7464 3e6d 6564 6975 6d3c 2f74 th>medium R
│ │ │ +00106a80: 6562 6f6f 743a 3c2f 7468 3e3c 7464 3e74 eboot: t
│ │ │ +00106a90: 7275 653c 2f74 643e 3c2f 7472 3e3c 7472 rue Strategy:
│ │ │ +00106ab0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +00106ac0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +00106ad0: 3c70 7265 3e3c 636f 6465 3e61 7069 5665 apiVe
│ │ │ +00106ae0: 7273 696f 6e3a 206d 6163 6869 6e65 636f rsion: machineco
│ │ │ +00106af0: 6e66 6967 7572 6174 696f 6e2e 6f70 656e nfiguration.open
│ │ │ +00106b00: 7368 6966 742e 696f 2f76 310a 6b69 6e64 shift.io/v1.kind
│ │ │ +00106b10: 3a20 4d61 6368 696e 6543 6f6e 6669 670a : MachineConfig.
│ │ │ +00106b20: 7370 6563 3a0a 2020 636f 6e66 6967 3a0a spec:. config:.
│ │ │ +00106b30: 2020 2020 6967 6e69 7469 6f6e 3a0a 2020 ignition:.
│ │ │ +00106b40: 2020 2020 7665 7273 696f 6e3a 2033 2e31 version: 3.1
│ │ │ +00106b50: 2e30 0a20 2020 2073 7973 7465 6d64 3a0a .0. systemd:.
│ │ │ +00106b60: 2020 2020 2020 756e 6974 733a 0a20 2020 units:.
│ │ │ +00106b70: 2020 202d 206e 616d 653a 206b 6475 6d70 - name: kdump
│ │ │ +00106b80: 2d74 6f6f 6c73 2e73 6572 7669 6365 0a20 -tools.service.
│ │ │ +00106b90: 2020 2020 2020 2065 6e61 626c 6564 3a20 enabled:
│ │ │ +00106ba0: 6661 6c73 650a 2020 2020 2020 2020 6d61 false. ma
│ │ │ +00106bb0: 736b 3a20 7472 7565 0a20 2020 2020 202d sk: true. -
│ │ │ +00106bc0: 206e 616d 653a 206b 6475 6d70 2d74 6f6f name: kdump-too
│ │ │ +00106bd0: 6c73 2e73 6f63 6b65 740a 2020 2020 2020 ls.socket.
│ │ │ +00106be0: 2020 656e 6162 6c65 643a 2066 616c 7365 enabled: false
│ │ │ +00106bf0: 0a20 2020 2020 2020 206d 6173 6b3a 2074 . mask: t
│ │ │ +00106c00: 7275 650a 3c2f 636f 6465 3e3c 2f70 7265 rue.
Remediation
│ │ │ +00106cc0: 5075 7070 6574 2073 6e69 7070 6574 20e2 Puppet snippet .
│ │ │ +00106cd0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +00106d50: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +00106d60: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00106d70: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +00106d80: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +00106dc0: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +00106dd0: 6174 6567 793a 3c2f 7468 3e3c 7464 3e65 ategy: e
│ │ │ +00106de0: 6e61 626c 653c 2f74 643e 3c2f 7472 3e3c nable <
│ │ │ +00106df0: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>include disabl
│ │ │ +00106e10: 655f 6b64 756d 702d 746f 6f6c 730a 0a63 e_kdump-tools..c
│ │ │ +00106e20: 6c61 7373 2064 6973 6162 6c65 5f6b 6475 lass disable_kdu
│ │ │ +00106e30: 6d70 2d74 6f6f 6c73 207b 0a20 2073 6572 mp-tools {. ser
│ │ │ +00106e40: 7669 6365 207b 276b 6475 6d70 2d74 6f6f vice {'kdump-too
│ │ │ +00106e50: 6c73 273a 0a20 2020 2065 6e61 626c 6520 ls':. enable
│ │ │ +00106e60: 3d26 6774 3b20 6661 6c73 652c 0a20 2020 => false,.
│ │ │ +00106e70: 2065 6e73 7572 6520 3d26 6774 3b20 2773 ensure => 's
│ │ │ +00106e80: 746f 7070 6564 272c 0a20 207d 0a7d 0a3c topped',. }.}.<
│ │ │ +00106e90: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ +00106f40: 656d 6564 6961 7469 6f6e 204f 5342 7569 emediation OSBui
│ │ │ +00106f50: 6c64 2042 6c75 6570 7269 6e74 2073 6e69 ld Blueprint sni
│ │ │ +00106f60: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00106f70: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +00106fa0: 3c70 7265 3e3c 636f 6465 3e0a 5b63 7573 .[cus
│ │ │ +00106fb0: 746f 6d69 7a61 7469 6f6e 732e 7365 7276 tomizations.serv
│ │ │ +00106fc0: 6963 6573 5d0a 6d61 736b 6564 203d 205b ices].masked = [
│ │ │ +00106fd0: 226b 6475 6d70 2d74 6f6f 6c73 225d 0a3c "kdump-tools"].<
│ │ │ 00106fe0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
Remed
│ │ │ -001088a0: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ -001088b0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ -00108940: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ -00108950: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00108960: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ -00108970: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ -00108980: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ -00108990: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ -001089a0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ -001089b0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ -001089e0: 7072 653e 3c63 6f64 653e 0a69 6e63 6c75 pre>.inclu
│ │ │ -001089f0: 6465 2072 656d 6f76 655f 7465 6c6e 6574 de remove_telnet
│ │ │ -00108a00: 640a 0a63 6c61 7373 2072 656d 6f76 655f d..class remove_
│ │ │ -00108a10: 7465 6c6e 6574 6420 7b0a 2020 7061 636b telnetd {. pack
│ │ │ -00108a20: 6167 6520 7b20 2774 656c 6e65 7464 273a age { 'telnetd':
│ │ │ -00108a30: 0a20 2020 2065 6e73 7572 6520 3d26 6774 . ensure =>
│ │ │ -00108a40: 3b20 2770 7572 6765 6427 2c0a 2020 7d0a ; 'purged',. }.
│ │ │ -00108a50: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.<
│ │ │ -00108a60: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -00108b10: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -00108b20: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -00108ba0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -00108bb0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00108bc0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -00108bd0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -00108be0: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -00108c10: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -00108c20: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -00108c30: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -00108c40: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>- name: 'Unins
│ │ │ -00108c60: 7461 6c6c 2074 6865 2074 656c 6e65 7420 tall the telnet
│ │ │ -00108c70: 7365 7276 6572 3a20 456e 7375 7265 2074 server: Ensure t
│ │ │ -00108c80: 656c 6e65 7464 2069 7320 7265 6d6f 7665 elnetd is remove
│ │ │ -00108c90: 6427 0a20 2061 6e73 6962 6c65 2e62 7569 d'. ansible.bui
│ │ │ -00108ca0: 6c74 696e 2e70 6163 6b61 6765 3a0a 2020 ltin.package:.
│ │ │ -00108cb0: 2020 6e61 6d65 3a20 7465 6c6e 6574 640a name: telnetd.
│ │ │ -00108cc0: 2020 2020 7374 6174 653a 2061 6273 656e state: absen
│ │ │ -00108cd0: 740a 2020 7461 6773 3a0a 2020 2d20 4449 t. tags:. - DI
│ │ │ -00108ce0: 5341 2d53 5449 472d 5542 5455 2d32 322d SA-STIG-UBTU-22-
│ │ │ -00108cf0: 3231 3530 3335 0a20 202d 204e 4953 542d 215035. - NIST-
│ │ │ -00108d00: 3830 302d 3533 2d43 4d2d 3628 6129 0a20 800-53-CM-6(a).
│ │ │ -00108d10: 202d 204e 4953 542d 3830 302d 3533 2d43 - NIST-800-53-C
│ │ │ -00108d20: 4d2d 3728 6129 0a20 202d 204e 4953 542d M-7(a). - NIST-
│ │ │ -00108d30: 3830 302d 3533 2d43 4d2d 3728 6229 0a20 800-53-CM-7(b).
│ │ │ -00108d40: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ -00108d50: 6567 790a 2020 2d20 6869 6768 5f73 6576 egy. - high_sev
│ │ │ -00108d60: 6572 6974 790a 2020 2d20 6c6f 775f 636f erity. - low_co
│ │ │ -00108d70: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -00108d80: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -00108d90: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -00108da0: 0a20 202d 2070 6163 6b61 6765 5f74 656c . - package_tel
│ │ │ -00108db0: 6e65 7464 5f72 656d 6f76 6564 0a3c 2f63 netd_removed.Comp
│ │ │ +00108940: 6c65 7869 7479 3a3c 2f74 683e 3c74 643e lexity:
│ │ │ +00108950: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Disruption:
│ │ │ +00108970: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Re
│ │ │ +00108990: 626f 6f74 3a3c 2f74 683e 3c74 643e 6661 boot: fa
│ │ │ +001089a0: 6c73 653c 2f74 643e 3c2f 7472 3e3c 7472 lse Strategy:
│ │ │ +001089c0: 7468 3e3c 7464 3e64 6973 6162 6c65 3c2f th> disable
│ │ │ +001089d0: 7464 3e3c 2f74 723e 3c2f 7461 626c 653e td>
│ │ │ +001089e0: 3c70 7265 3e3c 636f 6465 3e2d 206e 616d - nam
│ │ │ +001089f0: 653a 2027 556e 696e 7374 616c 6c20 7468 e: 'Uninstall th
│ │ │ +00108a00: 6520 7465 6c6e 6574 2073 6572 7665 723a e telnet server:
│ │ │ +00108a10: 2045 6e73 7572 6520 7465 6c6e 6574 6420 Ensure telnetd
│ │ │ +00108a20: 6973 2072 656d 6f76 6564 270a 2020 616e is removed'. an
│ │ │ +00108a30: 7369 626c 652e 6275 696c 7469 6e2e 7061 sible.builtin.pa
│ │ │ +00108a40: 636b 6167 653a 0a20 2020 206e 616d 653a ckage:. name:
│ │ │ +00108a50: 2074 656c 6e65 7464 0a20 2020 2073 7461 telnetd. sta
│ │ │ +00108a60: 7465 3a20 6162 7365 6e74 0a20 2074 6167 te: absent. tag
│ │ │ +00108a70: 733a 0a20 202d 2044 4953 412d 5354 4947 s:. - DISA-STIG
│ │ │ +00108a80: 2d55 4254 552d 3232 2d32 3135 3033 350a -UBTU-22-215035.
│ │ │ +00108a90: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +00108aa0: 434d 2d36 2861 290a 2020 2d20 4e49 5354 CM-6(a). - NIST
│ │ │ +00108ab0: 2d38 3030 2d35 332d 434d 2d37 2861 290a -800-53-CM-7(a).
│ │ │ +00108ac0: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +00108ad0: 434d 2d37 2862 290a 2020 2d20 6469 7361 CM-7(b). - disa
│ │ │ +00108ae0: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +00108af0: 2068 6967 685f 7365 7665 7269 7479 0a20 high_severity.
│ │ │ +00108b00: 202d 206c 6f77 5f63 6f6d 706c 6578 6974 - low_complexit
│ │ │ +00108b10: 790a 2020 2d20 6c6f 775f 6469 7372 7570 y. - low_disrup
│ │ │ +00108b20: 7469 6f6e 0a20 202d 206e 6f5f 7265 626f tion. - no_rebo
│ │ │ +00108b30: 6f74 5f6e 6565 6465 640a 2020 2d20 7061 ot_needed. - pa
│ │ │ +00108b40: 636b 6167 655f 7465 6c6e 6574 645f 7265 ckage_telnetd_re
│ │ │ +00108b50: 6d6f 7665 640a 3c2f 636f 6465 3e3c 2f70 moved.
Remediatio
│ │ │ +00108c10: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ +00108c20: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ +00108cb0: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ +00108cd0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ +00108ce0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +00108cf0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ +00108d00: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ +00108d20: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ +00108d50: 636f 6465 3e0a 696e 636c 7564 6520 7265 code>.include re
│ │ │ +00108d60: 6d6f 7665 5f74 656c 6e65 7464 0a0a 636c move_telnetd..cl
│ │ │ +00108d70: 6173 7320 7265 6d6f 7665 5f74 656c 6e65 ass remove_telne
│ │ │ +00108d80: 7464 207b 0a20 2070 6163 6b61 6765 207b td {. package {
│ │ │ +00108d90: 2027 7465 6c6e 6574 6427 3a0a 2020 2020 'telnetd':.
│ │ │ +00108da0: 656e 7375 7265 203d 2667 743b 2027 7075 ensure => 'pu
│ │ │ +00108db0: 7267 6564 272c 0a20 207d 0a7d 0a3c 2f63 rged',. }.}.
│ │ │ 00108dd0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Re
│ │ │ -0010ada0: 6d65 6469 6174 696f 6e20 4f53 4275 696c mediation OSBuil
│ │ │ -0010adb0: 6420 426c 7565 7072 696e 7420 736e 6970 d Blueprint snip
│ │ │ -0010adc0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -0010add0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -0010ade0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -0010adf0: 7365 2220 6964 3d22 6964 3239 3122 3e3c se" id="id291"><
│ │ │ -0010ae00: 7072 653e 3c63 6f64 653e 0a5b 5b70 6163 pre>.[[pac
│ │ │ -0010ae10: 6b61 6765 735d 5d0a 6e61 6d65 203d 2022 kages]].name = "
│ │ │ -0010ae20: 6368 726f 6e79 220a 7665 7273 696f 6e20 chrony".version
│ │ │ -0010ae30: 3d20 222a 220a 3c2f 636f 6465 3e3c 2f70 = "*".Remediatio
│ │ │ -0010aef0: 6e20 5075 7070 6574 2073 6e69 7070 6574 n Puppet snippet
│ │ │ -0010af00: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -0010af90: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -0010afb0: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -0010afc0: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0010afd0: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -0010afe0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -0010b000: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: enable
include inst
│ │ │ -0010b040: 616c 6c5f 6368 726f 6e79 0a0a 636c 6173 all_chrony..clas
│ │ │ -0010b050: 7320 696e 7374 616c 6c5f 6368 726f 6e79 s install_chrony
│ │ │ -0010b060: 207b 0a20 2070 6163 6b61 6765 207b 2027 {. package { '
│ │ │ -0010b070: 6368 726f 6e79 273a 0a20 2020 2065 6e73 chrony':. ens
│ │ │ -0010b080: 7572 6520 3d26 6774 3b20 2769 6e73 7461 ure => 'insta
│ │ │ -0010b090: 6c6c 6564 272c 0a20 207d 0a7d 0a3c 2f63 lled',. }.}.
│ │ │ -0010b0b0: 3c61 2063 6c61 7373 3d22 6274 6e20 6274 Rem
│ │ │ -0010b150: 6564 6961 7469 6f6e 2041 6e73 6962 6c65 ediation Ansible
│ │ │ -0010b160: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ -0010b170: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ -0010b1f0: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ -0010b210: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ -0010b220: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ -0010b230: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ -0010b240: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ -0010b250: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ -0010b260: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ -0010b270: 3c2f 7468 3e3c 7464 3e65 6e61 626c 653c enable<
│ │ │ -0010b280: 2f74 643e 3c2f 7472 3e3c 2f74 6162 6c65 /td>
- na
│ │ │ -0010b2a0: 6d65 3a20 4761 7468 6572 2074 6865 2070 me: Gather the p
│ │ │ -0010b2b0: 6163 6b61 6765 2066 6163 7473 0a20 2070 ackage facts. p
│ │ │ -0010b2c0: 6163 6b61 6765 5f66 6163 7473 3a0a 2020 ackage_facts:.
│ │ │ -0010b2d0: 2020 6d61 6e61 6765 723a 2061 7574 6f0a manager: auto.
│ │ │ -0010b2e0: 2020 7461 6773 3a0a 2020 2d20 4449 5341 tags:. - DISA
│ │ │ -0010b2f0: 2d53 5449 472d 5542 5455 2d32 322d 3231 -STIG-UBTU-22-21
│ │ │ -0010b300: 3530 3135 0a20 202d 2050 4349 2d44 5353 5015. - PCI-DSS
│ │ │ -0010b310: 2d52 6571 2d31 302e 340a 2020 2d20 5043 -Req-10.4. - PC
│ │ │ -0010b320: 492d 4453 5376 342d 3130 2e36 0a20 202d I-DSSv4-10.6. -
│ │ │ -0010b330: 2050 4349 2d44 5353 7634 2d31 302e 362e PCI-DSSv4-10.6.
│ │ │ -0010b340: 310a 2020 2d20 656e 6162 6c65 5f73 7472 1. - enable_str
│ │ │ -0010b350: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -0010b360: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -0010b370: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -0010b380: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -0010b390: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -0010b3a0: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -0010b3b0: 5f63 6872 6f6e 795f 696e 7374 616c 6c65 _chrony_installe
│ │ │ -0010b3c0: 640a 0a2d 206e 616d 653a 2045 6e73 7572 d..- name: Ensur
│ │ │ -0010b3d0: 6520 6368 726f 6e79 2069 7320 696e 7374 e chrony is inst
│ │ │ -0010b3e0: 616c 6c65 640a 2020 616e 7369 626c 652e alled. ansible.
│ │ │ -0010b3f0: 6275 696c 7469 6e2e 7061 636b 6167 653a builtin.package:
│ │ │ -0010b400: 0a20 2020 206e 616d 653a 2063 6872 6f6e . name: chron
│ │ │ -0010b410: 790a 2020 2020 7374 6174 653a 2070 7265 y. state: pre
│ │ │ -0010b420: 7365 6e74 0a20 2077 6865 6e3a 2027 226c sent. when: '"l
│ │ │ -0010b430: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ -0010b440: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ -0010b450: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ -0010b460: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU
│ │ │ -0010b470: 2d32 322d 3231 3530 3135 0a20 202d 2050 -22-215015. - P
│ │ │ -0010b480: 4349 2d44 5353 2d52 6571 2d31 302e 340a CI-DSS-Req-10.4.
│ │ │ -0010b490: 2020 2d20 5043 492d 4453 5376 342d 3130 - PCI-DSSv4-10
│ │ │ -0010b4a0: 2e36 0a20 202d 2050 4349 2d44 5353 7634 .6. - PCI-DSSv4
│ │ │ -0010b4b0: 2d31 302e 362e 310a 2020 2d20 656e 6162 -10.6.1. - enab
│ │ │ -0010b4c0: 6c65 5f73 7472 6174 6567 790a 2020 2d20 le_strategy. -
│ │ │ -0010b4d0: 6c6f 775f 636f 6d70 6c65 7869 7479 0a20 low_complexity.
│ │ │ -0010b4e0: 202d 206c 6f77 5f64 6973 7275 7074 696f - low_disruptio
│ │ │ -0010b4f0: 6e0a 2020 2d20 6d65 6469 756d 5f73 6576 n. - medium_sev
│ │ │ -0010b500: 6572 6974 790a 2020 2d20 6e6f 5f72 6562 erity. - no_reb
│ │ │ -0010b510: 6f6f 745f 6e65 6564 6564 0a20 202d 2070 oot_needed. - p
│ │ │ -0010b520: 6163 6b61 6765 5f63 6872 6f6e 795f 696e ackage_chrony_in
│ │ │ -0010b530: 7374 616c 6c65 640a 3c2f 636f 6465 3e3c stalled.<
│ │ │ +0010ada0: 6d65 6469 6174 696f 6e20 416e 7369 626c mediation Ansibl
│ │ │ +0010adb0: 6520 736e 6970 7065 7420 e287 b23c 2f61 e snippet ...
C
│ │ │ +0010ae40: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +0010ae50: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +0010ae60: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +0010ae70: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +0010ae80: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +0010aeb0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +0010aec0: 3a3c 2f74 683e 3c74 643e 656e 6162 6c65 : enable
│ │ │ +0010aed0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c - n
│ │ │ +0010aef0: 616d 653a 2047 6174 6865 7220 7468 6520 ame: Gather the
│ │ │ +0010af00: 7061 636b 6167 6520 6661 6374 730a 2020 package facts.
│ │ │ +0010af10: 7061 636b 6167 655f 6661 6374 733a 0a20 package_facts:.
│ │ │ +0010af20: 2020 206d 616e 6167 6572 3a20 6175 746f manager: auto
│ │ │ +0010af30: 0a20 2074 6167 733a 0a20 202d 2044 4953 . tags:. - DIS
│ │ │ +0010af40: 412d 5354 4947 2d55 4254 552d 3232 2d32 A-STIG-UBTU-22-2
│ │ │ +0010af50: 3135 3031 350a 2020 2d20 5043 492d 4453 15015. - PCI-DS
│ │ │ +0010af60: 532d 5265 712d 3130 2e34 0a20 202d 2050 S-Req-10.4. - P
│ │ │ +0010af70: 4349 2d44 5353 7634 2d31 302e 360a 2020 CI-DSSv4-10.6.
│ │ │ +0010af80: 2d20 5043 492d 4453 5376 342d 3130 2e36 - PCI-DSSv4-10.6
│ │ │ +0010af90: 2e31 0a20 202d 2065 6e61 626c 655f 7374 .1. - enable_st
│ │ │ +0010afa0: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +0010afb0: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +0010afc0: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +0010afd0: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +0010afe0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +0010aff0: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ +0010b000: 655f 6368 726f 6e79 5f69 6e73 7461 6c6c e_chrony_install
│ │ │ +0010b010: 6564 0a0a 2d20 6e61 6d65 3a20 456e 7375 ed..- name: Ensu
│ │ │ +0010b020: 7265 2063 6872 6f6e 7920 6973 2069 6e73 re chrony is ins
│ │ │ +0010b030: 7461 6c6c 6564 0a20 2061 6e73 6962 6c65 talled. ansible
│ │ │ +0010b040: 2e62 7569 6c74 696e 2e70 6163 6b61 6765 .builtin.package
│ │ │ +0010b050: 3a0a 2020 2020 6e61 6d65 3a20 6368 726f :. name: chro
│ │ │ +0010b060: 6e79 0a20 2020 2073 7461 7465 3a20 7072 ny. state: pr
│ │ │ +0010b070: 6573 656e 740a 2020 7768 656e 3a20 2722 esent. when: '"
│ │ │ +0010b080: 6c69 6e75 782d 6261 7365 2220 696e 2061 linux-base" in a
│ │ │ +0010b090: 6e73 6962 6c65 5f66 6163 7473 2e70 6163 nsible_facts.pac
│ │ │ +0010b0a0: 6b61 6765 7327 0a20 2074 6167 733a 0a20 kages'. tags:.
│ │ │ +0010b0b0: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT
│ │ │ +0010b0c0: 552d 3232 2d32 3135 3031 350a 2020 2d20 U-22-215015. -
│ │ │ +0010b0d0: 5043 492d 4453 532d 5265 712d 3130 2e34 PCI-DSS-Req-10.4
│ │ │ +0010b0e0: 0a20 202d 2050 4349 2d44 5353 7634 2d31 . - PCI-DSSv4-1
│ │ │ +0010b0f0: 302e 360a 2020 2d20 5043 492d 4453 5376 0.6. - PCI-DSSv
│ │ │ +0010b100: 342d 3130 2e36 2e31 0a20 202d 2065 6e61 4-10.6.1. - ena
│ │ │ +0010b110: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +0010b120: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +0010b130: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +0010b140: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ +0010b150: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ +0010b160: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +0010b170: 7061 636b 6167 655f 6368 726f 6e79 5f69 package_chrony_i
│ │ │ +0010b180: 6e73 7461 6c6c 6564 0a3c 2f63 6f64 653e nstalled.
│ │ │ +0010b190: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remedia
│ │ │ +0010b240: 7469 6f6e 2050 7570 7065 7420 736e 6970 tion Puppet snip
│ │ │ +0010b250: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ +0010b260: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ +0010b270: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ +0010b280: 7365 2220 6964 3d22 6964 3239 3222 3e3c se" id="id292"><
│ │ │ +0010b290: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ +0010b2a0: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ +0010b2b0: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ +0010b2c0: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ +0010b2d0: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ +0010b2e0: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ +0010b2f0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ +0010b320: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ +0010b330: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ +0010b340: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ +0010b360: 3c74 643e 656e 6162 6c65 3c2f 7464 3e3c enable <
│ │ │ +0010b370: 2f74 723e 3c2f 7461 626c 653e 3c70 7265 /tr>
include i
│ │ │ +0010b390: 6e73 7461 6c6c 5f63 6872 6f6e 790a 0a63 nstall_chrony..c
│ │ │ +0010b3a0: 6c61 7373 2069 6e73 7461 6c6c 5f63 6872 lass install_chr
│ │ │ +0010b3b0: 6f6e 7920 7b0a 2020 7061 636b 6167 6520 ony {. package
│ │ │ +0010b3c0: 7b20 2763 6872 6f6e 7927 3a0a 2020 2020 { 'chrony':.
│ │ │ +0010b3d0: 656e 7375 7265 203d 2667 743b 2027 696e ensure => 'in
│ │ │ +0010b3e0: 7374 616c 6c65 6427 2c0a 2020 7d0a 7d0a stalled',. }.}.
│ │ │ +0010b3f0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +0010b4a0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu
│ │ │ +0010b4b0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn
│ │ │ +0010b4c0: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.[[p
│ │ │ +0010b510: 6163 6b61 6765 735d 5d0a 6e61 6d65 203d ackages]].name =
│ │ │ +0010b520: 2022 6368 726f 6e79 220a 7665 7273 696f "chrony".versio
│ │ │ +0010b530: 6e20 3d20 222a 220a 3c2f 636f 6465 3e3c n = "*".<
│ │ │ 0010b540: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>
Remedi
│ │ │ -0010c150: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -0010c160: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -0010c170: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -0010c1a0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -0010c1f0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -0010c200: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -0010c210: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -0010c220: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -0010c230: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -0010c240: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -0010c250: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -0010c260: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:disable
.includ
│ │ │ -0010c2a0: 6520 7265 6d6f 7665 5f6e 7470 0a0a 636c e remove_ntp..cl
│ │ │ -0010c2b0: 6173 7320 7265 6d6f 7665 5f6e 7470 207b ass remove_ntp {
│ │ │ -0010c2c0: 0a20 2070 6163 6b61 6765 207b 2027 6e74 . package { 'nt
│ │ │ -0010c2d0: 7027 3a0a 2020 2020 656e 7375 7265 203d p':. ensure =
│ │ │ -0010c2e0: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ -0010c2f0: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remediation
│ │ │ -0010c3b0: 2041 6e73 6962 6c65 2073 6e69 7070 6574 Ansible snippet
│ │ │ -0010c3c0: 20e2 87b2 3c2f 613e 3c62 723e 3c64 6976 ...
Complexity
│ │ │ -0010c450: 3a3c 2f74 683e 3c74 643e 6c6f 773c 2f74 : low D
│ │ │ -0010c470: 6973 7275 7074 696f 6e3a 3c2f 7468 3e3c isruption: <
│ │ │ -0010c480: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -0010c490: 3c74 723e 3c74 683e 5265 626f 6f74 3a3c Reboot:<
│ │ │ -0010c4a0: 2f74 683e 3c74 643e 6661 6c73 653c 2f74 /th> false S
│ │ │ -0010c4c0: 7472 6174 6567 793a 3c2f 7468 3e3c 7464 trategy: disable
<
│ │ │ -0010c4f0: 636f 6465 3e2d 206e 616d 653a 2047 6174 code>- name: Gat
│ │ │ -0010c500: 6865 7220 7468 6520 7061 636b 6167 6520 her the package
│ │ │ -0010c510: 6661 6374 730a 2020 7061 636b 6167 655f facts. package_
│ │ │ -0010c520: 6661 6374 733a 0a20 2020 206d 616e 6167 facts:. manag
│ │ │ -0010c530: 6572 3a20 6175 746f 0a20 2074 6167 733a er: auto. tags:
│ │ │ -0010c540: 0a20 202d 2044 4953 412d 5354 4947 2d55 . - DISA-STIG-U
│ │ │ -0010c550: 4254 552d 3232 2d32 3135 3032 350a 2020 BTU-22-215025.
│ │ │ -0010c560: 2d20 6469 7361 626c 655f 7374 7261 7465 - disable_strate
│ │ │ -0010c570: 6779 0a20 202d 206c 6f77 5f63 6f6d 706c gy. - low_compl
│ │ │ -0010c580: 6578 6974 790a 2020 2d20 6c6f 775f 6469 exity. - low_di
│ │ │ -0010c590: 7372 7570 7469 6f6e 0a20 202d 206c 6f77 sruption. - low
│ │ │ -0010c5a0: 5f73 6576 6572 6974 790a 2020 2d20 6e6f _severity. - no
│ │ │ -0010c5b0: 5f72 6562 6f6f 745f 6e65 6564 6564 0a20 _reboot_needed.
│ │ │ -0010c5c0: 202d 2070 6163 6b61 6765 5f6e 7470 5f72 - package_ntp_r
│ │ │ -0010c5d0: 656d 6f76 6564 0a0a 2d20 6e61 6d65 3a20 emoved..- name:
│ │ │ -0010c5e0: 2752 656d 6f76 6520 7468 6520 6e74 7020 'Remove the ntp
│ │ │ -0010c5f0: 7365 7276 6963 653a 2045 6e73 7572 6520 service: Ensure
│ │ │ -0010c600: 6e74 7020 6973 2072 656d 6f76 6564 270a ntp is removed'.
│ │ │ -0010c610: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ -0010c620: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ -0010c630: 616d 653a 206e 7470 0a20 2020 2073 7461 ame: ntp. sta
│ │ │ -0010c640: 7465 3a20 6162 7365 6e74 0a20 2077 6865 te: absent. whe
│ │ │ -0010c650: 6e3a 2027 226c 696e 7578 2d62 6173 6522 n: '"linux-base"
│ │ │ -0010c660: 2069 6e20 616e 7369 626c 655f 6661 6374 in ansible_fact
│ │ │ -0010c670: 732e 7061 636b 6167 6573 270a 2020 7461 s.packages'. ta
│ │ │ -0010c680: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI
│ │ │ -0010c690: 472d 5542 5455 2d32 322d 3231 3530 3235 G-UBTU-22-215025
│ │ │ -0010c6a0: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ -0010c6b0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -0010c6c0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -0010c6d0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -0010c6e0: 6c6f 775f 7365 7665 7269 7479 0a20 202d low_severity. -
│ │ │ -0010c6f0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -0010c700: 640a 2020 2d20 7061 636b 6167 655f 6e74 d. - package_nt
│ │ │ -0010c710: 705f 7265 6d6f 7665 640a 3c2f 636f 6465 p_removed.
Compl
│ │ │ +0010c1f0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +0010c200: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +0010c210: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +0010c220: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +0010c230: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +0010c240: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +0010c250: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +0010c260: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: disable
<
│ │ │ +0010c290: 7072 653e 3c63 6f64 653e 2d20 6e61 6d65 pre>- name
│ │ │ +0010c2a0: 3a20 4761 7468 6572 2074 6865 2070 6163 : Gather the pac
│ │ │ +0010c2b0: 6b61 6765 2066 6163 7473 0a20 2070 6163 kage facts. pac
│ │ │ +0010c2c0: 6b61 6765 5f66 6163 7473 3a0a 2020 2020 kage_facts:.
│ │ │ +0010c2d0: 6d61 6e61 6765 723a 2061 7574 6f0a 2020 manager: auto.
│ │ │ +0010c2e0: 7461 6773 3a0a 2020 2d20 4449 5341 2d53 tags:. - DISA-S
│ │ │ +0010c2f0: 5449 472d 5542 5455 2d32 322d 3231 3530 TIG-UBTU-22-2150
│ │ │ +0010c300: 3235 0a20 202d 2064 6973 6162 6c65 5f73 25. - disable_s
│ │ │ +0010c310: 7472 6174 6567 790a 2020 2d20 6c6f 775f trategy. - low_
│ │ │ +0010c320: 636f 6d70 6c65 7869 7479 0a20 202d 206c complexity. - l
│ │ │ +0010c330: 6f77 5f64 6973 7275 7074 696f 6e0a 2020 ow_disruption.
│ │ │ +0010c340: 2d20 6c6f 775f 7365 7665 7269 7479 0a20 - low_severity.
│ │ │ +0010c350: 202d 206e 6f5f 7265 626f 6f74 5f6e 6565 - no_reboot_nee
│ │ │ +0010c360: 6465 640a 2020 2d20 7061 636b 6167 655f ded. - package_
│ │ │ +0010c370: 6e74 705f 7265 6d6f 7665 640a 0a2d 206e ntp_removed..- n
│ │ │ +0010c380: 616d 653a 2027 5265 6d6f 7665 2074 6865 ame: 'Remove the
│ │ │ +0010c390: 206e 7470 2073 6572 7669 6365 3a20 456e ntp service: En
│ │ │ +0010c3a0: 7375 7265 206e 7470 2069 7320 7265 6d6f sure ntp is remo
│ │ │ +0010c3b0: 7665 6427 0a20 2061 6e73 6962 6c65 2e62 ved'. ansible.b
│ │ │ +0010c3c0: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ +0010c3d0: 2020 2020 6e61 6d65 3a20 6e74 700a 2020 name: ntp.
│ │ │ +0010c3e0: 2020 7374 6174 653a 2061 6273 656e 740a state: absent.
│ │ │ +0010c3f0: 2020 7768 656e 3a20 2722 6c69 6e75 782d when: '"linux-
│ │ │ +0010c400: 6261 7365 2220 696e 2061 6e73 6962 6c65 base" in ansible
│ │ │ +0010c410: 5f66 6163 7473 2e70 6163 6b61 6765 7327 _facts.packages'
│ │ │ +0010c420: 0a20 2074 6167 733a 0a20 202d 2044 4953 . tags:. - DIS
│ │ │ +0010c430: 412d 5354 4947 2d55 4254 552d 3232 2d32 A-STIG-UBTU-22-2
│ │ │ +0010c440: 3135 3032 350a 2020 2d20 6469 7361 626c 15025. - disabl
│ │ │ +0010c450: 655f 7374 7261 7465 6779 0a20 202d 206c e_strategy. - l
│ │ │ +0010c460: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ +0010c470: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ +0010c480: 0a20 202d 206c 6f77 5f73 6576 6572 6974 . - low_severit
│ │ │ +0010c490: 790a 2020 2d20 6e6f 5f72 6562 6f6f 745f y. - no_reboot_
│ │ │ +0010c4a0: 6e65 6564 6564 0a20 202d 2070 6163 6b61 needed. - packa
│ │ │ +0010c4b0: 6765 5f6e 7470 5f72 656d 6f76 6564 0a3c ge_ntp_removed.<
│ │ │ +0010c4c0: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>R
│ │ │ +0010c570: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ +0010c580: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ +0010c610: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ +0010c620: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ +0010c630: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ +0010c640: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ +0010c650: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ +0010c680: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ +0010c690: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ +0010c6a0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ +0010c6c0: 6e63 6c75 6465 2072 656d 6f76 655f 6e74 nclude remove_nt
│ │ │ +0010c6d0: 700a 0a63 6c61 7373 2072 656d 6f76 655f p..class remove_
│ │ │ +0010c6e0: 6e74 7020 7b0a 2020 7061 636b 6167 6520 ntp {. package
│ │ │ +0010c6f0: 7b20 276e 7470 273a 0a20 2020 2065 6e73 { 'ntp':. ens
│ │ │ +0010c700: 7572 6520 3d26 6774 3b20 2770 7572 6765 ure => 'purge
│ │ │ +0010c710: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remediation P
│ │ │ -0010d430: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -0010d440: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -0010d4c0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -0010d4d0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -0010d4e0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -0010d4f0: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -0010d500: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -0010d530: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -0010d540: 7465 6779 3a3c 2f74 683e 3c74 643e 6469 tegy: di
│ │ │ -0010d550: 7361 626c 653c 2f74 643e 3c2f 7472 3e3c sable <
│ │ │ -0010d560: 2f74 6162 6c65 3e3c 7072 653e 3c63 6f64 /table>.include remov
│ │ │ -0010d580: 655f 7379 7374 656d 642d 7469 6d65 7379 e_systemd-timesy
│ │ │ -0010d590: 6e63 640a 0a63 6c61 7373 2072 656d 6f76 ncd..class remov
│ │ │ -0010d5a0: 655f 7379 7374 656d 642d 7469 6d65 7379 e_systemd-timesy
│ │ │ -0010d5b0: 6e63 6420 7b0a 2020 7061 636b 6167 6520 ncd {. package
│ │ │ -0010d5c0: 7b20 2773 7973 7465 6d64 2d74 696d 6573 { 'systemd-times
│ │ │ -0010d5d0: 796e 6364 273a 0a20 2020 2065 6e73 7572 yncd':. ensur
│ │ │ -0010d5e0: 6520 3d26 6774 3b20 2770 7572 6765 6427 e => 'purged'
│ │ │ -0010d5f0: 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 3e3c ,. }.}.<
│ │ │ -0010d600: 2f70 7265 3e3c 2f64 6976 3e3c 6120 636c /pre>Remediat
│ │ │ -0010d6b0: 696f 6e20 416e 7369 626c 6520 736e 6970 ion Ansible snip
│ │ │ -0010d6c0: 7065 7420 e287 b23c 2f61 3e3c 6272 3e3c pet ...
<
│ │ │ -0010d6d0: 6469 7620 636c 6173 733d 2270 616e 656c div class="panel
│ │ │ -0010d6e0: 2d63 6f6c 6c61 7073 6520 636f 6c6c 6170 -collapse collap
│ │ │ -0010d6f0: 7365 2220 6964 3d22 6964 3330 3122 3e3c se" id="id301"><
│ │ │ -0010d700: 7461 626c 6520 636c 6173 733d 2274 6162 table class="tab
│ │ │ -0010d710: 6c65 2074 6162 6c65 2d73 7472 6970 6564 le table-striped
│ │ │ -0010d720: 2074 6162 6c65 2d62 6f72 6465 7265 6420 table-bordered
│ │ │ -0010d730: 7461 626c 652d 636f 6e64 656e 7365 6422 table-condensed"
│ │ │ -0010d740: 3e3c 7472 3e3c 7468 3e43 6f6d 706c 6578 >Complex
│ │ │ -0010d750: 6974 793a 3c2f 7468 3e3c 7464 3e6c 6f77 ity: low
│ │ │ -0010d760: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Disruption: low
│ │ │ -0010d790: 7472 3e3c 7472 3e3c 7468 3e52 6562 6f6f tr>Reboo
│ │ │ -0010d7a0: 743a 3c2f 7468 3e3c 7464 3e66 616c 7365 t: false
│ │ │ -0010d7b0: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Strategy:
│ │ │ -0010d7d0: 3c74 643e 6469 7361 626c 653c 2f74 643e disable
│ │ │ -0010d7e0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -0010d800: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ -0010d810: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ -0010d820: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ -0010d830: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ -0010d840: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI
│ │ │ -0010d850: 472d 5542 5455 2d32 322d 3231 3530 3230 G-UBTU-22-215020
│ │ │ -0010d860: 0a20 202d 2064 6973 6162 6c65 5f73 7472 . - disable_str
│ │ │ -0010d870: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -0010d880: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -0010d890: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -0010d8a0: 6c6f 775f 7365 7665 7269 7479 0a20 202d low_severity. -
│ │ │ -0010d8b0: 206e 6f5f 7265 626f 6f74 5f6e 6565 6465 no_reboot_neede
│ │ │ -0010d8c0: 640a 2020 2d20 7061 636b 6167 655f 7469 d. - package_ti
│ │ │ -0010d8d0: 6d65 7379 6e63 645f 7265 6d6f 7665 640a mesyncd_removed.
│ │ │ -0010d8e0: 0a2d 206e 616d 653a 2027 5265 6d6f 7665 .- name: 'Remove
│ │ │ -0010d8f0: 2074 6865 2073 7973 7465 6d64 5f74 696d the systemd_tim
│ │ │ -0010d900: 6573 796e 6364 2053 6572 7669 6365 3a20 esyncd Service:
│ │ │ -0010d910: 456e 7375 7265 2073 7973 7465 6d64 2d74 Ensure systemd-t
│ │ │ -0010d920: 696d 6573 796e 6364 2069 7320 7265 6d6f imesyncd is remo
│ │ │ -0010d930: 7665 6427 0a20 2061 6e73 6962 6c65 2e62 ved'. ansible.b
│ │ │ -0010d940: 7569 6c74 696e 2e70 6163 6b61 6765 3a0a uiltin.package:.
│ │ │ -0010d950: 2020 2020 6e61 6d65 3a20 7379 7374 656d name: system
│ │ │ -0010d960: 642d 7469 6d65 7379 6e63 640a 2020 2020 d-timesyncd.
│ │ │ -0010d970: 7374 6174 653a 2061 6273 656e 740a 2020 state: absent.
│ │ │ -0010d980: 7768 656e 3a20 2722 6c69 6e75 782d 6261 when: '"linux-ba
│ │ │ -0010d990: 7365 2220 696e 2061 6e73 6962 6c65 5f66 se" in ansible_f
│ │ │ -0010d9a0: 6163 7473 2e70 6163 6b61 6765 7327 0a20 acts.packages'.
│ │ │ -0010d9b0: 2074 6167 733a 0a20 202d 2044 4953 412d tags:. - DISA-
│ │ │ -0010d9c0: 5354 4947 2d55 4254 552d 3232 2d32 3135 STIG-UBTU-22-215
│ │ │ -0010d9d0: 3032 300a 2020 2d20 6469 7361 626c 655f 020. - disable_
│ │ │ -0010d9e0: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ -0010d9f0: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ -0010da00: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ -0010da10: 202d 206c 6f77 5f73 6576 6572 6974 790a - low_severity.
│ │ │ -0010da20: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -0010da30: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -0010da40: 5f74 696d 6573 796e 6364 5f72 656d 6f76 _timesyncd_remov
│ │ │ -0010da50: 6564 0a3c 2f63 6f64 653e 3c2f 7072 653e ed.
│ │ │ +0010d420: 2122 3e52 656d 6564 6961 7469 6f6e 2041 !">Remediation A
│ │ │ +0010d430: 6e73 6962 6c65 2073 6e69 7070 6574 20e2 nsible snippet .
│ │ │ +0010d440: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
│ │ │ +0010d4c0: 3c74 683e 436f 6d70 6c65 7869 7479 3a3c Complexity:<
│ │ │ +0010d4d0: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +0010d4e0: 3c2f 7472 3e3c 7472 3e3c 7468 3e44 6973 Dis
│ │ │ +0010d4f0: 7275 7074 696f 6e3a 3c2f 7468 3e3c 7464 ruption: low Reboot: false
│ │ │ +0010d530: 3c2f 7472 3e3c 7472 3e3c 7468 3e53 7472 Str
│ │ │ +0010d540: 6174 6567 793a 3c2f 7468 3e3c 7464 3e64 ategy: d
│ │ │ +0010d550: 6973 6162 6c65 3c2f 7464 3e3c 2f74 723e isable
│ │ │ +0010d560: 3c2f 7461 626c 653e 3c70 7265 3e3c 636f
- name: Gathe
│ │ │ +0010d580: 7220 7468 6520 7061 636b 6167 6520 6661 r the package fa
│ │ │ +0010d590: 6374 730a 2020 7061 636b 6167 655f 6661 cts. package_fa
│ │ │ +0010d5a0: 6374 733a 0a20 2020 206d 616e 6167 6572 cts:. manager
│ │ │ +0010d5b0: 3a20 6175 746f 0a20 2074 6167 733a 0a20 : auto. tags:.
│ │ │ +0010d5c0: 202d 2044 4953 412d 5354 4947 2d55 4254 - DISA-STIG-UBT
│ │ │ +0010d5d0: 552d 3232 2d32 3135 3032 300a 2020 2d20 U-22-215020. -
│ │ │ +0010d5e0: 6469 7361 626c 655f 7374 7261 7465 6779 disable_strategy
│ │ │ +0010d5f0: 0a20 202d 206c 6f77 5f63 6f6d 706c 6578 . - low_complex
│ │ │ +0010d600: 6974 790a 2020 2d20 6c6f 775f 6469 7372 ity. - low_disr
│ │ │ +0010d610: 7570 7469 6f6e 0a20 202d 206c 6f77 5f73 uption. - low_s
│ │ │ +0010d620: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +0010d630: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +0010d640: 2070 6163 6b61 6765 5f74 696d 6573 796e package_timesyn
│ │ │ +0010d650: 6364 5f72 656d 6f76 6564 0a0a 2d20 6e61 cd_removed..- na
│ │ │ +0010d660: 6d65 3a20 2752 656d 6f76 6520 7468 6520 me: 'Remove the
│ │ │ +0010d670: 7379 7374 656d 645f 7469 6d65 7379 6e63 systemd_timesync
│ │ │ +0010d680: 6420 5365 7276 6963 653a 2045 6e73 7572 d Service: Ensur
│ │ │ +0010d690: 6520 7379 7374 656d 642d 7469 6d65 7379 e systemd-timesy
│ │ │ +0010d6a0: 6e63 6420 6973 2072 656d 6f76 6564 270a ncd is removed'.
│ │ │ +0010d6b0: 2020 616e 7369 626c 652e 6275 696c 7469 ansible.builti
│ │ │ +0010d6c0: 6e2e 7061 636b 6167 653a 0a20 2020 206e n.package:. n
│ │ │ +0010d6d0: 616d 653a 2073 7973 7465 6d64 2d74 696d ame: systemd-tim
│ │ │ +0010d6e0: 6573 796e 6364 0a20 2020 2073 7461 7465 esyncd. state
│ │ │ +0010d6f0: 3a20 6162 7365 6e74 0a20 2077 6865 6e3a : absent. when:
│ │ │ +0010d700: 2027 226c 696e 7578 2d62 6173 6522 2069 '"linux-base" i
│ │ │ +0010d710: 6e20 616e 7369 626c 655f 6661 6374 732e n ansible_facts.
│ │ │ +0010d720: 7061 636b 6167 6573 270a 2020 7461 6773 packages'. tags
│ │ │ +0010d730: 3a0a 2020 2d20 4449 5341 2d53 5449 472d :. - DISA-STIG-
│ │ │ +0010d740: 5542 5455 2d32 322d 3231 3530 3230 0a20 UBTU-22-215020.
│ │ │ +0010d750: 202d 2064 6973 6162 6c65 5f73 7472 6174 - disable_strat
│ │ │ +0010d760: 6567 790a 2020 2d20 6c6f 775f 636f 6d70 egy. - low_comp
│ │ │ +0010d770: 6c65 7869 7479 0a20 202d 206c 6f77 5f64 lexity. - low_d
│ │ │ +0010d780: 6973 7275 7074 696f 6e0a 2020 2d20 6c6f isruption. - lo
│ │ │ +0010d790: 775f 7365 7665 7269 7479 0a20 202d 206e w_severity. - n
│ │ │ +0010d7a0: 6f5f 7265 626f 6f74 5f6e 6565 6465 640a o_reboot_needed.
│ │ │ +0010d7b0: 2020 2d20 7061 636b 6167 655f 7469 6d65 - package_time
│ │ │ +0010d7c0: 7379 6e63 645f 7265 6d6f 7665 640a 3c2f syncd_removed.
│ │ │ +0010d7d0: 636f 6465 3e3c 2f70 7265 3e3c 2f64 6976 code>
Re
│ │ │ +0010d880: 6d65 6469 6174 696f 6e20 5075 7070 6574 mediation Puppet
│ │ │ +0010d890: 2073 6e69 7070 6574 20e2 87b2 3c2f 613e snippet ...
│ │ │ +0010d8a0: 3c62 723e 3c64 6976 2063 6c61 7373 3d22
Co
│ │ │ +0010d920: 6d70 6c65 7869 7479 3a3c 2f74 683e 3c74 mplexity: low <
│ │ │ +0010d940: 7472 3e3c 7468 3e44 6973 7275 7074 696f tr>Disruptio
│ │ │ +0010d950: 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f n: low
│ │ │ +0010d960: 7464 3e3c 2f74 723e 3c74 723e 3c74 683e td>
│ │ │ +0010d970: 5265 626f 6f74 3a3c 2f74 683e 3c74 643e Reboot:
│ │ │ +0010d980: 6661 6c73 653c 2f74 643e 3c2f 7472 3e3c false <
│ │ │ +0010d990: 7472 3e3c 7468 3e53 7472 6174 6567 793a tr>Strategy:
│ │ │ +0010d9a0: 3c2f 7468 3e3c 7464 3e64 6973 6162 6c65 disable
│ │ │ +0010d9b0: 3c2f 7464 3e3c 2f74 723e 3c2f 7461 626c .in
│ │ │ +0010d9d0: 636c 7564 6520 7265 6d6f 7665 5f73 7973 clude remove_sys
│ │ │ +0010d9e0: 7465 6d64 2d74 696d 6573 796e 6364 0a0a temd-timesyncd..
│ │ │ +0010d9f0: 636c 6173 7320 7265 6d6f 7665 5f73 7973 class remove_sys
│ │ │ +0010da00: 7465 6d64 2d74 696d 6573 796e 6364 207b temd-timesyncd {
│ │ │ +0010da10: 0a20 2070 6163 6b61 6765 207b 2027 7379 . package { 'sy
│ │ │ +0010da20: 7374 656d 642d 7469 6d65 7379 6e63 6427 stemd-timesyncd'
│ │ │ +0010da30: 3a0a 2020 2020 656e 7375 7265 203d 2667 :. ensure =&g
│ │ │ +0010da40: 743b 2027 7075 7267 6564 272c 0a20 207d t; 'purged',. }
│ │ │ +0010da50: 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 653e .}.
│ │ │ 0010da60: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 R
│ │ │ -001143b0: 656d 6564 6961 7469 6f6e 2050 7570 7065 emediation Puppe
│ │ │ -001143c0: 7420 736e 6970 7065 7420 e287 b23c 2f61 t snippet ...
C
│ │ │ -00114450: 6f6d 706c 6578 6974 793a 3c2f 7468 3e3c omplexity: <
│ │ │ -00114460: 7464 3e6c 6f77 3c2f 7464 3e3c 2f74 723e td>low
│ │ │ -00114470: 3c74 723e 3c74 683e 4469 7372 7570 7469 Disrupti
│ │ │ -00114480: 6f6e 3a3c 2f74 683e 3c74 643e 6c6f 773c on: low<
│ │ │ -00114490: 2f74 643e 3c2f 7472 3e3c 7472 3e3c 7468 /td> Reboot: false
│ │ │ -001144c0: 3c74 723e 3c74 683e 5374 7261 7465 6779 Strategy
│ │ │ -001144d0: 3a3c 2f74 683e 3c74 643e 6469 7361 626c : disabl
│ │ │ -001144e0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e .i
│ │ │ -00114500: 6e63 6c75 6465 2072 656d 6f76 655f 7273 nclude remove_rs
│ │ │ -00114510: 682d 7365 7276 6572 0a0a 636c 6173 7320 h-server..class
│ │ │ -00114520: 7265 6d6f 7665 5f72 7368 2d73 6572 7665 remove_rsh-serve
│ │ │ -00114530: 7220 7b0a 2020 7061 636b 6167 6520 7b20 r {. package {
│ │ │ -00114540: 2772 7368 2d73 6572 7665 7227 3a0a 2020 'rsh-server':.
│ │ │ -00114550: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ -00114560: 7075 7267 6564 272c 0a20 207d 0a7d 0a3c purged',. }.}.<
│ │ │ -00114570: 2f63 6f64 653e 3c2f 7072 653e 3c2f 6469 /code>
R
│ │ │ -00114620: 656d 6564 6961 7469 6f6e 2041 6e73 6962 emediation Ansib
│ │ │ -00114630: 6c65 2073 6e69 7070 6574 20e2 87b2 3c2f le snippet ...
│ │ │ -00114640: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ -001146c0: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ -001146d0: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ -001146f0: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ -00114700: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ -00114740: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ -00114750: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ -00114770: 206e 616d 653a 2027 556e 696e 7374 616c name: 'Uninstal
│ │ │ -00114780: 6c20 7273 682d 7365 7276 6572 2050 6163 l rsh-server Pac
│ │ │ -00114790: 6b61 6765 3a20 456e 7375 7265 2072 7368 kage: Ensure rsh
│ │ │ -001147a0: 2d73 6572 7665 7220 6973 2072 656d 6f76 -server is remov
│ │ │ -001147b0: 6564 270a 2020 616e 7369 626c 652e 6275 ed'. ansible.bu
│ │ │ -001147c0: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ -001147d0: 2020 206e 616d 653a 2072 7368 2d73 6572 name: rsh-ser
│ │ │ -001147e0: 7665 720a 2020 2020 7374 6174 653a 2061 ver. state: a
│ │ │ -001147f0: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:.
│ │ │ -00114800: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU
│ │ │ -00114810: 2d32 322d 3231 3530 3330 0a20 202d 204e -22-215030. - N
│ │ │ -00114820: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ -00114830: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ -00114840: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N
│ │ │ -00114850: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ -00114860: 6229 0a20 202d 204e 4953 542d 3830 302d b). - NIST-800-
│ │ │ -00114870: 3533 2d49 412d 3528 3129 2863 290a 2020 53-IA-5(1)(c).
│ │ │ -00114880: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2.
│ │ │ -00114890: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ -001148a0: 322e 340a 2020 2d20 6469 7361 626c 655f 2.4. - disable_
│ │ │ -001148b0: 7374 7261 7465 6779 0a20 202d 2068 6967 strategy. - hig
│ │ │ -001148c0: 685f 7365 7665 7269 7479 0a20 202d 206c h_severity. - l
│ │ │ -001148d0: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ -001148e0: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ -001148f0: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ -00114900: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ -00114910: 655f 7273 682d 7365 7276 6572 5f72 656d e_rsh-server_rem
│ │ │ -00114920: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.
│ │ │ +00114450: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +00114460: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +00114480: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +00114490: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +001144d0: 793a 3c2f 7468 3e3c 7464 3e64 6973 6162 y: disab
│ │ │ +001144e0: 6c65 3c2f 7464 3e3c 2f74 723e 3c2f 7461 le -
│ │ │ +00114500: 206e 616d 653a 2027 556e 696e 7374 616c name: 'Uninstal
│ │ │ +00114510: 6c20 7273 682d 7365 7276 6572 2050 6163 l rsh-server Pac
│ │ │ +00114520: 6b61 6765 3a20 456e 7375 7265 2072 7368 kage: Ensure rsh
│ │ │ +00114530: 2d73 6572 7665 7220 6973 2072 656d 6f76 -server is remov
│ │ │ +00114540: 6564 270a 2020 616e 7369 626c 652e 6275 ed'. ansible.bu
│ │ │ +00114550: 696c 7469 6e2e 7061 636b 6167 653a 0a20 iltin.package:.
│ │ │ +00114560: 2020 206e 616d 653a 2072 7368 2d73 6572 name: rsh-ser
│ │ │ +00114570: 7665 720a 2020 2020 7374 6174 653a 2061 ver. state: a
│ │ │ +00114580: 6273 656e 740a 2020 7461 6773 3a0a 2020 bsent. tags:.
│ │ │ +00114590: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU
│ │ │ +001145a0: 2d32 322d 3231 3530 3330 0a20 202d 204e -22-215030. - N
│ │ │ +001145b0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +001145c0: 6129 0a20 202d 204e 4953 542d 3830 302d a). - NIST-800-
│ │ │ +001145d0: 3533 2d43 4d2d 3728 6129 0a20 202d 204e 53-CM-7(a). - N
│ │ │ +001145e0: 4953 542d 3830 302d 3533 2d43 4d2d 3728 IST-800-53-CM-7(
│ │ │ +001145f0: 6229 0a20 202d 204e 4953 542d 3830 302d b). - NIST-800-
│ │ │ +00114600: 3533 2d49 412d 3528 3129 2863 290a 2020 53-IA-5(1)(c).
│ │ │ +00114610: 2d20 5043 492d 4453 5376 342d 322e 320a - PCI-DSSv4-2.2.
│ │ │ +00114620: 2020 2d20 5043 492d 4453 5376 342d 322e - PCI-DSSv4-2.
│ │ │ +00114630: 322e 340a 2020 2d20 6469 7361 626c 655f 2.4. - disable_
│ │ │ +00114640: 7374 7261 7465 6779 0a20 202d 2068 6967 strategy. - hig
│ │ │ +00114650: 685f 7365 7665 7269 7479 0a20 202d 206c h_severity. - l
│ │ │ +00114660: 6f77 5f63 6f6d 706c 6578 6974 790a 2020 ow_complexity.
│ │ │ +00114670: 2d20 6c6f 775f 6469 7372 7570 7469 6f6e - low_disruption
│ │ │ +00114680: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +00114690: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ +001146a0: 655f 7273 682d 7365 7276 6572 5f72 656d e_rsh-server_rem
│ │ │ +001146b0: 6f76 6564 0a3c 2f63 6f64 653e 3c2f 7072 oved.Remediation
│ │ │ +00114770: 2050 7570 7065 7420 736e 6970 7065 7420 Puppet snippet
│ │ │ +00114780: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
Complexity:
│ │ │ +00114810: 3c2f 7468 3e3c 7464 3e6c 6f77 3c2f 7464 low Di
│ │ │ +00114830: 7372 7570 7469 6f6e 3a3c 2f74 683e 3c74 sruption: low <
│ │ │ +00114850: 7472 3e3c 7468 3e52 6562 6f6f 743a 3c2f tr>Reboot:
│ │ │ +00114860: 7468 3e3c 7464 3e66 616c 7365 3c2f 7464 th> false St
│ │ │ +00114880: 7261 7465 6779 3a3c 2f74 683e 3c74 643e rategy:
│ │ │ +00114890: 6469 7361 626c 653c 2f74 643e 3c2f 7472 disable
.include rem
│ │ │ +001148c0: 6f76 655f 7273 682d 7365 7276 6572 0a0a ove_rsh-server..
│ │ │ +001148d0: 636c 6173 7320 7265 6d6f 7665 5f72 7368 class remove_rsh
│ │ │ +001148e0: 2d73 6572 7665 7220 7b0a 2020 7061 636b -server {. pack
│ │ │ +001148f0: 6167 6520 7b20 2772 7368 2d73 6572 7665 age { 'rsh-serve
│ │ │ +00114900: 7227 3a0a 2020 2020 656e 7375 7265 203d r':. ensure =
│ │ │ +00114910: 2667 743b 2027 7075 7267 6564 272c 0a20 > 'purged',.
│ │ │ +00114920: 207d 0a7d 0a3c 2f63 6f64 653e 3c2f 7072 }.}.
Remedi
│ │ │ -001320c0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ -001320d0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ -001320e0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ -00132120: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765 .[[package
│ │ │ -00132130: 735d 5d0a 6e61 6d65 203d 2022 6f70 656e s]].name = "open
│ │ │ -00132140: 7373 682d 7365 7276 6572 220a 7665 7273 ssh-server".vers
│ │ │ -00132150: 696f 6e20 3d20 222a 220a 3c2f 636f 6465 ion = "*".
Remedi
│ │ │ -00132210: 6174 696f 6e20 5075 7070 6574 2073 6e69 ation Puppet sni
│ │ │ -00132220: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -00132230: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -00132260: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -001322b0: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -001322c0: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -001322d0: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -001322e0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -001322f0: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -00132300: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -00132310: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -00132320: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -00132340: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
include
│ │ │ -00132360: 696e 7374 616c 6c5f 6f70 656e 7373 682d install_openssh-
│ │ │ -00132370: 7365 7276 6572 0a0a 636c 6173 7320 696e server..class in
│ │ │ -00132380: 7374 616c 6c5f 6f70 656e 7373 682d 7365 stall_openssh-se
│ │ │ -00132390: 7276 6572 207b 0a20 2070 6163 6b61 6765 rver {. package
│ │ │ -001323a0: 207b 2027 6f70 656e 7373 682d 7365 7276 { 'openssh-serv
│ │ │ -001323b0: 6572 273a 0a20 2020 2065 6e73 7572 6520 er':. ensure
│ │ │ -001323c0: 3d26 6774 3b20 2769 6e73 7461 6c6c 6564 => 'installed
│ │ │ -001323d0: 272c 0a20 207d 0a7d 0a3c 2f63 6f64 653e ',. }.}.
│ │ │ -001323e0: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063 Remedia
│ │ │ -00132490: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ -001324a0: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ -001324b0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ -001324e0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ -00132530: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ -00132540: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ -00132550: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ -00132560: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00132570: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ -00132580: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ -00132590: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ -001325a0: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ -001325c0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ -001325e0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ -001325f0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ -00132600: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ -00132610: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ -00132620: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI
│ │ │ -00132630: 472d 5542 5455 2d32 322d 3235 3530 3130 G-UBTU-22-255010
│ │ │ -00132640: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00132650: 2d43 4d2d 3628 6129 0a20 202d 2065 6e61 -CM-6(a). - ena
│ │ │ -00132660: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ -00132670: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ -00132680: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ -00132690: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ -001326a0: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ -001326b0: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ -001326c0: 7061 636b 6167 655f 6f70 656e 7373 682d package_openssh-
│ │ │ -001326d0: 7365 7276 6572 5f69 6e73 7461 6c6c 6564 server_installed
│ │ │ -001326e0: 0a0a 2d20 6e61 6d65 3a20 456e 7375 7265 ..- name: Ensure
│ │ │ -001326f0: 206f 7065 6e73 7368 2d73 6572 7665 7220 openssh-server
│ │ │ -00132700: 6973 2069 6e73 7461 6c6c 6564 0a20 2061 is installed. a
│ │ │ -00132710: 6e73 6962 6c65 2e62 7569 6c74 696e 2e70 nsible.builtin.p
│ │ │ -00132720: 6163 6b61 6765 3a0a 2020 2020 6e61 6d65 ackage:. name
│ │ │ -00132730: 3a20 6f70 656e 7373 682d 7365 7276 6572 : openssh-server
│ │ │ -00132740: 0a20 2020 2073 7461 7465 3a20 7072 6573 . state: pres
│ │ │ -00132750: 656e 740a 2020 7768 656e 3a20 2722 6c69 ent. when: '"li
│ │ │ -00132760: 6e75 782d 6261 7365 2220 696e 2061 6e73 nux-base" in ans
│ │ │ -00132770: 6962 6c65 5f66 6163 7473 2e70 6163 6b61 ible_facts.packa
│ │ │ -00132780: 6765 7327 0a20 2074 6167 733a 0a20 202d ges'. tags:. -
│ │ │ -00132790: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU-
│ │ │ -001327a0: 3232 2d32 3535 3031 300a 2020 2d20 4e49 22-255010. - NI
│ │ │ -001327b0: 5354 2d38 3030 2d35 332d 434d 2d36 2861 ST-800-53-CM-6(a
│ │ │ -001327c0: 290a 2020 2d20 656e 6162 6c65 5f73 7472 ). - enable_str
│ │ │ -001327d0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -001327e0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -001327f0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -00132800: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -00132810: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -00132820: 6564 6564 0a20 202d 2070 6163 6b61 6765 eded. - package
│ │ │ -00132830: 5f6f 7065 6e73 7368 2d73 6572 7665 725f _openssh-server_
│ │ │ -00132840: 696e 7374 616c 6c65 640a 3c2f 636f 6465 installed.
Compl
│ │ │ +00132160: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +00132170: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +00132180: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +00132190: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +001321a0: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +001321b0: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +001321c0: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +001321d0: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
- name:
│ │ │ +00132210: 2047 6174 6865 7220 7468 6520 7061 636b Gather the pack
│ │ │ +00132220: 6167 6520 6661 6374 730a 2020 7061 636b age facts. pack
│ │ │ +00132230: 6167 655f 6661 6374 733a 0a20 2020 206d age_facts:. m
│ │ │ +00132240: 616e 6167 6572 3a20 6175 746f 0a20 2074 anager: auto. t
│ │ │ +00132250: 6167 733a 0a20 202d 2044 4953 412d 5354 ags:. - DISA-ST
│ │ │ +00132260: 4947 2d55 4254 552d 3232 2d32 3535 3031 IG-UBTU-22-25501
│ │ │ +00132270: 300a 2020 2d20 4e49 5354 2d38 3030 2d35 0. - NIST-800-5
│ │ │ +00132280: 332d 434d 2d36 2861 290a 2020 2d20 656e 3-CM-6(a). - en
│ │ │ +00132290: 6162 6c65 5f73 7472 6174 6567 790a 2020 able_strategy.
│ │ │ +001322a0: 2d20 6c6f 775f 636f 6d70 6c65 7869 7479 - low_complexity
│ │ │ +001322b0: 0a20 202d 206c 6f77 5f64 6973 7275 7074 . - low_disrupt
│ │ │ +001322c0: 696f 6e0a 2020 2d20 6d65 6469 756d 5f73 ion. - medium_s
│ │ │ +001322d0: 6576 6572 6974 790a 2020 2d20 6e6f 5f72 everity. - no_r
│ │ │ +001322e0: 6562 6f6f 745f 6e65 6564 6564 0a20 202d eboot_needed. -
│ │ │ +001322f0: 2070 6163 6b61 6765 5f6f 7065 6e73 7368 package_openssh
│ │ │ +00132300: 2d73 6572 7665 725f 696e 7374 616c 6c65 -server_installe
│ │ │ +00132310: 640a 0a2d 206e 616d 653a 2045 6e73 7572 d..- name: Ensur
│ │ │ +00132320: 6520 6f70 656e 7373 682d 7365 7276 6572 e openssh-server
│ │ │ +00132330: 2069 7320 696e 7374 616c 6c65 640a 2020 is installed.
│ │ │ +00132340: 616e 7369 626c 652e 6275 696c 7469 6e2e ansible.builtin.
│ │ │ +00132350: 7061 636b 6167 653a 0a20 2020 206e 616d package:. nam
│ │ │ +00132360: 653a 206f 7065 6e73 7368 2d73 6572 7665 e: openssh-serve
│ │ │ +00132370: 720a 2020 2020 7374 6174 653a 2070 7265 r. state: pre
│ │ │ +00132380: 7365 6e74 0a20 2077 6865 6e3a 2027 226c sent. when: '"l
│ │ │ +00132390: 696e 7578 2d62 6173 6522 2069 6e20 616e inux-base" in an
│ │ │ +001323a0: 7369 626c 655f 6661 6374 732e 7061 636b sible_facts.pack
│ │ │ +001323b0: 6167 6573 270a 2020 7461 6773 3a0a 2020 ages'. tags:.
│ │ │ +001323c0: 2d20 4449 5341 2d53 5449 472d 5542 5455 - DISA-STIG-UBTU
│ │ │ +001323d0: 2d32 322d 3235 3530 3130 0a20 202d 204e -22-255010. - N
│ │ │ +001323e0: 4953 542d 3830 302d 3533 2d43 4d2d 3628 IST-800-53-CM-6(
│ │ │ +001323f0: 6129 0a20 202d 2065 6e61 626c 655f 7374 a). - enable_st
│ │ │ +00132400: 7261 7465 6779 0a20 202d 206c 6f77 5f63 rategy. - low_c
│ │ │ +00132410: 6f6d 706c 6578 6974 790a 2020 2d20 6c6f omplexity. - lo
│ │ │ +00132420: 775f 6469 7372 7570 7469 6f6e 0a20 202d w_disruption. -
│ │ │ +00132430: 206d 6564 6975 6d5f 7365 7665 7269 7479 medium_severity
│ │ │ +00132440: 0a20 202d 206e 6f5f 7265 626f 6f74 5f6e . - no_reboot_n
│ │ │ +00132450: 6565 6465 640a 2020 2d20 7061 636b 6167 eeded. - packag
│ │ │ +00132460: 655f 6f70 656e 7373 682d 7365 7276 6572 e_openssh-server
│ │ │ +00132470: 5f69 6e73 7461 6c6c 6564 0a3c 2f63 6f64 _installed.
Remed
│ │ │ +00132530: 6961 7469 6f6e 2050 7570 7065 7420 736e iation Puppet sn
│ │ │ +00132540: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
Compl
│ │ │ +001325d0: 6578 6974 793a 3c2f 7468 3e3c 7464 3e6c exity: l
│ │ │ +001325e0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ +001325f0: 3c74 683e 4469 7372 7570 7469 6f6e 3a3c Disruption:<
│ │ │ +00132600: 2f74 683e 3c74 643e 6c6f 773c 2f74 643e /th> low
│ │ │ +00132610: 3c2f 7472 3e3c 7472 3e3c 7468 3e52 6562 Reb
│ │ │ +00132620: 6f6f 743a 3c2f 7468 3e3c 7464 3e66 616c oot: fal
│ │ │ +00132630: 7365 3c2f 7464 3e3c 2f74 723e 3c74 723e se
│ │ │ +00132640: 3c74 683e 5374 7261 7465 6779 3a3c 2f74 Strategy: enable
include
│ │ │ +00132680: 2069 6e73 7461 6c6c 5f6f 7065 6e73 7368 install_openssh
│ │ │ +00132690: 2d73 6572 7665 720a 0a63 6c61 7373 2069 -server..class i
│ │ │ +001326a0: 6e73 7461 6c6c 5f6f 7065 6e73 7368 2d73 nstall_openssh-s
│ │ │ +001326b0: 6572 7665 7220 7b0a 2020 7061 636b 6167 erver {. packag
│ │ │ +001326c0: 6520 7b20 276f 7065 6e73 7368 2d73 6572 e { 'openssh-ser
│ │ │ +001326d0: 7665 7227 3a0a 2020 2020 656e 7375 7265 ver':. ensure
│ │ │ +001326e0: 203d 2667 743b 2027 696e 7374 616c 6c65 => 'installe
│ │ │ +001326f0: 6427 2c0a 2020 7d0a 7d0a 3c2f 636f 6465 d',. }.}.
Remedi
│ │ │ +001327b0: 6174 696f 6e20 4f53 4275 696c 6420 426c ation OSBuild Bl
│ │ │ +001327c0: 7565 7072 696e 7420 736e 6970 7065 7420 ueprint snippet
│ │ │ +001327d0: e287 b23c 2f61 3e3c 6272 3e3c 6469 7620 ...
│ │ │ +00132810: 3c63 6f64 653e 0a5b 5b70 6163 6b61 6765 .[[package
│ │ │ +00132820: 735d 5d0a 6e61 6d65 203d 2022 6f70 656e s]].name = "open
│ │ │ +00132830: 7373 682d 7365 7276 6572 220a 7665 7273 ssh-server".vers
│ │ │ +00132840: 696f 6e20 3d20 222a 220a 3c2f 636f 6465 ion = "*".
Remedia
│ │ │ -00133b80: 7469 6f6e 204f 5342 7569 6c64 2042 6c75 tion OSBuild Blu
│ │ │ -00133b90: 6570 7269 6e74 2073 6e69 7070 6574 20e2 eprint snippet .
│ │ │ -00133ba0: 87b2 3c2f 613e 3c62 723e 3c64 6976 2063 ..
<
│ │ │ -00133be0: 636f 6465 3e0a 5b63 7573 746f 6d69 7a61 code>.[customiza
│ │ │ -00133bf0: 7469 6f6e 732e 7365 7276 6963 6573 5d0a tions.services].
│ │ │ -00133c00: 656e 6162 6c65 6420 3d20 5b22 7373 6822 enabled = ["ssh"
│ │ │ -00133c10: 5d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c ].
<
│ │ │ -00133c20: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation Pu
│ │ │ -00133cd0: 7070 6574 2073 6e69 7070 6574 20e2 87b2 ppet snippet ...
│ │ │ -00133ce0: 3c2f 613e 3c62 723e 3c64 6976 2063 6c61
Complexity: low
│ │ │ -00133d80: 7472 3e3c 7472 3e3c 7468 3e44 6973 7275 tr>Disru
│ │ │ -00133d90: 7074 696f 6e3a 3c2f 7468 3e3c 7464 3e6c ption: l
│ │ │ -00133da0: 6f77 3c2f 7464 3e3c 2f74 723e 3c74 723e ow
│ │ │ -00133db0: 3c74 683e 5265 626f 6f74 3a3c 2f74 683e Reboot:
│ │ │ -00133dc0: 3c74 643e 6661 6c73 653c 2f74 643e 3c2f false
│ │ │ -00133dd0: 7472 3e3c 7472 3e3c 7468 3e53 7472 6174 tr> Strat
│ │ │ -00133de0: 6567 793a 3c2f 7468 3e3c 7464 3e65 6e61 egy: ena
│ │ │ -00133df0: 626c 653c 2f74 643e 3c2f 7472 3e3c 2f74 ble
│ │ │ -00133e10: 696e 636c 7564 6520 656e 6162 6c65 5f73 include enable_s
│ │ │ -00133e20: 7368 0a0a 636c 6173 7320 656e 6162 6c65 sh..class enable
│ │ │ -00133e30: 5f73 7368 207b 0a20 2073 6572 7669 6365 _ssh {. service
│ │ │ -00133e40: 207b 2773 7368 273a 0a20 2020 2065 6e61 {'ssh':. ena
│ │ │ -00133e50: 626c 6520 3d26 6774 3b20 7472 7565 2c0a ble => true,.
│ │ │ -00133e60: 2020 2020 656e 7375 7265 203d 2667 743b ensure =>
│ │ │ -00133e70: 2027 7275 6e6e 696e 6727 2c0a 2020 7d0a 'running',. }.
│ │ │ -00133e80: 7d0a 3c2f 636f 6465 3e3c 2f70 7265 3e3c }.
<
│ │ │ -00133e90: 2f64 6976 3e3c 6120 636c 6173 733d 2262 /div>Remediation An
│ │ │ -00133f40: 7369 626c 6520 736e 6970 7065 7420 e287 sible snippet ..
│ │ │ -00133f50: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -00133fd0: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -00133fe0: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ -00133ff0: 2f74 723e 3c74 723e 3c74 683e 4469 7372 /tr> Disr
│ │ │ -00134000: 7570 7469 6f6e 3a3c 2f74 683e 3c74 643e uption:
│ │ │ -00134010: 6c6f 773c 2f74 643e 3c2f 7472 3e3c 7472 low Reboot: false <
│ │ │ -00134040: 2f74 723e 3c74 723e 3c74 683e 5374 7261 /tr>Stra
│ │ │ -00134050: 7465 6779 3a3c 2f74 683e 3c74 643e 656e tegy: en
│ │ │ -00134060: 6162 6c65 3c2f 7464 3e3c 2f74 723e 3c2f able
│ │ │ -00134070: 7461 626c 653e 3c70 7265 3e3c 636f 6465 table>- name: Gather
│ │ │ -00134090: 7468 6520 7061 636b 6167 6520 6661 6374 the package fact
│ │ │ -001340a0: 730a 2020 7061 636b 6167 655f 6661 6374 s. package_fact
│ │ │ -001340b0: 733a 0a20 2020 206d 616e 6167 6572 3a20 s:. manager:
│ │ │ -001340c0: 6175 746f 0a20 2074 6167 733a 0a20 202d auto. tags:. -
│ │ │ -001340d0: 2044 4953 412d 5354 4947 2d55 4254 552d DISA-STIG-UBTU-
│ │ │ -001340e0: 3232 2d32 3535 3031 350a 2020 2d20 4e49 22-255015. - NI
│ │ │ -001340f0: 5354 2d38 3030 2d31 3731 2d33 2e31 2e31 ST-800-171-3.1.1
│ │ │ -00134100: 330a 2020 2d20 4e49 5354 2d38 3030 2d31 3. - NIST-800-1
│ │ │ -00134110: 3731 2d33 2e31 332e 380a 2020 2d20 4e49 71-3.13.8. - NI
│ │ │ -00134120: 5354 2d38 3030 2d31 3731 2d33 2e35 2e34 ST-800-171-3.5.4
│ │ │ -00134130: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ -00134140: 2d43 4d2d 3628 6129 0a20 202d 204e 4953 -CM-6(a). - NIS
│ │ │ -00134150: 542d 3830 302d 3533 2d53 432d 380a 2020 T-800-53-SC-8.
│ │ │ -00134160: 2d20 4e49 5354 2d38 3030 2d35 332d 5343 - NIST-800-53-SC
│ │ │ -00134170: 2d38 2831 290a 2020 2d20 4e49 5354 2d38 -8(1). - NIST-8
│ │ │ -00134180: 3030 2d35 332d 5343 2d38 2832 290a 2020 00-53-SC-8(2).
│ │ │ -00134190: 2d20 4e49 5354 2d38 3030 2d35 332d 5343 - NIST-800-53-SC
│ │ │ -001341a0: 2d38 2833 290a 2020 2d20 4e49 5354 2d38 -8(3). - NIST-8
│ │ │ -001341b0: 3030 2d35 332d 5343 2d38 2834 290a 2020 00-53-SC-8(4).
│ │ │ -001341c0: 2d20 656e 6162 6c65 5f73 7472 6174 6567 - enable_strateg
│ │ │ -001341d0: 790a 2020 2d20 6c6f 775f 636f 6d70 6c65 y. - low_comple
│ │ │ -001341e0: 7869 7479 0a20 202d 206c 6f77 5f64 6973 xity. - low_dis
│ │ │ -001341f0: 7275 7074 696f 6e0a 2020 2d20 6d65 6469 ruption. - medi
│ │ │ -00134200: 756d 5f73 6576 6572 6974 790a 2020 2d20 um_severity. -
│ │ │ -00134210: 6e6f 5f72 6562 6f6f 745f 6e65 6564 6564 no_reboot_needed
│ │ │ -00134220: 0a20 202d 2073 6572 7669 6365 5f73 7368 . - service_ssh
│ │ │ -00134230: 645f 656e 6162 6c65 640a 0a2d 206e 616d d_enabled..- nam
│ │ │ -00134240: 653a 2045 6e61 626c 6520 7468 6520 4f70 e: Enable the Op
│ │ │ -00134250: 656e 5353 4820 5365 7276 6963 6520 2d20 enSSH Service -
│ │ │ -00134260: 456e 6162 6c65 2073 6572 7669 6365 2073 Enable service s
│ │ │ -00134270: 7368 0a20 2062 6c6f 636b 3a0a 0a20 202d sh. block:.. -
│ │ │ -00134280: 206e 616d 653a 2047 6174 6865 7220 7468 name: Gather th
│ │ │ -00134290: 6520 7061 636b 6167 6520 6661 6374 730a e package facts.
│ │ │ -001342a0: 2020 2020 616e 7369 626c 652e 6275 696c ansible.buil
│ │ │ -001342b0: 7469 6e2e 7061 636b 6167 655f 6661 6374 tin.package_fact
│ │ │ -001342c0: 733a 0a20 2020 2020 206d 616e 6167 6572 s:. manager
│ │ │ -001342d0: 3a20 6175 746f 0a0a 2020 2d20 6e61 6d65 : auto.. - name
│ │ │ -001342e0: 3a20 456e 6162 6c65 2074 6865 204f 7065 : Enable the Ope
│ │ │ -001342f0: 6e53 5348 2053 6572 7669 6365 202d 2045 nSSH Service - E
│ │ │ -00134300: 6e61 626c 6520 5365 7276 6963 6520 7373 nable Service ss
│ │ │ -00134310: 680a 2020 2020 616e 7369 626c 652e 6275 h. ansible.bu
│ │ │ -00134320: 696c 7469 6e2e 7379 7374 656d 643a 0a20 iltin.systemd:.
│ │ │ -00134330: 2020 2020 206e 616d 653a 2073 7368 0a20 name: ssh.
│ │ │ -00134340: 2020 2020 2065 6e61 626c 6564 3a20 7472 enabled: tr
│ │ │ -00134350: 7565 0a20 2020 2020 2073 7461 7465 3a20 ue. state:
│ │ │ -00134360: 7374 6172 7465 640a 2020 2020 2020 6d61 started. ma
│ │ │ -00134370: 736b 6564 3a20 6661 6c73 650a 2020 2020 sked: false.
│ │ │ -00134380: 7768 656e 3a0a 2020 2020 2d20 2722 6f70 when:. - '"op
│ │ │ -00134390: 656e 7373 682d 7365 7276 6572 2220 696e enssh-server" in
│ │ │ -001343a0: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ -001343b0: 6163 6b61 6765 7327 0a20 2074 6167 733a ackages'. tags:
│ │ │ -001343c0: 0a20 202d 2044 4953 412d 5354 4947 2d55 . - DISA-STIG-U
│ │ │ -001343d0: 4254 552d 3232 2d32 3535 3031 350a 2020 BTU-22-255015.
│ │ │ -001343e0: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3
│ │ │ -001343f0: 2e31 2e31 330a 2020 2d20 4e49 5354 2d38 .1.13. - NIST-8
│ │ │ -00134400: 3030 2d31 3731 2d33 2e31 332e 380a 2020 00-171-3.13.8.
│ │ │ -00134410: 2d20 4e49 5354 2d38 3030 2d31 3731 2d33 - NIST-800-171-3
│ │ │ -00134420: 2e35 2e34 0a20 202d 204e 4953 542d 3830 .5.4. - NIST-80
│ │ │ -00134430: 302d 3533 2d43 4d2d 3628 6129 0a20 202d 0-53-CM-6(a). -
│ │ │ -00134440: 204e 4953 542d 3830 302d 3533 2d53 432d NIST-800-53-SC-
│ │ │ -00134450: 380a 2020 2d20 4e49 5354 2d38 3030 2d35 8. - NIST-800-5
│ │ │ -00134460: 332d 5343 2d38 2831 290a 2020 2d20 4e49 3-SC-8(1). - NI
│ │ │ -00134470: 5354 2d38 3030 2d35 332d 5343 2d38 2832 ST-800-53-SC-8(2
│ │ │ -00134480: 290a 2020 2d20 4e49 5354 2d38 3030 2d35 ). - NIST-800-5
│ │ │ -00134490: 332d 5343 2d38 2833 290a 2020 2d20 4e49 3-SC-8(3). - NI
│ │ │ -001344a0: 5354 2d38 3030 2d35 332d 5343 2d38 2834 ST-800-53-SC-8(4
│ │ │ -001344b0: 290a 2020 2d20 656e 6162 6c65 5f73 7472 ). - enable_str
│ │ │ -001344c0: 6174 6567 790a 2020 2d20 6c6f 775f 636f ategy. - low_co
│ │ │ -001344d0: 6d70 6c65 7869 7479 0a20 202d 206c 6f77 mplexity. - low
│ │ │ -001344e0: 5f64 6973 7275 7074 696f 6e0a 2020 2d20 _disruption. -
│ │ │ -001344f0: 6d65 6469 756d 5f73 6576 6572 6974 790a medium_severity.
│ │ │ -00134500: 2020 2d20 6e6f 5f72 6562 6f6f 745f 6e65 - no_reboot_ne
│ │ │ -00134510: 6564 6564 0a20 202d 2073 6572 7669 6365 eded. - service
│ │ │ -00134520: 5f73 7368 645f 656e 6162 6c65 640a 2020 _sshd_enabled.
│ │ │ -00134530: 2d20 7370 6563 6961 6c5f 7365 7276 6963 - special_servic
│ │ │ -00134540: 655f 626c 6f63 6b0a 2020 7768 656e 3a20 e_block. when:
│ │ │ -00134550: 2722 6c69 6e75 782d 6261 7365 2220 696e '"linux-base" in
│ │ │ -00134560: 2061 6e73 6962 6c65 5f66 6163 7473 2e70 ansible_facts.p
│ │ │ -00134570: 6163 6b61 6765 7327 0a3c 2f63 6f64 653e ackages'.
│ │ │ +00133b80: 7469 6f6e 2041 6e73 6962 6c65 2073 6e69 tion Ansible sni
│ │ │ +00133b90: 7070 6574 20e2 87b2 3c2f 613e 3c62 723e ppet ...
│ │ │ +00133ba0: 3c64 6976 2063 6c61 7373 3d22 7061 6e65
│ │ │ +00133bd0: 3c74 6162 6c65 2063 6c61 7373 3d22 7461 Comple
│ │ │ +00133c20: 7869 7479 3a3c 2f74 683e 3c74 643e 6c6f xity: lo
│ │ │ +00133c30: 773c 2f74 643e 3c2f 7472 3e3c 7472 3e3c w <
│ │ │ +00133c40: 7468 3e44 6973 7275 7074 696f 6e3a 3c2f th>Disruption:
│ │ │ +00133c50: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>low <
│ │ │ +00133c60: 2f74 723e 3c74 723e 3c74 683e 5265 626f /tr> Rebo
│ │ │ +00133c70: 6f74 3a3c 2f74 683e 3c74 643e 6661 6c73 ot: fals
│ │ │ +00133c80: 653c 2f74 643e 3c2f 7472 3e3c 7472 3e3c e <
│ │ │ +00133c90: 7468 3e53 7472 6174 6567 793a 3c2f 7468 th>Strategy:enable
│ │ │ +00133cb0: 3c2f 7472 3e3c 2f74 6162 6c65 3e3c 7072
- name:
│ │ │ +00133cd0: 4761 7468 6572 2074 6865 2070 6163 6b61 Gather the packa
│ │ │ +00133ce0: 6765 2066 6163 7473 0a20 2070 6163 6b61 ge facts. packa
│ │ │ +00133cf0: 6765 5f66 6163 7473 3a0a 2020 2020 6d61 ge_facts:. ma
│ │ │ +00133d00: 6e61 6765 723a 2061 7574 6f0a 2020 7461 nager: auto. ta
│ │ │ +00133d10: 6773 3a0a 2020 2d20 4449 5341 2d53 5449 gs:. - DISA-STI
│ │ │ +00133d20: 472d 5542 5455 2d32 322d 3235 3530 3135 G-UBTU-22-255015
│ │ │ +00133d30: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17
│ │ │ +00133d40: 312d 332e 312e 3133 0a20 202d 204e 4953 1-3.1.13. - NIS
│ │ │ +00133d50: 542d 3830 302d 3137 312d 332e 3133 2e38 T-800-171-3.13.8
│ │ │ +00133d60: 0a20 202d 204e 4953 542d 3830 302d 3137 . - NIST-800-17
│ │ │ +00133d70: 312d 332e 352e 340a 2020 2d20 4e49 5354 1-3.5.4. - NIST
│ │ │ +00133d80: 2d38 3030 2d35 332d 434d 2d36 2861 290a -800-53-CM-6(a).
│ │ │ +00133d90: 2020 2d20 4e49 5354 2d38 3030 2d35 332d - NIST-800-53-
│ │ │ +00133da0: 5343 2d38 0a20 202d 204e 4953 542d 3830 SC-8. - NIST-80
│ │ │ +00133db0: 302d 3533 2d53 432d 3828 3129 0a20 202d 0-53-SC-8(1). -
│ │ │ +00133dc0: 204e 4953 542d 3830 302d 3533 2d53 432d NIST-800-53-SC-
│ │ │ +00133dd0: 3828 3229 0a20 202d 204e 4953 542d 3830 8(2). - NIST-80
│ │ │ +00133de0: 302d 3533 2d53 432d 3828 3329 0a20 202d 0-53-SC-8(3). -
│ │ │ +00133df0: 204e 4953 542d 3830 302d 3533 2d53 432d NIST-800-53-SC-
│ │ │ +00133e00: 3828 3429 0a20 202d 2065 6e61 626c 655f 8(4). - enable_
│ │ │ +00133e10: 7374 7261 7465 6779 0a20 202d 206c 6f77 strategy. - low
│ │ │ +00133e20: 5f63 6f6d 706c 6578 6974 790a 2020 2d20 _complexity. -
│ │ │ +00133e30: 6c6f 775f 6469 7372 7570 7469 6f6e 0a20 low_disruption.
│ │ │ +00133e40: 202d 206d 6564 6975 6d5f 7365 7665 7269 - medium_severi
│ │ │ +00133e50: 7479 0a20 202d 206e 6f5f 7265 626f 6f74 ty. - no_reboot
│ │ │ +00133e60: 5f6e 6565 6465 640a 2020 2d20 7365 7276 _needed. - serv
│ │ │ +00133e70: 6963 655f 7373 6864 5f65 6e61 626c 6564 ice_sshd_enabled
│ │ │ +00133e80: 0a0a 2d20 6e61 6d65 3a20 456e 6162 6c65 ..- name: Enable
│ │ │ +00133e90: 2074 6865 204f 7065 6e53 5348 2053 6572 the OpenSSH Ser
│ │ │ +00133ea0: 7669 6365 202d 2045 6e61 626c 6520 7365 vice - Enable se
│ │ │ +00133eb0: 7276 6963 6520 7373 680a 2020 626c 6f63 rvice ssh. bloc
│ │ │ +00133ec0: 6b3a 0a0a 2020 2d20 6e61 6d65 3a20 4761 k:.. - name: Ga
│ │ │ +00133ed0: 7468 6572 2074 6865 2070 6163 6b61 6765 ther the package
│ │ │ +00133ee0: 2066 6163 7473 0a20 2020 2061 6e73 6962 facts. ansib
│ │ │ +00133ef0: 6c65 2e62 7569 6c74 696e 2e70 6163 6b61 le.builtin.packa
│ │ │ +00133f00: 6765 5f66 6163 7473 3a0a 2020 2020 2020 ge_facts:.
│ │ │ +00133f10: 6d61 6e61 6765 723a 2061 7574 6f0a 0a20 manager: auto..
│ │ │ +00133f20: 202d 206e 616d 653a 2045 6e61 626c 6520 - name: Enable
│ │ │ +00133f30: 7468 6520 4f70 656e 5353 4820 5365 7276 the OpenSSH Serv
│ │ │ +00133f40: 6963 6520 2d20 456e 6162 6c65 2053 6572 ice - Enable Ser
│ │ │ +00133f50: 7669 6365 2073 7368 0a20 2020 2061 6e73 vice ssh. ans
│ │ │ +00133f60: 6962 6c65 2e62 7569 6c74 696e 2e73 7973 ible.builtin.sys
│ │ │ +00133f70: 7465 6d64 3a0a 2020 2020 2020 6e61 6d65 temd:. name
│ │ │ +00133f80: 3a20 7373 680a 2020 2020 2020 656e 6162 : ssh. enab
│ │ │ +00133f90: 6c65 643a 2074 7275 650a 2020 2020 2020 led: true.
│ │ │ +00133fa0: 7374 6174 653a 2073 7461 7274 6564 0a20 state: started.
│ │ │ +00133fb0: 2020 2020 206d 6173 6b65 643a 2066 616c masked: fal
│ │ │ +00133fc0: 7365 0a20 2020 2077 6865 6e3a 0a20 2020 se. when:.
│ │ │ +00133fd0: 202d 2027 226f 7065 6e73 7368 2d73 6572 - '"openssh-ser
│ │ │ +00133fe0: 7665 7222 2069 6e20 616e 7369 626c 655f ver" in ansible_
│ │ │ +00133ff0: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ +00134000: 2020 7461 6773 3a0a 2020 2d20 4449 5341 tags:. - DISA
│ │ │ +00134010: 2d53 5449 472d 5542 5455 2d32 322d 3235 -STIG-UBTU-22-25
│ │ │ +00134020: 3530 3135 0a20 202d 204e 4953 542d 3830 5015. - NIST-80
│ │ │ +00134030: 302d 3137 312d 332e 312e 3133 0a20 202d 0-171-3.1.13. -
│ │ │ +00134040: 204e 4953 542d 3830 302d 3137 312d 332e NIST-800-171-3.
│ │ │ +00134050: 3133 2e38 0a20 202d 204e 4953 542d 3830 13.8. - NIST-80
│ │ │ +00134060: 302d 3137 312d 332e 352e 340a 2020 2d20 0-171-3.5.4. -
│ │ │ +00134070: 4e49 5354 2d38 3030 2d35 332d 434d 2d36 NIST-800-53-CM-6
│ │ │ +00134080: 2861 290a 2020 2d20 4e49 5354 2d38 3030 (a). - NIST-800
│ │ │ +00134090: 2d35 332d 5343 2d38 0a20 202d 204e 4953 -53-SC-8. - NIS
│ │ │ +001340a0: 542d 3830 302d 3533 2d53 432d 3828 3129 T-800-53-SC-8(1)
│ │ │ +001340b0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +001340c0: 2d53 432d 3828 3229 0a20 202d 204e 4953 -SC-8(2). - NIS
│ │ │ +001340d0: 542d 3830 302d 3533 2d53 432d 3828 3329 T-800-53-SC-8(3)
│ │ │ +001340e0: 0a20 202d 204e 4953 542d 3830 302d 3533 . - NIST-800-53
│ │ │ +001340f0: 2d53 432d 3828 3429 0a20 202d 2065 6e61 -SC-8(4). - ena
│ │ │ +00134100: 626c 655f 7374 7261 7465 6779 0a20 202d ble_strategy. -
│ │ │ +00134110: 206c 6f77 5f63 6f6d 706c 6578 6974 790a low_complexity.
│ │ │ +00134120: 2020 2d20 6c6f 775f 6469 7372 7570 7469 - low_disrupti
│ │ │ +00134130: 6f6e 0a20 202d 206d 6564 6975 6d5f 7365 on. - medium_se
│ │ │ +00134140: 7665 7269 7479 0a20 202d 206e 6f5f 7265 verity. - no_re
│ │ │ +00134150: 626f 6f74 5f6e 6565 6465 640a 2020 2d20 boot_needed. -
│ │ │ +00134160: 7365 7276 6963 655f 7373 6864 5f65 6e61 service_sshd_ena
│ │ │ +00134170: 626c 6564 0a20 202d 2073 7065 6369 616c bled. - special
│ │ │ +00134180: 5f73 6572 7669 6365 5f62 6c6f 636b 0a20 _service_block.
│ │ │ +00134190: 2077 6865 6e3a 2027 226c 696e 7578 2d62 when: '"linux-b
│ │ │ +001341a0: 6173 6522 2069 6e20 616e 7369 626c 655f ase" in ansible_
│ │ │ +001341b0: 6661 6374 732e 7061 636b 6167 6573 270a facts.packages'.
│ │ │ +001341c0: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +00134270: 5265 6d65 6469 6174 696f 6e20 5075 7070 Remediation Pupp
│ │ │ +00134280: 6574 2073 6e69 7070 6574 20e2 87b2 3c2f et snippet ...
│ │ │ +00134290: 613e 3c62 723e 3c64 6976 2063 6c61 7373 a>
│ │ │ +00134310: 436f 6d70 6c65 7869 7479 3a3c 2f74 683e Complexity:
│ │ │ +00134320: 3c74 643e 6c6f 773c 2f74 643e 3c2f 7472 low Disrupt
│ │ │ +00134340: 696f 6e3a 3c2f 7468 3e3c 7464 3e6c 6f77 ion: low
│ │ │ +00134350: 3c2f 7464 3e3c 2f74 723e 3c74 723e 3c74 Reboot:false Strateg
│ │ │ +00134390: 793a 3c2f 7468 3e3c 7464 3e65 6e61 626c y: enabl
│ │ │ +001343a0: 653c 2f74 643e 3c2f 7472 3e3c 2f74 6162 e in
│ │ │ +001343c0: 636c 7564 6520 656e 6162 6c65 5f73 7368 clude enable_ssh
│ │ │ +001343d0: 0a0a 636c 6173 7320 656e 6162 6c65 5f73 ..class enable_s
│ │ │ +001343e0: 7368 207b 0a20 2073 6572 7669 6365 207b sh {. service {
│ │ │ +001343f0: 2773 7368 273a 0a20 2020 2065 6e61 626c 'ssh':. enabl
│ │ │ +00134400: 6520 3d26 6774 3b20 7472 7565 2c0a 2020 e => true,.
│ │ │ +00134410: 2020 656e 7375 7265 203d 2667 743b 2027 ensure => '
│ │ │ +00134420: 7275 6e6e 696e 6727 2c0a 2020 7d0a 7d0a running',. }.}.
│ │ │ +00134430: 3c2f 636f 6465 3e3c 2f70 7265 3e3c 2f64
│ │ │ +001344e0: 5265 6d65 6469 6174 696f 6e20 4f53 4275 Remediation OSBu
│ │ │ +001344f0: 696c 6420 426c 7565 7072 696e 7420 736e ild Blueprint sn
│ │ │ +00134500: 6970 7065 7420 e287 b23c 2f61 3e3c 6272 ippet ...
.[cu
│ │ │ +00134550: 7374 6f6d 697a 6174 696f 6e73 2e73 6572 stomizations.ser
│ │ │ +00134560: 7669 6365 735d 0a65 6e61 626c 6564 203d vices].enabled =
│ │ │ +00134570: 205b 2273 7368 225d 0a3c 2f63 6f64 653e ["ssh"].
│ │ │ 00134580: 3c2f 7072 653e 3c2f 6469 763e 3c61 2063
Remediation OS
│ │ │ -0034e760: 4275 696c 6420 426c 7565 7072 696e 7420 Build Blueprint
│ │ │ -0034e770: 736e 6970 7065 7420 e287 b23c 2f61 3e3c snippet ...<
│ │ │ -0034e780: 6272 3e3c 6469 7620 636c 6173 733d 2270 br>.[
│ │ │ -0034e7c0: 5b70 6163 6b61 6765 735d 5d0a 6e61 6d65 [packages]].name
│ │ │ -0034e7d0: 203d 2022 6175 6469 7370 642d 706c 7567 = "audispd-plug
│ │ │ -0034e7e0: 696e 7322 0a76 6572 7369 6f6e 203d 2022 ins".version = "
│ │ │ -0034e7f0: 2a22 0a3c 2f63 6f64 653e 3c2f 7072 653e *".
│ │ │ -0034e800: 3c2f 6469 763e 3c61 2063 6c61 7373 3d22 Remediation P
│ │ │ -0034e8b0: 7570 7065 7420 736e 6970 7065 7420 e287 uppet snippet ..
│ │ │ -0034e8c0: b23c 2f61 3e3c 6272 3e3c 6469 7620 636c .
<
│ │ │ -0034e940: 7468 3e43 6f6d 706c 6578 6974 793a 3c2f th>Complexity:
│ │ │ -0034e950: 7468 3e3c 7464 3e6c 6f77 3c2f 7464 3e3c th>