osquery-1/osquery/tables/specs/x/hardware_events.table
2015-02-08 18:40:35 -07:00

18 lines
814 B
Plaintext

table_name("hardware_events")
description("Hardware (PCI/USB/HID) events from UDEV or IOKit.")
schema([
Column("action", TEXT, "Remove, insert, change properties, etc"),
Column("path", TEXT, "Local device path assigned (optional)"),
Column("type", TEXT, "Type of hardware and hardware event"),
Column("driver", TEXT, "Driver claiming the device"),
Column("model", TEXT, "Hadware device model"),
Column("model_id", INTEGER),
Column("vendor", TEXT, "hardware device vendor"),
Column("vendor_id", INTEGER),
Column("serial", TEXT, "Device serial (optional)"),
Column("revision", INTEGER, "Device revision (optional)"),
Column("time", INTEGER, "Time of hardware event"),
])
attributes(event_subscriber=True)
implementation("events/hardware_events@hardware_events::genTable")