mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Added Suspicious Entropy alert (#6563)
This commit is contained in:
parent
283ebda29c
commit
2bcf7c8dfa
11 changed files with 170 additions and 0 deletions
|
|
@ -0,0 +1,45 @@
|
|||
--
|
||||
-- (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_ndpi_suspicious_entropy = classes.class(alert)
|
||||
|
||||
-- ##############################################
|
||||
|
||||
alert_ndpi_suspicious_entropy.meta = {
|
||||
alert_key = flow_alert_keys.flow_alert_ndpi_suspicious_entropy,
|
||||
i18n_title = "flow_risk.ndpi_suspicious_entropy",
|
||||
icon = "fas fa-fw fa-exclamation",
|
||||
|
||||
has_victim = true,
|
||||
has_attacker = true,
|
||||
}
|
||||
|
||||
-- ##############################################
|
||||
|
||||
-- @brief Prepare an alert table used to generate the alert
|
||||
-- @return A table with the alert built
|
||||
function alert_ndpi_suspicious_entropy:init()
|
||||
-- Call the parent constructor
|
||||
self.super:init()
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
||||
function alert_ndpi_suspicious_entropy.format(ifid, alert, alert_type_params)
|
||||
return
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
||||
return alert_ndpi_suspicious_entropy
|
||||
Loading…
Add table
Add a link
Reference in a new issue