From f1899144af0939546c717cbd5e36ab403bc4c16d Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Mon, 2 Feb 2026 20:50:54 +0000 Subject: [PATCH] Initial upload: Code Privacy Shield v0.1.0 --- config/default.toml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 config/default.toml diff --git a/config/default.toml b/config/default.toml new file mode 100644 index 0000000..b41ea89 --- /dev/null +++ b/config/default.toml @@ -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