deb OS doesn't use /var/log/cron, skip

This commit is contained in:
Jason Ertel
2023-09-27 15:36:13 -04:00
parent b47d915cb6
commit 87cc389088

View File

@@ -178,7 +178,9 @@ done
# Check Security Onion related log files
find /opt/so/log/ /nsm -name \*.log > /tmp/log_check_files
echo "/var/log/cron" >> /tmp/log_check_files
if [[ -f /var/log/cron ]]; then
echo "/var/log/cron" >> /tmp/log_check_files
fi
exclude_log "kibana.log"
exclude_log "spool"
exclude_log "import"