searchSiteNacClientEvents
GET https://{{host}}/api/v1/sites/:site_id/nac_clients/events/search
Query Parameters
Name | Type | Description |
---|---|---|
nacrule_id | string | NAC Policy Rule ID, if matched |
nacrule_matched | bool | If NAC Policy Rule Matched |
auth_type | string | authentication type, e.g. “eap-tls”, “eap-ttls”, “eap-teap”, “mab”, “device-auth” |
vlan | string | Vlan name or ID assigned to the client |
nas_vendor | string | vendor of NAS device |
idp_id | string | SSO ID, if present and used |
ssid | string | SSID |
username | string | Username presented by the client |
timestamp | long | start time, in epoch |
org_id | string | org id |
site_id | string | site id if assigned, null if not assigned |
ap | string | AP MAC connected to by client |
mac | string | MAC address |
status | string | Connection status of client i.e “permitted”, “denied, “session_ended” |
type | string | Client type i.e. “wireless”, “wired” etc. |
mdm_compliance | string | MDM compliancy of client i.e “compliant”, “not compliant” |
mdm_provider | string | MDM provider of client’s organisation eg “intune”, “jamf” |
mxedge_id | string | ID of Mist Edge that the client is connected through |
nacrule_name | string | NAC Policy Rule Name matched |
RESPONSES
status: OK
{"start":1512572151,"end":1513176951,"limit":10,"total":1,"results":[{"type":"NAC_CLIENT_PERMIT","nacrule_id":"32f27e7d-ff26-4a9b-b3d1-ff9bcb264c62","nacrule_matched":true,"auth_type":"eap-ttls","vlan":"750","nas_vendor":"juniper-mist","bssid":"5c5b355fafcc","idp_id":"912ef72e-2239-4996-b81e-469e87a27cd6","idp_role":["itsuperusers","vip"],"resp_attrs":["Tunnel-Type=VLAN","Tunnel-Medium-Type=IEEE-802","Tunnel-Private-Group-Id=750","User-Name=anonymous"],"ssid":"##mist_nac","username":"user@deaflyz.net","timestamp":1691512031.358188,"org_id":"27547ac2-d114-4e04-beb1-f3f1e6e81ec6","site_id":"441a1214-6928-442a-8e92-e1d34b8ec6a6","random_mac":false,"ap":"5c5b35513227","mac":"ac3eb179e535"}]}