Skip to content

Commit 24e270e

Browse files
pmoravecTurboTurtle
authored andcommitted
[ansible] Forbid collecting /etc/ansible/files
The directory contains random server's files to copy, potentially with sensitive data, not relevant to any troubleshooting. Resolves: sosreport#3845 Signed-off-by: Pavel Moravec <[email protected]>
1 parent 5bcea30 commit 24e270e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sos/report/plugins/ansible.py

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def setup(self):
3333
self.add_forbidden_path([
3434
"/etc/ansible/facts.d/",
3535
"/etc/ansible/roles/",
36+
"/etc/ansible/files/",
3637
"/etc/ansible/hosts",
3738
])
3839

0 commit comments

Comments
 (0)