Refactors alrt builders into creators

Refactors builders into creators: calls
This commit is contained in:
Simone Mainardi 2020-04-27 15:36:34 +02:00
parent 00c5e9f909
commit 290175b16f
75 changed files with 158 additions and 158 deletions

View file

@ -25,7 +25,7 @@ local script = {
function script.hooks.protocolDetected(now)
if(flow.getnDPICategoryName() == "Mining") then
flow.triggerStatus(
flow_consts.status_types.status_web_mining_detected.builder(
flow_consts.status_types.status_web_mining_detected.create(
flow_consts.status_types.status_web_mining_detected.alert_severity
),
50 --[[ flow score]],