forked from mirrors/kingfisher
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
rules:
|
|
- name: Clearout API Token
|
|
id: kingfisher.clearout.1
|
|
pattern: |
|
|
(?xi)
|
|
\b
|
|
clearout
|
|
(?:.|[\n\r]){0,16}?
|
|
(?:SECRET|PRIVATE|ACCESS|KEY|TOKEN)
|
|
(?:.|[\n\r]){0,16}?
|
|
\b
|
|
(
|
|
[A-Za-z0-9]{28}
|
|
)
|
|
\b
|
|
min_entropy: 3.5
|
|
confidence: medium
|
|
pattern_requirements:
|
|
min_digits: 2
|
|
examples:
|
|
- clearout_api_token = "a1b2c3d4e5f6g7h8i9j0k1l2m3n4"
|
|
- CLEAROUT_TOKEN=abcdef1234567890abcdef123456
|
|
references:
|
|
- https://docs.clearout.io/api-overview.html
|
|
- https://docs.clearout.io/email-verifier-api.html
|
|
validation:
|
|
type: Http
|
|
content:
|
|
request:
|
|
method: GET
|
|
url: https://api.clearout.io/v2/email_verify/getcredits
|
|
headers:
|
|
Authorization: "Bearer {{ TOKEN }}"
|
|
Content-Type: application/json
|
|
response_matcher:
|
|
- report_response: true
|
|
- type: StatusMatch
|
|
status: [200]
|
|
- type: StatusMatch
|
|
status: [401]
|
|
negative: true
|
|
- type: JsonValid
|