netbird/management/server/http
Yury Gargay 9bc7b9e897
Add initial support of device posture checks (#1540)
This PR implements the following posture checks:

* Agent minimum version allowed
* OS minimum version allowed
* Geo-location based on connection IP

For the geo-based location, we rely on GeoLite2 databases which are free IP geolocation databases. MaxMind was tested and we provide a script that easily allows to download of all necessary files, see infrastructure_files/download-geolite2.sh.

The OpenAPI spec should extensively cover the life cycle of current version posture checks.
2024-02-20 09:59:56 +01:00
..
api Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
middleware Add JWT group-based access control for adding new peers (#1383) 2023-12-13 13:18:35 +03:00
util fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
accounts_handler_test.go Enable JWT group-based user authorization (#1368) 2023-12-11 18:59:15 +03:00
accounts_handler.go Allow service users with user role read-only access to all resources (#1484) 2024-01-25 09:50:27 +01:00
dns_settings_handler_test.go Fix nil pointer exception in group delete (#1211) 2023-10-11 23:00:56 +02:00
dns_settings_handler.go changed the naming convention for all handling objects and methods to have unified way 2023-02-28 15:01:24 +01:00
events_handler_test.go Handle user delete (#1113) 2023-09-19 18:08:40 +02:00
events_handler.go Fix/user deletion (#1157) 2023-09-23 10:47:49 +02:00
geolocation_handler_test.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
geolocations_handler.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
groups_handler_test.go fix api references 2023-11-28 15:15:51 +01:00
groups_handler.go Return error when peer is not valid (#1573) 2024-02-13 10:59:31 +01:00
handler.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
nameservers_handler_test.go Allow service users with user role read-only access to all resources (#1484) 2024-01-25 09:50:27 +01:00
nameservers_handler.go Allow service users with user role read-only access to all resources (#1484) 2024-01-25 09:50:27 +01:00
pat_handler_test.go Block user through HTTP API (#846) 2023-05-11 18:09:36 +02:00
pat_handler.go move validation into account manager + func for get requests 2023-03-30 13:58:44 +02:00
peers_handler_test.go Implement lightweight method to check is peer has update channel (#1351) 2023-12-05 14:17:56 +01:00
peers_handler.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
policies_handler_test.go Feat linux firewall support (#805) 2023-05-29 16:00:18 +02:00
policies_handler.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
posture_checks_handler_test.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
posture_checks_handler.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
routes_handler_test.go fix api references 2023-11-28 15:15:51 +01:00
routes_handler.go Add peer groups support for network routes (#1150) 2023-09-28 14:32:36 +02:00
rules_handler_test.go Feat linux firewall support (#805) 2023-05-29 16:00:18 +02:00
rules_handler.go Feat linux firewall support (#805) 2023-05-29 16:00:18 +02:00
setupkeys_handler_test.go Extend linter rules (#1300) 2023-11-10 16:33:13 +01:00
setupkeys_handler.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
users_handler_test.go Add non-deletable service user (#1311) 2023-11-15 18:22:00 +03:00
users_handler.go Add account deletion endpoint (#1331) 2023-11-28 14:23:38 +01:00