toolkit/func/core/pkg_selinux/10-check-alerts.sh

5 lines
136 B
Bash
Raw Permalink Normal View History

2021-07-05 06:50:25 +00:00
#!/bin/bash
r_log "selinux" "Check for SELinux AVC alerts"
grep -v "AVC" /var/log/audit/audit.log > /dev/null 2>&1
r_checkExitStatus $?