mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
* fix dotgit regex again * Revert accidentally modified files Co-authored-by: Seb Elttam <seb@elttam.com>
12 lines
380 B
TOML
12 lines
380 B
TOML
[[rules]]
|
|
description = "Block dangerous filetypes"
|
|
file = '''(.*?)(creds.git|gitfile.txt|gitignore|pdf|doc|docx|zip|xls|tfplan|tfstate|tfvars|vault_pass|vagrant|pyc|key|cache)$'''
|
|
tags = ["key", "extensions"]
|
|
[rules.allowlist]
|
|
paths = ['''.docx''']
|
|
description = "ignore known locations and files"
|
|
|
|
#[allowlist]
|
|
# description = "Allowlisted files"
|
|
# paths = ['''.zip''']
|