FYI:
Continuing our tradition of building custom tools to enhance our existing environment, we've begun building creating a set of applications that allow us to quickly find and make changes to specific machines in the Jamf Pro database. We're calling the collection: SCL Jamf Tools. The first of these tools: Cargo Ship and Tugboat use the Jamf Pro (referred to as Jamf for the rest of this article) API to drill into its depths and help our staff quickly perform tasks that would ordinarily require them to use the Jamf web interface.
Cargo Ship gathers policy and profile information from the Jamf database and then pulls down individual computer records and presents that information in a condensed, easy to digest format.
The driving force behind Tugboat is a project meant to make our Jamf server the center of our inventory efforts in the Marriott Library, keeping track of the desktops, laptops and mobile devices. We’ve added many EA’s to extend the description of a computer, like what the primary purpose the machine is, how it was paid for, how old it is and where it is physically located. Our goal is to be able to ask questions like “Which department has the oldest desktops” or “Why does this person have so many machines” or “How many machines of a certain specification do we have in storage” and get useful information in return.
Both of these tools are written in Python for cross platform usage and keep external modules use to a minimum. The GitHub pages for each project feature a more in-depth discussion of usage and suggestions for integration into your specific environment. We’ve included pre-built versions of both tools for environments with no need to customize them. Py2app was used to build the MacOS applications and cxfeeze for the Windows version.
Here is the blog post:
https://apple.lib.utah.edu/?p=2057
Here is the GitHub repository, where you can download the tools, review the code, etc.
https://github.com/univ-of-utah-marriott-library-apple/scl_jamf_tools