Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
add rotation links (#3257)
0x17eb5b5b12ce2
diff --git a/pkg/detectors/elevenlabs/v1/elevenlabs.go b/pkg/detectors/elevenlabs/v1/elevenlabs.goindex 824059412..5b84c1963 100644--- a/pkg/detectors/elevenlabs/v1/elevenlabs.go+++ b/pkg/detectors/elevenlabs/v1/elevenlabs.go@@ -55,7 +55,10 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (results1 := detectors.Result{DetectorType: detectorspb.DetectorType_ElevenLabs,Raw: []byte(match),- ExtraData: map[string]string{"version": "1"},+ ExtraData: map[string]string{+ "version": "1",+ "rotation_guide": "https://howtorotate.com/docs/tutorials/elevenlabs/",+ },}if verify {diff --git a/pkg/detectors/eraser/eraser.go b/pkg/detectors/eraser/eraser.goindex a96dfceb9..f170f295c 100644--- a/pkg/detectors/eraser/eraser.go+++ b/pkg/detectors/eraser/eraser.go@@ -46,6 +46,9 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (results1 := detectors.Result{DetectorType: detectorspb.DetectorType_Eraser,Raw: []byte(match),+ ExtraData: map[string]string{+ "rotation_guide": "https://howtorotate.com/docs/tutorials/eraser/",+ },}if verify {diff --git a/pkg/detectors/groq/groq.go b/pkg/detectors/groq/groq.goindex c5d52ea51..53a191819 100644--- a/pkg/detectors/groq/groq.go+++ b/pkg/detectors/groq/groq.go@@ -42,6 +42,9 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (results1 := detectors.Result{DetectorType: detectorspb.DetectorType_Groq,Raw: []byte(match),+ ExtraData: map[string]string{+ "rotation_guide": "https://howtorotate.com/docs/tutorials/groq/",+ },}if verify {