mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
$ODV value not replaced correctly in nested dict #82
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 @adrian-ib on GitHub.
Originally assigned to: @brodjieski on GitHub.
Summary
$ODV value not replaced correctly in nested dict
Steps to reproduce
./scripts/generate_guidance.py -p baselines/DISA-STIG.yamlcom.apple.mobiledevice.passwordpolicy.plistWhat is the current bug behavior?
The profile
com.apple.mobiledevice.passwordpolicy.plistis not generated correctly:What is the expected correct behavior?
If the same profile is generated in the main branch instead of the sonoma branch it works properly:
Possible fixes
Take into account nested dicts when replacing the $ODV value
@robertgendler commented on GitHub:
Regression from syncing branches and our silly system. Fixed now.