osquery-1/specs/etc_protocols.table
Teddy Reed c2be670806 Table results caching
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.
2015-11-14 15:57:23 -08:00

12 lines
362 B
Plaintext

table_name("etc_protocols")
description("Line-parsed /etc/protocols.")
schema([
Column("name", TEXT, "Protocol name"),
Column("number", INTEGER, "Protocol number"),
Column("alias", TEXT, "Protocol alias"),
Column("comment", TEXT, "Comment with protocol description"),
])
attributes(cachable=True)
implementation("etc_protocols@genEtcProtocols")