Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnrichPolicyResultEvent ¶
type EnrichPolicyResultEvent struct {
TaskCount int
Policy *policy.EnrichPolicyResult
}
EnrichPolicyResultEvent is fired when enrich policy evaluation completes
type EnrichTaskPromptEvent ¶
EnrichTaskPromptEvent is fired when an enrich task prompt is prepared
type EnrichTaskResponseEvent ¶
EnrichTaskResponseEvent is fired when LLM responds to an enrich task
type ErrorEvent ¶
type ErrorEvent struct {
TaskID string // Optional: only set if error is related to a specific task
Error error
Message string
}
ErrorEvent is fired when an error occurs during pipeline processing
type EventNotifier ¶
type EventNotifier func(ctx context.Context, event NotificationEvent)
EventNotifier is a function type for receiving notification events Implementations should format events appropriately for their output destination
type IngestPolicyResultEvent ¶ added in v0.7.0
type IngestPolicyResultEvent struct {
Schema types.AlertSchema
Alerts []*alert.Alert
}
IngestPolicyResultEvent is fired when ingest policy evaluation completes
type NotificationEvent ¶
type NotificationEvent interface {
// contains filtered or unexported methods
}
NotificationEvent represents an event during alert pipeline processing
type TriagePolicyResultEvent ¶ added in v0.7.0
type TriagePolicyResultEvent struct {
Result *policy.TriagePolicyResult
}
TriagePolicyResultEvent is fired when triage policy evaluation completes