internal

package
v0.11.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallCaCerts

func InstallCaCerts(directory string) (string, error)

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

func RecordLauncherVersion(rootDir string) error

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL