Skip to content

audit2allow: add page #17208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions pages/common/audit2allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# audit2allow

> Scan logs for messages pertaining to denied permissions.
> Generate a report of Type Enforcement (TE) rules that might allow successful operations.

Check failure on line 4 in pages/common/audit2allow.md

View workflow job for this annotation

GitHub Actions / build

TE ==> THE, BE, WE, TO
> See also `audit2why`.
> More information: <https://manned.org/audit2allow>.

- Show all generated messages in audit and message logs:

`audit2allow {{[-a|--all]}}`

- Show all generated messages since last boot:

`audit2allow {{[-b|--boot]}}`

- Display detailed information around generated messages:

`audit2allow {{[-e|--explain]}}`

- Enable verbose output mode:

`audit2allow {{[-v|--verbose]}}`

- Use installed macros to generate a reference policy:

`audit2allow {{[-R|--reference]}}`

- Specify a policy file for further analysis:

`audit2allow {{[-p|--policy]}} {{path/to/policyfile}}`

- Limit analysis to messages with a type specified in `regex`:

`audit2allow {{[-t|--type]}} {{type_regex}}`

- Display help:

`audit2allow {{[-h|--help]}}`
Loading