Open jcmbowman opened 3 months ago
@jcmbowman this sounds like a cool feature to add, however I might have some limitations in implementing:
v3/computer-prestages
endpoint, however KMART would require a significant overhaul to either switch to the Jamf Pro API or mix and match between the two APIs.That being said, let's keep this ticket open and see if we can circle back. I'm technically out of the game + just don't have enough experience with the Jamf Pro API to make it all happen (right now).
In case it's helpful, I'm doing this in my jamf_api_tool.py
script, specifically https://github.com/grahampugh/jamf-upload/blob/main/standalone_uploaders/jamf_upload_lib/api_get.py#L254-L293
This is used with jamf_api_tool.py --packages --unused
.
I also check in Patch Titles, not sure if Kmart already does that.
Unfortunately my Swift-fu is also zero, so can't contribute a PR any time soon.
Thanks for leaving this open. I have a few other pressing concerns on my plate at the moment (happy fun CIS Controls compliance) but once I can free up some bandwidth I'll see if I can wrangle some useful additions to this project that would address my issue.
When running the report (which is awesome, by the way - thank you for this excellent tool!) I noticed that in the list of "Mac Packages that are not linked to any Policies" it includes packages that are, in fact, in use as Pre-Stage Enrollment packages.
Is there any chance the Kmart tool could be expanded to pull information on pre-stage enrollments so that these packages could be excluded from the list of unlinked packages?
I would attempt to do this on my own and submit a pull request but XCode/Swift is not currently in my wheelhouse. I appreciate your consideration for this request.