osquery-1/specs/etc_protocols.table
Teddy Reed b28c4d8d0f Introduce table options (#2101)
Table options includes a change to the Registry::call API for TablePlugins.
When requesting route information or the 'columns' action, a new 'op' key is included.
2016-05-18 12:23:52 -07:00

12 lines
363 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(cacheable=True)
implementation("etc_protocols@genEtcProtocols")