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
Simone Mainardi
b117e8a23a
Adds new REST API v2/
...
Addresses #5269
2021-07-08 09:57:46 +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
f27ea48a54
Replaces old warning.png with fontawesome
...
Fixes #5397
2021-06-04 15:38:29 +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
Luca Deri
a0ba02a5d9
More alert color fixes
2021-05-07 13:51:05 +02:00
Alfredo Cardigliano
10d8f1f2c5
Fix interface alert ts
2021-05-07 12:27:11 +02:00
Luca Deri
1a59a9cc80
Updated alarm widget
2021-05-07 11:38:24 +02:00
Simone Mainardi
ec06e6568f
Simplifies and keeps per-family alert counters
2021-05-07 10:21:32 +02:00
Simone Mainardi
c0a3b4c288
Implements alert report global page
...
Implements #5291
2021-05-06 16:44:06 +02:00
Alfredo Cardigliano
e4ff578117
Dedup code for alert rest endpoints
2021-05-06 15:04:02 +02:00
Simone Mainardi
83f0c38937
Massive cleanup of old alerts code
2021-05-03 18:16:46 +02:00
Simone Mainardi
fce6454125
Updates ts.lua with new stacked charts by severity
2021-05-03 12:38:08 +02:00