Git
Source integration to Git, the version control system.
Key | Description | Required |
---|---|---|
directories | Defines the directories to be scanned | No |
repositories | Defines the repositories to be scanned | No |
head | Specifies the head OR branch | No |
base | Specifies the base OR branch | No |
bare | Set to true if the repository is bare | No |
includePathsFile | Path to file containing newline separated list of paths to include in scan | No |
excludePathsFile | Path to file containing newline separated list of paths to exclude from scan | No |
excludeGlobs | Comma separated list of globs | No |
maxDepth | Maximum depth of the repository to be scanned | No |
skipBinaries | If set to true, binary files will be skipped | No |
skipArchives | If set to true, archive files will be skipped | No |
Feature | Supported |
---|---|
Scan archive files | ✅ |
Scans base64 encoded data | ✅ |
Scans binaries | ✅ |
Exclude Filter | ✅ |
Include Filter | ✅ |
Pre-commit | ✅ |
Pre-receive | ✅ |
Scans History | ✅ |
Notes:
- TruffleHog does not scan diffs greater than 1 GB.