osquery-1/specs/etc_services.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
465 B
Plaintext

table_name("etc_services")
description("Line-parsed /etc/services.")
schema([
Column("name", TEXT, "Service name"),
Column("port", INTEGER, "Service port number"),
Column("protocol", TEXT, "Transport protocol (TCP/UDP)"),
Column("aliases", TEXT, "Optional space separated list of other names for a service"),
Column("comment", TEXT, "Optional comment for a service."),
])
attributes(cacheable=True)
implementation("etc_services@genEtcServices")