kolide / launcher

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

Expose current enrollment status through knapsack; add to checkup #1632

Closed RebeccaMahany closed 4 months ago

RebeccaMahany commented 4 months ago

Relates to https://github.com/kolide/launcher/issues/1473

Adding the enrollment status to knapsack will allow us to e.g. inform the browser of device enrollment status during initial setup. For now, I've added it to the host checkup.

I also adjusted the enroll secret checkup slightly to use the configured default paths available via pkg/launcher, and to use the enroll secret path via knapsack if available.