diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2017-08-20 13:36:43 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-03-28 16:54:17 +0100 |
commit | 8c676738961768a4213e22de73ab6d192a494278 (patch) | |
tree | ec04eb02a93613cc7e31f84b4df5ae8567ef647c | |
parent | da0e1c36ca8c8824207a30a47c5d7f11013a66fb (diff) | |
download | sos-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.py | 2 |
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.*?)? $ """ ) |