forked from mirrors/kingfisher
37 lines
931 B
YAML
37 lines
931 B
YAML
rules:
|
|
- name: ClickUp Personal API Token
|
|
id: kingfisher.clickup.1
|
|
pattern: |
|
|
(?x)
|
|
\b
|
|
(?i:clickup)
|
|
(?:.|[\n\r]){0,32}?
|
|
\b
|
|
(
|
|
pk_\d{8,9}_[0-9A-Z]{32}
|
|
)
|
|
\b
|
|
pattern_requirements:
|
|
min_digits: 8
|
|
min_uppercase: 4
|
|
min_entropy: 3.5
|
|
confidence: medium
|
|
examples:
|
|
- 'CLICKUP_API_TOKEN=pk_204249739_138RCYNYCVO0GRJ8INODHFRMXN0QSV75'
|
|
- 'clickup_token: "pk_204249739_GSJCPRLQEX43KH4WN8093RZ9DW3CJGM4"'
|
|
references:
|
|
- https://clickup.com/api/
|
|
validation:
|
|
type: Http
|
|
content:
|
|
request:
|
|
method: GET
|
|
url: https://api.clickup.com/api/v2/user
|
|
headers:
|
|
Accept: application/json
|
|
Authorization: "{{ TOKEN }}"
|
|
response_matcher:
|
|
- report_response: true
|
|
- type: StatusMatch
|
|
status: [200]
|
|
- type: JsonValid
|