mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Implements flow callbacks and alerts in C++
This commit is contained in:
parent
3659188002
commit
aea9138bfb
353 changed files with 10790 additions and 4455 deletions
|
|
@ -7,7 +7,6 @@
|
|||
local alert_keys = require "alert_keys"
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
local status_keys = require "status_keys"
|
||||
-- Import the classes library.
|
||||
local classes = require "classes"
|
||||
-- Make sure to import the Superclass!
|
||||
|
|
@ -20,7 +19,6 @@ local alert_suspicious_file_transfer = classes.class(alert)
|
|||
-- ##############################################
|
||||
|
||||
alert_suspicious_file_transfer.meta = {
|
||||
status_key = status_keys.ntopng.status_suspicious_file_transfer,
|
||||
alert_key = alert_keys.ntopng.alert_suspicious_file_transfer,
|
||||
i18n_title = "alerts_dashboard.suspicious_file_transfer",
|
||||
icon = "fas fa-file-download",
|
||||
|
|
@ -32,11 +30,9 @@ alert_suspicious_file_transfer.meta = {
|
|||
-- @param one_flow_param The first alert param
|
||||
-- @param another_flow_param The second alert param
|
||||
-- @return A table with the alert built
|
||||
function alert_suspicious_file_transfer:init(http_info)
|
||||
function alert_suspicious_file_transfer:init()
|
||||
-- Call the parent constructor
|
||||
self.super:init()
|
||||
|
||||
self.alert_type_params = http_info
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue