forked from mirrors/kingfisher
34 lines
904 B
YAML
34 lines
904 B
YAML
rules:
|
|
- name: Cal.com API Key
|
|
id: kingfisher.calcom.1
|
|
pattern: |
|
|
(?x)
|
|
\b
|
|
(
|
|
cal(?:_live)?_[A-Za-z0-9]{32}
|
|
)
|
|
\b
|
|
pattern_requirements:
|
|
min_digits: 1
|
|
min_entropy: 3.0
|
|
confidence: medium
|
|
examples:
|
|
- 'CAL_API_KEY=cal_live_f1ec52a0b268e00fe30b63e96115c8df'
|
|
- 'Authorization: Bearer cal_live_xK8m2LpQr5nW0vYz3cJ7aB4dE6fG8hJk'
|
|
references:
|
|
- https://cal.com/docs/api-reference/v2/introduction
|
|
validation:
|
|
type: Http
|
|
content:
|
|
request:
|
|
method: GET
|
|
url: https://api.cal.com/v2/me
|
|
headers:
|
|
Authorization: "Bearer {{ TOKEN }}"
|
|
cal-api-version: "2024-08-13"
|
|
Accept: application/json
|
|
response_matcher:
|
|
- report_response: true
|
|
- type: StatusMatch
|
|
status: [200]
|
|
- type: JsonValid
|