mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-06 17:45:22 +00:00
16 lines
678 B
Plaintext
16 lines
678 B
Plaintext
table_name("interface_addresses")
|
|
description("Network interfaces and relevant metadata.")
|
|
schema([
|
|
Column("interface", TEXT, "Interface name"),
|
|
Column("address", TEXT, "Specific address for interface"),
|
|
Column("mask", TEXT, "Interface netmask"),
|
|
Column("broadcast", TEXT, "Broadcast address for the interface"),
|
|
Column("point_to_point", TEXT, "PtP address for the interface"),
|
|
Column("type", TEXT, "Type of address. One of dhcp, manual, auto, other, unknown")
|
|
])
|
|
extended_schema(WINDOWS, [
|
|
Column("friendly_name", TEXT, "The friendly display name of the interface."),
|
|
])
|
|
attributes(cacheable=True)
|
|
implementation("interfaces@genInterfaceAddresses")
|