osquery-1/specs/darwin/iokit_devicetree.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

16 lines
770 B
Plaintext

table_name("iokit_devicetree")
description("The IOKit registry matching the DeviceTree plane.")
schema([
Column("name", TEXT, "Device node name"),
Column("class", TEXT, "Best matching device class (most-specific category)"),
Column("id", BIGINT, "IOKit internal registry ID"),
Column("parent", BIGINT, "Parent device registry ID"),
Column("device_path", TEXT, "Device tree path"),
Column("service", INTEGER, "1 if the device conforms to IOService else 0"),
Column("busy_state", INTEGER, "1 if the device is in a busy state else 0"),
Column("retain_count", INTEGER, "The device reference count"),
Column("depth", INTEGER, "Device nested depth"),
])
attributes(cacheable=True)
implementation("system/iokit_registry@genIOKitDeviceTree")