Documentation ¶
Index ¶
- Constants
- Variables
- func ConfigInstance() interface{}
- func EpochToDate(ctx context.Context, d *transform.TransformData) (interface{}, error)
- func GetConfig(connection *plugin.Connection) osqueryConfig
- func Plugin(ctx context.Context) *plugin.Plugin
- func SafeInt(def int) func(context.Context, *transform.TransformData) (interface{}, error)
- func TrimString(ctx context.Context, d *transform.TransformData) (interface{}, error)
- type Result
Constants ¶
View Source
const SSHConnection = "SSHConnection::"
Variables ¶
View Source
var ConfigSchema = map[string]*schema.Attribute{ "username": { Type: schema.TypeString, }, "password": { Type: schema.TypeString, }, "private_key": { Type: schema.TypeString, }, "trace_level": { Type: schema.TypeString, }, }
View Source
var ErrNotImplemented = errors.New("not implemented")
Functions ¶
func ConfigInstance ¶
func ConfigInstance() interface{}
func EpochToDate ¶
func EpochToDate(ctx context.Context, d *transform.TransformData) (interface{}, error)
func GetConfig ¶
func GetConfig(connection *plugin.Connection) osqueryConfig
GetConfig :: retrieve and cast connection config from query data
func TrimString ¶
func TrimString(ctx context.Context, d *transform.TransformData) (interface{}, error)
Types ¶
Source Files ¶
- connection_config.go
- connection_impl.go
- plugin.go
- table_osquery_acpi_table.go
- table_osquery_apparmor_event.go
- table_osquery_apparmor_profile.go
- table_osquery_apt_source.go
- table_osquery_arp_cache.go
- table_osquery_augeas.go
- table_osquery_authorized_key.go
- table_osquery_block_device.go
- table_osquery_certificate.go
- table_osquery_chrome_extension.go
- table_osquery_custom.go
- table_osquery_deb_package.go
- table_osquery_docker_container.go
- table_osquery_process.go
- table_osquery_rpm_package.go
- table_osquery_template.go
- transforms.go
- utils.go
Click to show internal directories.
Click to hide internal directories.