/usr/share/audit/sample-rules
NameSizeModeActions
10-base-config.rules2440644editdlrm
10-no-audit.rules2840644editdlrm
11-loginuid.rules930644editdlrm
12-cont-fail.rules3330644editdlrm
12-ignore-error.rules3270644editdlrm
20-dont-audit.rules5160644editdlrm
21-no32bit.rules2730644editdlrm
22-ignore-chrony.rules2540644editdlrm
23-ignore-filesystems.rules5070644editdlrm
30-nispom.rules49430644editdlrm
30-ospp-v42-1-create-failed.rules15000644editdlrm
30-ospp-v42-1-create-success.rules7460644editdlrm
30-ospp-v42-2-modify-failed.rules16460644editdlrm
30-ospp-v42-2-modify-success.rules8260644editdlrm
30-ospp-v42-3-access-failed.rules6250644editdlrm
30-ospp-v42-3-access-success.rules3990644editdlrm
30-ospp-v42-4-delete-failed.rules5620644editdlrm
30-ospp-v42-4-delete-success.rules2840644editdlrm
30-ospp-v42-5-perm-change-failed.rules8160644editdlrm
30-ospp-v42-5-perm-change-success.rules4140644editdlrm
30-ospp-v42-6-owner-change-failed.rules5790644editdlrm
30-ospp-v42-6-owner-change-success.rules2950644editdlrm
30-ospp-v42.rules59480644editdlrm
30-pci-dss-v31.rules64970644editdlrm
30-stig.rules69420644editdlrm
31-privileged.rules14580644editdlrm
32-power-abuse.rules2130644editdlrm
40-local.rules1560644editdlrm
41-containers.rules4390644editdlrm
42-injection.rules6720644editdlrm
43-module-load.rules3980644editdlrm
44-installers.rules5840644editdlrm
70-einval.rules3260644editdlrm
71-networking.rules1510644editdlrm
99-finalize.rules860644editdlrm
README-rules14210644editdlrm
Edit: /usr/share/audit/sample-rules/README-rules (1421B)
This group of rules are meant to be used with the augenrules program. The augenrules program expects rules to be located in /etc/audit/rules.d/ The rules will get processed in a specific order based on their natural sort order. To make things easier to use, the files in this directory are organized into groups with the following meanings: 10 - Kernel and auditctl configuration 20 - Rules that could match general rules but we want a different match 30 - Main rules 40 - Optional rules 50 - Server Specific rules 70 - System local rules 90 - Finalize (immutable) There is one set of rules, 31-privileged.rules, that should be regenerated. There is a script in the comments of that file. You can uncomment the commands and run the script and then rename the resulting file. The rules are not meant to be used all at once. They are pieces of a policy that should be thought out and individual files copied to /etc/audit/rules.d/ For example, if you wanted to set a system up in the STIG configuration, copy rules 10-base-config, 30-stig, 31-privileged, and 99-finalize. You can add more if you like. Also, not all arches have the same syscalls. It is expected that the rules be fine tuned for the arch they are deployed on. For example, aarch64 does not have the open syscall. It should just be deleted from the rules. Once you have the rules in the rules.d directory, you can load them by running augenrules --load