Skip to content

chore: add redacted gitleaks history baseline - #436

Merged
LukasWodka merged 1 commit into
developfrom
chore/gitleaks-history-baseline
Jul 31, 2026
Merged

chore: add redacted gitleaks history baseline#436
LukasWodka merged 1 commit into
developfrom
chore/gitleaks-history-baseline

Conversation

@LukasWodka

@LukasWodkaLukasWodka commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Adds a redacted gitleaks history baseline so the full-history dispatch scan runs clean; 1 historical finding triaged, classification relayed privately. Part of tracebloc/backend#1303

🤖 Generated with Claude Code


Note

Low Risk
CI configuration and a baseline allowlist only; no runtime, auth, or application logic changes.

Overview
Adds .gitleaks-baseline.json with one redacted, triaged historical hit (generic-api-key on an IdempotencyKey string in internal/submit/submit_test.go) so gitleaks can treat it as already reviewed instead of failing the gate.

The code quality reusable workflow caller now passes gitleaks-baseline: .gitleaks-baseline.json, so manual whole-repo / full-history scans can run clean under the armed soft-fail: false policy (backend#1303).

Reviewed by Cursor Bugbot for commit 9ae46eb. Bugbot is set up for automated code reviews on this repo. Configure here.

Records a redacted gitleaks baseline at the repo root so the full-history
dispatch scan runs clean, and wires the code-quality caller to consume it
via the gitleaks-baseline input. Part of tracebloc/backend#1303.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@LukasWodkaLukasWodka self-assigned this Jul 30, 2026
@LukasWodka

Copy link
Copy Markdown
ContributorAuthor

bugbot run

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 9ae46eb. Configure here.

@shujaatTraceblocshujaatTracebloc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed against the checklist:

  • Baseline redaction: every Secret is REDACTED with a Fingerprint present; no cleartext values (leftover text in Match is only key names / assignment context).
  • Diff scope: only .gitleaks-baseline.json + the caller wiring; soft-fail: false retained, so the gate stays armed and only new secrets fail it.
  • quality / gitleaks is green, confirming the baseline suppresses correctly.

LGTM 👍

@LukasWodka
LukasWodka merged commit 45b2a29 into developJul 31, 2026
30 checks passed
@LukasWodka
LukasWodka deleted the chore/gitleaks-history-baseline branch July 31, 2026 07:27
@LukasWodka

Copy link
Copy Markdown
ContributorAuthor

/fr-pass

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@LukasWodka@shujaatTracebloc