Add Alert:set_category for host/flow lua alerts with no check definition in lua

This commit is contained in:
Alfredo Cardigliano 2023-11-28 12:30:53 +01:00
parent b5b8ebbba0
commit e8f10f0795
6 changed files with 74 additions and 59 deletions

View file

@ -90,6 +90,7 @@ function syslog_utils.handle_event(message, host, priority, level_threshold)
type_info:set_subtype(getLogSubtype(message))
type_info:set_score(score)
type_info:set_category(alert_consts.categories.security)
-- Deliver alert
type_info:store(entity)