Expand description
Secret detection patterns.
Detects common secret patterns in content to prevent accidental capture.
Structsยง
- Secret
Detector - Detector for secrets in content.
- Secret
Match - A detected secret match.
- Secret
Pattern ๐ - Pattern for detecting secrets.
Staticsยง
- ANTHROPIC_
API_ ๐KEY_ REGEX - AWS_
ACCESS_ ๐KEY_ REGEX - AWS_
SECRET_ ๐KEY_ REGEX - AZURE_
AD_ ๐CLIENT_ SECRET_ REGEX - AZURE_
STORAGE_ ๐KEY_ REGEX - BEARER_
TOKEN_ ๐REGEX - Bearer token pattern with reduced false positives.
- DATABASE_
URL_ ๐REGEX - GCP_
SERVICE_ ๐ACCOUNT_ REGEX - GENERIC_
API_ ๐KEY_ REGEX - Generic API key pattern with reduced false positives.
- GENERIC_
SECRET_ ๐REGEX - GITHUB_
PAT_ ๐REGEX - GITHUB_
TOKEN_ ๐REGEX - GOOGLE_
API_ ๐KEY_ REGEX - JWT_
REGEX ๐ - MAILGUN_
API_ ๐KEY_ REGEX - OPENAI_
API_ ๐KEY_ REGEX - PRIVATE_
KEY_ ๐REGEX - SENDGRID_
API_ ๐KEY_ REGEX - SLACK_
TOKEN_ ๐REGEX - SLACK_
WEBHOOK_ ๐REGEX - STRIPE_
API_ ๐KEY_ REGEX - TWILIO_
API_ ๐KEY_ REGEX - TWILIO_
AUTH_ ๐TOKEN_ REGEX
Functionsยง
- secret_
patterns ๐ - Returns the list of secret patterns to check.