kingfisher/crates/kingfisher-rules/data/rules/dependency_track.yml

33 lines
896 B
YAML
Raw Normal View History

2025-06-24 17:17:16 -07:00
rules:
- name: Dependency-Track API Key
id: kingfisher.dtrack.1
2025-06-26 11:31:41 -07:00
pattern: |
2026-03-09 20:11:58 -07:00
(?x)
2025-06-26 11:31:41 -07:00
\b
(
2026-03-09 20:11:58 -07:00
odt_[A-Za-z0-9]{32,255}
2025-06-26 11:31:41 -07:00
)
\b
pattern_requirements:
min_digits: 2
2025-06-24 17:17:16 -07:00
min_entropy: 3.3
confidence: medium
examples:
- 'odt_KTJlDq2AGGGlqG4riKdT7p980AW8RlU5'
- 'odt_ABCDDq2AGxGlrF4ribBT7p98AOM9TlU8'
- 'odt_FHxhQGh77JAHHIYpZ818UQ0aYjXIdMIxxgeR'
2026-02-10 19:24:19 -08:00
references:
- https://docs.dependencytrack.org/integrations/rest-api/#authentication
2025-06-24 17:17:16 -07:00
# validation:
# type: Http
# content:
# request:
# headers:
# Authorization: "Bearer {{ TOKEN }}"
# method: GET
# response_matcher:
# - report_response: true
# - status:
# - 200
# type: StatusMatch
# url: https://dependencytrack.example.com/api/v1/token/verify