To log prompt content for AI Security for Apps, configure payload logging and use a WAF custom rule that references a field with the cf.llm.prompt prefix. When a custom rule matches, payload logging stores the extracted prompt. If no prompt is extracted and analysis falls back to the full request body, payload logging stores the full request body.
WAF - Updated prompt logging for AI Security for Apps
calendar_today
November 24, 2026
domain
cloudflare