From 57a0bcfb3b40c693ede9bca01d3596e5f4696dc7 Mon Sep 17 00:00:00 2001 From: bullmoose20 Date: Sun, 21 Jan 2024 12:48:46 -0500 Subject: [PATCH] Update config.py to redact delete: line from webhooks --- modules/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config.py b/modules/config.py index 81d8f9e2..3912b8d7 100644 --- a/modules/config.py +++ b/modules/config.py @@ -169,7 +169,7 @@ class ConfigFile: with open(self.config_path, encoding="utf-8") as fp: logger.separator("Redacted Config", space=False, border=False, debug=True) for line in fp.readlines(): - logger.debug(re.sub(r"(token|client.*|url|api_*key|secret|error|run_start|run_end|version|changes|username|password): .+", r"\1: (redacted)", line.strip("\r\n"))) + logger.debug(re.sub(r"(token|client.*|url|api_*key|secret|error|delete|run_start|run_end|version|changes|username|password): .+", r"\1: (redacted)", line.strip("\r\n"))) logger.debug("") self.data = YAML(self.config_path).data