Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
remove ResultWithMetadata.Data (#4659)
Cody Roseb69ed1309db4
diff --git a/pkg/detectors/detectors.go b/pkg/detectors/detectors.goindex d002db2af..86f8671ee 100644--- a/pkg/detectors/detectors.go+++ b/pkg/detectors/detectors.go@@ -213,8 +213,6 @@ type ResultWithMetadata struct {// SourceName is the name of the Source.SourceName stringResult- // Data from the sources.Chunk which this result was emitted for- Data []byte// DetectorDescription is the description of the Detector.DetectorDescription string// DecoderType is the type of decoder that was used to generate this result's data.@@ -231,7 +229,6 @@ func CopyMetadata(chunk *sources.Chunk, result Result) ResultWithMetadata {SourceType: chunk.SourceType,SourceName: chunk.SourceName,Result: result,- Data: chunk.Data,}}