Implements User Script Categories

Implements #3280
This commit is contained in:
Simone Mainardi 2020-01-23 16:30:47 +01:00
parent 5c404456b2
commit e15fcf721c
58 changed files with 218 additions and 3 deletions

View file

@ -2,10 +2,14 @@
-- (C) 2019-20 - ntop.org
--
local user_scripts = require("user_scripts")
local alerts_api = require("alerts_api")
local alert_consts = require("alert_consts")
local script = {
-- Script category
category = user_scripts.script_categories.internals,
always_enabled = true,
anomaly_type_builder = alerts_api.misconfiguredAppType,

View file

@ -2,10 +2,14 @@
-- (C) 2019-20 - ntop.org
--
local user_scripts = require("user_scripts")
local alerts_api = require("alerts_api")
local alert_consts = require("alert_consts")
local script = {
-- Script category
category = user_scripts.script_categories.internals,
always_enabled = true,
anomaly_type_builder = alerts_api.misconfiguredAppType,