mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
b28c4d8d0f
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.
16 lines
770 B
Plaintext
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")
|