Skip to main content
Jamf can gather code extension inventories for Secure Annex by defining custom extension attributes. Credit to Tony Young for documenting this.

Create an Extension Attribute

Create a script to retrieve installed VS Code extensions and report them to Jamf Pro.
Change the codePath for each code editor you wish to gather inventories for.
View the most current version of this code on Gist.
  1. Save this script.
  2. Create a new Extension Attribute within Jamf Pro. Set the Display name to something appropriate. For Example: Visual Studio Code Installed Extensions or something shorter like CS Code Extensions.
  3. Add a description, then Set the Data Type to String and Input Type to Script.
Jamf extension attributes
  1. Paste the code snippet into the Script section
Jamf extension attributes
  1. Enable and Save changes.
Code extensions will begin to be gathered by Jamf