mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 05:53:24 +00:00
Tailoring system_settings_screensaver_ask_for_password_delay_enforce $ODV=0 does not create a custom rule #3
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 @adammfurman on GitHub.
Summary
When tailoring a baseline, the rule system_settings_screensaver_ask_for_password_delay_enforce asks for an $ODV. Entering "0" as the $ODV does not result in creating a custom value in /custom/rules. Rather, it treats it as accepting the default recommended value of "5".
Steps to reproduce
On the tahoe branch:
Operating System version
macOS 26.2 (25C56)
Intel or Apple Silicon
Apple Silicon Mac (M1 Max)
What is the current bug behavior?
A custom rule is not generated in custom/rules for system_settings_screensaver_ask_for_password_delay_enforce when tailoring the $ODV to "0".
What is the expected correct behavior?
A custom $ODV value for the system_settings_screensaver_ask_for_password_delay_enforce rule should be found in custom/rules
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)
Output of checks
(Paste any output that occurs with the bug)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
@brodjieski commented on GitHub:
Identified the issue where when setting the value to 0, python treated it as false. This is corrected in the dev_2.0 branch, but not sure we will address in 1.0.