kingfisher/crates/kingfisher-rules/data/rules/rootly.yml
2026-04-16 16:57:31 -07:00

31 lines
749 B
YAML

rules:
- name: Rootly API Key
id: kingfisher.rootly.1
pattern: |
(?x)
\b
(
rootly_[a-f0-9]{64}
)
\b
pattern_requirements:
min_digits: 4
min_entropy: 3.5
confidence: medium
categories: [api, key]
examples:
- 'ROOTLY_API_KEY=rootly_abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890'
validation:
type: Http
content:
request:
method: GET
url: https://api.rootly.com/v1/users/me
headers:
Authorization: Bearer {{ TOKEN }}
response_matcher:
- report_response: true
- type: StatusMatch
status: [200]
references:
- https://rootly.com/api