loki

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessCloudTrailLogLines

func ProcessCloudTrailLogLines(accountContext *model2.AccountContext, streamContext *StreamContext, findingCategory model2.SecurityFindingCategory, findingType string, findingDescription string, priority int, lines []*Line, securityFindingChannel chan *model2.SecurityFinding) error

func ProcessFalcoLogLines

func ProcessFalcoLogLines(accountContext *model2.AccountContext, streamContext *StreamContext, lines []*Line, securityFindingChannel chan *model2.SecurityFinding) error

func ProcessKubeBenchLogLines

func ProcessKubeBenchLogLines(accountContext *model2.AccountContext, streamContext *StreamContext, lines []*Line, securityFindingChannel chan *model2.SecurityFinding) error

Types

type Line

type Line struct {
	Timestamp time.Time
	Line      string
}

type LineProcessor

type LineProcessor func(accountContext *model2.AccountContext, streamContext *StreamContext, lines []*Line, securityFindingChannel chan *model2.SecurityFinding) error

type StreamContext

type StreamContext struct {
	AccountId           string
	Region              string
	LogGroup            string
	KubernetesCluster   string
	HostName            string
	KubernetesNamespace string
	ContainerName       string
	IoStream            string
}

Jump to

Keyboard shortcuts

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