Lateral movement alert entity fixes

This commit is contained in:
Simone Mainardi 2020-10-12 09:22:08 +02:00
parent 46572a96a0
commit 4ffe97f3b0
4 changed files with 4 additions and 13 deletions

View file

@ -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
-- ##############################################