aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/report/plugins/landscape.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/sos/report/plugins/landscape.py b/sos/report/plugins/landscape.py
index e5574f77..3bb537e6 100644
--- a/sos/report/plugins/landscape.py
+++ b/sos/report/plugins/landscape.py
@@ -61,6 +61,16 @@ class Landscape(Plugin, UbuntuPlugin):
r"secret-token = [********]"
)
self.do_file_sub(
+ "/etc/landscape/service.conf",
+ r"oidc-client-secret = (.*)",
+ r"oidc-client-secret = [********]"
+ )
+ self.do_file_sub(
+ "/etc/landscape/service.conf",
+ r"oidc-client-id = (.*)",
+ r"oidc-client-id = [********]"
+ )
+ self.do_file_sub(
"/etc/landscape/service.conf.old",
r"password = (.*)",
r"password = [********]"
@@ -75,5 +85,15 @@ class Landscape(Plugin, UbuntuPlugin):
r"secret-token = (.*)",
r"secret-token = [********]"
)
+ self.do_file_sub(
+ "/etc/landscape/service.conf.old",
+ r"oidc-client-secret = (.*)",
+ r"oidc-client-secret = [********]"
+ )
+ self.do_file_sub(
+ "/etc/landscape/service.conf.old",
+ r"oidc-client-id = (.*)",
+ r"oidc-client-id = [********]"
+ )
# vim: set et ts=4 sw=4 :