Replace an existing flow alert if a more critical problem is found

Also add the flow score into the database
This commit is contained in:
emanuele-f 2020-02-07 18:45:58 +01:00
parent 0a0a3c4537
commit e3d3d3992f
8 changed files with 145 additions and 84 deletions

View file

@ -25,7 +25,7 @@ local script = {
function script.hooks.protocolDetected(now)
if(flow.isRemoteToRemote() and flow.isUnicast()) then
flow.setStatus(flow_consts.status_types.status_remote_to_remote,
50--[[ flow score]], 50--[[ cli score ]], 50--[[ srv score ]])
10--[[ flow score]], 10--[[ cli score ]], 10--[[ srv score ]])
end
end