CubePathDOCS
CDN

Get Managed WAF Results

get/cdn/zones/{zone_uuid}/metrics/waf

See what the managed WAF found on your zone: how many requests it looked at, how many it flagged, the rules that matched most and the paths and countries they came from. In mode "log" it only detects; in mode "block" it answers 403 to the requests whose score reaches the threshold and blocked counts them.

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 1440 (24 hours).

Por defecto60

Respuestas

Successful Response

application/json

ruleset?string | null
period_minutes*integer
evaluated*integer
flagged*integer
would_block*integer
blocked*integer
skipped*integer
top_rules*array<CDNWafRuleCount>
Propiedades (4)
rule_id*string
category?string | null
description?string | null
hits*integer
top_paths*array<CDNWafPathCount>
Propiedades (2)
path*string
hits*integer
top_countries*array<CDNWafCountryCount>
Propiedades (2)
country*string
hits*integer
notes*array<string>