transformer

package
v0.0.0-...-fb54fd9 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ECSEvent

type ECSEvent struct {
	Category []string  `json:"category"`
	Created  time.Time `json:"created"`
	ID       string    `json:"id"`
	Kind     string    `json:"kind"`
	Sequence int64     `json:"sequence"`
	Outcome  string    `json:"outcome"`
	Type     []string  `json:"type"`
}

func BuildECSEvent

func BuildECSEvent(seq int64, created time.Time, categories []string) ECSEvent

type ResourceTypeMetadata

type ResourceTypeMetadata struct {
	cycle.Metadata
	Type string
}

type Transformer

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

func (*Transformer) CreateBeatEvents

func (t *Transformer) CreateBeatEvents(_ context.Context, eventData evaluator.EventData) ([]beat.Event, error)

Jump to

Keyboard shortcuts

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