Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Change commit to trace level logging
Dustin Decker64ace363afd3
diff --git a/pkg/sources/git/git.go b/pkg/sources/git/git.goindex b74f501be..0610035a0 100644--- a/pkg/sources/git/git.go+++ b/pkg/sources/git/git.go@@ -322,7 +322,7 @@ func (s *Git) ScanCommits(ctx context.Context, repo *git.Repository, path stringvar reachedBase = falselog.WithField("repo", urlMetadata).Debugf("Scanning repo")for commit := range commitChan {- log.Debugf("Scanning commit %s", commit.Hash)+ log.Tracef("Scanning commit %s", commit.Hash)if scanOptions.MaxDepth > 0 && depth >= scanOptions.MaxDepth {log.Debugf("reached max depth")break