Matteo Biscosi
dffb8cedc5
Fixed exclusion list purged after startup
2021-02-15 12:37:23 +01:00
Simone Mainardi
7e1a3ef51f
Implements CIDR-matching of flow exclusion list rules
2021-02-12 17:24:26 +01:00
Simone Mainardi
6d651f0661
mplements layer-4 protocol as filter for flow user scripts
2021-02-12 16:25:45 +01:00
Simone Mainardi
c0ee292530
Implements l7_proto as filter for flow user scripts
2021-02-12 16:08:27 +01:00
Simone Mainardi
8e271e29a4
Reworks user script exclusion lists matching functions
2021-02-12 15:43:48 +01:00
Simone Mainardi
84ac0f4dfc
Implements filtering of flow user scripts
2021-02-12 12:56:06 +01:00
Matteo Biscosi
edc1e16b7e
Removed message when trying to exclude two identical alerts
2021-02-12 11:44:36 +01:00
Matteo Biscosi
c77c689f94
Removed spaces by js when adding a new alert filter
2021-02-12 11:29:59 +01:00
Matteo Biscosi
59818f5540
Changed filters table path and Fixes reset script values
2021-02-12 10:59:16 +01:00
Simone Mainardi
211d678bd5
Implements user script filters getter
2021-02-12 09:53:10 +01:00
Simone Mainardi
fefc3c39b0
Reworks user script filters lint and functions
2021-02-11 17:59:35 +01:00
Matteo Biscosi
138f712591
Fixed exclusion list not updated
2021-02-11 17:41:46 +01:00
Matteo Biscosi
d6d0780507
Implements add the ability to suppress specific alerts
...
Implements #4942
2021-02-11 17:13:07 +01:00
Matteo Biscosi
769658268f
Implements add the ability to suppress specific alerts
...
Implements #4942
Partially implemented alerts exclusion list
Added User Script exclusion list to settings
Implements add the ability to suppress specific alerts
Implements #4942
2021-02-10 15:35:54 +01:00
Simone Mainardi
146b8fc1b0
Adds skeleton for alerts exclusion lists
...
Addresses #4942
2021-02-05 09:41:50 +01:00
Matteo Biscosi
76765da78b
Implements #4984 core Internet resources misuse script
2021-01-29 18:15:06 +01:00
gabryon99
9e5c245d7d
removed unecessary tprint
2021-01-28 10:08:34 +01:00
gabryon99
26de36685a
add select severity to user scripts ( #4919 )
2021-01-28 10:08:06 +01:00
Matteo Biscosi
2512beb34f
Update user_scripts.lua
2021-01-27 16:02:56 +01:00
gabryon99
aa45a8d64e
add severity select for scripts config modal ( #4919 )
2021-01-27 14:49:00 +01:00
Matteo Biscosi
10fb8bbecc
Implements #4919 custom alert severity
2021-01-27 12:29:19 +01:00
Luca Deri
a1178a0791
Updated (C)
2021-01-02 12:08:23 +01:00
Simone Mainardi
5c0c23feb6
Fixes execution of periodicUpdate flow callback
...
Fixes #4687
2020-11-06 18:17:54 +01:00
gabryon99
cf16003826
add notification for unexpected plugins ( #4659 )
2020-11-02 11:42:30 +01:00
Simone Mainardi
c947265462
Avoids accessing empty configurations (new user scripts)
2020-10-30 08:52:40 +01:00
Simone Mainardi
0369ac5e72
Adds traces for Xv
2020-10-30 08:35:30 +01:00
Simone Mainardi
0361391646
Implements endpoint to toggle all user scripts
...
Implements #4500
2020-10-06 14:42:29 +02:00
Alfredo Cardigliano
b98ab627c4
Implement pool import with configset and recipient IDs remapping ( #4475 )
2020-10-02 16:00:12 +02:00
gabryon99
7c15ebd60b
moved flow tab in scripts_config
2020-09-25 18:33:15 +02:00
Luca Deri
55d8e299fa
Cleanued up code for flow score
2020-09-23 10:51:36 +02:00
Luca Deri
6589b1e9b3
Fixed startup error when ntopng starts from a clean configuration
2020-09-22 10:48:50 +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
Simone Mainardi
65484afb6c
User script categories id assignment fixes
2020-09-18 19:23:15 +02:00
Simone Mainardi
9341a43809
Adds user scripts categories mapping in C
2020-09-16 16:47:09 +02:00
Simone Mainardi
09c33b57f7
Adds user script category ids
2020-09-15 18:41:02 +02:00
Simone Mainardi
77d458c632
Implements script values factory reset
...
Implements #4297
2020-08-31 17:52:17 +02:00
Simone Mainardi
34b53b8a9b
Adds documentation for OO recipients and operator functions
2020-08-28 18:57:59 +02:00
Simone Mainardi
fa00119b56
Adds operator function to evaluate threshold-based alerts
2020-08-28 17:04:25 +02:00
Simone Mainardi
04431e853c
Enables pools in host user scripts configuration
2020-07-30 09:52:12 +02:00
Simone Mainardi
4e96ae7e26
Refactors user_scripts method names
2020-07-29 15:17:31 +02:00
Simone Mainardi
99366d6ee3
Optimizes execution of user scripts (avoids multiple hosts HT walks)
2020-07-29 14:45:52 +02:00
Simone Mainardi
09c69edb22
Major rework of user_scripts.lua to use new pools
2020-07-10 13:01:29 +02:00
Simone Mainardi
2230673eb3
Reworks user scripts UI with new host pools
2020-07-09 19:12:20 +02:00
Simone Mainardi
9e5e63e28f
Avoids unnecessary executions of flow user script external_alert_check.lua
...
Fixes #4080
2020-06-26 12:08:10 +02:00
Simone Mainardi
62ec5e0262
Fixes User Script Configuration Clone Broken
...
Fixes #4068
2020-06-22 19:52:15 +02:00
emanuele-f
610e632234
Add comments/remove table.clone when not needed
2020-05-21 11:10:47 +02:00
Alfredo Cardigliano
2425134f05
Replace isEnterprise with isEnterpriseM
2020-04-02 12:36:34 +00:00
emanuele-f
15c013922d
Improve plugins reload to avoid transient errors
...
A "shadow directory" is now populated when the reload occurs and then swapped as the active directory.
This avoids breaking the directory structure or changing files when other threads are possibly working
on them.
Fixes #3595
2020-03-26 14:21:11 +01:00