aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2017-08-20 13:36:43 -0400
committerBryn M. Reeves <bmr@redhat.com>2018-03-28 16:54:17 +0100
commit8c676738961768a4213e22de73ab6d192a494278 (patch)
treeec04eb02a93613cc7e31f84b4df5ae8567ef647c
parentda0e1c36ca8c8824207a30a47c5d7f11013a66fb (diff)
downloadsos-8c676738961768a4213e22de73ab6d192a494278.tar.gz
[ovirt] Obfuscate passwords in backup config files.
Previously, backup copies of config files under /etc/ovirt-engine would not be obfuscated properly. This patch corrects this by also matching any string following '.conf' in the file name. Resolves: #1074 Closes: #1075 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/ovirt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/ovirt.py b/sos/plugins/ovirt.py
index fba9ab00..68fcdcaa 100644
--- a/sos/plugins/ovirt.py
+++ b/sos/plugins/ovirt.py
@@ -49,7 +49,7 @@ class Ovirt(Plugin, RedHatPlugin):
/etc/
(rhevm|ovirt-engine|ovirt-engine-dwh)/
(engine.conf|ovirt-engine-dwhd.conf)
- (\.d/.+.conf)?
+ (\.d/.+.conf.*?)?
$
"""
)