Files
macos_security/rules/os/os_power_nap_enable.yaml
2023-09-14 14:21:06 -04:00

50 lines
960 B
YAML

id: os_power_nap_enable
title: "Enable Power Nap"
discussion: |
Power Nap _MUST_ be enabled.
NOTE: Power nap can interfere with USB power and may cause devices such as smartcards to stop functioning until a reboot.
The following Macs support Power Nap:
* MacBook (Early 2015 and later)
* MacBook Air (Late 2010 and later)
* MacBook Pro (all models with Retina display)
* Mac mini (Late 2012 and later)
* iMac (Late 2012 and later)
* Mac Pro (Late 2013 and later)
check: |
/usr/bin/pmset -g custom | /usr/bin/awk '/powernap/ { sum+=$2 } END {print sum}'
result:
integer: 1
fix: |
[source,bash]
----
/usr/bin/pmset -a powernap 1
----
references:
cce:
- CCE-92854-9
cci:
- N/A
800-53r5:
- N/A
800-53r4:
- N/A
disa_stig:
- N/A
srg:
- N/A
800-171r2:
- N/A
cis:
benchmark:
- N/A
controls v8:
- N/A
macOS:
- "14.0"
tags:
- none
mobileconfig: false
mobileconfig_info: