# Gitleaks configuration for embeddenator
# https://github.com/gitleaks/gitleaks
= "Embeddenator Gitleaks Config"
[]
# Use the default gitleaks config as a base
= true
[]
= "Global allowlist"
= [
'''\.lock$''',
'''go\.sum$''',
'''package-lock\.json$''',
'''Cargo\.lock$''',
]
# Ignore test fixtures with fake credentials
[[]]
= "Ignore test fixtures"
= [
'''(test|tests|fixtures|testdata)/.*''',
]
# Allow example/placeholder values in documentation
[[]]
= "Ignore example values in docs"
= [
'''(README|CONTRIBUTING|docs/).*\.(md|rst|txt)$''',
]