forked from mirrors/kingfisher
32 lines
914 B
YAML
32 lines
914 B
YAML
rules:
|
|
- name: Frame.io API Token
|
|
id: kingfisher.frameio.1
|
|
pattern: |
|
|
(?x)
|
|
\b
|
|
(
|
|
fio-u-[a-zA-Z0-9\-_=]{64}
|
|
)
|
|
pattern_requirements:
|
|
min_digits: 2
|
|
min_entropy: 3.3
|
|
confidence: medium
|
|
examples:
|
|
- FRAMEIO_TOKEN=fio-u-a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a7b8c9d0e1f2
|
|
- '"Authorization": "Bearer fio-u-b1c2d3e4f5g6h7i8j9k0l1m2n3o4p5q6r7s8t9u0v1w2x3y4z5a6b7c8d9e0f123"'
|
|
references:
|
|
- https://developer.frame.io/docs/getting-started/authentication
|
|
validation:
|
|
type: Http
|
|
content:
|
|
request:
|
|
method: GET
|
|
url: https://api.frame.io/v2/me
|
|
headers:
|
|
Authorization: 'Bearer {{ TOKEN }}'
|
|
Accept: application/json
|
|
response_matcher:
|
|
- report_response: true
|
|
- type: StatusMatch
|
|
status:
|
|
- 200
|