netbird/management/server/posture
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
..
checks_test.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
checks.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
geo_location_test.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
geo_location.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
nb_version_test.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
nb_version.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
os_version_test.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00
os_version.go Add initial support of device posture checks (#1540) 2024-02-20 09:59:56 +01:00