schema

package
v0.0.0-...-738f650 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: AGPL-3.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertCorrelation

type AlertCorrelation struct {
	CurrentAlert  AlertFields
	RelatedAlerts []AlertFields
	Counts        MatchTypeCounts
}

type AlertCounts

type AlertCounts struct {
	Incidents     int
	FalsePositive int
	Standard      int
	Unclassified  int
}

type AlertFields

type AlertFields struct {
	Timestamp         string         `json:"@timestamp"`
	Status            string         `json:"status,omitempty"`
	StatusObservation string         `json:"statusObservation,omitempty"`
	IsIncident        bool           `json:"isIncident,omitempty"`
	IncidentDetail    IncidentDetail `json:"incidentDetail,omitzero"`
	Solution          string         `json:"solution,omitempty"`
	Tags              []string       `json:"tags,omitempty"`
	Notes             string         `json:"notes,omitempty"`
	TagRulesApplied   []string       `json:"tagRulesApplied,omitempty"`
	LastEvent         *plugins.Event `json:"lastEvent,omitempty"`
	AnonymizedFields  []string       `json:"anonymizedFields,omitempty"`
	plugins.Alert
}

func (AlertFields) MarshalJSON

func (a AlertFields) MarshalJSON() ([]byte, error)

func (*AlertFields) UnmarshalJSON

func (a *AlertFields) UnmarshalJSON(data []byte) error

type IncidentDetail

type IncidentDetail struct {
	CreatedBy    string `json:"createdBy"`
	Observation  string `json:"observation"`
	CreationDate string `json:"creationDate"`
	Source       string `json:"source"`
}

type MatchTypeCounts

type MatchTypeCounts struct {
	OriginIP   AlertCounts
	TargetIP   AlertCounts
	OriginUser AlertCounts
	TargetUser AlertCounts
}

Jump to

Keyboard shortcuts

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