macadmins / nudge

A tool for encouraging the installation of macOS security updates.
Apache License 2.0
1.05k stars 187 forks source link

jamf json schema should invert all optional keys to be selected via admin #231

Closed erikng closed 3 years ago

erikng commented 3 years ago

All of the keys in the jamf json schema are automatically added to the available items when an admin is selecting them.

Instead, I think it would be ideal for an admin to have to select each and every key they want to modify. This will likely reduce the amount of keys a jamf admin deploys and force them to read the documentation to better understand what the key structure does.

Rather than deploy 40 keys that are identical to the 40 default keys, an admin may only end up deploying 5 keys that are different.

erikng commented 3 years ago

https://github.com/BIG-RAT/Managed-App-Schema-Builder may help

https://github.com/Jamf-Custom-Profile-Schemas/JSON-Schema-for-Jamf-Pro-Applications-and-Settings-MDM-Payload

erikng commented 3 years ago

Would appreciate someone trying https://github.com/macadmins/nudge/blob/development/Schema/jamf/com.github.macadmins.Nudge.json and reporting back on it.

erikng commented 3 years ago

raw link to copy/paste from https://raw.githubusercontent.com/macadmins/nudge/development/Schema/jamf/com.github.macadmins.Nudge.json

erikng commented 3 years ago

An admin tested this and confirmed it's working as expected.