Detect and redact common PII patterns (email, phone, SSN, credit card) in agent input and output.
Automatically detect and redact personally identifiable information in agent requests and responses. This policy covers the four most common PII patterns and redacts them before they reach the LLM or the end user.
Action to take on PII detection. Options: REDACT, DENY, MONITOR
patterns
["EMAIL", "PHONE", "SSN", "CREDIT_CARD"]
PII types to detect. Also available: ADDRESS, NAME, DOB, PASSPORT
redact_in_logs
true
Whether to redact PII in TealAudit log entries
Setting action to DENY will block the entire request if any PII is detected. Use REDACT for most use cases to allow the request to proceed with PII removed.