mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 01:10:10 +00:00
Refactors alrt builders into creators
Refactors builders into creators: calls
This commit is contained in:
parent
00c5e9f909
commit
290175b16f
75 changed files with 158 additions and 158 deletions
|
|
@ -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]],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue