Skip to content

Commit 13f4b89

Browse files
Update pkg/detectors/make/api_token/api_token.go
Co-authored-by: Kashif Khan <[email protected]>
1 parent 4203204 commit 13f4b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/detectors/make/api_token/api_token.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var (
2828
// Make sure that your group is surrounded in boundary characters such as below to reduce false positives.
2929
keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"make"}) + `\b([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})\b`)
3030
// Pattern to match Make.com URLs in the data
31-
urlPat = regexp.MustCompile(`\bhttps://(eu[12]|us[12])\.make\.(?:com|celonis\.com)/api/v2/`)
31+
urlPat = regexp.MustCompile(`\b(eu|us)[12]\.make\.(com|celonis)\.com`)
3232
)
3333

3434
func (Scanner) CloudEndpoint() string { return "" }

0 commit comments

Comments
 (0)