osquery-1/specs/posix/routes.table
artemdinaburg d4a3fe2452 Windows Daemon/Shell: Initial support for Windows tables (#2182)
Preparation for Windows Tables. We need a Windows process table so that the daemon will run
2016-06-23 16:04:11 -07:00

16 lines
657 B
Plaintext

table_name("routes")
description("The active route table for the host system.")
schema([
Column("destination", TEXT, "Destination IP address"),
Column("netmask", TEXT, "Netmask length"),
Column("gateway", TEXT, "Route gateway"),
Column("source", TEXT, "Route source"),
Column("flags", INTEGER, "Flags to describe route"),
Column("interface", TEXT, "Route local interface"),
Column("mtu", INTEGER, "Maximum Transmission Unit for the route"),
Column("metric", INTEGER, "Cost of route. Lowest is preferred"),
Column("type", TEXT, "Type of route"),
])
attributes(cacheable=True)
implementation("networking/routes@genRoutes")