Smartgroup report for remote locked computer

sychow
New Contributor

One of our employee's Mac was stolen last week. We sent a remote lock command to the Mac after the employee reported this case to us. However the status of the lock command sent is still 'pending' after a week. The Mac could be reimaged before we sent the command or it might not be online since.

What i wanted to do to create a smart group to monitor the status of this command and notify me once the Mac receives the lock command and successfully locked it. I couldn't find a suitable criteria and available extended attribute, not even script on jamfnation. I am starting to doubt if this is doable or if my idea is practical.

1 REPLY 1

pblake
Contributor III

I am no API expert, but I believe you need to create an EA that searches against the mobile device command. If you can figure out what the command name of the wipe is, you should be good to go.

Check out the API for that. Maybe one of these:

https://YOURJSS:8443/api/#!/computercommands/findComputerCommandsByCommand_get

https://YOURJSS:8443/api/#!/mobiledevicecommands/findMobileDeviceCommandsByCommand_get