Commit graph

247 commits

Author SHA1 Message Date
Simone Mainardi
6fc182412f Reworks factory reset 2020-10-13 15:16:59 +02:00
Simone Mainardi
f27dfe45a4 Fixes recipients deletion 2020-10-12 15:36:11 +02:00
Luca Deri
31a33b1b11 Removed MUD implementation obsoleted by the service map
Fixes #4326
Fixes 3499
2020-10-11 16:42:24 +02:00
Simone Mainardi
049bfdcf4a Implements bitmap-based limited privileges for non-admins
Implements #4489
2020-10-09 15:50:22 +02:00
Alfredo Cardigliano
a64095f244 Add syslog stats to the interface page 2020-10-09 15:45:59 +02:00
gabryon99
2f3fa22613 extended recipient page with users (#4375) 2020-10-07 23:15:21 +02:00
Alfredo Cardigliano
f0af1500b2 Return configuration_file_mismatch on wring conf file 2020-10-02 16:43:11 +02:00
Alfredo Cardigliano
50411c94e4 Add endpoints for exporting pools (wip) and all configurations. Improve the import API to import modules in order. (#4475) 2020-10-02 11:22:55 +02:00
Alfredo Cardigliano
5f5c736253 Fix path 2020-10-01 17:20:30 +02:00
Alfredo Cardigliano
2ef958d8df Add Notification Endpoint and Recipients import/export/reset endpoint (#4433) 2020-10-01 15:52:35 +02:00
Alfredo Cardigliano
f627a735c9 Add User Scripts reset endpoint (#4433) 2020-10-01 12:08:12 +02:00
Alfredo Cardigliano
339877a1d8 Add active monitoring reset endpoint (#4433) 2020-10-01 11:50:30 +02:00
Alfredo Cardigliano
221a5f9a63 Add missing endpoint 2020-10-01 11:41:14 +02:00
Alfredo Cardigliano
0e82f5f81b Add reset to the import_export module. Add snmp reset endpoint (#4433) 2020-10-01 10:48:20 +02:00
Alfredo Cardigliano
16b9aa4511 Fix active_monitoring config check 2020-09-30 17:24:37 +02:00
Alfredo Cardigliano
2a3d4b16ef Add import/export endpoints for the Active Monitoring configuration (#4475) 2020-09-25 10:09:31 +02:00
Simone Mainardi
55e6754d64 Fixes exception due to flow score passed as table
Addresses #4485
2020-09-25 10:03:23 +02:00
Alfredo Cardigliano
87652fe7f7 Add import/export endpoints for SNMP (#4475) 2020-09-25 09:30:01 +02:00
Alfredo Cardigliano
03f5e024e3 Add import/export endpoints for user scripts (#4475) 2020-09-23 17:04:42 +02:00
Simone Mainardi
6c1280a8e5 Reworks recipients.lua as static rather than (useless) instance 2020-09-23 15:03:07 +02:00
Alfredo Cardigliano
dfe591dae7 Use import_export module in the REST API rest/v1/{get,set}/scripts/config.lua 2020-09-22 22:20:22 +02:00
Alfredo Cardigliano
eaa98e6002 Show counters for unhandled flows 2020-09-16 18:52:19 +02:00
Simone Mainardi
72828270ad Adds a missing package.path 2020-09-10 15:20:51 +02:00
Simone Mainardi
9875e9b398 Implements REST API endpoint to factory-reset notif. endpoints
Implements #4391
2020-09-10 15:17:43 +02:00
Simone Mainardi
2086065b28 Implements REST API endpoint to factory-reset recipients
Implements #4391
2020-09-10 15:04:48 +02:00
Simone Mainardi
e0192d03be Implements reset of pools and REST API endpoint
Implements #4384
2020-09-10 14:45:28 +02:00
Simone Mainardi
13cfd29376 Implements REST endpoint to get all pools for a given recipient 2020-09-10 14:00:55 +02:00
Simone Mainardi
c1078d2f21 Implements additional pools and edit/get REST API
Implements #4380
Implements #4381
2020-09-10 11:11:08 +02:00
Simone Mainardi
20bf30946e Minor cleanup 2020-08-31 16:16:27 +02:00
Simone Mainardi
6e0ae904df Implements REST API endpoint to get pools for any available type
Implements #4263
2020-08-31 16:13:42 +02:00
Alfredo Cardigliano
3b32c3acd4 Update REST examples 2020-08-28 16:41:40 +02:00
Alfredo Cardigliano
055e8cdecf Move rest/v1/get/ntopng/session.lua to scripts/lua/rest/v1/create/ntopng/session.lua 2020-08-26 09:20:29 +02:00
Alfredo Cardigliano
d4979f8c87 Fix rest/v1/get/interface/l7/stats.lua example 2020-08-25 15:39:01 +02:00
Alfredo Cardigliano
0eaf407514 Example fix 2020-08-25 15:27:35 +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
473b90e9ae Fixes certain API calls using old rest_utils consts
Fixes #4312
2020-08-19 17:16:28 +02:00
Alfredo Cardigliano
8a0525702e Update internal rest api 2020-08-18 11:48:15 +02:00
Alfredo Cardigliano
65acfacccd Add REST endpoint for name resolution 2020-08-18 11:38:11 +02:00
Simone Mainardi
16db3cda67 Reworks REST API to return i18n success/error messages
Implements #4300
2020-08-17 19:18:16 +02:00
Alfredo Cardigliano
b65154289e Improve rest/v1/edit/ntopng/user.lua endpoint 2020-08-17 16:46:53 +02:00
Luca Deri
f0ade98875
Merge pull request #4302 from WuerthPhoenix/add_rest_api_to_update_user
Add edit user endpoint
2020-08-16 10:14:49 +02:00
Mattia Codato
d9a762feca Add edit user endpoint 2020-08-14 12:25:36 +02:00
Alfredo Cardigliano
1160066b08 Add logging for all non-get REST calls (fix #4279) 2020-08-14 12:02:09 +02:00
Alfredo Cardigliano
628bdd8994 Add tracing of rest set calls 2020-08-13 16:08:25 +02:00
Alfredo Cardigliano
76b740c2b4 Add more flow details (verbose param) 2020-08-11 11:04:44 +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
Alfredo Cardigliano
0c5de96a44 New lua API ntop.createUserSession. New REST API rest/v1/get/ntopng/session.lua to generate session cookies. 2020-07-30 18:08:03 +02:00
Alfredo Cardigliano
375be89b81 Add REST Endpoint for deleting users (implement #4219( 2020-07-30 11:25:20 +02:00
Alfredo Cardigliano
da74202e94 Add dscp info to raw flows 2020-07-21 15:07:32 +02:00