mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
system_settings_sleep_enforce rule has same detection limitations as os_sleep_and_display_sleep_apple_silicon_enable on Apple Silicon #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @phaninder-scalefusion on GitHub.
Summary
The system_settings_sleep_enforce rule in macOS Sonoma has similar limitations as os_sleep_and_display_sleep_apple_silicon_enable (issue #576). It fails to correctly detect Apple Silicon MacBooks, lacks CPU architecture validation, and includes sleep/display logic that may conflict with remediation, causing false positives. Since os_sleep_and_display_sleep_apple_silicon_enable already checks and remediates the same settings, this rule appears redundant.
Steps to reproduce
Operating System version
macOS Sonoma
Intel or Apple Silicon
Apple Silicon
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Output of checks
The rule may produce false positives, skip checks, or incorrectly report compliance due to detection and logic limitations.
Possible fixes