Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallCaCerts ¶
InstallCaCerts installs the default CA cert bundle into a given directory, and returns the path to it. We store it by hash to prevent repeated rewrites. We do not clean up old files, as this is expected to change very rarely.
func RecordLauncherVersion ¶
RecordLauncherVersion stores the launcher version in the filesystem somewhere osquery can find it. This is to facilitate including it in the initial enrollment information that Kolide K2 uses. Because osquery does not have broad file read abilities, we instead leverage a filename.
Both launcher, and osquery, are based around there only being a single instance of them running in a given root directory. As such, this writes a single file, cleans up any old ones.
Types ¶
This section is empty.