Files
macos_security/rules/system_settings/system_settings_printer_sharing_disable.yaml
Bob Gendler 6524c4ff54 refactor [rules] Updates to CIS Ventura Benchmark
* Changed numbering to match CIS Ventura Benchmark numbers.
* Added system_settings_location_services_menu_enforce
2022-10-18 16:13:12 -04:00

53 lines
896 B
YAML

id: system_settings_printer_sharing_disable
title: "Disable Printer Sharing"
discussion: |
Printer Sharing _MUST_ be disabled.
check: |
/usr/sbin/cupsctl | /usr/bin/grep -c "_share_printers=0"
result:
boolean: 1
fix: |
[source,bash]
----
/usr/sbin/cupsctl --no-share-printers
/usr/bin/lpstat -p | awk '{print $2}'| /usr/bin/xargs -I{} lpadmin -p {} -o printer-is-shared=false
----
references:
cce:
- CCE-91969-6
cci:
- N/A
800-53r5:
- CM-7
- CM-7(1)
800-53r4:
- CM-7
- CM-7(1)
srg:
- N/A
disa_stig:
- N/A
800-171r2:
- N/A
cis:
benchmark:
- 2.3.3.4 (level 1)
controls v8:
- 4.1
- 4.8
macOS:
- "13.0"
tags:
- 800-53r5_low
- 800-53r5_moderate
- 800-53r5_high
- 800-53r4_low
- 800-53r4_moderate
- 800-53r4_high
- cis_lvl1
- cis_lvl2
- cisv8
mobileconfig: false
mobileconfig_info: