forked from mirrors/kingfisher
31 lines
719 B
YAML
31 lines
719 B
YAML
rules:
|
|
- name: Lichess Personal Access Token
|
|
id: kingfisher.lichess.1
|
|
pattern: |
|
|
(?x)
|
|
\b
|
|
(
|
|
lip_[a-zA-Z0-9_]{16,60}
|
|
)
|
|
\b
|
|
pattern_requirements:
|
|
min_digits: 2
|
|
min_entropy: 3.5
|
|
confidence: medium
|
|
categories: [api, key]
|
|
examples:
|
|
- 'LICHESS_TOKEN=lip_AbCdEfGhIjKlMnOpQr12'
|
|
validation:
|
|
type: Http
|
|
content:
|
|
request:
|
|
method: GET
|
|
url: https://lichess.org/api/account
|
|
headers:
|
|
Authorization: Bearer {{ TOKEN }}
|
|
response_matcher:
|
|
- report_response: true
|
|
- type: StatusMatch
|
|
status: [200]
|
|
references:
|
|
- https://lichess.org/api
|