Implements flow check modules enable/disable prefs

This commit is contained in:
Simone Mainardi 2019-09-17 11:57:29 +02:00
parent d672d93750
commit e2c9e729a4
6 changed files with 143 additions and 54 deletions

View file

@ -1537,6 +1537,7 @@ local special_parameters = { --[[Suffix validator]] --[[Value Validator]]
["op_"] = { validateAlertDescriptor, validateOperator }, -- key: an alert descriptor, value: alert operator
["value_"] = { validateAlertDescriptor, validateAlertValue }, -- key: an alert descriptor, value: alert value
["slack_ch_"] = { validateNumber, validateSingleWord }, -- slack channel name
["enabled_"] = { validateAlertDescriptor, validateAlertValue }, -- key: a check module key, value: alert value
-- Protocol to categories match
["proto_"] = { validateProtocolId, validateCategory },