ansible-hardening/releasenotes/notes/auditing-mac-policy-changes-fb83e0260a6431ed.yaml
Major Hayden 7b313ee1bc Adding audit rule for SELinux policy modifications
This patch fixes the auditd rules template so that AppArmor and SELinux
policy modifications are logged, depending on which Linux distribution
is in use. The security_audit_apparmor_changes variable has been renamed
to security_audit_mac_changes to be more generic.

Documentation updates and a release note are included.

Closes-bug: 1584187

Change-Id: I0955e2cb8a05af4afd36aaca518322a9df6d1ff7
2016-05-27 13:28:02 +00:00

16 lines
586 B
YAML

---
upgrade:
- |
The variable ``security_audit_apparmor_changes`` is now renamed to
``security_audit_mac_changes`` and is enabled by default. Setting
``security_audit_mac_changes`` to ``no`` will disable syscall auditing for
any changes to AppArmor policies (in Ubuntu) or SELinux policies (in
CentOS).
features:
- |
The auditd rules template included a rule that audited changes to the
AppArmor policies, but the SELinux policy changes were not being audited.
Any changes to SELinux policies in ``/etc/selinux`` are now being logged
by auditd.