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 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 MatchTypeCounts ¶
type MatchTypeCounts struct {
OriginIP AlertCounts
TargetIP AlertCounts
OriginUser AlertCounts
TargetUser AlertCounts
}
Click to show internal directories.
Click to hide internal directories.