Add Flow Reset Alert and counter. (#8264) (#8348)

* Add Flow Reset Alert and counter. (#8264)

* Renaming to TCP Flow Reset. (#8264)

* Renaming the value retrieved by the getName method. (#8264)
This commit is contained in:
Nicolò Maio 2024-04-24 17:15:20 +02:00 committed by GitHub
parent 3747d9847f
commit 636ba2975c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 265 additions and 2 deletions

View file

@ -0,0 +1,33 @@
--
-- (C) 2019-24 - ntop.org
--
local checks = require("checks")
local alert_consts = require "alert_consts"
local alerts_api = require "alerts_api"
local flow_alert_keys = require "flow_alert_keys"
-- #################################################################
-- NOTE: this module is always enabled
local script = {
-- Script category
category = checks.check_categories.security,
-- This module is disabled by default
default_enabled = false,
-- This script is only for alerts generation
alert_id = flow_alert_keys.flow_alert_tcp_flow_reset,
default_value = {
},
gui = {
i18n_title = "flow_checks_config.flow_reset_title",
i18n_description = "flow_checks_config.flow_reset_description",
}
}
return script