refactor: update DDM logic for nested keys

DDM configuraitons with nested keys are correctly generated
This commit is contained in:
Dan Brodjieski
2025-09-02 10:23:30 -04:00
parent b2ff7554a8
commit 0fbd243e11
6 changed files with 363 additions and 286 deletions

View File

@@ -1,4 +0,0 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

View File

@@ -97,6 +97,7 @@ ddm:
- com.apple.configuration.services.configuration-files
- com.apple.configuration.passcode.settings
- com.apple.configuration.diskmanagement.settings
- com.apple.configuration.softwareupdate.settings
services:
com.apple.bash: /etc/
com.apple.pam: /etc/pam.d/

View File

@@ -28,7 +28,7 @@ references:
- N/A
cis:
benchmark:
- 1.4 (level 1)
- 1.5 (level 1)
controls v8:
- 7.3
- 7.4

View File

@@ -38,6 +38,6 @@ mobileconfig: false
mobileconfig_info:
ddm_info:
declarationtype: com.apple.configuration.softwareupdate.settings
ddm_key:
AutomaticActions: Download
ddm_value: AlwaysOn
ddm_key: AutomaticActions
ddm_value:
Download: AlwaysOn

View File

@@ -49,6 +49,6 @@ mobileconfig: false
mobileconfig_info:
ddm_info:
declarationtype: com.apple.configuration.softwareupdate.settings
ddm_key:
AutomaticActions: InstallSecurityUpdate
ddm_value: AlwaysOn
ddm_key: AutomaticActions
ddm_value:
InstallSecurityUpdate: AlwaysOn

File diff suppressed because it is too large Load Diff