mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #9185 from Security-Onion-Solutions/dougburks-patch-1
Update so-functions to enable ICS/SCADA for EVAL and IMPORT
This commit is contained in:
@@ -2946,41 +2946,6 @@ zeek_logs_enabled() {
|
|||||||
for BLOG in "${BLOGS[@]}"; do
|
for BLOG in "${BLOGS[@]}"; do
|
||||||
echo " - $BLOG" | tr -d '"' >> "$zeeklogs_pillar"
|
echo " - $BLOG" | tr -d '"' >> "$zeeklogs_pillar"
|
||||||
done
|
done
|
||||||
elif [ "$install_type" == "EVAL" ] || [ "$install_type" == "IMPORT" ]; then
|
|
||||||
printf '%s\n'\
|
|
||||||
" - conn"\
|
|
||||||
" - dce_rpc"\
|
|
||||||
" - dhcp"\
|
|
||||||
" - dnp3"\
|
|
||||||
" - dns"\
|
|
||||||
" - dpd"\
|
|
||||||
" - files"\
|
|
||||||
" - ftp"\
|
|
||||||
" - http"\
|
|
||||||
" - intel"\
|
|
||||||
" - irc"\
|
|
||||||
" - kerberos"\
|
|
||||||
" - modbus"\
|
|
||||||
" - notice"\
|
|
||||||
" - ntlm"\
|
|
||||||
" - pe"\
|
|
||||||
" - radius"\
|
|
||||||
" - rfb"\
|
|
||||||
" - rdp"\
|
|
||||||
" - sip"\
|
|
||||||
" - smb_files"\
|
|
||||||
" - smb_mapping"\
|
|
||||||
" - smtp"\
|
|
||||||
" - snmp"\
|
|
||||||
" - ssh"\
|
|
||||||
" - ssl"\
|
|
||||||
" - syslog"\
|
|
||||||
" - tunnel"\
|
|
||||||
" - weird"\
|
|
||||||
" - mysql"\
|
|
||||||
" - socks"\
|
|
||||||
" - x509" >> "$zeeklogs_pillar"
|
|
||||||
# Disable syslog log by default
|
|
||||||
else
|
else
|
||||||
printf '%s\n'\
|
printf '%s\n'\
|
||||||
" - conn"\
|
" - conn"\
|
||||||
@@ -3073,4 +3038,11 @@ zeek_logs_enabled() {
|
|||||||
" - stun_nat"\
|
" - stun_nat"\
|
||||||
" - wireguard" >> "$zeeklogs_pillar"
|
" - wireguard" >> "$zeeklogs_pillar"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# We don't want Zeek syslog for production deployments as this can create duplicate logs.
|
||||||
|
# So we only enable Zeek syslog if EVAL or IMPORT.
|
||||||
|
if [ "$install_type" == "EVAL" ] || [ "$install_type" == "IMPORT" ]; then
|
||||||
|
echo " - syslog" >> "$zeeklogs_pillar"
|
||||||
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user