Search Policy by ID?

New Contributor

Is there a way to search policy by ID? I'm always interested which policy is running when in terminal, but it only displays by ID.


Honored Contributor II
Honored Contributor II

Well, there may be a way to do it via the API, but if you already have the ID of the policy, it's relatively easy to find the actual policy. Just click on any policy and change out the id= section of the URL for the ID you have.

For example, if I wanted to know about policy ID 250, I'd use this:

That will open up the policy page for you.

Legendary Contributor III

Unless something has changed in recent versions, if you just tail the jamf log in Terminal, it indicates what policy is executing. It should be the last line with the words "Executing Policy" followed by the display name of the policy itself.

tail -10 /var/log/jamf.log

If this behavior has changed in version 9, I'd be interested to know, since that would not be a change for the better in my opinion.