12/30/2023 0 Comments Jamf pro api![]() ![]() “For someone only just staring to use the API to make site changes in JAMF for computers with a script deployed, it makes sense to start using barer tokens out of the gate for future. Rich’s examples tend to become the canonical way of doing a thing, and for good reason - they’re clear and he explains things in a way people can understand. It features some ways to load the credentials needed to run the script. This page was generated by GitHub Pages.DerFlounder posted Updated script for obtaining, checking and renewing Bearer Tokens for the Classic and Jamf Pro APIs recently. If you do not want to manually adjust the columns size then one option is to use the method shown on this site: Import. It does not size the columns unless imported into Excel. CSV we can open the file produced in a text editor or in Excel (recommended). So, let me know!Īny suggestions or ideas for functionality are welcomed! If the demand is there this could easily be converted to a gui-less app. They are all the same if you go to /dist and use java -jar or a Jar Launcher to run the. The different versions are for ease of launching outside of using the standalone app. It needs to be run using java -jar from terminal. It does not launch correctly if you double click (without a jar launcher) on it. Unzip, then use java -jar to open /dist/MobileDeviceTool.jarĮXAMPLE: java -jar ‘/home/jamfuser/TheScopeReport/dist/TheScopeReport.jar’….Has not been tested much in linux, however if you have the most recent versions of the JRE and JDK then it should run fine. Dont want to download Java? Use the App! Unzip and double click the MacOS_Launcher or go to /dist/MobileDeviceTool.jar and double click. Windows: Download Windows version and run the Start_Windows.bat or go to /dist/MobileDeviceTool.jar and double click. NEW: No Java needed if you use the Mac APP Requirements: JDK and JRE (Written in version 1.8) Preliminary testing in Java 9 showed no issues. Running directly on the same server as Jamf Pro would decrease network traffic and would already have all the Java needed. The ability to search only specific device group names would break up calls for larger environments if needed. Which should be very manageable in most environments. It is a steady stream of (non-concurrent) API calls that can vary in size for data returned, however the largest data stream return I have seen is 1 MB. In larger environments it could take a while. ![]() On my test cloud instance, the Group Searches take about a 1 minute each. Note: Any Device group search takes a bit of time and a straight scope report is a lot quicker. As a side note all iOS (mobile) searches work great! A product issue has been filed and if the endpoint is fixed this program will be updated. The only search that works for user’s scoped searches is for MacOS profiles and for Mac Apps, it does not work for users scoped to policies and only pulls one user group for profiles. Warning!! The API endpoint for MacOS (computer) policies and profiles does not report user groups limitatons and exclusions properly. Does not work for MacOS Profiles and Policies due to a lack of an API endpoint, details in the warning.) (Does not show LDAP users, limitations or exclusions, this can be added if requested. NEW: Show what Apps, Ebooks, and Mobile Profiles are scoped to which User Groups Including the search you were performing and any data for recreation would be helpful in figuring out a fix. If you see the “Please file an issue error” please feel free to file an issue. NEW: ERROR HANDLING! It will now tell you when you have the URL or the username/password incorrect. ![]() NEW: No Java needed if you use the Mac App Show what is scoped to Computer Device Groups (Does not show limitations or exclusions). ![]() Show what is scoped to Mobile Device Groups (Does not show limitations or exclusions).The feature request for checking what is scoped to a device or computer group without painstakingly searching through the items or digging up a lengthy MySQL query.Ĭurrently it runs a full scope report, leaving out blank fields, for the following Jamf Pro categories: The specific reporting of scoping that is not available in a Jamf Pro summary. csv file inside the folder it was run in so it is easy to import wherever desired. It can be run from any computer that can access Jamf Pro from their web browser and any user with at least read permission. The Scope Report is a Java program that uses Jamf Pro API calls to collect and organize specific information about how everything is scoped in your Jamf Pro environment. There is a more frequently updated project that can be found here: TheScopeReport TheScopeReport This is a Java program that calls the Jamf Pro API to collect scoping details. TheScopeReport | This is a Java program that calls the Jamf Pro API to collect scoping details. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |