Scanning locally
Scan your code with the Infisical CLI before you push it:Scan with the CLI
Scan a Git repository’s history or a directory for leaked secrets with
infisical scan.Pre-commit hook
Prevent secrets from getting committed with a pre-commit hook that runs
infisical scan.Ignore findings
Stop
infisical scan from reporting secrets you’ve decided are safe to commit.Configuration
Add your own detection rules to
infisical scan and skip secrets you’ve decided are safe.Scanning repositories
Connect your repositories to Infisical, review the secrets it finds, and configure the rules it scans with:GitHub
Scan the repositories a GitHub Radar connection can access.
GitLab
Scan one GitLab project, or the projects in a group.
Bitbucket
Scan the repositories in a Bitbucket workspace.
Findings
Review the secrets Infisical finds in your repositories.
Configuration
Add your own detection rules and skip secrets you’ve decided are safe.