You must add a computer extension attribute that is populated by analytics to Jamf Pro.
In Jamf Pro, navigate to . Depending on your version of Jamf Pro, do the following in the Jamf Pro extension attributes:
-
If using Jamf Pro 10.19.0 or later, click New From Template and enter Jamf Protect - Smart Groups in the search bar to find the correct template.
-
If using Jamf Pro 10.18.0 or earlier, choose from the Input Type pop-up menu, and then enter the following:
#!/bin/bash SMARTGROUPS_DIR=/Library/Application\ Support/JamfProtect/groups if [ -d "$SMARTGROUPS_DIR" ]; then SMART_GROUPS=`/bin/ls "$SMARTGROUPS_DIR" | tr '\n' ','` echo "<result>${SMART_GROUPS%?}</result>" else echo "<result></result>" fi exit 0
You can now use the extension attribute as smart group membership criteria.
To create a smart group using Jamf Pro, see Creating a Smart Group in Jamf Pro.