Skip to content

Commit

Permalink
update jamf json schema and example json/profile
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng committed May 19, 2022
1 parent 01803b7 commit 18e969b
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Example Assets/com.github.macadmins.Nudge.json
@@ -1,13 +1,13 @@
{
"optionalFeatures": {
"acceptableCameraUsage": false,
"acceptableApplicationBundleIDs": [
"us.zoom.xos"
],
"acceptableApplicationBundleIDs": [],
"aggressiveUserExperience": true,
"aggressiveUserFullScreenExperience": true,
"asynchronousSoftwareUpdate": true,
"attemptToBlockApplicationLaunches": false,
"attemptToFetchMajorUpgrade": true,
"blockedApplicationBundleIDs": [],
"enforceMinorUpdates": true
},
"osVersionRequirements": [
Expand Down
8 changes: 5 additions & 3 deletions Example Assets/com.github.macadmins.Nudge.mobileconfig
Expand Up @@ -24,17 +24,19 @@
<key>acceptableCameraUsage</key>
<false/>
<key>acceptableApplicationBundleIDs</key>
<array>
<string>us.zoom.xos</string>
</array>
<array/>
<key>aggressiveUserExperience</key>
<true/>
<key>aggressiveUserFullScreenExperience</key>
<true/>
<key>asynchronousSoftwareUpdate</key>
<true/>
<key>attemptToBlockApplicationLaunches</key>
<false/>
<key>attemptToFetchMajorUpgrade</key>
<true/>
<key>blockedApplicationBundleIDs</key>
<array/>
<key>enforceMinorUpdates</key>
<true/>
</dict>
Expand Down
40 changes: 39 additions & 1 deletion Schema/jamf/com.github.macadmins.Nudge.json
Expand Up @@ -31,7 +31,7 @@
}
},
"type": "string",
"title": "acceptableApplicationBundleID"
"title": "acceptableApplicationBundleIDs"
}
}
]
Expand Down Expand Up @@ -92,6 +92,21 @@
}
]
},
"attemptToBlockApplicationLaunches": {
"description": "When enabled, Nudge will attempt to block application launches after the required installation date. This key must be used in conjunction with blockedApplicationBundleIDs (Note: This key is only used with Nudge v1.1.7 and higher)",
"anyOf": [
{
"type": "null",
"title": "Not Configured"
},
{
"title": "Configured",
"type": "boolean",
"default": false
}
]
},
"blocked
"attemptToFetchMajorUpgrade": {
"description": "When a major upgrade is required, Nudge will attempt to download it through the softwareupdate binary. (Note: This key is only used with Nudge v1.1 and will not be honored in v1.0.)",
"anyOf": [
Expand All @@ -106,6 +121,29 @@
}
]
},
"blockedApplicationBundleIDs": {
"description": "The application Bundle ID which Nudge disallows from lauching after the required installation date. (You can specify one or more Bundle ID.)",
"anyOf": [
{
"title": "Not Configured",
"type": "null"
},
{
"title": "Configured",
"type": "array",
"items": {
"options": {
"inputAttributes": {
"placeholder": "us.zoom.xos"
}
},
"type": "string",
"title": "blockedApplicationBundleIDs"
}
}
]
},

"enforceMinorUpdates": {
"description": "When enabled, Nudge will enforce minor updates. This should likely never be disabled.",
"anyOf": [
Expand Down

0 comments on commit 18e969b

Please sign in to comment.