Commit graph

44 commits

Author SHA1 Message Date
Alfredo Cardigliano
257ece18c0 Copyright update (Lua) 2022-01-03 09:42:33 +01:00
Simone Mainardi
3dff9421e0 Adds REST constants to handle nEdge DHCP leases errors
Addresses #2918
2021-11-02 17:14:46 +01:00
Luca Deri
b2c437a641 Added extra parameter for specifying extra HTTP response headers 2021-10-27 10:10:40 +02:00
Simone Mainardi
ddad633b3a Fixes checks and addition of host pools
Addresses #5677
2021-07-15 10:52:10 +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
4b699226c9 Fixes alert download button broken and changed to txt
Implements #5260
2021-04-30 12:38:52 +02:00
gabryon99
e993152112 extended rest_utils api for datatable serverSide rendering 2021-03-25 10:24:07 +01:00
Luca Deri
b52697a55d Updated (C) 2021-03-24 18:47:50 +01:00
Matteo Biscosi
bf12e0c103 Added Victim and Attacker shown into the Developer page 2021-01-07 16:34:45 +01:00
Simone Mainardi
a71492aab5 Changes to allow widgets to fetch datasources by type 2021-01-07 11:41:36 +01:00
Simone Mainardi
d902000d67 Implements widgets with multiple datasources (fetch + rest) 2021-01-05 20:55:33 +01:00
Luca Deri
7c1926fde0 Indent 2020-12-26 10:49:11 +01:00
gabryon99
ddbf1bb01f add rtt_threshold and bandwidth_threshold to infrastructure instances 2020-12-17 12:57:38 +01:00
gabryon99
9366318520 documented rest api for the infrastructure configurations (#4783) 2020-12-03 15:08:14 +01:00
Simone Mainardi
8121f48e4a Adds infrastructure_instance_check_auth_failed REST response 2020-11-20 11:44:49 +01:00
Simone Mainardi
46964cb5ab Extends REST utils with new infrastructure checks constants 2020-11-20 11:12:56 +01:00
gabryon99
f6f72c01e3 add threshold for infrastrcture instances 2020-11-19 14:59:00 +01:00
gabryon99
d79fa291b4 fixed error for instance already existing 2020-11-19 14:59:00 +01:00
gabryon99
e58f2193aa add insfrastructure dashboard (#4056) 2020-11-17 10:40:22 +01:00
Luca Deri
f38b71f6a7 Implemented origin handling in federation rest 2020-11-12 22:14:32 +01:00
Alfredo Cardigliano
a375a3b925 Add REST return codes CONFIGURATION_FILE_MISMATCH PARTIAL_IMPORT 2020-10-01 19:21:17 +02:00
Simone Mainardi
a05e4c599e Extensions handle SNMP device interfaces status change 2020-08-20 17:56:10 +02:00
Alfredo Cardigliano
ba2e44ddc6 REST endpoints now return specific HTTP codes on failure (fix #4278) 2020-08-20 11:45:17 +02:00
Alfredo Cardigliano
646c5a8d68 Add support for returning HTTP status codes to rest_utils 2020-08-20 10:28:18 +02:00
Simone Mainardi
0d07e5a699 Cosmetic fix 2020-08-18 10:24:15 +02:00
Simone Mainardi
16db3cda67 Reworks REST API to return i18n success/error messages
Implements #4300
2020-08-17 19:18:16 +02:00
Mattia Codato
d9a762feca Add edit user endpoint 2020-08-14 12:25:36 +02:00
Luca Deri
d62303cc23 Added REST call to list all users rest/v1/get/ntopng/users.lua
Added specific error in case an existing user is already existing (REST API rest/v1/add/ntopng/user.lua)
2020-08-07 18:03:34 +02:00
Luca Deri
038cdb2dc2 Added message for SNMP device edit error 2020-08-04 11:25:43 +02:00
Alfredo Cardigliano
375be89b81 Add REST Endpoint for deleting users (implement #4219( 2020-07-30 11:25:20 +02:00
Alfredo Cardigliano
806c9540f2 Add REST Endpoint for creating users (implement #4218) 2020-07-30 10:54:20 +02:00
Simone Mainardi
52c022de20 Returns bind errors in REST endpoint to add host pool members 2020-07-17 17:29:46 +02:00
Simone Mainardi
6638f66543 Implements REST endpoint to bind host pool members
Implements #4136
2020-07-15 11:45:13 +02:00
Simone Mainardi
aab7051810 Implements RESTful getters for interface pools and members
Implements #4109
2020-07-06 14:22:24 +02:00
Simone Mainardi
62c35e82ec Implements RESTful delete of interface pools and members
Implements #4108
2020-07-06 13:06:01 +02:00
Simone Mainardi
519fec5f94 Implements RESTful edit of interface pools and members
Implements #4107
2020-07-06 12:57:01 +02:00
Simone Mainardi
ca1a011c2b Implements RESTful addition of interface pools and members 2020-07-06 12:38:39 +02:00
Simone Mainardi
e63ca22177 Localizes REST response codes 2020-06-17 16:35:36 +02:00
Simone Mainardi
e0b19c73bb Extends rest_utils to handle SNMP devices errors 2020-06-17 15:15:15 +02:00
Alfredo Cardigliano
c24ea73dec Add rest/v1/set/pool/config rest/v1/set/scripts/config REST API 2020-05-20 14:51:02 +02:00
Alfredo Cardigliano
ac24563f15 Add rest/v1/get/timeseries/ts API 2020-05-20 14:36:21 +02:00
Alfredo Cardigliano
2f4d47f064 Add v1/get/pcap/live_extraction.lua API 2020-05-18 19:28:30 +02:00
Alfredo Cardigliano
b266ab9335 Add v1/get/system/stats v1/get/host/mud REST API 2020-05-18 17:46:50 +02:00
Luca Deri
ccf76ca54d Added "real" intefaceId validation
Initial work towards REST API
2020-05-17 20:47:46 +02:00