forked from mirrors/kingfisher
35 lines
862 B
YAML
35 lines
862 B
YAML
rules:
|
|
- name: Klaviyo API Key
|
|
id: kingfisher.klaviyo.1
|
|
pattern: |
|
|
(?xi)
|
|
\b
|
|
klaviyo
|
|
(?:.|[\n\r]){0,16}?
|
|
\b
|
|
(
|
|
pk_[A-Z0-9]{34}
|
|
)
|
|
\b
|
|
min_entropy: 3.3
|
|
confidence: medium
|
|
examples:
|
|
- klaviyo_key = pk_abcd1234fghij5678klmn9012opqr3456s
|
|
validation:
|
|
type: Http
|
|
content:
|
|
request:
|
|
method: GET
|
|
url: https://a.klaviyo.com/api/accounts
|
|
headers:
|
|
Revision: "2023-02-22"
|
|
Authorization: "Klaviyo-API-Key {{ TOKEN }}"
|
|
Accept: application/json
|
|
response_matcher:
|
|
- report_response: true
|
|
- type: StatusMatch
|
|
status: [200]
|
|
- type: WordMatch
|
|
words: ['"data"']
|
|
references:
|
|
- https://developers.klaviyo.com/en/docs/authenticate_
|