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/>
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 returnsNo policies were found for the "RandomPolicyName" trigger.and JSM returns success anyways. As far as configuration keys, I am hoping for simplerequiredboolean 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/>