mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Lateral movement alert entity fixes
This commit is contained in:
parent
46572a96a0
commit
4ffe97f3b0
4 changed files with 4 additions and 13 deletions
|
|
@ -136,7 +136,6 @@ end
|
|||
--! @param when (optional) the time when the release event occurs
|
||||
--! @return true if the alert was successfully stored, false otherwise
|
||||
function alerts_api.store(entity_info, type_info, when)
|
||||
|
||||
if(not areAlertsEnabled()) then
|
||||
return(false)
|
||||
end
|
||||
|
|
@ -535,15 +534,6 @@ function alerts_api.iec104Entity(flow)
|
|||
}
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function alerts_api.lateralMovementEntity(flow)
|
||||
return {
|
||||
alert_entity = alert_consts.alert_entities.flow,
|
||||
alert_entity_val = "flow"
|
||||
}
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
-- type_info building functions
|
||||
-- ##############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue