v1
latestOpenAPI 3.0.02026-07-14198572488.4 KB[Deprecated]: List WAF Events
Use /reporting/sites/{id}/waf/eventlist instead
Path parameters
ID of the Site you are interacting with
Query parameters
Duration that the listed data is for (m = minutes, h = hours, d = days)
Number of events to provide back
Search for an event by action, client_ip, country, request_path, user_agent, or query_string
Filter events matching a specific action taken by the WAF
[ "allow" ]
Filter events matching a specific IP address
Filter events matching a specific request path or partial path
Filter events matching a specific country
[ "US" ]
Filter events matching a specific ASN
Filter events matching a specific or partial ASN description
Filter events matching a specific HTTP method
[ "POST" ]
Filter events matching a specific or partial HTTP Protocol
Filter events matching a specific or partial Query String
Filter events matching a specific or partial HTTP User Agent
Response
OK
Example response
{
"errors": [
"bf095f43-72a7-45cc-b4c3-cfbace9695cb"
],
"data": {
"viewer": {
"__typename": "viewer",
"zones": [
{
"__typename": "zone",
"activity": [
{
"__typename": "ZoneFirewallEventsAdaptive",
"action": "block",
"clientASNDescription": "UUNET",
"clientAsn": "701",
"clientCountryName": "US",
"clientIP": "1.2.3.4",
"clientRequestHTTPHost": "rocket.net",
"clientRequestHTTPMethodName": "GET",
"clientRequestHTTPProtocol": "HTTP/2",
"clientRequestPath": "/blog/the-rocket-difference-how-we-created-the-fastest-wordpress-hosting-in-the-world/",
"clientRequestQuery": "?rocket=fast",
"datetime": "2024-08-19T20:05:00Z",
"metadata": [
{
"__typename": "ZoneFirewallEventsAdaptiveMetadataElem",
"key": "ruleset_version",
"value": "10"
}
],
"rayName": "8b5cc1855d86842a",
"ruleId": "bfd30cf7be1e4f0b871c7d10dda5fc66",
"sampleInterval": 3.8457300275482096,
"source": "firewallCustom",
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 [FBAN/FBIOS;FBAV/471.0.0.27.107;FBBV/632147304;FBDV/iPhone15,3;FBMD/iPhone;FBSN/iOS;FBSV/17.6.1;FBSS/3;FBCR/;FBID/phone;FBLC/en_US;FBOP/80]"
}
],
"total": [
{
"__typeName": "ZoneFirewallEventsAdaptiveByTimeGroups",
"avg": {
"__typename": "ZoneFirewallEventsAdaptiveByTimeGroupsAvg",
"sampleInterval": 3.8457300275482096
},
"count": 456888
}
]
}
]
}
}
}