Cloudflare changes prompt logging for AI Security for Apps
Published:
Cloudflare is replacing its previous prompt logging procedure for AI Security for Apps. The new workflow uses payload logging and a custom WAF rule.
Cloudflare has changed how prompt content is logged in AI Security for Apps. Administrators must configure payload logging and use a custom WAF rule that references a field with the cf.llm.prompt prefix. When the rule matches, payload logging stores the extracted prompt. If no prompt is extracted and analysis falls back to the full request body, the full body is stored instead. The workflow replaces the previous AI Security Log Mode Ruleset procedure. Teams can therefore review their existing logging configuration and the request contents stored in the fallback case.
Why it matters
Security teams need to account for the new rule and logging workflow. The full request body can be stored in the fallback case.
Source retrieved: 2026-11-28