Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
chore: increase level for verbose log (#3589)
Richard Gomez61304007df30
diff --git a/pkg/handlers/archive.go b/pkg/handlers/archive.goindex 98e31ba84..0b4e8e0bd 100644--- a/pkg/handlers/archive.go+++ b/pkg/handlers/archive.go@@ -182,7 +182,7 @@ func (h *archiveHandler) extractorHandler(archiveChan chan []byte) func(context.}if common.SkipFile(file.Name()) || common.IsBinary(file.Name()) {- lCtx.Logger().V(2).Info("skipping file: extension is ignored")+ lCtx.Logger().V(3).Info("skipping file: extension is ignored")h.metrics.incFilesSkipped()return nil}diff --git a/pkg/handlers/default.go b/pkg/handlers/default.goindex 31ebbf8b4..7db724cb4 100644--- a/pkg/handlers/default.go+++ b/pkg/handlers/default.go@@ -76,7 +76,7 @@ func (h *defaultHandler) handleNonArchiveContent(ctx logContext.Context, readermimeExt := reader.mimeExtif common.SkipFile(mimeExt) || common.IsBinary(mimeExt) {- ctx.Logger().V(2).Info("skipping file: extension is ignored", "ext", mimeExt)+ ctx.Logger().V(3).Info("skipping file: extension is ignored", "ext", mimeExt)h.metrics.incFilesSkipped()// Make sure we consume the reader to avoid potentially blocking indefinitely._, _ = io.Copy(io.Discard, reader)