mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
c2be670806
1. Table implementations (spec files) can mark the table as 'cachable'. 2. Cached results depend on the shortest/quickest interval of scheduled queries that act on results of the table. 3. The table API generator blocks caching on index/additional/required table column options.
12 lines
478 B
Plaintext
12 lines
478 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"),
|
|
])
|
|
attributes(cachable=True)
|
|
implementation("interfaces@genInterfaceAddresses")
|