Skip to content

Commit

Permalink
add rotation links (#3257)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x1 authored Sep 4, 2024
1 parent 6bbb683 commit 7eb5b5b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/detectors/elevenlabs/v1/elevenlabs.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
s1 := 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 {
Expand Down
3 changes: 3 additions & 0 deletions pkg/detectors/eraser/eraser.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
s1 := detectors.Result{
DetectorType: detectorspb.DetectorType_Eraser,
Raw: []byte(match),
ExtraData: map[string]string{
"rotation_guide": "https://howtorotate.com/docs/tutorials/eraser/",
},
}

if verify {
Expand Down
3 changes: 3 additions & 0 deletions pkg/detectors/groq/groq.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
s1 := detectors.Result{
DetectorType: detectorspb.DetectorType_Groq,
Raw: []byte(match),
ExtraData: map[string]string{
"rotation_guide": "https://howtorotate.com/docs/tutorials/groq/",
},
}

if verify {
Expand Down

0 comments on commit 7eb5b5b

Please sign in to comment.