searchOrgNacClientEvents

GET https://{{host}}/api/v1/orgs/:org_id/nac_clients/events/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
vlan_sourcestringVlan source, e.g. nactag, usermac
nas_vendorstringvendor of NAS device
bssidstringSSID
ssidstringSSID
idp_usernamestringUsername presented to the Identity Provider
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
lookup_time_takenfloatLookup(IDP etc.,) time taken in seconds
usermac_labelslistlabels derived from usermac entry

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,"dryrun_nacrule_id":"32f27e7d-ff26-4a9b-b3d1-ff9bcb264012","dryrun_nacrule_matched":true,"auth_type":"eap-ttls","vlan":"750","vlan_source":"nactag","nas_vendor":"juniper-mist","bssid":"5c5b355fafcc","idp_id":"912ef72e-2239-4996-b81e-469e87a27cd6","idp_role":["itsuperusers","vip"],"usermac_labels":["bldg5","printer"],"resp_attrs":["Tunnel-Type=VLAN","Tunnel-Medium-Type=IEEE-802","Tunnel-Private-Group-Id=750","User-Name=anonymous"],"ssid":"##mist_nac","idp_username":"user@deaflyz.net","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"}]}