Back to Demo Hub
WAF Content Scanning

Malicious Upload Detection

Cloudflare scans every file upload at the edge. Test different detection scenarios โ€” malware blocking, file type restrictions, size limits, and scan result filtering.

cf.waf.content_scan.has_obj Request contains at least one content object
cf.waf.content_scan.has_malicious_obj Request contains at least one malicious object
cf.waf.content_scan.num_malicious_obj Number of malicious objects detected
cf.waf.content_scan.has_failed Content scanning failed (timeout, etc.)
cf.waf.content_scan.obj_sizes Array of file sizes in bytes
cf.waf.content_scan.obj_types Array of detected MIME types
cf.waf.content_scan.obj_results Array of scan verdicts: clean, suspicious, infected, not scanned
๐Ÿ“– View full documentation on Cloudflare Docs โ†’