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
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user