41 lines
667 B
TOML
41 lines
667 B
TOML
[general]
|
|
preview_mode = false
|
|
quiet_mode = false
|
|
preserve_structure = true
|
|
recursive = true
|
|
|
|
[redaction]
|
|
default_replacement = "█" * 8
|
|
preserve_length = false
|
|
|
|
[redaction.categories]
|
|
api_keys = true
|
|
pii = true
|
|
database = true
|
|
env_var = true
|
|
ip = true
|
|
authorization = true
|
|
|
|
[[custom_patterns]]
|
|
name = "Internal API Key"
|
|
pattern = "(?i)(internal[_-]?api[_-]?key['\"]?\s*[:=]\s*['\"]?)([a-zA-Z0-9_-]{16,})"
|
|
category = "internal"
|
|
|
|
exclude_patterns = [
|
|
"*.pyc",
|
|
"__pycache__",
|
|
".git",
|
|
".svn",
|
|
".hg",
|
|
"node_modules",
|
|
".env",
|
|
"*.egg-info",
|
|
"dist",
|
|
"build",
|
|
]
|
|
|
|
[output]
|
|
format = "text"
|
|
show_line_numbers = false
|
|
color_output = true
|