mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Add Alert:set_category for host/flow lua alerts with no check definition in lua
This commit is contained in:
parent
b5b8ebbba0
commit
e8f10f0795
6 changed files with 74 additions and 59 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue