Commit graph

3424 commits

Author SHA1 Message Date
Simone Mainardi
c795fdb4e9 Adds trace info upon failing 'plugins_metadata' require
Addresses #4492
2020-09-28 17:57:10 +02:00
gabryon99
06480d3171 add check for empty string on file writing 2020-09-28 15:23:55 +02:00
Simone Mainardi
90a5a57b36 Implements user script queues (avoids 5-sec HT walk) 2020-09-28 11:45:00 +02:00
gabryon99
7c15ebd60b moved flow tab in scripts_config 2020-09-25 18:33:15 +02:00
gabryon99
77a9f83de8 fix print card footer for alert_utils 2020-09-25 18:01:28 +02:00
gabryon99
a4d17d28d6 fixed tab for manage_data and add ui_utils.render_notes
addresses #4471
2020-09-25 17:20:49 +02:00
gabryon99
d7f7a2ebce add no scope pages for DHCP range alert (#4470) 2020-09-24 22:41:13 +02:00
gabryon99
cdde515168 migrated DHCP outdated alerts (#4470) 2020-09-24 22:03:39 +02:00
gabryon99
ea8e30bac0 unified tab style across the pages (#4471) 2020-09-23 21:49:35 +02:00
Simone Mainardi
2afc279caf Fixes invalid recipients behavior
Fixes #4483
2020-09-23 18:55:39 +02:00
Simone Mainardi
814ee67cf9 Reworks nDPI Risks flow plugins to handle all risks and scores
Fixes #4432
2020-09-23 17:58:51 +02:00
Luca Deri
0c992b2797 Debug code removed 2020-09-23 17:01:49 +02:00
Luca Deri
97d456e020 Added supporto for 4xx and 5xx returb codes in http_status_code.lua 2020-09-23 16:57:38 +02:00
Alfredo Cardigliano
f60c331198 Add import_export_rest_utils module 2020-09-23 16:18:45 +02:00
gabryon99
de1674080d unified tab style (#4471) 2020-09-23 16:16:03 +02:00
Simone Mainardi
6c1280a8e5 Reworks recipients.lua as static rather than (useless) instance 2020-09-23 15:03:07 +02:00
Alfredo Cardigliano
09905f99a3 Add import_export snmp module (#4475) 2020-09-23 12:25:30 +02:00
Alfredo Cardigliano
a6be8f79ac Add import_export base module and user scripts module 2020-09-22 22:19:51 +02:00
Luca Deri
55d8e299fa Cleanued up code for flow score 2020-09-23 10:51:36 +02:00
Luca Deri
c7b7f2ee1b Minor cleanup 2020-09-23 09:35:32 +02:00
Luca Deri
1af60271b6 Fixed risk flow layout 2020-09-23 09:08:31 +02:00
Simone Mainardi
386a37e84a Fixes host pools migration wrongly executed on fresh installs
Fixes #4465
2020-09-22 18:02:02 +02:00
Alfredo Cardigliano
50099f8b89 Cleanup aggregated flows configuration (deprecated) 2020-09-21 23:20:14 +02:00
Alfredo Cardigliano
ee253b4569 Fix flow dump alert 2020-09-21 23:02:33 +02:00
Luca Deri
d3854b69fa Implements #4405 2020-09-22 11:54:19 +02:00
Luca Deri
29808a97dc Disabled trace message 2020-09-22 10:52:51 +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
gabryon99
402e1113fb fixed weird notification style
close #4449
2020-09-18 21:53:17 +02:00
Simone Mainardi
65484afb6c User script categories id assignment fixes 2020-09-18 19:23:15 +02:00
Alfredo Cardigliano
721a32b9a4 Indentation 2020-09-18 18:27:21 +02:00
Alfredo Cardigliano
161535700d Show an alert in the GUI when Flow Dump (e.g. nIndex) initialization fails 2020-09-18 15:25:33 +02:00
Simone Mainardi
d3572496b8 Adds missing default recipient params format 2020-09-18 11:32:10 +02:00
Alfredo Cardigliano
b35e0bcdd9 Fix access to getSavedDeviceName 2020-09-17 19:01:36 +02:00
gabryon99
e201fe69f2 improved SNMP edit pool 2020-09-17 15:36:24 +02:00
gabryon99
a10f320918 improved alerts page looking 2020-09-17 15:00:40 +02:00
Simone Mainardi
8724ebdd9f Adds formatted output of endpoint recipients 2020-09-17 12:41:45 +02:00
Luca Deri
8db941c31e Improved IEC 104 plugin 2020-09-16 23:24:40 +02:00
Simone Mainardi
d8d8ee08ee Refreshes recipients upon plugins reload 2020-09-16 22:11:50 +02:00
Simone Mainardi
71c8f9c1f3 Fixes too many C levels (limit is 200) in function at line 2424 near 'country' 2020-09-16 18:51:23 +02:00
Simone Mainardi
0bbcc12edb Fixes pools_alert_utils.lua:112: bad argument #1 to 'for iterator' 2020-09-16 18:26:39 +02:00
Simone Mainardi
33bd6bb1c9 Fixes callbacks last duration
Fixes #4436
2020-09-16 18:10:51 +02:00
Simone Mainardi
f49ee9ba7a Fixes recipients_rest_utils.parse_minimum_severity 2020-09-16 17:10:52 +02:00
gabryon99
521c2a3b8e severity fix on recipient edit modal 2020-09-16 17:02:15 +02:00
Simone Mainardi
9341a43809 Adds user scripts categories mapping in C 2020-09-16 16:47:09 +02:00
gabryon99
4c6d067205 add severity and categories for recipients 2020-09-16 16:13:04 +02:00
Simone Mainardi
b7341506f7 Implements checks for script type and alert severity in dispatch_notification 2020-09-16 13:08:07 +02:00
Simone Mainardi
8a31d3b11d Adds recipients_rest_utils.lua file 2020-09-16 12:09:53 +02:00