toolkit/func/core/pkg_selinux/10-check-alerts.sh
2021-07-04 23:50:25 -07:00

5 lines
136 B
Bash
Executable File

#!/bin/bash
r_log "selinux" "Check for SELinux AVC alerts"
grep -v "AVC" /var/log/audit/audit.log > /dev/null 2>&1
r_checkExitStatus $?