Patterns for keys in logs added #150

Merged
abereziny merged 1 commit from :bug/password_in_cm_logs_for_ft into master 2023-11-27 10:03:00 +00:00

View file

@ -34,7 +34,7 @@ class TestLogs:
logs_dir = os.path.join(temp_directory, "logs") logs_dir = os.path.join(temp_directory, "logs")
os.makedirs(logs_dir) os.makedirs(logs_dir)
# Using \b here because 'oom' and 'panic' can sometimes be found in OID or CID # Using \b here because 'oom' and 'panic' can sometimes be found in OID or CID
issues_regex = r"\bpanic\b|\boom\b|too many|insufficient funds|insufficient amount of gas" issues_regex = r"\bpanic\b|\boom\b|too many|insufficient funds|insufficient amount of gas|wallet passwd|secret key|access key"
futures = parallel( futures = parallel(
self._collect_logs_on_host, cluster.hosts, logs_dir, issues_regex, session_start_time, end_time self._collect_logs_on_host, cluster.hosts, logs_dir, issues_regex, session_start_time, end_time