osquery-1/specs/os_version.table

18 lines
778 B
Plaintext
Raw Normal View History

table_name("os_version")
description("A single row containing the operating system name and version.")
schema([
2016-09-14 03:37:31 +00:00
Column("name", TEXT, "Distribution or product name"),
Column("version", TEXT, "Pretty, suitable for presentation, OS version"),
2016-09-14 03:37:31 +00:00
Column("major", INTEGER, "Major release version"),
Column("minor", INTEGER, "Minor release version"),
Column("patch", INTEGER, "Optional patch release"),
Column("build", TEXT, "Optional build-specific or variant string"),
Column("platform", TEXT, "OS Platform or ID"),
Column("platform_like", TEXT, "Closely related platforms"),
Column("codename", TEXT, "OS version codename"),
])
implementation("system/os_version@genOSVersion")
2016-09-14 03:37:31 +00:00
fuzz_paths([
"/System/Library/CoreServices/SystemVersion.plist",
])