Refactors user_scripts into checks (lua)

This commit is contained in:
Simone Mainardi 2021-06-16 18:02:22 +02:00
parent 3c3aa5a25f
commit 76fd315d1b
222 changed files with 980 additions and 981 deletions

View file

@ -3,7 +3,7 @@
--
local alerts_api = require("alerts_api")
local user_scripts = require("user_scripts")
local checks = require("checks")
local alert_consts = require("alert_consts")
local flow_alert_keys = require "flow_alert_keys"
@ -11,7 +11,7 @@ local flow_alert_keys = require "flow_alert_keys"
local script = {
-- Script category
category = user_scripts.script_categories.network,
category = checks.script_categories.network,
-- NB atm working only for packet interfaces
packet_interface_only = true,