diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2018-01-25 17:43:12 -0500 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-02-12 12:28:34 +0000 |
commit | b9ace2788c2f9c327ac519fa007bc08470f4fd2b (patch) | |
tree | 55d72cecff16d3ad20756b9c1a2a70f5ae3f4dc3 | |
parent | c68f2daf4751e0547743b207aa8e07b4df0759ab (diff) | |
download | sos-b9ace2788c2f9c327ac519fa007bc08470f4fd2b.tar.gz |
[etcd] Do not collect private etcd keys
Prevents sos from capturing the /etc/etcd/ca directory and its contents,
which is primarily private keys and the like.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/plugins/etcd.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/etcd.py b/sos/plugins/etcd.py index d80bbeeb..884aa1bd 100644 --- a/sos/plugins/etcd.py +++ b/sos/plugins/etcd.py @@ -31,6 +31,7 @@ class etcd(Plugin, RedHatPlugin): def setup(self): etcd_url = self.get_etcd_url() + self.add_forbidden_path('/etc/etcd/ca') self.add_copy_spec('/etc/etcd') subcmds = [ |