Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add reporting on Pre-stage Enrollments #27

Open
jcmbowman opened this issue Mar 26, 2024 · 3 comments
Open

Feature Request: Add reporting on Pre-stage Enrollments #27

jcmbowman opened this issue Mar 26, 2024 · 3 comments

Comments

@jcmbowman
Copy link

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.

@ninxsoft ninxsoft reopened this Mar 27, 2024
@ninxsoft
Copy link
Owner

@jcmbowman this sounds like a cool feature to add, however I might have some limitations in implementing:

  • KMART currently accesses the Jamf Classic API, which from what I can tell, cannot read PreStage Enrolment settings.
  • The Jamf Pro API does have a 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.
  • I don't use Jamf Pro in my day-to-day work anymore, so testing any possible path forward might be a little tricky 😕

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).

@grahampugh
Copy link

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.

@jcmbowman
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants