forked from mirrors/kingfisher
32 lines
946 B
YAML
32 lines
946 B
YAML
rules:
|
|
- name: WarpStream API Key Secret
|
|
id: kingfisher.warpstream.1
|
|
pattern: |
|
|
(?x)
|
|
\b
|
|
(
|
|
aks_[a-f0-9]{64}
|
|
)
|
|
\b
|
|
min_entropy: 3.5
|
|
confidence: medium
|
|
examples:
|
|
- 'WARPSTREAM_API_KEY=aks_a51b1fb20ac4a3af549503bb08cd309672fcada1030c5a494850e87ce5d4c613'
|
|
references:
|
|
- https://docs.warpstream.com/warpstream/reference/api-reference/api-keys
|
|
- https://docs.warpstream.com/warpstream/reference/api-reference/api-keys/list
|
|
validation:
|
|
type: Http
|
|
content:
|
|
request:
|
|
method: GET
|
|
url: https://api.warpstream.com/api/v1/list_api_keys
|
|
headers:
|
|
warpstream-api-key: "{{ TOKEN }}"
|
|
Content-Type: application/json
|
|
Accept: application/json
|
|
response_matcher:
|
|
- report_response: true
|
|
- type: StatusMatch
|
|
status: [200]
|
|
- type: JsonValid
|