--- # Generated by tools/hardened.py from ../t1. Edit t1 or the script; this file is regenerated. # # Starting values: Standard's defaults, role by role. Change them here, in # your copy. The rules in policy/ check this file before every run. # ---- audit_rules ---- # Every setting the role understands, with the value used when you say nothing. # Override in group_vars or host_vars. Do not edit this file. # Files and folders watched for writes and attribute changes, each with the # key you search by: ausearch -k . audit_rules_watches: - { path: /etc/passwd, key: identity } - { path: /etc/group, key: identity } - { path: /etc/shadow, key: identity } - { path: /etc/gshadow, key: identity } - { path: /etc/sudoers, key: privilege } - { path: /etc/sudoers.d, key: privilege } - { path: /etc/ssh/sshd_config, key: sshd } - { path: /etc/ssh/sshd_config.d, key: sshd } - { path: /root/.ssh, key: ssh_keys } - { path: /etc/crontab, key: persistence } - { path: /etc/cron.d, key: persistence } - { path: /var/spool/cron, key: persistence } - { path: /etc/systemd/system, key: persistence } - { path: /etc/ld.so.preload, key: persistence } - { path: /etc/pam.d, key: pam } - { path: /etc/audit, key: audit_config } audit_rules_extra_watches: [] # Commands run as root by someone who signed in. Commands by every user are # far louder; turn that on only where you can absorb the volume. audit_rules_root_commands: true audit_rules_all_user_commands: false # The kernel's queue of records waiting to be written. When it fills, records # are lost; the default is small for a busy host. audit_rules_backlog: 8192 # Send every audit record to syslog as well, so the host log template's # forwarding carries them off the machine. audit_rules_to_syslog: true # Lock the rules until reboot (-e 2). Nobody, root included, can change or # remove them without rebooting, which is itself recorded. Changing the rules # afterwards also needs a reboot, so turn this on once the rules are settled. audit_rules_immutable: false