Docs
AI Governance and Security Posture
PII Detection

AI Governance - PII Detection

Automatically detect and protect sensitive personal information in your AI operations. Part of comprehensive AI Governance and Security Posture for risk management and compliance.

Automatic PII Detection

AgenticAnts automatically detects sensitive data:

// PII is automatically detected and redacted
const trace = await ants.trace.create({
  name: 'customer-query',
  input: 'My SSN is 123-45-6789 and email is john@example.com'
})
 
// Dashboard shows:
// - PII Types: SSN, Email
// - Action: Redacted
// - Alert: Security team notified

Supported PII Types

  • Social Security Numbers
  • Email addresses
  • Phone numbers
  • Credit card numbers
  • IP addresses
  • Physical addresses
  • Dates of birth

PII Configuration

ants.secops.configure_pii({
    'detection': {
        'enabled': True,
        'types': ['ssn', 'email', 'phone', 'credit_card']
    },
    'redaction': {
        'method': 'hash',
        'preserve_format': True
    }
})

Next Steps