Documentation
¶
Index ¶
Constants ¶
View Source
const ( // OsctrlVersion to have the version for all components OsctrlVersion = "0.5.1" // OsqueryVersion to have the version for osquery defined OsqueryVersion = "5.22.1" // VersionDataURL to have the URL to retrieve the latest version for all osctrl components VersionDataURL = "https://stats.osctrl.net/version_data.json" )
Variables ¶
This section is empty.
Functions ¶
func CheckSuggestedRelease ¶ added in v0.5.1
CheckSuggestedRelease to check if the current version is equal or higher than the suggested release
Types ¶
type VersionData ¶ added in v0.5.1
type VersionData struct {
LatestRelease string `json:"latestRelease"`
OsqueryVersion string `json:"osqueryVersion"`
SuggestedRelease string `json:"suggestedRelease"`
MoreInformation string `json:"moreInformation"`
}
VersionData to retrieve the latest version for all osctrl components
func RetrieveVersionData ¶ added in v0.5.1
func RetrieveVersionData(url string) (*VersionData, error)
Click to show internal directories.
Click to hide internal directories.