diff options
-rw-r--r-- | sos/report/plugins/pulpcore.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sos/report/plugins/pulpcore.py b/sos/report/plugins/pulpcore.py index 20403814..ccaac318 100644 --- a/sos/report/plugins/pulpcore.py +++ b/sos/report/plugins/pulpcore.py @@ -115,6 +115,16 @@ class PulpCore(Plugin, IndependentPlugin): "/etc/pulp/settings.py", r"(PASSWORD\S*\s*:\s*)(.*)", r"\1********") + # apply the same for "dynaconf list" output that prints settings.py + # in a pythonic format + self.do_cmd_output_sub( + "dynaconf list", + r"(SECRET_KEY<str>\s*)'(.*)'", + r"\1********") + self.do_cmd_output_sub( + "dynaconf list", + r"(PASSWORD\S*\s*:\s*)(.*)", + r"\1********") # vim: set et ts=4 sw=4 : |