Jamf Pro and Classic API Changes:
+ Add support for Jamf Pro Classic API Bearer Tokens
+ Now uses Bearer Tokens to interact with the Classic API
+ Moved to using the Pro API for all endpoints where available
+ Created new helper methods for interacting with the Jamf Pro APIs and managing user authentication details
- Removed basic authentication support
Adding logging function for handling output to Policy Logs (level can be dynamically changed)
+ Numerous bug fixes
+ *Now* _actually_ Python3 ready...
+ Better (actual) support for macOS 11 and newer
+ Updated for Jamf Pro's new icon API
+ Adding logging function for handling output to Policy Logs (level can be dynamically changed)
+ Further improved launchctl functions
+ Additional code improvements
+ Fixed an issue when parsing through accounts passed via argument 4
+ Improved the comparison for local admins and protected admins (made this more reliable/safe)
+ Should prevent accounts with substrings of one another from matching
Some org's prefer to run (potentially) long scripts in a Policy and not during the actual inventory process. This version of the script will support that workflow while also still support being ran from a Jamf Pro Extension Attribute.
Includes query topics that cover os software details, hardware details, management health, security details, recently enrolled and not managed, and devices not in a Site
Added notes for the following tables:
* computers
* computers_denormalized
* mobile_devices_denormalized
* mobile_device_management_commands
Reorganized tables in alphabetical order.
* Fixed a bug due to a comparison operation that caused an error when the latest OS supported for a given model was a macOS `10.x` version.
* This bug did not affect the results of the script though.
* Simply reversed the conditional logic to resolve this issue
* Thanks to @allanp81 on the MacAdmins Slack for reporting this