#rules #audit #log-file #command-line #profile #arguments-parser #generate

bin+lib apparmor_util

Command line utility program for generating rules from Audit log files for using in AppArmor profiles

2 unstable releases

0.1.8 Mar 3, 2024
0.0.1 Mar 2, 2024

#1191 in Command line utilities

Custom license

45KB
738 lines

AppArmor Util

A command line tool that is meant to work with audit log files. Given an audit log file with entries for AppArmor profiles with the complain-flag, apparmor_util produces rules for all logged apparmor-events, that have either been DENIED or ALLOWED.


Roadmap

  • Command line options for parsing specific directories and generate rules for a specific file type with pre-specified mode. (Is supposed to generate rules for directories like /usr/lib/ to put into /etc/apparmor.d/tunables/ for use in other profiles.)

TODO

  • Unit tests for all associated functions and methods.

License

See COPYING for information about the license.

Contact

For any other question contact me at d445caf647f9d009387267a3@too-generic.dev.


lib.rs:

This library contains functionality for parsing AppArmor files and creating rules and profiles.

Currently the crate is only meant to be used as a command line program. The only way to adjust the AppContext is by using command line arguments.

No runtime deps