mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
763f4e9437
This commit bumps the third-party SQLite to the 3.14.0 pre-release (18:59). With 3.14.0 the LIKE and EQUALS constraint operators may be mixed within a query. Previously these would fail to produce a valid set. As part of the support, each virtual table should choose to bypass rowid-based deduplication using the new "WITHOUT ROWID" create table epilog. This will be appended to the schema if the table defines a PRIMARY KEY using index=True.
14 lines
545 B
Plaintext
14 lines
545 B
Plaintext
table_name("smc_keys")
|
|
description("Apple's system management controller keys.")
|
|
schema([
|
|
Column("key", TEXT, "4-character key", additional=True, index=True),
|
|
Column("type", TEXT, "SMC-reported type literal type"),
|
|
Column("size", INTEGER, "Reported size of data in bytes"),
|
|
Column("value", TEXT, "A type-encoded representation of the key value"),
|
|
Column("hidden", INTEGER, "1 if this key is normally hidden, otherwise 0"),
|
|
])
|
|
implementation("smc_keys@genSMCKeys")
|
|
examples([
|
|
"select * from smc_keys where key = 'MOJO'",
|
|
])
|