kingfisher/data/rules/shippo.yml
Mick Grove 122885199d - Fixed kingfisher scan so that providing --branch without --since-commit now diffs the branch against the empty tree and scans every commit reachable from that branch.
- Added rules for meraki, duffel, finnhub, frameio, freshbooks, gitter, infracost, launchdarkly, lob, maxmind, messagebird, nytimes, prefect, salingo, sendinblue, sentry, shippo, twitch, typeform
2025-10-20 18:23:12 -07:00

31 lines
836 B
YAML

rules:
- name: Shippo API Token
id: kingfisher.shippo.1
pattern: |
(?xi)
\b
(
shippo_(?:live|test)_[a-f0-9]{40}
)
\b
min_entropy: 3.3
confidence: medium
examples:
- SHIPPO_TOKEN=shippo_test_1234567890abcdef1234567890abcdef12345678
- 'Authorization: "ShippoToken shippo_live_abcdefabcdefabcdefabcdefabcdefabcdefabcd"'
references:
- https://goshippo.com/docs/reference
validation:
type: Http
content:
request:
method: GET
url: https://api.goshippo.com/shipments/
headers:
Authorization: 'ShippoToken {{ TOKEN }}'
Accept: application/json
response_matcher:
- report_response: true
- type: StatusMatch
status:
- 200