kingfisher/data/rules/authress.yml
2025-08-16 07:33:36 -07:00

30 lines
988 B
YAML

rules:
- name: Authress Service Client Access Key
id: kingfisher.authress.1
pattern: |
(?xi)
(
(?:sc|ext|scauth|authress)_[a-z0-9]{5,30}\.[a-z0-9]{4,6}\.acc[_-][a-z0-9-]{10,32}\.[a-z0-9+/_=-]{30,120}
)
confidence: medium
min_entropy: 4.0
validation:
type: Http
content:
request:
method: GET
url: "https://api.authress.io/v1/users/me"
headers:
Authorization: "Bearer {{TOKEN}}"
response_matcher:
- report_response: true
- type: JsonValid
- type: WordMatch
words:
- '"Unauthorized"'
negative: true
references:
- https://authress.io/knowledge-base/docs/authorization/service-clients/access-keys/
- https://authress.io/knowledge-base/docs/usage-guides/api-keys-as-a-service-setup/
examples:
- "sc_V2.access-key-id.acc_my-account-id.secret-key-material-that-is-long"