feat(neon): add Neon API Key rule

This commit is contained in:
Luke Young 2026-01-30 18:05:59 -08:00 committed by GitHub
commit 678beef114
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

31
data/rules/neon.yml Normal file
View file

@ -0,0 +1,31 @@
rules:
- name: Neon API Key
id: kingfisher.neon.1
pattern: |
(?x)
\b
(
napi_
[a-zA-Z0-9]{64}
)
\b
min_entropy: 3.5
confidence: high
examples:
- napi_f6n4wv0d0nzglfk64c1bnzrc5ug82tmrmekh8h4hsxeq8zd0p5ii234bdkah71kw
references:
- https://neon.com/docs/manage/api-keys
validation:
type: Http
content:
request:
headers:
Authorization: Bearer {{ TOKEN }}
Accept: application/json
method: GET
response_matcher:
- report_response: true
- status:
- 200
type: StatusMatch
url: https://console.neon.tech/api/v2/auth