1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 10:55:24 +02:00
tldr/pages/linux/aa-audit.md
Prithviraj03 529b37fbb1
aa-*, apparmor_parser: add page (#16844)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
2025-06-14 20:24:48 +03:00

744 B

aa-audit

Set AppArmor security profiles to audit mode. More information: https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-audit.8.

  • Set a profile to audit mode:

sudo aa-audit {{profile_name}}

  • Set multiple profiles to audit mode:

sudo aa-audit {{profile1 profile2 ...}}

  • Set a profile to audit mode from a specific directory:

sudo aa-audit {{[-d|--dir]}} {{/path/to/profiles}} {{profile_name}}

  • Force audit mode even if already applied:

sudo aa-audit --force {{profile_name}}

  • Set a profile to audit mode without reloading it:

sudo aa-audit --no-reload {{profile_name}}

  • Remove audit mode for a profile:

sudo aa-audit {{[-r|--remove]}} {{profile_name}}

  • Display help:

aa-audit {{[-h|--help]}}