osquery-1/specs/darwin/iokit_registry.table
Teddy Reed b28c4d8d0f Introduce table options (#2101)
Table options includes a change to the Registry::call API for TablePlugins.
When requesting route information or the 'columns' action, a new 'op' key is included.
2016-05-18 12:23:52 -07:00

14 lines
629 B
Plaintext

table_name("iokit_registry")
description("The full IOKit registry without selecting a plane.")
schema([
Column("name", TEXT, "Default name of the node"),
Column("class", TEXT, "Best matching device class (most-specific category)"),
Column("id", BIGINT, "IOKit internal registry ID"),
Column("parent", BIGINT, "Parent registry ID"),
Column("busy_state", INTEGER, "1 if the node is in a busy state else 0"),
Column("retain_count", INTEGER, "The node reference count"),
Column("depth", INTEGER, "Node nested depth"),
])
attributes(cacheable=True)
implementation("system/iokit_registry@genIOKitRegistry")