diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2017-01-11 21:54:19 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-02-20 17:00:35 +0000 |
commit | 38b312aef57217afa22ee466c0401dea0d9c1576 (patch) | |
tree | 54d92f97327c75ab89b50c7b9e3b281f98d98db6 | |
parent | e2d7e03a2f8b8a8fec67eae69d8a4bbdbbc7f268 (diff) | |
download | sos-38b312aef57217afa22ee466c0401dea0d9c1576.tar.gz |
[auditd] collect auditctl -s
collect report status of auditctl
Resolves: #913
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r-- | sos/plugins/auditd.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sos/plugins/auditd.py b/sos/plugins/auditd.py index 2d26b304..563c2cae 100644 --- a/sos/plugins/auditd.py +++ b/sos/plugins/auditd.py @@ -29,7 +29,10 @@ class Auditd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/etc/audit/auditd.conf", "/etc/audit/audit.rules" ]) - self.add_cmd_output("ausearch --input-logs -m avc,user_avc -ts today") + self.add_cmd_output([ + "ausearch --input-logs -m avc,user_avc -ts today", + "auditctl -s" + ]) if not self.get_option("all_logs"): limit = self.get_option("log_size") |