I am trying to exclude everything but the things I want in Auditd, however the things I've tried, seem to log a lot more details, the majority are irrelevant.
-a never,exclude -F msgtype=CWD
-a never,exclude -F msgtype=USER_ACCT
-a never,exclude -F msgtype=CONFIG_CHANGE
-a never,exclude -F msgtype=SERVICE_START
-a never,exclude -F msgtype=SERVICE_STOP
-a never,exclude -F msgtype=PROCTITLE
-a exit,never -F auid<100
-a exit,never -F uid<100
-a exit,never -F exe=/usr/sbin/mount.nfs
-a exit,never -F exe=/usr/sbin/automount
-a always,exit -F arch=b64 -S connect
I can exclude them manually, but it's impossible to catch everything apart from the specific thing I want to log.
So the question, how do I configure it to exclude everything except the things you want?