Filter plugin prep

This commit is contained in:
Jokob-sk
2023-07-16 09:30:55 +10:00
parent 4d433b633f
commit d0284a0603
6 changed files with 114 additions and 62 deletions

View File

@@ -8,4 +8,4 @@ A simple template-based plugin for new devices. You can change the default value
### Notes
- This plugin generates editable settings taht are then used in the `device.py` script to initialize new values.
- This plugin generates editable settings that are then used in the `device.py` script to initialize new values.

View File

@@ -3,6 +3,13 @@
"unique_prefix": "NMAPSRV",
"enabled": true,
"data_source": "pialert-db-query",
"data_filters": [
{
"column" : "Object_PrimaryID",
"function" : "==",
"filter_field_id": "txtMacFilter"
}
],
"localized": ["display_name", "description", "icon"],
"display_name" : [{
"language_code":"en_us",