osquery-1/specs/posix/hardware_events.table

18 lines
888 B
Plaintext
Raw Normal View History

2014-12-08 10:22:59 +00:00
table_name("hardware_events")
description("Hardware (PCI/USB/HID) events from UDEV or IOKit.")
2014-12-08 10:22:59 +00:00
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("vendor", TEXT, "Hardware device vendor"),
Column("vendor_id", TEXT, "Hex encoded Hardware vendor identifier"),
Column("model", TEXT, "Hardware device model"),
Column("model_id", TEXT, "Hex encoded Hardware model identifier"),
Column("serial", TEXT, "Device serial (optional)"),
Column("revision", TEXT, "Device revision (optional)"),
Column("time", BIGINT, "Time of hardware event"),
2014-12-08 10:22:59 +00:00
])
attributes(event_subscriber=True)
2015-01-30 18:44:25 +00:00
implementation("events/hardware_events@hardware_events::genTable")