Skip to content

Computer EA scan requests irrelevant (?) api endpoints #61

@tedja03

Description

@tedja03

Heya!

I was running a Computer EA scan with Prune 3.5.2 and noticed in the logs that it also sends requests to:

  • /JSSResource/mobiledevicegroups
  • /JSSResource/mobiledeviceextensionattributes

Since I have not given the client_id permissions for these endpoints, it ends up soft-crashing.
Is this a bug or can there be dependencies between the EA types?

Thanks in advance!

Error:
Image

Relevant log rows:

20260226_154253 [Scan] start scanning...
20260226_154253 [processItems] Starting to process computerextensionattributes
20260226_154253 [processItems] computerextensionattributes
20260226_154253 [Xml.GET] existing endpoint URL: https://<jamf_url>/JSSResource/computerextensionattributes
20260226_154253 [Xml.GET] successfully retrieved: computerextensionattributes

…
<list of many computer ea entries>
…

20260226_154253 [processItems] Starting to process mobiledeviceextensionattributes
20260226_154253 [processItems] mobiledeviceextensionattributes
20260226_154253 [Xml.GET] existing endpoint URL: https://<jamf_url>/JSSResource/mobiledeviceextensionattributes
20260226_154254 [Xml.GET] error HTTP Status Code: 401

20260226_154254 [Xml.action] Nothing returned for server: https://<jamf_url> endpoint: mobiledeviceextensionattributes
20260226_154254 [processItems] Starting to process mobileDeviceGroups
20260226_154254 [Json.getRecord] get existing endpoints URL: https://<jamf_url>/JSSResource/computergroups
20260226_154254 [processItems] call recursiveLookup for mobileDeviceGroups

…
<list of many computer group entries>
…

20260226_154418 [Json.getRecord] get existing endpoints URL: https://<jamf_url>JSSResource/computergroups/id/459
20260226_154418 [processItems] skipping mobileDeviceGroups - call mobileDeviceGroups
20260226_154418 [processItems] Starting to process mobileDeviceGroups
20260226_154418 [Json.getRecord] get existing endpoints URL: https://<jamf_url>/JSSResource/mobiledevicegroups
20260226_154419 [Json.getRecord] error during GET, HTTP Status Code: 401

20260226_154531 [Json.getRecord] Nothing returned for server: https://<jamf_url> endpoint: mobiledevicegroups
20260226_154533 quitting: token terminated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions