cf.waf.content_scan.obj_sizes
cf.waf.content_scan.obj_sizesArray<Integer>文件大小(以字节为单位)的数组,按请求中检测到内容对象的顺序排列。
需要启用了恶意上传检测的 Cloudflare Enterprise 计划。
用法示例:
# Check if requests to a specific endpoint contain any content objects larger than 500 KB (512,000 bytes)
any(cf.waf.content_scan.obj_sizes[*] > 512000) and http.request.uri.path eq "/upload"类别:
- Request