From c0c251e7d0fc78cc9ff6831cff2cfbc212d954fb Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Sat, 20 Sep 2025 21:40:19 +0300 Subject: [PATCH] fix(security): correct .gitleaksignore --- .gitleaksignore | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/.gitleaksignore b/.gitleaksignore index 14b22e8..6d75edc 100644 --- a/.gitleaksignore +++ b/.gitleaksignore @@ -1,25 +1,9 @@ # Gitleaks ignore patterns # https://github.com/gitleaks/gitleaks -# Ignore test files with dummy secrets -*/testdata/* -*/test/* -*_test.go - -# Ignore example configurations -*/examples/* -*/docs/* - -# Common false positives -# Generic test tokens -test_token_* -dummy_* -fake_* -example_* - -# GitHub Actions test tokens -GITHUB_TOKEN=fake_token -GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} - -# Ignore specific lines (use commit:file:line format) -# abc123:path/to/file.go:42 +f9823eef3ec602b92ab4f17b3b4b93b2f219fb6a:internal/wizard/validator_test.go:generic-api-key:195 +f9823eef3ec602b92ab4f17b3b4b93b2f219fb6a:internal/wizard/validator_test.go:generic-api-key:197 +f9823eef3ec602b92ab4f17b3b4b93b2f219fb6a:internal/wizard/validator_test.go:generic-api-key:198 +f9823eef3ec602b92ab4f17b3b4b93b2f219fb6a:internal/wizard/validator_test.go:generic-api-key:199 +f9823eef3ec602b92ab4f17b3b4b93b2f219fb6a:internal/wizard/validator_test.go:generic-api-key:200 +f9823eef3ec602b92ab4f17b3b4b93b2f219fb6a:internal/wizard/validator_test.go:github-pat:195