mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 05:53:24 +00:00
os_software_update_deferral gives fails finding if 'enforcedSoftwareUpdateDelay' key is not set #238
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 @jmahlman on GitHub.
Originally assigned to: @golbiga on GitHub.
Summary
The
os_software_update_deferralcheck will fail if there is no setting for "enforcedSoftwareUpdateDelay".Steps to reproduce
Operating System version
12.5
What is the current bug behavior?
If no key is preset, the check will be marked as failed.
What is the expected correct behavior?
If the key is not set I believe this should pass as this means there is essentially no delay.
Possible fix
May want to mark as pass if the key is not found.
@jmahlman commented on GitHub:
The change seems to have worked.