Merge pull request #11405 from Security-Onion-Solutions/jertel/lc

deb OS doesn't use /var/log/cron, skip
This commit is contained in:
Jason Ertel
2023-09-27 15:42:10 -04:00
committed by GitHub

View File

@@ -178,7 +178,9 @@ done
# Check Security Onion related log files # Check Security Onion related log files
find /opt/so/log/ /nsm -name \*.log > /tmp/log_check_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 "kibana.log"
exclude_log "spool" exclude_log "spool"
exclude_log "import" exclude_log "import"