Saltstack Official Linux Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

cis-1-1-1-1.yml 910B

12345678910111213141516171819202122232425262728293031323334353637
  1. # 1.1.1.1 Ensure mounting of cramfs filesystems is disabled
  2. #
  3. # Description
  4. # ===========
  5. # The cramfs filesystem type is a compressed read-only Linux filesystem
  6. # embedded in small footprint systems. A cramfs image can be used without
  7. # having to first decompress the image.
  8. #
  9. # Rationale
  10. # =========
  11. # Removing support for unneeded filesystem types reduces the local attack
  12. # surface of the server. If this filesystem type is not needed, disable it.
  13. #
  14. # Audit
  15. # =====
  16. # Run the following commands and verify the output is as indicated:
  17. #
  18. # # modprobe -n -v cramfs
  19. # install /bin/true
  20. # # lsmod | grep cramfs
  21. # <No output>
  22. #
  23. # Remediation
  24. # ===========
  25. # Edit or create the file /etc/modprobe.d/CIS.conf and add the following line:
  26. #
  27. # install cramfs /bin/true
  28. #
  29. parameters:
  30. linux:
  31. system:
  32. kernel:
  33. module:
  34. cramfs:
  35. install:
  36. command: /bin/true