LinuxCommandLibrary

sealert

Analyze and explain SELinux denial messages

TLDR

Analyze all recent SELinux denials

$ sudo sealert -a /var/log/audit/audit.log
copy
Lookup specific alert ID
$ sudo sealert -l alert_id
copy
Display summary of recent alerts
$ sudo sealert -b
copy
Monitor audit log in real-time
$ sudo tail -f /var/log/audit/audit.log | sealert -l -
copy

SYNOPSIS

sealert [options]

DESCRIPTION

sealert analyzes and explains SELinux AVC (Access Vector Cache) denial messages. It provides human-readable explanations of why access was denied and suggests solutions.
Part of setroubleshoot, it helps administrators understand and resolve SELinux policy violations.

PARAMETERS

-a, --analyze file

Analyze audit log file
-l, --lookupid id
Lookup specific alert
-b, --browser
Display alert summary browser

CAVEATS

Requires SELinux audit logging to be enabled. Solutions are suggestions and should be reviewed before applying.

HISTORY

Part of setroubleshoot-server package, providing user-friendly SELinux troubleshooting.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community