List security logs
Returns WAF, bot detection, geo-blocking, rate limiting, and IP access control events for the cluster, sorted by created_at (newest first by default).
When neither start_time nor end_time is provided the query covers the last hour. The maximum date range is 90 days.
Required scope: clusters:logs:read
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/clusters/{cluster_id}/security-logs
- Auth: API key in header API-Key
Path parameters
Query parameters
Maximum number of results to return.
Number of results to skip from the start.
Inclusive start time (ISO 8601). Defaults to one hour ago when omitted.
Inclusive end time (ISO 8601). Defaults to the current time when omitted.
Category of security event.
Filter by event type.
Filter by action taken on the request.
Filter by exact source IP address (IPv4 or IPv6).
Filter by ISO 3166-1 alpha-2 country code (uppercase).
Case-insensitive substring match on message and uri.
Sort direction.
Sort order by created_at. Defaults to desc (newest first).
Headers
Response
The request has succeeded.
Example response
[
{
"method": "POST",
"country": "US",
"matched_rules": [
{
"rule_id": "942100",
"attack_type": "sqli"
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.