kingfisher/data/rules/adafruitio.yml
2025-06-26 11:31:41 -07:00

31 lines
No EOL
716 B
YAML

rules:
- name: Adafruit IO Key
id: kingfisher.adafruitio.1
pattern: |
(?xi)
\b
(
aio_
[A-Z0-9]{28}
)
\b
min_entropy: 3.5
confidence: medium
examples:
- ADAFRUIT_AIO_KEY = "aio_giXk31KzM05IVxHRwJwtpNGClUE5"
validation:
type: Http
content:
request:
url: https://io.adafruit.com/api/v2/kingfishermdb/feeds/
headers:
X-AIO-Key: "{{ TOKEN }}"
method: GET
response_matcher:
- report_response: true
- status:
- 200
type: StatusMatch
- type: WordMatch
words:
- '"username"'