chore(security): fix allowlist key name and tighten path patterns in .gitleaks.toml

Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-15 14:28:15 +00:00
parent af339b9013
commit bd8a794b37

View File

@@ -5,10 +5,9 @@ useDefault = true
# Allowlist for test files and fixtures that intentionally contain placeholder tokens. # Allowlist for test files and fixtures that intentionally contain placeholder tokens.
# These are not real secrets and are used only for testing purposes. # These are not real secrets and are used only for testing purposes.
[[allowlists]] [allowlist]
description = "Test fixture files containing placeholder tokens" description = "Test fixture files containing placeholder tokens"
paths = [ paths = [
'''testutil/test_constants\.go''', '''^testutil/test_constants\.go$''',
'''.*_test\.go''', '''^testdata/''',
'''testdata/.*''',
] ]