dataflattentable

package
v0.11.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Columns added in v0.11.14

func Columns(additional ...table.ColumnDefinition) []table.ColumnDefinition

Columns returns the standard data flatten columns, plus whatever ones have been provided as additional. This is syntantic sugar for dataflatten based tables.

func TablePlugin

func TablePlugin(client *osquery.ExtensionManagerClient, logger log.Logger, dataSourceType DataSourceType) *table.Plugin

func TablePluginExec added in v0.11.9

func TablePluginExec(client *osquery.ExtensionManagerClient, logger log.Logger, tableName string, dataSourceType DataSourceType, execArgs []string) *table.Plugin

func ToMap added in v0.11.14

func ToMap(rows []dataflatten.Row, query string, rowData map[string]string) []map[string]string

ToMap is a helper function to convert Flatten output directly for consumption by osquery tables.

Types

type DataSourceType

type DataSourceType int
const (
	PlistType DataSourceType = iota + 1
	JsonType
	ExecType
	XmlType
	IniType
)

type Table

type Table struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL