mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
add rotation links (#3257)
This commit is contained in:
parent
6bbb683ead
commit
7eb5b5b12c
3 changed files with 10 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue