mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-06 09:35:20 +00:00
18 lines
778 B
Plaintext
18 lines
778 B
Plaintext
table_name("os_version")
|
|
description("A single row containing the operating system name and version.")
|
|
schema([
|
|
Column("name", TEXT, "Distribution or product name"),
|
|
Column("version", TEXT, "Pretty, suitable for presentation, OS version"),
|
|
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")
|
|
fuzz_paths([
|
|
"/System/Library/CoreServices/SystemVersion.plist",
|
|
])
|