mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
a105924804
1. Example queries will run with an (optional) integration test. 2. Fix bad accesses with OS X package BOMs 3. Move spec files from ./osquery/tables/specs to ./specs 4. Remove server parsers (netlib) from client builds.
18 lines
774 B
Plaintext
18 lines
774 B
Plaintext
table_name("interface_details")
|
|
description("Detailed information and stats of network interfaces.")
|
|
schema([
|
|
Column("interface", TEXT, "Interface name"),
|
|
Column("mac", TEXT, "MAC of interface (optional)"),
|
|
Column("type", INTEGER, "Interface type (includes virtual)"),
|
|
Column("mtu", INTEGER, "Network MTU"),
|
|
Column("metric", INTEGER),
|
|
Column("ipackets", BIGINT, "Input packets"),
|
|
Column("opackets", BIGINT, "Output packets"),
|
|
Column("ibytes", BIGINT, "Input bytes"),
|
|
Column("obytes", BIGINT, "Output bytes"),
|
|
Column("ierrors", BIGINT, "Input errors"),
|
|
Column("oerrors", BIGINT, "Output errors"),
|
|
Column("last_change", BIGINT, "Time of last device modification (optional)"),
|
|
])
|
|
implementation("interfaces@genInterfaceDetails")
|