We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b441eeb commit 748e8adCopy full SHA for 748e8ad
sos/report/plugins/juju.py
@@ -218,6 +218,11 @@ def postproc(self):
218
keys_regex = fr"(^\s*({'|'.join(protect_keys)})\s*:\s*)(.*)"
219
sub_regex = r"\1*********"
220
self.do_path_regex_sub(agents_path, keys_regex, sub_regex)
221
+
222
+ # Redact keys from Nova compute logs
223
+ self.do_path_regex_sub("/var/log/juju/unit-nova-compute-*.log*",
224
+ r"auth\(key=(.*)\)", r"auth(key=******)")
225
226
# Redact certificates
227
self.do_file_private_sub(agents_path)
228
self.do_cmd_private_sub('juju controllers')
0 commit comments