kingfisher/crates/kingfisher-rules/data/rules/iterable.yml
2026-03-03 16:47:59 -08:00

36 lines
995 B
YAML

rules:
- name: Iterable API Key
id: kingfisher.iterable.1
pattern: |
(?xi)
(?:iterable)
(?:.|[\n\r]){0,32}?
(?:KEY|TOKEN|SECRET|API)
(?:.|[\n\r]){0,16}?
\b
(
[A-Za-z0-9]{32,64}
)
\b
pattern_requirements:
min_digits: 3
min_entropy: 3.5
confidence: medium
examples:
- "ITERABLE_API_KEY=a3B8f29E4d1C6a0578e23D9f41b6C8e2"
- 'iterable_api_key: "E7d2A1f849c3B05d6e81F2a794c3D5b09f4B2d7E"'
- "export ITERABLE_KEY=9f4B2d7E1a3c8056d2E7f1b94A6c3d80"
references:
- https://api.iterable.com/api/docs
validation:
type: Http
content:
request:
method: GET
url: "https://api.iterable.com/api/export/data.json?dataTypeName=emailSend&range=Today&onlyFields=List.empty"
headers:
Api_Key: "{{ TOKEN }}"
response_matcher:
- report_response: true
- type: StatusMatch
status: [200]