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.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

zone_uuid*string

Parámetros de consulta

minutes?integer

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

Por defecto60
limit?integer

Events per page, 1 to 200.

Por defecto50
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.

Rangolength ≤ 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.

Rango0 ≤ value ≤ 4294967295
client_ip?string | null

Visitor address. Needs the cdn_visitors:view permission.

path_prefix?string | null
Rangolength ≤ 2048
status?integer | null
Rango100 ≤ value ≤ 599
request_id?string | null
Rangolength ≤ 128

Respuestas

Successful Response

application/json

events*array<CDNSecurityEventItem>
Propiedades (18)
timestamp*string
action*string
Valores"blocked""challenged""rate_limited"
reason*string
rule_kind*string
Valores"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