mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Added ndpi http suspicious content alert mapping
This commit is contained in:
parent
3631cc741a
commit
3681ca34dc
2 changed files with 73 additions and 0 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue