v1
latestOpenAPI 3.0.02026-07-243339471.1 MBGet blocked firewall session logs
This API endpoint retrieves blocked/denied sessions logs from access points, CX switches, gateways in a site.
Query parameters
The ID of the site from which to retrieve the firewall session logs.
The start time for the query in RFC 3339 format, must be less than end-at.
The end time for the query in RFC 3339 format, must be greater than start-at.
OData Version 4.0 filter string (limited functionality). Supports only 'and' conjunction ('or' and 'not' are NOT supported). Supported fields and operators are in the below given table.
| Field | Operators | Required | Type | Default Value | Summary |
|---|---|---|---|---|---|
| deviceType | eq and in | No | String | ('DEVICE_TYPE_AP','DEVICE_TYPE_GATEWAY','DEVICE_TYPE_SWITCH') | Format is a tuple that contains string. Example: ('DEVICE_TYPE_AP','DEVICE_TYPE_GATEWAY') |
| deduplication | eq | No | String | true | Format is string but should only contain values true or false. Returns unique session logs if set to true |
The operators are implemented as follows:
-
eq: Only values exactly matching the given value are returned.
-
in: Only values present in the given list are returned.
The maximum number of items to return.
Cursor for the next page of results. Use the value returned in the next response field to retrieve the next page. Providing both next and offset in the same request returns 400 Bad Request.
The offset of the item at which to begin the response. Providing both offset and next in the same request returns 400 Bad Request.
Response
Successful operation
Example response
{
"items": [
{
"type": "network-monitoring/site-firewall-sessions",
"id": "1699550427000-10.53.110.142-b8:27:eb:61:34:f0-13.107.42.14",
"timestamp": "1699551447000",
"serialNumber": "CN00000000",
"clientUsername": "aruba-test@hpe.com",
"clientMac": "b8:27:eb:61:34:f0",
"sourceIp": "10.53.110.142",
"destinationIp": "13.107.42.14",
"clientRole": "guest",
"ssidName": "guestWifi",
"tunneledTraffic": false,
"clientConnectionType": "wireless",
"vlanId": 12,
"txBytes": 5433,
"rxBytes": 572522496,
"sessionType": "blocked",
"applicationName": "Netflix",
"applicationCategories": [
"Streaming"
],
"webUrl": "netflix.com",
"webCategories": "Streaming Media",
"webReputation": "Trustworthy",
"blockedSessionReason": "Web Classification",
"deviceType": "DEVICE_TYPE_AP",
"tlsServerVersion": "tls_v1.2",
"certificateExpiryDate": 1907231844072,
"destinationLocation": "United States"
}
],
"count": 1,
"next": "NyBErRdk6czGUyDAX5Cp",
"total": 101
}