Skip to content
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
22 changes: 22 additions & 0 deletions pages/linux/sealert.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# sealert

> Analyze and explain SELinux AVC denial messages.
> Part of the `setroubleshoot-server` package.
> See also: `audit2why`, `ausearch`, `audit2allow`.
> More information: <https://manned.org/sealert>.

- Analyze all recent SELinux denials:

`sudo sealert {{[-a|--analyze]}} {{/var/log/audit/audit.log}}`

- Analyze a specific alert ID from system logs:

`sudo sealert {{[-l|--lookupid]}} {{alert_id}}`

- Display a summary of recent SELinux alerts:

`sudo sealert {{[-b|--browser]}}`

- Monitor audit log in real-time for new alerts:

`sudo tail {{[-f|--follow]}} {{/var/log/audit/audit.log}} | sealert {{[-l|--lookupid]}} -`