Skip to content

feat: add org-wide gitleaks allowlist for non-secret patterns#9

Open
acsrujan wants to merge 2 commits intomasterfrom
feat/gitleaks-allowlist
Open

feat: add org-wide gitleaks allowlist for non-secret patterns#9
acsrujan wants to merge 2 commits intomasterfrom
feat/gitleaks-allowlist

Conversation

@acsrujan
Copy link
Copy Markdown
Contributor

Summary

  • Adds a static .gitleaks.toml at the repo root with an allowlist for company-approved non-secret patterns (ac_*, ca_*, ...)
  • Updates the secrets-detection workflow to fetch the org config from the .github repo before scanning
  • Uses GITLEAKS_CONFIG env var to point gitleaks at the org-level allowlist

Test plan

  • Verify the workflow fetches .gitleaks.toml from the org .github repo
  • Confirm patterns matching ac_*, ca_*, and ... are no longer flagged as secrets
  • Ensure actual secrets are still detected correctly

🤖 Generated with Claude Code

@acsrujan acsrujan force-pushed the feat/gitleaks-allowlist branch from 95136c7 to cbd5ca4 Compare February 12, 2026 10:37
Add .gitleaks.toml with allowlist for company-approved patterns (ac_*, ca_*, ...)
that are not secrets. Workflow now fetches org config before scanning.
@acsrujan acsrujan force-pushed the feat/gitleaks-allowlist branch from cbd5ca4 to d6ff15f Compare February 12, 2026 11:04
Sign up for free to 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.

1 participant