ComputerAdded webhook appears to not collect data

JackGTM
New Contributor

Hey Nation, 

I'm using the ComputerAdded webhook to trigger an API call to my Asset Management System and return the Asset Tag of a device to upload to JAMF. By and large I've got this working, but in the process I got thinking that I could use the data from the webhook to sanity check MAC addresses in my AMS. 

Problem is, the ComputerAdded webhook doesn't appear to be providing the MAC address (nor do I appear to be able to view it in the GUI) which leads me to believe that data isn't being collected at all. 

Expand
{
"webhook": {
"id": 1,
"name": "Asset Tag TEST",
"webhookEvent": "ComputerAdded",
"eventTimestamp": 1709810616365
},
"event": {
"udid": "69C2B48D-****-****-****-266461B028B3",
"deviceName": "",
"model": "MacBook Pro (13-inch, 2018)",
"macAddress": "",
"alternateMacAddress": "",
"serialNumber": "C**********L",
"osVersion": "",
"osBuild": "22G90",
"userDirectoryID": "-1",
"username": "",
"realName": "",
"emailAddress": "",
"phone": "",
"position": "",
"department": "",
"building": "",
"room": "",
"ipAddress": "",
"reportedIpAddress": "",
"jssID": 1214
}

My question to the community is, is this a known thing, should I just expect to only get a limited subset of data when the machine enters JAMF for the first time (E.G Serial number, OS build etc) - or is there something wrong with my Jamf server?

Thanks! 

 

 

0 REPLIES 0