cf.waf.content_scan.obj_types
cf.waf.content_scan.obj_types Array<String> An array of file types in the order the content objects were detected in the request.
If Cloudflare cannot determine the file type of a content object, the corresponding value in the obj_types array will be application/octet-stream.
Requires a Cloudflare Enterprise plan with malicious uploads detection.
Example usage:
# Check if requests to a specific endpoint contain content objects other than PDFsany(cf.waf.content_scan.obj_types[*] != "application/pdf") and http.request.uri.path eq "/upload" Categories:
- Request