GitHub Projects to Simply Jamf Pro Automation & Management via CLI

uurazzle
Contributor II

We have created two projects called "pyton-jamf" and "jctl" to address this and many challenged and give access to the Jamf Pro Classic API to provide automation allows performing Jamf Pro repetitive tasks quickly and provides options not available in the web GUI. “python-jamf“ is a python library that connects to a Jamf Pro server using Jamf Pro Classic API, including keychain support for Jamf Pro credentials via keyring python project, support for PyPi to support pip installation and currently supports 56 Jamf Pro record types which will expand in number as the project continues. “jctl“,  is a command-line tool that uses the “python-jamf” library to select objects to create, delete, print and update. It allows performing Jamf Pro repetitive tasks quickly and provides options not available in the web GUI. It is similar to SQL statements, but far less complex.

I am proud to be co-presenting along with current & former University of Utah & Marriott Library MacAdmins, including Sam Forester, Topher Nadauld, and James Reynolds at the upcoming Virtual JNUC 2021 on Thursday, Oct 21 at 1:30 PM – 2:00 PM MDT on “Turn 1000 clicks into 1 with python-jamf and jctl“.

Check out the presentation and GitHub repositories. 
If you have questions or need help, we have a channel on the MacAdmin Slack workspace #jctl

2 REPLIES 2

rastogisagar123
Contributor II

This will be awesome!!!

Sagar Rastogi

Hi @rastogisagar123:

Please try the project out and let us know what you think. Note, test it on a development server the projects are still in development and considered an alpha release. 

That said, I have been using it in production for about 1 year+ primarily for patch management. Originally, it was on project “patch” that was focused on patch management including installer package management, patch management, including assigning package to patch definition, updating versions, version release branching (i.e. development, testing, production), and scripting and automation. Later, it was split into two projects, “python-jamf“, which is a python library that connects to a Jamf Pro server using Jamf Pro Classic API, including keychain support for Jamf Pro credentials via keyring python project, support for PyPi to support pip installation and currently supports 56 Jamf Pro record types which will expand in number as the project continues. The second project, “jctl“,  is a command-line tool that uses the “python-jamf” library to select objects to create, delete, print and update. It allows performing Jamf Pro repetitive tasks quickly and provides options not available in the web GUI. It is similar to SQL statements, but far less complex.