This commit is contained in:
40
config/default.toml
Normal file
40
config/default.toml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[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
|
||||||
Reference in New Issue
Block a user