common

package
v0.0.0-...-a768f24 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package common holds common related files

Package common holds common related files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogContext

func NewLogContext(logsConfig *logsconfig.LogsConfigKeys, endpointPrefix string, intakeTrackType logsconfig.IntakeTrackType, intakeOrigin logsconfig.IntakeOrigin, intakeProtocol logsconfig.IntakeProtocol) (*logsconfig.Endpoints, *client.DestinationsContext, error)

NewLogContext returns the context fields to send events to the intake

func NewLogContextCompliance

func NewLogContextCompliance() (*logsconfig.Endpoints, *client.DestinationsContext, error)

NewLogContextCompliance returns the context fields to send compliance events to the intake

func NewLogContextRuntime

func NewLogContextRuntime(useSecRuntimeTrack bool) (*logsconfig.Endpoints, *client.DestinationsContext, error)

NewLogContextRuntime returns the context fields to send runtime (CWS) events to the intake This function will only be used on Linux. The only platforms where the runtime agent runs

func QueryAccountIDTag

func QueryAccountIDTag() string

QueryAccountIDTag returns the account id tag matching the current deployment

Types

type RawReporter

type RawReporter interface {
	ReportRaw(content []byte, service string, tags ...string)
}

RawReporter defines an interface for reporting raw rule events

Directories

Path Synopsis
Package usergroup holds usergroup related files
Package usergroup holds usergroup related files

Jump to

Keyboard shortcuts

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