Simone Mainardi
8f76a0ff85
Adds alert/severity/counters.lua REST API endpoints
...
Addresses #5754
2021-09-27 16:13:46 +02:00
Simone Mainardi
6740c9ef0d
Fixes REST API incompat. ({v1,v2}/get/alert/severity/counters.lua)
...
Addresses #5754
2021-09-27 16:12:32 +02:00
Simone Mainardi
ae66546f31
Fixes REST API incompat. ({v1,v2}/get/alert/type/counters.lua)
...
Addresses #5754
2021-09-27 16:04:29 +02:00
Simone Mainardi
ce11755559
Fixes ARP stats not selecting the interface
2021-09-08 17:53:20 +02:00
Vasilis Tako
4da05360f8
Changed back url from title to href attribute on anchor tags (Issue #5618 )
2021-08-04 15:20:04 +02:00
Vasilis Tako
0b0107ab34
Added confirm modal when try to open all external links (Issue #5618 )
2021-08-03 19:12:30 +02:00
Simone Mainardi
820e497253
Unifies epoch-related variables in Lua and JS
2021-07-30 15:38:06 +02:00
Simone Mainardi
1a552d24ec
Cleanup excessive traffic check (to be implemented as host check)
2021-07-27 11:39:40 +02:00
Alfredo Cardigliano
1540d46e7a
Read ifid parameter in all rest endpoints
2021-07-23 15:57:26 +02:00
Simone Mainardi
833fc3670b
Reworks version of alert exclusions
2021-07-12 17:37:51 +02:00
Alfredo Cardigliano
39b1b16870
Restore rest/v1/get/ntopng/session.lua
2021-07-08 14:50:45 +02:00
Simone Mainardi
2327488ee2
Updates v1/get/system/stats.lua
2021-07-08 14:28:58 +02:00
Simone Mainardi
884d925258
Backward compat. and test of rest/v1/get/interface/data.lua
2021-07-08 12:40:11 +02:00
Alfredo Cardigliano
fdd9a8f399
Support also port in uri when validating hosts
2021-07-07 12:52:25 +02:00
Alfredo Cardigliano
4ca5eb238e
Fix hostname validation in URI
2021-07-07 12:22:44 +02:00
Alfredo Cardigliano
d501728988
Fix time series with MAC address as key ( fix #5626 )
2021-07-06 17:47:05 +02:00
Simone Mainardi
04db8cc274
Merges acknowledge and label alerts into acknowledge
...
Addresses #5600
2021-07-05 18:02:56 +02:00
Simone Mainardi
8f52f33e13
Security fix - prevents non-admins to delete alerts via REST
2021-07-02 18:48:54 +02:00
Simone Mainardi
f1083262e3
Implements facilities to label alerts
...
Implements #5600
2021-07-02 17:25:58 +02:00
Alfredo Cardigliano
abd854f891
Prevent unprivileged from manipulating alerts ( #5616 )
2021-07-02 17:02:24 +02:00
Alfredo Cardigliano
ca6707c54a
Rename haveAdminPrivileges -> isAdministratorOrPrintErr (use meaningful names)
2021-07-02 16:51:40 +02:00
Simone Mainardi
feb65be1ca
Implements acknowledged alerts
...
Implements #5600
2021-07-02 14:58:38 +02:00
Simone Mainardi
0dcdd97a51
Implements CSV download for system alerts
2021-06-25 16:45:53 +02:00
Simone Mainardi
bdd7533bfd
Implements missing download for active monitoring alerts
2021-06-25 16:39:18 +02:00
Simone Mainardi
9b3b0b93bf
Implements download of user alerts
2021-06-25 16:14:29 +02:00
Simone Mainardi
e86bcf44b8
Adds extra alert drop tracings to lua
...
Addresses #5558
2021-06-23 16:18:33 +02:00
Simone Mainardi
8344116056
Refactors import/export/reset REST API endpoints
2021-06-17 18:25:06 +02:00
Simone Mainardi
2e8a6de0fc
Major terminology unification (user scripts -> checks)
2021-06-17 12:39:43 +02:00
Simone Mainardi
4a526c3cdf
Decouples checks from alerts (removes unnecessary flag is_alert)
2021-06-17 11:43:12 +02:00
Simone Mainardi
e33af8a23c
Refactors script_categories into check_categories (c++ and lua)
2021-06-16 18:43:55 +02:00
Simone Mainardi
76fd315d1b
Refactors user_scripts into checks (lua)
2021-06-16 18:02:22 +02:00
Simone Mainardi
8cd62f79e9
Implements ability to filter/delete alert exclusions by host
2021-06-14 16:56:29 +02:00
Alfredo Cardigliano
5a0d0c37ae
Fix Delete on all alerts page (add missing rest endpoint)
2021-06-11 14:46:04 +02:00
Simone Mainardi
507d8dce28
Implements the ability to list/configure alarm exceptions
...
Implements #5461
2021-06-09 19:35:42 +02:00
Matteo Biscosi
a35873d484
Moved new alert dashboards rests into pro version
2021-06-07 19:24:05 +02:00
Matteo Biscosi
a6277b8d87
Fixes alert dashboards wrong ifid
2021-06-07 18:29:46 +02:00
Simone Mainardi
eee508fdf6
Fixes Lua error in v1/get/host/alert/list.lua
2021-06-04 14:42:06 +02:00
Matteo Biscosi
c212c47eff
Changed interface select for new alert rest
2021-06-04 13:38:42 +02:00
Matteo Biscosi
76645e6753
Added new rest api for the alerts dashboard
2021-06-04 11:50:33 +02:00
Simone Mainardi
afb562c0b0
Fixes alert pagination broken for flows
...
Fixes #5440
2021-06-04 09:40:15 +02:00
lucapruneti
fc7efc2a0c
issue_5404_download_alert_format-inconsistent ( #5433 )
...
* Change host alert function name to json
* Refactored *_alert_store function with format_json, added csv format tohost alert
* Added .vscode directory to gitignore
* Refactor alert_store:to_csv function to single loop format
* Removed no_data value for no records in alert csv download
* Implemented csv export for alerts
* Merge with dev
* Removed row_id alert field to be exported in csv
* Refactored alert/*/list.lua with simple decision value format construct
* Refactored alerts csv export
* Fix removed output test files
* Added alert csv export for subdocuments
* Modified gitignore
2021-06-04 08:49:31 +02:00
Matteo Biscosi
a616a8f06f
Changed name value and fixed self nil value
2021-06-03 17:39:13 +02:00
Matteo Biscosi
8ccde0a06a
Fixed new alert cards rest response
2021-06-03 16:49:45 +02:00
Matteo Biscosi
d87599dba3
Added tooltip for new alert cards
2021-06-03 16:19:11 +02:00
Matteo Biscosi
82b8450b41
Added general alert stats for the new Dashboard
2021-06-03 10:12:16 +02:00
Simone Mainardi
024041bbc7
Fixes broken deletion of active monitoring alerts
2021-05-27 12:19:32 +02:00
Simone Mainardi
0855f627a0
Allows alert access to admins and non-admins w/o allowed networks
...
Addresses #5324
2021-05-25 18:14:17 +02:00
Simone Mainardi
bc6008be28
Reports all alerts inside a flow alert (not jsut the predominant)
...
Implements #5316
2021-05-13 15:51:05 +02:00
Simone Mainardi
bb3f8ed168
Implements efficient unexpected_new_device alert
2021-05-11 19:03:40 +02:00
Simone Mainardi
74603b8fe6
Implements alerts summary page for engaged alerts
2021-05-10 12:20:27 +02:00