kolide / launcher

Osquery launcher, autoupdater, and packager
https://kolide.com/launcher
Other
503 stars 98 forks source link

control server sends message on start #1557

Closed James-Pickett closed 7 months ago

James-Pickett commented 7 months ago

sends a message to the control server when launcher starts up

James-Pickett commented 7 months ago

@directionless

This does use the control token, which I think is fine, but also means the control system has to be up. How does that work with not yet enrolled clients?

If the control server issues a token, we'll attempt to use it to send "startup message". If we get a non-200 back on the "startup" message, we'll try again the next time we fetch a new token and keep trying until we get a success.