Add auditd.py module
It is possible now to pass a list of paths where
suid/sgid binaries should not be find.
The python module uses multiprocessing and can be buggy.
All ideas how to do it more safely (too high I/O and so on)
and keep the performance in the same time, are highly appreciated.
Change-Id: Icd1ae445fb8fed1ea08842606f371223f72bc82f
Closes-PROD: https://mirantis.jira.com/browse/PROD-21273
diff --git a/metadata/service/rules/ciscat.yml b/metadata/service/rules/ciscat.yml
index 1596dd5..2417e1c 100644
--- a/metadata/service/rules/ciscat.yml
+++ b/metadata/service/rules/ciscat.yml
@@ -5,6 +5,22 @@
parameters:
auditd:
rules:
+ filter_fs:
+ - binfmt_misc
+ - cgroup
+ - debugfs
+ - devpts
+ - devtmpfs
+ - fusectl
+ - hugetlbfs
+ - mqueue
+ - nsfs
+ - proc
+ - pstore
+ - securityfs
+ - sysfs
+ filter_paths:
+ - /var/lib/docker
options:
enabled: 2
bufsize: 8192