ntopng/scripts/plugins/email_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

29 lines
1.1 KiB
Lua

return {
endpoint_key = "email",
entries = {
toggle_email_notification = {
title = i18n("prefs.toggle_email_notification_title"),
description = i18n("prefs.toggle_email_notification_description"),
},
email_notification_sender = {
title = i18n("prefs.email_notification_sender_title"),
description = i18n("prefs.email_notification_sender_description"),
},
email_notification_recipient = {
title = i18n("prefs.email_notification_recipient_title"),
description = i18n("prefs.email_notification_recipient_description"),
},
email_notification_server = {
title = i18n("prefs.email_notification_server_title"),
description = i18n("prefs.email_notification_server_description"),
},
email_notification_username = {
title = i18n("prefs.email_notification_username_title"),
description = i18n("prefs.email_notification_username_description"),
},
email_notification_password = {
title = i18n("prefs.email_notification_password_title"),
description = i18n("prefs.email_notification_password_description"),
},
}
}