Skip to content

Find, verify, and analyze leaked credentials

Remove unnecessary space in Vultr regex pattern (#2689)

fml09c6b454e73637
diff --git a/pkg/detectors/vultrapikey/vultrapikey.go b/pkg/detectors/vultrapikey/vultrapikey.go
index a229f4be6..fc1d4a1a8 100644
--- a/pkg/detectors/vultrapikey/vultrapikey.go
+++ b/pkg/detectors/vultrapikey/vultrapikey.go
@@ -21,7 +21,7 @@ var (
client = common.SaneHttpClient()
// Make sure that your group is surrounded in boundary characters such as below to reduce false positives.
- keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"vultr"}) + ` \b([A-Z0-9]{36})\b`)
+ keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"vultr"}) + `\b([A-Z0-9]{36})\b`)
)
// Keywords are used for efficiently pre-filtering chunks.