Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Reduce verbosity of chunk trace logging (#4161)
Martin Locklearab76fe443d30
diff --git a/pkg/engine/engine.go b/pkg/engine/engine.goindex d7f808f35..a743e0b42 100644--- a/pkg/engine/engine.go+++ b/pkg/engine/engine.go@@ -1055,7 +1055,7 @@ func (e *Engine) detectChunk(ctx context.Context, data detectableChunk) {"chunk_source_id", data.chunk.SourceID,"chunk_source_metadata", data.chunk.SourceMetadata.String())- ctx.Logger().V(4).Info("Starting to detect chunk")+ ctx.Logger().V(5).Info("Starting to detect chunk")isFalsePositive := detectors.GetFalsePositiveCheck(data.detector.Detector)@@ -1127,7 +1127,7 @@ func (e *Engine) detectChunk(ctx context.Context, data detectableChunk) {matchesPerChunk.Observe(float64(matchCount))- ctx.Logger().V(4).Info("Finished detecting chunk")+ ctx.Logger().V(5).Info("Finished detecting chunk")data.wgDoneFn()}