mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
deb OS doesn't use /var/log/cron, skip
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user