Fixes #4709 unexpected new device plugin (#4728)

* Added unexpected new device plugin, needs review

* Fixes #4709 unexpected new device plugin

Co-authored-by: matteo <biscosi@ntop.org>
This commit is contained in:
Matteo Biscosi 2020-11-16 12:41:19 +01:00 committed by GitHub
parent 4990491d06
commit a8cf3836d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 222 additions and 24 deletions

View file

@ -0,0 +1,22 @@
--
-- (C) 2020 - ntop.org
--
return {
unexpected_new_device_title = "Unexpected Device Connected",
unexpected_new_device_description = "Trigger an alert when an unexpected device connects to the network.",
-- ####################### Input builder strings
description = "Comma separated values of allowed MAC Addresses. Example: FF:FF:FF:FF:FF:FF",
title = "Allowed MAC Addresses",
-- ####################### Status strings
status_unexpected_new_device_description = "Unexpected mac address device <a href=\"%{url}\">%{device}</a> connected to the network.",
status_unexpected_new_device_description_pro = "Unexpected mac address device <a href=\"%{host_url}\">%{device}</a> connected to the network. Snmp infos: <a href=\"%{snmp_url}\">%{device_ip}</a>",
-- ####################### Alert strings
alert_unexpected_new_device_title = "Unexpected Device Connected"
}