You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
287 B
15 lines
287 B
12 months ago
|
#!/bin/bash
|
||
|
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
||
|
|
||
|
t_Log "Running $0 - check for SELinux alerts (AVC)"
|
||
|
|
||
|
if [ "$CONTAINERTEST" -eq "1" ]; then
|
||
|
t_Log "Running in container -> SKIP"
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
grep -v "AVC" /var/log/audit/audit.log > /dev/null 2>&1
|
||
|
|
||
|
t_CheckExitStatus $?
|
||
|
|