Skip to content

Commit 5281e28

Browse files
dorlugasigalCopilot
andcommitted
chore: add .gitleaks.toml to allowlist doc placeholders
The curl-auth-header rule flags the example `curl -H "Authorization: Bearer YOUR_PASSWORD"` command in docs/troubleshooting.md as a secret. This is a false positive — YOUR_PASSWORD is a placeholder, not a real credential. Allowlist the path to suppress the finding. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9af0085 commit 5281e28

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.gitleaks.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[allowlist]
2+
description = "Allow example/placeholder credentials in documentation"
3+
paths = [
4+
'''docs/troubleshooting\.md''',
5+
]

0 commit comments

Comments
 (0)