kingfisher/crates/kingfisher-rules/data/rules/saladcloud.yml
2026-04-14 22:56:19 -07:00

34 lines
919 B
YAML

rules:
- name: SaladCloud API Key
id: kingfisher.saladcloud.1
pattern: |
(?x)
\b
(
salad_cloud_[0-9A-Za-z]{1,7}_[0-9A-Za-z]{7,40}
)
\b
pattern_requirements:
min_digits: 2
min_lowercase: 4
min_entropy: 3.0
confidence: medium
examples:
- 'SALAD_API_KEY=salad_cloud_abc1234_xY9zW8vU7tS6rQ5pN4mL3kJ2iH1gF0e'
- 'salad_key: "salad_cloud_org42_a1B2c3D4e5F6g7H8i9J0"'
references:
- https://docs.salad.com/reference/api-reference
validation:
type: Http
content:
request:
method: GET
url: https://api.salad.com/api/public/organizations
headers:
Accept: application/json
Salad-Api-Key: "{{ TOKEN }}"
response_matcher:
- report_response: true
- type: StatusMatch
status: [200]
- type: JsonValid