docs 📝: Reduce entropy threshold for generic API key detection
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 11s
Gitleaks Scan / gitleaks (push) Successful in 5s
ai-reviews / Review PR (pull_request) Successful in 33s
Markdown Lint / markdown-lint (push) Successful in 5s
PR check / Gitleaks (pull_request) Successful in 4s
PR check / lint tests (pull_request) Successful in 14s
PR check / handle_failures (pull_request) Has been skipped
PR check / handle_success (pull_request) Successful in 1s

Lowered the entropy threshold in the README.md to more accurately detect generic API keys, improving documentation clarity and user experience.
This commit is contained in:
2026-02-14 10:57:55 +01:00
parent 0e2a32d43e
commit ac3e5e55c6

View File

@@ -37,7 +37,7 @@ id = "generic-api-key-docs"
description = "Ignore placeholder secrets in README.md"
regex = "(?i)(api[_-]?key|secret|token)=\\S+"
filepath = "README.md"
entropy = 10.0 # very high threshold, placeholders won't trigger
entropy = 5.0 # high threshold, placeholders won't trigger
[[rules]]
id = "sidekiq-secret"