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

4 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 $?