Merge pull request #249 from mongodb/development

v1.85.0 - fix unkey rule
This commit is contained in:
Mick Grove 2026-03-02 21:53:50 -08:00 committed by GitHub
commit f5f8ec595c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,12 +46,11 @@ rules:
- name: Unkey API Key (key_ prefix)
id: kingfisher.unkey.2
pattern: |
(?xi)
(?x)
\b
unkey
(?:.|[\n\r]){0,32}?
(?:API_KEY|KEY|SECRET|TOKEN)?
(?:.|[\n\r]){0,16}?
(
key_[A-Za-z0-9]{10,48}
)
\b
pattern_requirements:
min_digits: 1