osquery-1/specs/darwin/smc_keys.table
Teddy Reed 763f4e9437 Use SQLite 3.14.0 to support LIKE and EQUALS (#2137)
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.
2016-06-06 09:36:53 -07:00

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'",
])