aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2018-02-21 16:48:14 -0500
committerBryn M. Reeves <bmr@redhat.com>2018-05-09 14:24:53 +0100
commitbfbb57d6bcff69af7e77497e37780407f4d4aac3 (patch)
tree6c2bbea71356700e49385566e3aeacf5de0f4457
parenta0410bd3855e261c1b1800be46bc93190e8aae18 (diff)
downloadsos-bfbb57d6bcff69af7e77497e37780407f4d4aac3.tar.gz
[auditd] Collect rules list
Adds collection of auditd rules Resolves: #1223 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/auditd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/auditd.py b/sos/plugins/auditd.py
index 7315f9d0..c4c7a2cb 100644
--- a/sos/plugins/auditd.py
+++ b/sos/plugins/auditd.py
@@ -31,7 +31,8 @@ class Auditd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
])
self.add_cmd_output([
"ausearch --input-logs -m avc,user_avc -ts today",
- "auditctl -s"
+ "auditctl -s",
+ "auditctl -l"
])
if not self.get_option("all_logs"):