feat(rules): Add detection for Scalingo API Token (#1262)

* feat(rules): Add detection for Scalingo API Token

* fix(rules): Add boundary on both ends of Scalingo API Token regex to avoid falve positives
This commit is contained in:
Brandon Welsch authored and GitHub committed 2023-09-04 10:20:56 -05:00
1 parent ed34259e9c
commit d9f86d6123
3 files changed
+33

No files matched your search

+8
View File
@@ -2555,6 +2555,14 @@ keywords = [
"rubygems_",
]
[[rules]]
id = "scalingo-api-token"
description = "Scalingo API token"
regex = '''\btk-us-[a-zA-Z0-9-_]{48}\b'''
keywords = [
"tk-us-",
]
[[rules]]
id = "sendbird-access-id"
description = "Sendbird Access ID"