From 737d6b764d8cf827d39d6dff5e881fa0b15e5734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=81h=CC=95=CC=B3m=CD=AD=CD=AD=CD=A8=CD=A9=CC=90e=CD=AC?= =?UTF-8?q?=CC=81=CD=8B=CD=AC=CC=8A=CC=93=CD=82=CC=98d?= <13666360+0x1@users.noreply.github.com> Date: Thu, 9 Nov 2023 12:48:08 -0500 Subject: [PATCH] Adding Sumo Logic how to rotate (#2103) --- pkg/detectors/sumologickey/sumologickey.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/detectors/sumologickey/sumologickey.go b/pkg/detectors/sumologickey/sumologickey.go index bdb162cf7fc7..8f7312bc922a 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 {