forked from mirrors/kingfisher
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
rules:
|
|
- name: Eventbrite API Key
|
|
id: kingfisher.eventbrite.1
|
|
pattern: |
|
|
(?xi)
|
|
\b
|
|
eventbrite
|
|
(?:.|[\n\r]){0,32}?
|
|
(?:SECRET|PRIVATE|ACCESS|KEY|TOKEN)
|
|
(?:.|[\n\r]){0,32}?
|
|
\b
|
|
(
|
|
[0-9A-Z]{20}
|
|
)
|
|
\b
|
|
pattern_requirements:
|
|
min_digits: 2
|
|
min_entropy: 3.5
|
|
confidence: medium
|
|
examples:
|
|
- eventbrite secretkey X7W8HTTHLVYXPPVRZJZS
|
|
- eventbrite privatekey YTR4GR5T89WQP8HJKLDF
|
|
- '"eventbrite private access key ZXC2JK3HV4TY5UIO6PLK"'
|
|
- eventbrite token ABCDEF1234567890QRST
|
|
references:
|
|
- https://www.eventbrite.com/platform/docs/authentication
|
|
- https://www.eventbrite.com/platform/docs/organizations
|
|
validation:
|
|
type: Http
|
|
content:
|
|
request:
|
|
method: GET
|
|
url: https://www.eventbriteapi.com/v3/users/me/organizations/
|
|
headers:
|
|
Authorization: "Bearer {{ TOKEN }}"
|
|
Accept: application/json
|
|
response_matcher:
|
|
- report_response: true
|
|
- type: StatusMatch
|
|
status: [200]
|
|
- type: WordMatch
|
|
words: ['"organizations"']
|