searchSiteNacClients
GET https://{{host}}/api/v1/sites/:site_id/nac_clients/search
Query Parameters
Name | Type | Description |
---|---|---|
type | string | event type, e.g. NACCLIENTPERMIT |
nacrule_id | string | NAC Policy Rule ID, if matched |
dryrun_nacrule_id | string | NAC Policy Dry Run Rule ID, if present and matched |
auth_type | string | authentication type, e.g. “eap-tls”, “eap-ttls”, “eap-teap”, “mab”, “psk”, “device-auth” |
vlan | string | Vlan ID |
nas_vendor | string | vendor of NAS device |
bssid | string | SSID |
ssid | string | SSID |
username | string | Username presented by the client |
org_id | string | org id |
site_id | string | site id if assigned, null if not assigned |
ap | string | AP MAC |
mac | string | MAC address |
mxedge_id | string | Mist Edge ID used to connect to cloud |
port_type | string | Type of client i.e wired, wireless |
device_mac | string | Switch MAC Address |
ip | string | IP addressed assigned to client |
port_id | string | Port 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"}]}