Implement alert_endpoints and http_lint plugin extensions

Alert endpoints can now be loaded via custom plugins.
It's now possible to extend the http_lint parameters with custom parameters and validators.
This commit is contained in:
emanuele-f 2019-12-19 12:34:08 +01:00
parent 7ed9698125
commit 2047386431
28 changed files with 1218 additions and 868 deletions

View file

@ -0,0 +1,16 @@
--
-- (C) 2019 - ntop.org
--
return {
endpoint_key = "syslog",
entries = {
syslog_alert_format = {
title = i18n("prefs.syslog_alert_format_title"),
description = i18n("prefs.syslog_alert_format_description"),
}, toggle_alert_syslog = {
title = i18n("prefs.toggle_alert_syslog_title"),
description = i18n("prefs.toggle_alert_syslog_description"),
}
}
}