aa-genprof
Generate AppArmor security profiles by monitoring program behavior. tldr-pages
On Linux
Linux
Start generating a profile for a program
sudo aa-genprof path/to/programIdentifySpecify a custom directory for profiles
sudo aa-genprof --dir /path/to/profiles path/to/programIdentifySpecify a custom logfile for profiling
sudo aa-genprof --file /path/to/logfile path/to/programIdentifyDisplay help
aa-genprof --helpIdentify