Skip to content

Commit

Permalink
Add "How to Rotate" guide link
Browse files Browse the repository at this point in the history
  • Loading branch information
seniorquico committed Sep 10, 2024
1 parent 14ea8ed commit 8219263
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/detectors/saladcloudapikey/saladcloudapikey.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
s1 := detectors.Result{
DetectorType: detectorspb.DetectorType_SaladCloudApiKey,
Raw: []byte(match),
ExtraData: map[string]string{
"rotation_guide": "https://howtorotate.com/docs/tutorials/saladcloudapikey/",
},
}

if verify {
Expand Down

0 comments on commit 8219263

Please sign in to comment.