aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuan-Chen Cheng <yc.cheng@canonical.com>2018-12-14 14:27:56 +0800
committerBryn M. Reeves <bmr@redhat.com>2019-03-19 18:53:09 +0000
commit9dc6b75f76062315c58196c51ffe9d1319988520 (patch)
tree8f8421e87d5629b8df7e6162c23d67622211a91e
parent7b4feb6e9158c21cb111e4e2bbd406e327faa3aa (diff)
downloadsos-9dc6b75f76062315c58196c51ffe9d1319988520.tar.gz
[apt] add /etc/apt/auth.conf to forbidden path
Resolves: #1523 Signed-off-by: Yuan-Chen Cheng <yc.cheng@canonical.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/apt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/apt.py b/sos/plugins/apt.py
index 27121a7a..61028898 100644
--- a/sos/plugins/apt.py
+++ b/sos/plugins/apt.py
@@ -23,6 +23,8 @@ class Apt(Plugin, DebianPlugin, UbuntuPlugin):
"/etc/apt", "/var/log/apt"
])
+ self.add_forbidden_path("/etc/apt/auth.conf")
+
self.add_cmd_output([
"apt-get check",
"apt-config dump",