Commit graph

383 commits

Author SHA1 Message Date
MatteoBiscosi
f4095000f5 Fixes nil host_info value (#5829) 2021-10-20 16:01:35 +02:00
MatteoBiscosi
ce00491801 Added auto-refreshing sync with preferences 2021-10-20 15:59:58 +02:00
MatteoBiscosi
fb9482fbfd Fixes score filter not persistent (#5858) 2021-10-05 17:33:02 +02:00
MatteoBiscosi
65c69bc2db Fixes nil value res (#5920) 2021-09-30 15:50:21 +02:00
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
MatteoBiscosi
cbfdb7d9cf Implemented Report MAC address Traffic Information (#5920) 2021-09-27 11:59:51 +02:00
Simone Mainardi
e9c26b79f8 Implements UI badges color-coded using engaged alert severities
Addresses #5881
2021-09-24 17:25:34 +02:00
Simone Mainardi
ce11755559 Fixes ARP stats not selecting the interface 2021-09-08 17:53:20 +02:00
Vasilis Tako
432fd040f6 Added custom notes to host config (Issue #5619) 2021-08-26 16:31:10 +02:00
MatteoBiscosi
afc1948ff1 Temporary fix for live pcap extraction with n2disk 2021-08-16 17:23:40 +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
c55ad84ed1 Minor version fix 2021-07-30 10:21:45 +02:00
Simone Mainardi
920e86f261 Implements REST API endpoint to read the API version 2021-07-30 10:18:19 +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
43a3227c67 Completes the documentation for the REST API v2/
Addresses #5698
2021-07-22 12:17:03 +02:00
Simone Mainardi
b1627f5f68 Massive REST API v2/ documentation update
Partially addresses #5698
2021-07-21 19:04:06 +02:00
Simone Mainardi
4a3be51887 Adds links to probe IP for active hosts 2021-07-16 12:45:38 +02:00
Simone Mainardi
cf82ab0f2e Implements REST API endpoint to pull nProbes data 2021-07-15 17:17:44 +02:00
Simone Mainardi
cb48d6e005 Adds missing v2/ REST endpoints due to gitignore policy 2021-07-14 08:06:45 +02:00
Simone Mainardi
ed8641d8ff Fix for test v2/get_ntopng_users_01 2021-07-14 08:04:19 +02:00
Simone Mainardi
c8cd2df0d3 Adds missing v2/get/ntopng/session.lua 2021-07-13 11:35:59 +02:00
Simone Mainardi
6522eda814 Fixes for REST API test v2/get_ntopng_interfaces_01 2021-07-13 11:26:33 +02:00
Simone Mainardi
833fc3670b Reworks version of alert exclusions 2021-07-12 17:37:51 +02:00
MatteoBiscosi
ddc0a7f47a Added create api token to v2 rest 2021-07-12 17:32:45 +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
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