Recommended rollout path
Start by observing. Then tune. Then enforce.Local environment
In local development, use logging so you can understand what the middleware detects.Staging environment
In staging, continue logging but use traffic and examples that look closer to production.Production environment
In production, use stricter defaults.- blocks common prompt injection attempts
- redacts common structured PII
- blocks high-risk secrets
- avoids exposing raw sensitive values to the provider