Feature: Required Policy actions #23

Open
opened 2026-01-19 18:31:16 +00:00 by michael · 1 comment
Owner

Originally created by @jfiliceatcsumb on GitHub.

Please add a feature for Jamf policy actions in which we can specify if the policy is required to run. JSM only shows that a policy returns failure if the policy actually runs. However, if a policy doesn't run, then JSM still returns success 0. For example, if the jamf binary thinks the policy is not in scope, jamf binary returns No policies were found for the "RandomPolicyName" trigger. and JSM returns success anyways. As far as configuration keys, I am hoping for simple required boolean key such as in the example below.

<key>label</key>
<string>Microsoft Office Business Pro 2024</string>
<key>icon</key>
<string>https://use2.ics.services.jamfcloud.com/icon/hash_493c753ce656321af8431504107d054e660a723c9efba2e070f7fdaead7b16cb</string>
<key>policy</key>
<string>msoffice</string>
<key>required</key>
<true/>

Originally created by @jfiliceatcsumb on GitHub. Please add a feature for Jamf policy actions in which we can specify if the policy is required to run. JSM only shows that a policy returns failure if the policy actually runs. However, if a policy doesn't run, then JSM still returns success `0`. For example, if the jamf binary thinks the policy is not in scope, jamf binary returns `No policies were found for the "RandomPolicyName" trigger.` and JSM returns success anyways. As far as configuration keys, I am hoping for simple `required` boolean key such as in the example below. `<key>label</key>` `<string>Microsoft Office Business Pro 2024</string>` `<key>icon</key>` `<string>https://use2.ics.services.jamfcloud.com/icon/hash_493c753ce656321af8431504107d054e660a723c9efba2e070f7fdaead7b16cb</string>` `<key>policy</key>` `<string>msoffice</string>` `<key>required</key>` `<true/>`
michael added the enhancement label 2026-01-19 18:31:16 +00:00
Author
Owner

@jfiliceatcsumb commented on GitHub:

For any policies that are required but did not run, I would expect JSM to return failed and log in SetupManagerUserData.txt

@jfiliceatcsumb commented on GitHub: For any policies that are required but did not run, I would expect JSM to return `failed` and log in `SetupManagerUserData.txt`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jamf/Setup-Manager#23