commands.sh

aa-logprof

linux

Interactively update AppArmor security profiles based on logged violations.

More info →

Options (4)

-d, --dirboolean

Use a specific directory for AppArmor profiles

Example: sudo aa-logprof {{[-d|--dir]}} /{{path/to/profiles}}
-f, --fileboolean

Use a specific log file instead of the default

Example: sudo aa-logprof {{[-f|--file]}} /{{path/to/logfile}}
-m, --logmarkboolean

Ignore all log entries before the specified mark

Example: sudo aa-logprof {{[-m|--logmark]}} "{{log_marker_text}}"
-h, --helpboolean

Display help

Example: aa-logprof {{[-h|--help]}}

Examples (5)

Interactively review and update profiles based on system logs

Use a specific directory for AppArmor profiles

sudo aa-logprof [-d|--dir] /path/to/profiles

Use a specific log file instead of the default

sudo aa-logprof [-f|--file] /path/to/logfile

Ignore all log entries before the specified mark

sudo aa-logprof [-m|--logmark] "log_marker_text"

Display help

aa-logprof [-h|--help]
made by @shridhargupta | data from tldr-pages