Skip to content

Find, verify, and analyze leaked credentials

add description to salad (#3397)

Zachary Rice3ac63414a2df
diff --git a/pkg/detectors/saladcloudapikey/saladcloudapikey.go b/pkg/detectors/saladcloudapikey/saladcloudapikey.go
index b6cf5d261..910b7235c 100644
--- a/pkg/detectors/saladcloudapikey/saladcloudapikey.go
+++ b/pkg/detectors/saladcloudapikey/saladcloudapikey.go
@@ -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)