Scan data for secrets

Git

5min


Configuration



Source integration to Git, the version control system.

Local configuration

Basic auth
SSH auth
Unauthenticated


Options

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

Capabilities

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.



Updated 17 Jun 2024
Doc contributor
Doc contributor
Doc contributor
Doc contributor
Did this page help you?