- Updating to support Bitbucket App Passwords

- Improved boundaries for several rules
- Added more rules
This commit is contained in:
Mick Grove 2025-11-20 16:33:28 -08:00
commit 17e0ca3594
11 changed files with 245 additions and 37 deletions

View file

@ -3,7 +3,7 @@ rules:
id: kingfisher.github.1
pattern: |
(?xi)
(
(
github_pat_
[A-Z0-9_+]{82,84}
)
@ -39,8 +39,7 @@ rules:
- name: GitHub Personal Access Token
id: kingfisher.github.2
pattern: |
(?xi)
\b
(?xi)
(
ghp_(?P<body>[A-Z0-9]{30})(?P<checksum>[A-Z0-9]{6})
)
@ -85,9 +84,8 @@ rules:
- name: GitHub OAuth Access Token
id: kingfisher.github.3
pattern: |
(?xi)
\b
(
(?xi)
(
gho_(?P<body>[A-Z0-9]{30})(?P<checksum>[A-Z0-9]{6})
)
pattern_requirements: