mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
* add notion api rule * Update cmd/generate/config/rules/notion.go Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com> * Update cmd/generate/config/rules/notion.go Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com> * change gitleaks toml --------- Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com>
This commit is contained in:
1 parent
ef8223700a
commit
79068b35e5
3 files changed
+47
No files matched your search
@@ -2585,6 +2585,13 @@ description = "Discovered a New Relic user API Key, which could lead to compromi
|
||||
regex = '''(?i)[\w.-]{0,50}?(?:new-relic|newrelic|new_relic)(?:[ \t\w.-]{0,20})[\s'"]{0,3}(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)[\x60'"\s=]{0,5}(NRAK-[a-z0-9]{27})(?:[\x60'"\s;]|\\[nr]|$)'''
|
||||
keywords = ["nrak"]
|
||||
|
||||
[[rules]]
|
||||
id = "notion-api-token"
|
||||
description = "Notion API token"
|
||||
regex = '''\b(ntn_[0-9]{11}[A-Za-z0-9]{32}[A-Za-z0-9]{3})(?:[\x60'"\s;]|\\[nr]|$)'''
|
||||
entropy = 4
|
||||
keywords = ["ntn_"]
|
||||
|
||||
[[rules]]
|
||||
id = "npm-access-token"
|
||||
description = "Uncovered an npm access token, potentially compromising package management and code repository access."
|
||||
|
||||
Reference in new issue
Block a user