Alfredo Cardigliano
8f7ab1af85
Add import_export active monitoring module ( #4475 )
2020-09-23 14:40:51 +02:00
gabryon99
c8eba2f222
fix action button style in active monitoring datatable
...
addresses #4473
2020-09-23 08:23:56 +02:00
Simone Mainardi
3ad4522e45
Implements additional plugin hooks
...
The following plugin hooks have been implemented
onEnable(hook, hook_config)
onDisable(hook, hook_config)
onUpdateConfig(hook, hook_config)
onLoad(hook, hook_config)
onUnload(hook, hook_config)
Documentation is part of the commit.
Implements #4451
Implements #4453
Implements #4454
Implements #4455
2020-09-21 18:25:14 +02:00
Alfredo Cardigliano
f83ccb70d5
Add external alert check on flow end event. Remove *if* preventing external alerts from being triggered.
2020-09-21 16:12:36 +02:00
Simone Mainardi
304c5404f2
Implement additional plugin hook script.onUpdateConfig
...
Implements #4451
2020-09-20 13:19:36 +02:00
Alfredo Cardigliano
d15738cd00
Ignore malformed alert events
2020-09-18 18:28:56 +02:00
Alfredo Cardigliano
8c887fae76
Add check to Suricata parser
2020-09-18 16:39:52 +02:00
Simone Mainardi
f12ad8c028
Increases default script thresholds
...
Fixes #4424 with companion pro commit
2020-09-18 11:17:46 +02:00
Simone Mainardi
020c1cd0a1
Fixes Error with 'P2P Traffic Alert' user script
...
Fixes #4447
2020-09-17 18:34:23 +02:00
Alfredo Cardigliano
6f98caf7a8
Add safety check for malformed logs
2020-09-17 14:52:29 +02:00
Simone Mainardi
8724ebdd9f
Adds formatted output of endpoint recipients
2020-09-17 12:41:45 +02:00
Simone Mainardi
9341a43809
Adds user scripts categories mapping in C
2020-09-16 16:47:09 +02:00
Simone Mainardi
64f0922b6b
Implements plugin onLoad call
...
Implements #4438
2020-09-16 10:48:12 +02:00
simonemainardi
d3c8d01d0f
Creates README.md for the plugins folder structure
...
Implements #4358
2020-09-15 12:15:26 +02:00
Simone Mainardi
f7e1ea9709
Reworks plugin loading and structure
...
Implements #4358
2020-09-15 11:33:53 +02:00
Simone Mainardi
4a18a3923f
Makes endpoint names self-contained in plugins
2020-09-11 18:48:54 +02:00
Simone Mainardi
8d4266f094
Minor additions for the Elasticsearch notification endpoint
2020-09-11 16:47:30 +02:00
Luca Deri
a91bde8952
Reworked alert formatting adding new options and removing little redundancy
...
Tiny change in the discord plugin
2020-09-10 16:13:42 +02:00
gabryon99
a6516f3bac
missing MAX_RECIPIENTS constant inside am_utils.js
2020-09-10 15:09:43 +02:00
Luca Deri
2893167b51
Added comments in the discord endpoint and removed dead code
...
Commentede dead code in example nd syslog alert endpoints
2020-09-10 14:54:24 +02:00
Simone Mainardi
0924b42828
Fixes endpoint type for builtin endpoint
2020-09-10 14:23:48 +02:00
Luca Deri
9239caebcb
Added comments
2020-09-10 12:07:45 +02:00
Simone Mainardi
20db316136
Migrates Discord plugin as self-contained
2020-09-09 17:22:09 +02:00
gabryon99
63f3914e04
fixed string localization
2020-09-09 11:08:31 +02:00
gabryon99
1fc31fa6ab
add recipient list when selecting pool
2020-09-09 11:01:41 +02:00
gabryon99
96b5600d80
add redirect to previous page from edit pool link
2020-09-08 19:33:35 +02:00
gabryon99
9d16a84897
add redirect to edit pool modal
2020-09-08 19:24:36 +02:00
Simone Mainardi
9e99fa1403
Uses new in-memory queues for alert recipients (avoid Redis)
2020-09-08 18:36:18 +02:00
gabryon99
5db42ecec4
replaced endpoint/recipient name as primary key in GUI
2020-09-07 10:04:57 +02:00
gabryon99
9e508a7382
fixed wrong link for import/export link inside active monitoring
2020-09-07 09:27:54 +02:00
gabryon99
ccaf1f7b28
add responsive table wrapper for SNMP, AM, Endpoints, Recipients, Pools, Host Pool Members table
2020-09-07 08:43:26 +02:00
Simone Mainardi
a4f64c1505
Adds missing alert_consts require
2020-09-04 12:28:35 +02:00
Simone Mainardi
1a7ee97334
Reworks builtin SQLite alerts as a regular alert recipient
2020-09-04 10:33:10 +02:00
Simone Mainardi
ae5adcd2ae
Minor cleanup
2020-09-03 19:37:41 +02:00
Simone Mainardi
1d4930fc13
Initial work to add the SQLite plugin and builtin recipient
2020-09-03 19:35:28 +02:00
Simone Mainardi
e1f07e1787
Fixes email test button logs on console with no visual feedback
...
Fixes #4355
2020-09-03 16:30:34 +02:00
Simone Mainardi
b6667086ca
Fixes email plugin not using CC
...
Fixes #4364
2020-09-03 14:45:56 +02:00
Simone Mainardi
f5d53d2e3e
Fixes plugins not using recipient templates
...
Fixes #4363
2020-09-03 14:18:08 +02:00
Luca Deri
eff170517a
Discord alert handler fixes
2020-09-03 00:49:31 +02:00
Simone Mainardi
d7a02546c9
Implements discord notifications endpoint
...
Implements #4346
2020-09-02 19:02:11 +02:00
Luca Deri
7aa6fd3bd8
Partially implements #4346 (work in progress)
2020-09-02 17:50:54 +02:00
Simone Mainardi
28caa3ac33
Fixes alerts starving in per-recipient queues
2020-09-02 14:52:40 +02:00
Simone Mainardi
a0097167f4
Fixes active monitoring alerts
2020-09-01 23:03:11 +02:00
Simone Mainardi
b6f53df891
Fixes possibly skipped endpoint notifications export
2020-09-01 19:54:54 +02:00
gabryon99
b7b17d9d1c
add import/export page GUI
2020-08-19 15:49:50 +02:00
Simone Mainardi
f493a9f70d
Implements static const REGEXES in JS class NtopUtils
2020-08-18 16:46:29 +02:00
gabryon99
5797c7c8fd
add hostname resolve for email endpoint
2020-08-18 16:24:18 +02:00
Simone Mainardi
1ae2b2d932
Refactors NtopngUtils into NtopUtils
2020-08-18 15:10:04 +02:00
Simone Mainardi
e61f9ffe68
Refactor JS code into class NtopngUtils
...
Implements #3735
2020-08-18 14:13:48 +02:00
gabryon99
3401a4c12a
fixed maximum number for endpoint types
2020-08-17 11:22:38 +02:00