kingfisher/data/rules/codacy.yml
2025-06-24 17:17:16 -07:00

33 lines
No EOL
784 B
YAML

rules:
- name: Codacy API Key
id: kingfisher.codacy.1
pattern: |
(?xi)
\b
codacy
(?:.|[\n\r]){0,32}?
(?:SECRET|PRIVATE|ACCESS|KEY|TOKEN)
(?:.|[\n\r]){0,32}?
\b
(
[0-9A-Za-z]{20,24}
)
min_entropy: 3.5
confidence: medium
examples:
- codacySECRET=a1b2c3d4e5f6g7h8i9j0
- codacyACCESS_KEY k1l2m3n4o5p6q7r8s9t0
validation:
type: Http
content:
request:
headers:
Accept: application/json
api-token: '{{ TOKEN }}'
method: GET
response_matcher:
- report_response: true
- status:
- 200
type: StatusMatch
url: https://app.codacy.com/api/v3/user/organizations