CubePathDOCS
CDN

List Security Events

get/cdn/zones/{zone_uuid}/security-events

See the requests your zone refused, challenged or throttled in the last 30 days: when, why, which of your rules did it, and from where. Only events recorded since the feature was enabled are listed. The address and user agent of the visitor are personal data and need the cdn_visitors:view permission.

Authorization

Authorization
Authorization*string

Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.

Path parameters

zone_uuid*string

Query parameters

minutes?integer

Window in minutes, 1 to 43200 (30 days).

Default60
limit?integer

Events per page, 1 to 200.

Default50
cursor?string | null

next_cursor of the previous page.

action?string | null

blocked, challenged or rate_limited. Challenges are listed only when asked, or with reason=js_challenge.

reason?string | null

Block reason, for example blocked_ip.

Rangelength ≤ 64
rule_uuid?string | null

Only the events of this rule of the zone.

country?string | null

Two-letter country code.

asn?integer | null

Autonomous system number.

Range0 ≤ value ≤ 4294967295
client_ip?string | null

Visitor address. Needs the cdn_visitors:view permission.

path_prefix?string | null
Rangelength ≤ 2048
status?integer | null
Range100 ≤ value ≤ 599
request_id?string | null
Rangelength ≤ 128

Responses

Successful Response

application/json

events*array<CDNSecurityEventItem>
Properties (18)
timestamp*string
action*string
Value in"blocked""challenged""rate_limited"
reason*string
rule_kind*string
Value in"customer""system""unknown"
rule_uuid?string | null
rule_name?string | null
rule_type?string | null
status*integer
client_ip?string | null
user_agent?string | null
country*string
asn*integer
asn_org*string
host*string
method*string
path*string
request_id*string
pop*string
next_cursor?string | null
retention_days*integer
visitor_data_visible*boolean