ntopng/scripts/plugins/slack_alert_endpoint/alert_endpoints/prefs_entries.lua
emanuele-f 2047386431 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.
2019-12-19 12:44:39 +01:00

19 lines
650 B
Lua

--
-- (C) 2019 - ntop.org
--
return {
endpoint_key = "slack",
entries = {
toggle_slack_notification = {
title = i18n("prefs.toggle_slack_notification_title", {url="http://www.slack.com"}),
description = i18n("prefs.toggle_slack_notification_description", {url="https://github.com/ntop/ntopng/blob/dev/doc/README.slack"}),
}, sender_username = {
title = i18n("prefs.sender_username_title"),
description = i18n("prefs.sender_username_description"),
}, slack_webhook = {
title = i18n("prefs.slack_webhook_title"),
description = i18n("prefs.slack_webhook_description"),
},
}
}