Firewall for AI
WAF detection for LLM endpoints that flags PII, prompt injection and unsafe topics in prompts.
- Provider
- cloudflare
- Category
- Security
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| botProtection | boolean | — | no | — | ▸ false |
| customRuleCount | integer | — | no | — | inherited |
| endpointLabel | string | — | no | cf-llm | inherited |
| managed | boolean | — | no | false | ▸ true |
| managedRuleSet | string | — | no | — | inherited |
| mode | enum | detection | prevention | off | no | — | ▸ detection |
| piiDetection | boolean | — | no | true | inherited |
| promptInjectionDetection | boolean | — | no | true | inherited |
| rateLimiting | boolean | — | no | — | ▸ false |
| unsafeTopicDetection | boolean | — | no | true | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
No rule reads this kind yet. That is a gap, not a guarantee.
nodes:
- { id: "firewall-for-ai", component: "cloudflare-firewall-for-ai" }Web Application Firewallalibaba-wafAWS WAF web ACLaws-wafAWS WAF Classicaws-waf-classicAzure Web Application Firewallazure-web-application-firewallCloudflare WAFcloudflare-wafCorazacorazaImperva Application SecurityimpervaModSecuritymodsecurityNAXSInaxsiGeneric web application firewallwafGoogle Cloud Armorgoogle-cloud-armorreCAPTCHA Enterprisegoogle-recaptcha-enterpriseWeb Application Firewalloci-waf
# yaml-language-server: $schema=../../schema/component.schema.json # Firewall for AI (AI Security for Apps): WAF detection that scans prompts on endpoints # labelled cf-llm for PII, prompt injection and unsafe topics. It only populates detection # fields; blocking needs a custom or rate limiting rule ("Firewall for AI"), so it ships # in detection mode. schemaVersion: "1" type: "component" id: "cloudflare-firewall-for-ai" kind: "waf" provider: "cloudflare" docs: "https://developers.cloudflare.com/waf/detections/firewall-for-ai/" defaults: managed: true mode: "detection" rateLimiting: false botProtection: false properties: promptInjectionDetection: type: "boolean" default: true piiDetection: type: "boolean" default: true unsafeTopicDetection: type: "boolean" default: true endpointLabel: type: "string" default: "cf-llm"