Integration of edr check
Fix testutil.go
Temporary replace management integrations
Fix tests
Fix test
Fix go.mod
Fix test
Fix test
Moved integration groups from integration db
Add comment
Rename integrated validation to approval
Update managemenet-integration dependency
Update go mod
Update go.mod
Fix lint
Fix go.sum
Fix test
Add comment
Bug fixes in API
Fix approval logic
Update managemenet-integration version
Fix mod interface
Fix test
Fix test
move group validation into account manager and switch validator from validating peers to syncing
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.
With this change, we don't need to update all peers on startup. We will
check the existence of an update channel when returning a list or single peer on API.
Then after restarting of server consumers of API will see peer not
connected status till the creation of an updated channel which indicates
peer successful connection.