Implements flow callbacks and alerts in C++

This commit is contained in:
Simone Mainardi 2021-03-22 09:51:36 +01:00
parent 3659188002
commit aea9138bfb
353 changed files with 10790 additions and 4455 deletions

View file

@ -5,7 +5,6 @@
-- ##############################################
local alert_keys = require "alert_keys"
local status_keys = require "status_keys"
-- Import the classes library.
local classes = require "classes"
-- Make sure to import the Superclass!
@ -18,7 +17,6 @@ local alert_web_mining = classes.class(alert)
-- ##############################################
alert_web_mining.meta = {
status_key = status_keys.ntopng.status_web_mining_detected,
alert_key = alert_keys.ntopng.alert_web_mining,
i18n_title = "alerts_dashboard.web_mining",
icon = "fab fa-bitcoin",
@ -33,8 +31,6 @@ alert_web_mining.meta = {
function alert_web_mining:init()
-- Call the parent constructor
self.super:init()
self.alert_type_params = {}
end
-- #######################################################
@ -49,4 +45,4 @@ return alert_web_mining
--
-- (C) 2019-20 - ntop.
-- (C) 2019-20 - ntop.