Merge pull request #73 from trails-cool/fix-gitleaks-config

Fix .gitleaks.toml config syntax
This commit is contained in:
Ullrich Schäfer 2026-03-25 11:59:32 +01:00 committed by GitHub
commit 5f5f583722
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
[extend]
# Use default gitleaks rules
[[allowlist.regexTarget]]
[allowlist]
# Sentry DSNs are public (ingest-only, not secrets)
description = "Sentry DSN"
regex = '''https://[a-f0-9]+@o\d+\.ingest\.\w+\.sentry\.io/\d+'''
description = "Allow Sentry DSNs"
regexTarget = "line"
regexes = [
'''https://[a-f0-9]+@o\d+\.ingest\.\w+\.sentry\.io/\d+''',
]