Scanning repositories is available under Infisical’s Enterprise plan. If you’re self-hosting Infisical, contact [email protected] to purchase an enterprise license.You don’t need a license to scan locally using the CLI.
Data sources
To scan repositories, connect them to Infisical with a data source. A data source covers the repositories in a GitHub organization, a GitLab project or group, or a Bitbucket workspace, and reaches them through an app connection. To create one, follow the guide for your provider: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.
Resources
A resource is one repository that a data source scans, such as a GitHub repository or a GitLab project. Infisical adds resources to a data source when it scans the data source, so a new repository that the data source covers appears after the next scan. To see a data source’s resources and its Scan History, select the data source.
Scans
Infisical runs two types of scan:- Historical scan: Scans every commit in a repository, from the first to the latest
- Realtime scan: Scans only the commits in a new push
Run a historical scan
You can run a historical scan at any time:- Every resource in a data source: Select the options menu on the data source’s row, then select Trigger Scan
- One resource: Select the data source, then select the options menu on the resource’s row and select Trigger Scan
Scan history
The Scan History on a data source’s page shows each scan’s type, its status, and whether it found any secrets.