mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 10:23:54 +00:00
b28c4d8d0f
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.
12 lines
363 B
Plaintext
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")
|
|
|