9/2/2023 0 Comments Jamf pro extension attributes![]() ![]() EA ID - the ID of an extension attribute is displayed in the URL when you are looking at it in your Jamf Pro server.This adds a layer of abstraction to your username/password string so it will require at least some effort for someone to determine what those credentials are besides just displaying them in plain text on your Jamf Pro server. You'll get output in a long string, and that should be placed in Parameter 5 on your policy. To do this format your credentials as apiuser:apipassword (meaning a username and password smooshed together with a colon in the middle of an actual user account that can write with the API, I very much hope it's not apiuser with apipassword as a password lol) and run through the terminal with echo -n 'apiuser:apipassword' | openssl base64. Encoded credentials - take the username and password of your api account and use openssl to convert them into a base64 string. ![]() Jamf Pro Server URL - the URL of your Jamf server, such as.Parameter 4 - Jamf Pro Server URL (no port).When you add the above template script to a Jamf server, take the time to label the parameters so that when it's used in a policy later it'll be easy to remember what information you need to provide for the script to work. I've made a template script that uses parameters set on a policy to update an EA using the API to make this relatively painless to do. If you want want to make this a little more user-friendly, you can make a Self Service policy that runs a script that updates this value using the API. Once created you can find that pop-up menu in whatever tab of a computer record you specified (above, "General") and change the value. (Maybe you can?) So you make a pop-up menu EA for techs to mark if a Mac smells on the computer record in Jamf Pro. ![]() You can't really write a script to pull smell status off of a Mac. So let's say the help desk staff notices that some Macs that come by are really smelly. One of the handiest ways to set info ad hoc is with a pop-up menu extension attribute. Other times you just need to set a simple value for a Mac on demand for reporting purposes. Sometimes you want to snag information off of a client Mac, and for that a small script to grab the info and report it up to the Jamf Pro Server is great. Not all extension attributes (EAs) are created equally. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |