mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 12:44:22 +01:00
Add rule for fine-grained GitHub PAT (#1026)
This commit is contained in:
1 parent
6ef704f28f
commit
d0733f96f3
3 files changed
+25
No files matched your search
@@ -1976,6 +1976,14 @@ keywords = [
|
||||
"ghu_","ghs_",
|
||||
]
|
||||
|
||||
[[rules]]
|
||||
description = "GitHub Fine-Grained Personal Access Token"
|
||||
id = "github-fine-grained-pat"
|
||||
regex = '''github_pat_[0-9a-zA-Z_]{82}'''
|
||||
keywords = [
|
||||
"github_pat_",
|
||||
]
|
||||
|
||||
[[rules]]
|
||||
description = "GitHub OAuth Access Token"
|
||||
id = "github-oauth"
|
||||
|
||||
Reference in new issue
Block a user