osquery-1/specs/interface_addresses.table

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")