mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
* Fixes #4416 implement shell script endpoint * removed debugging code * Removed for windows env
This commit is contained in:
parent
a805a0501a
commit
cfac78e89e
7 changed files with 275 additions and 0 deletions
25
scripts/plugins/endpoints/shell_alert_endpoint/http_lint.lua
Normal file
25
scripts/plugins/endpoints/shell_alert_endpoint/http_lint.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
--
|
||||
-- (C) 2020 - ntop.org
|
||||
--
|
||||
--
|
||||
|
||||
-- Place here the checks for parameters used by this plugins
|
||||
-- In essence it extends (and references) checks present in
|
||||
-- scripts/lua/modules/http_lint.lua
|
||||
--
|
||||
|
||||
local script = {}
|
||||
|
||||
|
||||
-- ##############################################
|
||||
|
||||
-- @brief Called by the main http_lint module to load additional parameters.
|
||||
-- @params http_lint a reference to the scripts/lua/modules/http_lint.lua module
|
||||
-- @return a (possibly empty) table with parameter_name -> validator mappings
|
||||
function script.getAdditionalParameters(http_lint)
|
||||
return {}
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
return(script)
|
||||
Loading…
Add table
Add a link
Reference in a new issue