mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add alert set_as_attacker / set_as_victim for lua alerts on hosts
This commit is contained in:
parent
d9266c0c92
commit
d884c9bc14
2 changed files with 17 additions and 0 deletions
|
|
@ -221,6 +221,8 @@ function alerts_api.store(entity_info, type_info, when)
|
|||
entity_val = entity_info.entity_val,
|
||||
score = type_info.score,
|
||||
require_attention = type_info.require_attention or false,
|
||||
is_attacker = type_info.is_attacker or false,
|
||||
is_victim = type_info.is_victim or false,
|
||||
device_type = type_info.device_type,
|
||||
device_name = type_info.device_name,
|
||||
tstamp = when,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue