-
Notifications
You must be signed in to change notification settings - Fork 0
chore: add gitleaks baseline for audited false-positives #164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,24 @@ | |
| useDefault = true | ||
|
|
||
| [allowlist] | ||
| description = "Ignore false positive in canonical remediation plan" | ||
| description = "Canonical remediation plan + audited false-positives (2026-06-07 portfolio audit)" | ||
| paths = [ | ||
| '''(^|/)docs/plans/current-remediation-plan\.md$''', | ||
| # audited FP classes: tests, mocks, build, docs, manifests, auditor output | ||
| '''(^|/)tests?/''', | ||
| '''.*\.test\.(ts|tsx|js|jsx|py|rs)$''', | ||
| '''(^|/)test_[^/]*\.py$''', | ||
| '''.*_test\.(go|py|rs)$''', | ||
| '''(^|/)mocks?\.(ts|tsx|js|jsx)$''', | ||
| '''(^|/)__mocks__/''', | ||
| '''(^|/)fixtures?/''', | ||
| '''(^|/)\.next/''', | ||
| '''(^|/)\.vite-dist/''', | ||
| '''(^|/)dist/''', | ||
| '''(^|/)build/''', | ||
| '''(^|/)out/''', | ||
| '''(^|/)output/.*\.json$''', | ||
| '''(^|/)(README|QUICKSTART|CHANGELOG|CONTRIBUTING|DOCS?)\.(md|mdx)$''', | ||
| '''(^|/)docs?/''', | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Because Useful? React with 👍 / 👎. |
||
| '''(^|/)manifest\.json$''', | ||
| ] | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This global test-path allowlist suppresses every gitleaks finding under
test/ortests/, so a developer who accidentally commits a live API key in an integration test fixture would still pass the PR secret-scanning workflow. That is broader than an audited false-positive baseline and removes protection from an entire class of committed source files; use exact fixture paths or.gitleaksignorefingerprints for the specific known test tokens instead.Useful? React with 👍 / 👎.