Skip to content

Find, verify, and analyze leaked credentials

Adding Sumo Logic how to rotate (#2103)

āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d737d6b764d8c
diff --git a/pkg/detectors/sumologickey/sumologickey.go b/pkg/detectors/sumologickey/sumologickey.go
index bdb162cf7..8f7312bc9 100644
--- a/pkg/detectors/sumologickey/sumologickey.go
+++ b/pkg/detectors/sumologickey/sumologickey.go
@@ -52,6 +52,9 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
s1 := detectors.Result{
DetectorType: detectorspb.DetectorType_SumoLogicKey,
Raw: []byte(resMatch),
+ ExtraData: map[string]string{
+ "rotation_guide": "https://howtorotate.com/docs/tutorials/sumologic/",
+ },
}
if verify {