Files
fizzy/.gitleaks.toml
T
Mike Dalessio 75ef9bfd64 Add a gitleaks rule to find hex strings in URLs
but allow things that look like Github SHAs.
2025-12-17 13:40:07 -05:00

20 lines
332 B
TOML

[extend]
useDefault = true
[allowlist]
paths = [
'''log''',
'''tmp''',
'''.*\.yml\.enc''',
'''docs/''',
'''test/''',
]
[[rules]]
id = "basecamp-integration-url"
description = "Basecamp Integration URL"
regex = '''https://[^\s]*?([0-9a-fA-F]{16,})'''
[rules.allowlist]
regexTarget = "match"
regexes = ['''github\.com''']