Example
- Credit card numbers
- Email addresses
- API keys in messages
- Before
- After
Recommended enforcement
Enforce at edge
Redact PII before data leaves your network. It never reaches your provider.
Open PRs
Fix the instrumentation so PII is never logged in the first place.
How it works
Tero uses the Master Catalog to understand each field: what it represents, what values it contains, why it exists. This determines which fields get scanned for PII. Any field that could contain PII through normal developer error gets scanned:error_message, request_body, user_input, free-form text fields. Fields that are structurally incompatible with PII are skipped: timestamp, severity, status_code, pid. These have fixed formats. PII can’t end up there through a logging mistake.
Tero detects PII using patterns from gitleaks, a widely-used open source project for secret detection.
Personal information
Personal information
- Credit card numbers (Visa, Mastercard, Amex, Discover)
- Social Security numbers (US)
- National Insurance numbers (UK)
- Email addresses
- Phone numbers
- IP addresses
- IBANs
Cloud providers
Cloud providers
- AWS access keys and secret keys
- GCP API keys
- Azure AD client secrets
- Alibaba access keys
- DigitalOcean tokens
- Heroku API keys
- Cloudflare API keys
- Databricks API tokens
Source control & CI/CD
Source control & CI/CD
- GitHub tokens (PAT, OAuth, App, Fine-grained)
- GitLab tokens (PAT, Deploy, Runner, CI/CD job)
- Bitbucket client secrets
- Travis CI tokens
- CircleCI tokens
- Drone CI tokens
Communication & collaboration
Communication & collaboration
- Slack tokens (bot, user, webhook)
- Discord tokens
- Telegram bot tokens
- Microsoft Teams webhooks
- Mattermost tokens
- Twilio API keys
Databases & infrastructure
Databases & infrastructure
- Database connection strings
- Planetscale tokens
- MongoDB connection strings
- Redis connection strings
- Elasticsearch credentials
Payment & financial
Payment & financial
- Stripe API keys
- Square access tokens
- Plaid API tokens
- Coinbase access tokens
- GoCardless tokens
AI & ML services
AI & ML services
- OpenAI API keys
- Anthropic API keys
- Hugging Face tokens
- Cohere API tokens
Observability & monitoring
Observability & monitoring
- Datadog access tokens
- New Relic API keys
- Grafana API keys
- Sentry tokens
- Dynatrace API tokens
SaaS & productivity
SaaS & productivity
- Notion API tokens
- Asana client secrets
- Linear API keys
- Jira API tokens
- Shopify access tokens
- SendGrid API tokens
- Mailchimp API keys
Cryptographic material
Cryptographic material
- Private keys (RSA, DSA, EC, PGP)
- JWTs
- PKCS12 files
- Age secret keys