Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Change github file extension log message verbosity (#4159)
Martin Locklear6935658ba960
diff --git a/pkg/handlers/archive.go b/pkg/handlers/archive.goindex 6d20d95bb..c3bf11de7 100644--- a/pkg/handlers/archive.go+++ b/pkg/handlers/archive.go@@ -202,7 +202,7 @@ func (h *archiveHandler) extractorHandler(dataOrErrChan chan DataOrErr) func(con}if common.SkipFile(file.Name()) || common.IsBinary(file.Name()) {- lCtx.Logger().V(3).Info("skipping file: extension is ignored")+ lCtx.Logger().V(4).Info("skipping file: extension is ignored")h.metrics.incFilesSkipped()return nil}diff --git a/pkg/handlers/default.go b/pkg/handlers/default.goindex c65ac4bfe..e18511b01 100644--- a/pkg/handlers/default.go+++ b/pkg/handlers/default.go@@ -99,7 +99,7 @@ func (h *defaultHandler) handleNonArchiveContent(mimeExt := reader.mimeExtif common.SkipFile(mimeExt) || common.IsBinary(mimeExt) {- ctx.Logger().V(3).Info("skipping file: extension is ignored", "ext", mimeExt)+ ctx.Logger().V(4).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)