Skip to content
secret-scan
Menu

git

git

The gitleaks filter reads source lines from git objects to check line-bound exceptions.

For a finding under a line-bound exception, the filter runs git cat-file on the finding’s commit and file, takes the line, and compares its line fingerprint with the reviewed value.

git must be on PATH and the cwd must be the scanned repository root. Any git failure reports the finding.