macOS
TMA-MACOS-2.10.1.2
Ensure Sleep and Display Sleep Is Enabled on Apple Silicon Devices
보통레벨 2자동macos
설명
MacBooks should be set so that the sleep is 15 minutes or less and the display should sleep at 10 minutes or less. This setting should allow laptop users in most cases to stay within physically secured areas while going to a conference room, auditorium, or other internal location without having to unlock the encryption. Audit: Applies to Apple silicon MacBooks only (others report compliant): battery sleep <= 15 and displaysleep <= 10 and <= sleep.
점검 방법
감사 방식: 셸 명령
shell
[ -x /usr/sbin/ioreg ] || exit 1
m=$(/usr/sbin/ioreg -k product-name | /usr/bin/awk -F '"' '/product-name/ { if ( $0 ~ "MacBook" ) { print $4 } }')
[ -n "$m" ] || { echo compliant; exit 0; }
/usr/sbin/sysctl -n machdep.cpu.brand_string | /usr/bin/grep -q Apple || { echo compliant; exit 0; }
s=$(/usr/bin/pmset -b -g | /usr/bin/awk '$1 == "sleep" {print $2}')
d=$(/usr/bin/pmset -b -g | /usr/bin/awk '$1 == "displaysleep" {print $2}')
if [ -n "$s" ] && [ -n "$d" ] && [ "$s" -le 15 ] && [ "$d" -le 10 ] && [ "$d" -le "$s" ]; then echo compliant; else echo "sleep=$s displaysleep=$d"; fi- 예상 출력
compliant
조치 방법
조치 방식: 가이드 또는 인프라 패치
Terminal: sudo /usr/bin/pmset -a sleep <value≤15> ; sudo /usr/bin/pmset -a displaysleep <value≤10 & < value of sleep> ; sudo /usr/bin/pmset -a sleep 15.
속성
- 운영 체제
- macos-26
- 태그
- macossystem-settings
- 참고 자료
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.10.1.2 Ensure Sleep and Display Sleep Is Enabled on Apple Silicon Devices
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target macos --level 2