AA-AUDIT(8)
π AA-AUDIT β bestie's guide to putting profiles in their audit era π
okay so real quick, this is aa-audit from section 8 of the manuals β that's the sysadmin-ish corner of the AppArmor universe, and yes we're about to make it cute. π stannn
β¨ NAME β¨
aa-audit β sets an AppArmor security profile to audit mode. that's it, that's the whole job, and she does it flawlessly π
π¦ SYNOPSIS π¦
aa-audit <executable> [<executable> ...] [-d /path/to/profiles]
[--no-reload] [-r]
bestie you just hand her one or more executables and she handles the rest, iykyk β¨
πΈ OPTIONS πΈ
-d,--dir/path/to/profilesβ tells aa-audit where to go looking for the AppArmor security profile set. if you don't say anything she just assumes/etc/apparmor.dlike the icon she is π--no-reloadβ do NOT reload the profile after modifying it. that's it. she'll touch it and leave it exactly as-is, no refresh, no glow-up round two π-r,--removeβ takes the audit mode back off the profile. we love a reversible decision π
π§ DESCRIPTION π§
so here's the tea π: aa-audit is used to set one or more profiles to audit mode. and what does audit mode actually mean? it means security policy is enforced β she's not playing around, the rules are the rules β but on top of that, all access, both the successes and the failures, gets logged to the system log. every single one. she's watching, she's taking notes, it's giving surveillance but make it β¨structuredβ¨
ngl that's lowkey the move when you wanna see what a profile would be doing in the wild without loosening anything.
and if at some point you're like "okay bestie, I'm done with the audit era," the --remove option can be used to remove the audit mode for the profile. easy come, easy go, periodt π
π BUGS π
if you find any bugs (and π I hope you don't), please report them at <https://gitlab.com/apparmor/apparmor/-/issues>. the maintainers are literally obsessed with hearing from you, fr fr π«Ά
π SEE ALSO π
apparmor(7)apparmor.d(5)aa-enforce(1)aa-complain(1)aa-disable(1)aa_change_hat(2)- <https://wiki.apparmor.net>
go read the whole friend group, they all ate π₯
reminder bestie: audit mode enforces AND logs everything, successes and failures alike. if you don't want the profile reloaded after the change, that's what --no-reload is for. don't skip it and then act surprised, I'm begging π
and that's the whole page, no notes, 10/10 β brought to you by AppArmor 6.0.0~alpha1, dated 2026-10-05, closing out the AA-AUDIT(8) manual like the main character she is πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: apparmor-utils 6.0.0~alpha1-0ubuntu4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms