mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-14 08:57:40 +00:00
add description to salad (#3397)
This commit is contained in:
parent
58485f3395
commit
3ac63414a2
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@ func (s Scanner) Keywords() []string {
|
|||
return []string{"salad_cloud_"}
|
||||
}
|
||||
|
||||
func (s Scanner) Description() string {
|
||||
return "Salad-API-Key detector"
|
||||
}
|
||||
|
||||
// FromData will find and optionally verify SaladCloud API Key secrets in a given set of bytes.
|
||||
func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (results []detectors.Result, err error) {
|
||||
dataStr := string(data)
|
||||
|
|
Loading…
Reference in a new issue