usage: aa-show-usage [-h] [-s {all,used,unused}] [-j] [-d DIR]
[--show-matching-path] [--filter.flags FLAGS]
[--filter.profile_name PROFILE_NAME]
[--filter.profile_attach PROFILE_ATTACH]
[--filter.profile_path PROFILE_PATH]
Check which profiles are used
options:
-h, --help show this help message and exit
-s, --show-type {all,used,unused}
Type of profiles to show
-j, --json Output in JSON
-d, --dir DIR Path to profiles
--show-matching-path Show the path of a file matching the profile
Filtering options:
Filters are used to reduce the output of information to only those entries
that will match the filter. Filters use Python's regular expression syntax.
--filter.flags FLAGS Filter by flags
--filter.profile_name PROFILE_NAME
Filter by profile name
--filter.profile_attach PROFILE_ATTACH
Filter by profile attachment
--filter.profile_path PROFILE_PATH
Filter by profile path
Options (9)
| Option | Description | Source |
|---|
-h, --help | show this help message and exit | help |
-s, --show-type all | Type of profiles to show | help + man |
-j, --json | Output in JSON | help + man |
-d, --dir DIR | Path to profiles | help + man |
--show-matching-path | Show the path of a file matching the profile. | help + man |
--filter.flags FLAGS | Filter by flags | help + man |
--filter.profile_name PROFILE_NAME | Filter by profile name | help + man |
--filter.profile_attach PROFILE_ATTACH | Filter by profile attachment (i.e. by path of the executable to which this profile applies) | help + man |
--filter.profile_path PROFILE_PATH | Filter by profile path | help + man |
Examples (2) from the manual page, untested
aa-show-usage
Show both the list of used and unused profiles in your system.aa-show-usage --show-type=used --filter.flags=unconfined
Show the list of unconfined profiles currently used by your system.
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.