kdr

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RuntimeIncidentIngesterOnFinishedMessageTypeProp = "RuntimeIncidentIngesterOnFinishedMessage"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeIncidentIngesterOnFinishedMessage

type RuntimeIncidentIngesterOnFinishedMessage struct {
	ReportTime          time.Time                    `json:"reportTime"`
	SendTime            time.Time                    `json:"sendTime"`
	CustomerGUID        string                       `json:"customerGUID"`
	IncidentPolicyGUIDs []string                     `json:"incidentPolicyGUIDs"`
	IncidentGUID        string                       `json:"incidentGUID"`
	IncidentName        string                       `json:"incidentName"` // incidentType.Name - ThreatName
	Severity            string                       `json:"severity"`
	Resource            identifiers.PortalDesignator `json:"resource"` // Pod, Node, Workload, Namespace, Cluster, etc.
	Response            *RuntimeIncidentResponse     `json:"response,omitempty"`
}

func (*RuntimeIncidentIngesterOnFinishedMessage) GetLoggerFields

func (si *RuntimeIncidentIngesterOnFinishedMessage) GetLoggerFields() []zap.Field

type RuntimeIncidentResponse added in v0.0.48

type RuntimeIncidentResponse struct {
	Action string `json:"action"`
}

Jump to

Keyboard shortcuts

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