Added ndpi http suspicious content alert mapping

This commit is contained in:
MatteoBiscosi 2022-07-15 11:40:15 +02:00
parent 3631cc741a
commit 3681ca34dc
2 changed files with 73 additions and 0 deletions

View file

@ -0,0 +1,42 @@
--
-- (C) 2019-22 - ntop.org
--
-- ##############################################
local flow_alert_keys = require "flow_alert_keys"
-- Import the classes library.
local classes = require "classes"
-- Make sure to import the Superclass!
local alert = require "alert"
-- ##############################################
local alert_http_suspicious_content = classes.class(alert)
-- ##############################################
alert_http_suspicious_content.meta = {
alert_key = flow_alert_keys.flow_alert_ndpi_http_suspicious_content,
i18n_title = "flow_risk.ndpi_http_suspicious_content",
icon = "fas fa-fw fa-exclamation",
}
-- ##############################################
-- @brief Prepare an alert table used to generate the alert
-- @return A table with the alert built
function alert_http_suspicious_content:init()
-- Call the parent constructor
self.super:init()
end
-- #######################################################
function alert_http_suspicious_content.format(ifid, alert, alert_type_params)
return ""
end
-- #######################################################
return alert_http_suspicious_content