searchSiteNacClients

GET https://{{host}}/api/v1/sites/:site_id/nac_clients/search

Query Parameters

NameTypeDescription
typestringevent type, e.g. NACCLIENTPERMIT
nacrule_idstringNAC Policy Rule ID, if matched
dryrun_nacrule_idstringNAC Policy Dry Run Rule ID, if present and matched
auth_typestringauthentication type, e.g. “eap-tls”, “eap-ttls”, “eap-teap”, “mab”, “psk”, “device-auth”
vlanstringVlan ID
nas_vendorstringvendor of NAS device
bssidstringSSID
ssidstringSSID
usernamestringUsername presented by the client
org_idstringorg id
site_idstringsite id if assigned, null if not assigned
apstringAP MAC
macstringMAC address
mxedge_idstringMist Edge ID used to connect to cloud
port_typestringType of client i.e wired, wireless
device_macstringSwitch MAC Address
ipstringIP addressed assigned to client
port_idstringPort ID for the device

RESPONSES

status: OK

{"start":1512572151,"end":1513176951,"limit":10,"total":1,"results":[{"ap":["5c5b35bf16bb","d4dc090041b4"],"auth_type":"eap-tls","cert_cn":["werqwerty"],"cert_issuer":["/DC=com/DC=onmicrosoft/DC=Juniper461/CN=Juniper461-CA"],"idp_id":"a13df686-dc39-4bdd-920f-89a412444c06","idp_role":["Employee"],"last_ap":"d4dc090041b4","last_cert_cn":"werqwerty","last_cert_expiry":1725373986,"last_cert_issuer":"/DC=com/DC=onmicrosoft/DC=Juniper461/CN=Juniper461-CA","last_nacrule_id":"558d6c97-d3c2-43e7-941d-244603ef5ce6","last_nacrule_name":"mdm_complaince","last_nas_vendor":"juniper-mist","last_ssid":"mdm_test","last_status":"permitted","nacrule_id":["558d6c97-d3c2-43e7-941d-244603ef5ce6"],"nacrule_matched":true,"nacrule_name":["mdm_complaince"],"nas_vendor":["juniper-mist"],"mac":"ac3eb179e535","org_id":"9301bff6-8992-49d6-b1ea-907ee81bb5fb","random_mac":true,"site_id":"13d69fb2-5456-43a1-90c4-89513487dde2","ssid":["mdm_test"],"timestamp":1694689718.612,"type":"wireless"}]}