Files
gitleaks/test_data/test_configs/allowlist_files.toml
T
2020-12-09 13:21:15 -05:00

12 lines
348 B
TOML

[[rules]]
description = "Block dangerous filetypes"
file = '''(.*?)(pdf|doc|docx|zip|xls|tfplan|tfstate|tfvars|vault_pass|vagrant|pyc|key|cache)$'''
tags = ["key", "extensions"]
[rules.allowlist]
paths = ['''.zip''']
description = "ignore known locations and files"
#
#[allowlist]
# description = "Allowlisted files"
# paths = ['''.zip''']