List WAF Events
Lists all requests which triggered actions in the Web Application Firewall (WAF)
Request
- Base URLhttps://api.rocket.net
- AuthHTTP bearer
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)
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 Ray ID
Filter events matching a specific or partial HTTP User Agent
How many results to include in each page (default = 10)
Page of results to include (default = 1)
Response
OK
Example response
{
"success": true,
"errors": [],
"messages": [],
"metadata": {
"page": 1,
"page_size": 10,
"total": 150
},
"result": [
{
"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": [
{
"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]"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.