setup-your-mac / Setup-Your-Mac

Setup Your Mac aims to simplify initial device configuration by leveraging swiftDialog and Jamf Pro Policy Custom Events to allow end-users to self-complete Mac setup post-enrollment.
https://snelson.us/sym
MIT License
246 stars 54 forks source link

Feature Request: Add `validation` of `recon` for `"trigger": "recon"` in `policyJSON` #19

Closed dan-snelson closed 1 year ago

dan-snelson commented 1 year ago

As currently used in policyJSON, the trigger of recon isn't technically a "trigger," as it's leveraging a built-in function of the jamf binary.

Additionally, in version 1.9.0, the validation of None is now required to actually update inventory, which isn't obvious.

Add a validation for recon to better handle this unique situation.

dan-snelson commented 1 year ago

Addressed in 1.10.0-rc1.