Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitHistory ¶ added in v0.12.0
InitHistory loads the osquery instance history from bbolt DB if exists, sets up bucket if it does not
Types ¶
type ExpectedAtLeastOneRowError ¶
type ExpectedAtLeastOneRowError struct{}
func (ExpectedAtLeastOneRowError) Error ¶
func (e ExpectedAtLeastOneRowError) Error() string
type Instance ¶
type Instance struct { StartTime string ConnectTime string ExitTime string Hostname string InstanceId string Version string Error string }
func GetHistory ¶
GetHistory returns the last 10 instances of osquery started / restarted by launcher, each start / restart cycle is an entry
func LatestInstance ¶
LatestInstance returns the latest osquery instance
func NewInstance ¶
NewInstance adds a new instance to the osquery instance history and returns it
type NoInstancesError ¶
type NoInstancesError struct{}
func (NoInstancesError) Error ¶
func (c NoInstancesError) Error() string
Click to show internal directories.
Click to hide internal directories.