Skip to content

Instantly share code, notes, and snippets.

@brunerd
Created November 6, 2020 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunerd/378def06cc7661da9ab6226eef7d8e96 to your computer and use it in GitHub Desktop.
Save brunerd/378def06cc7661da9ab6226eef7d8e96 to your computer and use it in GitHub Desktop.
Sample JAMF Smart Group
{
"computer_group": {
"id": 1,
"name": "All 10.15.x Macs",
"is_smart": true,
"site": {
"id": -1,
"name": "None"
},
"criteria": [
{
"name": "Operating System Version",
"priority": 0,
"and_or": "and",
"search_type": "like",
"value": "10.15",
"opening_paren": false,
"closing_paren": false
}
],
"computers": [
{
"id": 1,
"name": "mac1",
"mac_address": "12:34:56:78:9A:BC",
"alt_mac_address": "12:34:56:78:9A:BD",
"serial_number": "Z18D132XJTQD"
},
{
"id": 2,
"name": "mac2",
"mac_address": "12:34:56:78:9A:BE",
"alt_mac_address": "12:34:56:78:9A:BF",
"serial_number": "Z39VM86X01MZ"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment