ntopng/scripts/lua/modules/alert_keys/host_alert_keys.lua
Manuel Ceroni e1328ae36b
Implemented Scan Realtime Alert (#9106)
* Implemented Scan Realtime Alert

* Removed old scan alerts
2025-04-04 12:42:46 +02:00

49 lines
2.1 KiB
Lua

--
-- (C) 2020-24 - ntop.org
--
-- ##############################################
-- Keep in sync with ntop_typedefs.h HostAlertTypeEnum
local host_alert_keys = {
host_alert_normal = 0,
host_alert_smtp_server_contacts = 1,
host_alert_dns_server_contacts = 2,
host_alert_ntp_server_contacts = 3,
host_alert_flow_flood = 4,
host_alert_notused_1 = 5, -- Obsolete: no longer used
host_alert_syn_flood = 6, -- Obsolete: no longer used
host_alert_domain_names_contacts = 7,
host_alert_unexpected_gateway = 8, -- Obsolete: use local host rules
host_alert_nat_detected = 9,
host_alert_flows_anomaly = 10,
host_alert_score_anomaly = 11,
host_alert_remote_connection = 12,
host_alert_host_log = 13,
host_alert_dangerous_host = 14,
host_alert_scan_realtime = 15,
host_alert_countries_contacts = 16,
host_alert_notused_2 = 17, -- Obsolete: use Dangerous Host
host_alert_icmp_flood = 18,
host_alert_notused_3 = 19, -- Obsolete: use local host rules
host_alert_notused_4 = 20, -- Obsolete: no longer used
host_alert_notused_5 = 21, -- Obsolete: no longer used
host_alert_dns_flood = 22,
host_alert_snmp_flood = 23,
host_alert_custom_lua_script = 24,
host_alert_notused_6 = 25, -- Obsolete: no longer used
host_alert_traffic_volume = 26,
host_alert_external_script = 27,
host_alert_host_scanner = 28,
host_alert_server_ports_contacts = 29,
host_alert_suspicious_domain_scan = 30,
host_alert_scan = 31,
-- NOTE: Keep in sync with HostAlertTypeEnum in ntop_typedefs.h
}
-- ##############################################
return host_alert_keys
-- ##############################################