Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityID ¶
type ActivityID string
const (
EmptyActivityID ActivityID = ""
)
func NewActivityID ¶
func NewActivityID() ActivityID
func (ActivityID) String ¶
func (x ActivityID) String() string
func (ActivityID) Validate ¶
func (x ActivityID) Validate() error
type ActivityType ¶
type ActivityType string
const ( ActivityTypeTicketCreated ActivityType = "ticket_created" ActivityTypeTicketUpdated ActivityType = "ticket_updated" ActivityTypeTicketStatusChanged ActivityType = "ticket_status_changed" ActivityTypeCommentAdded ActivityType = "comment_added" ActivityTypeAlertBound ActivityType = "alert_bound" ActivityTypeAlertsBulkBound ActivityType = "alerts_bulk_bound" )
func (ActivityType) Label ¶
func (t ActivityType) Label() string
func (ActivityType) String ¶
func (t ActivityType) String() string
func (ActivityType) Validate ¶
func (t ActivityType) Validate() error
type AgentMemoryID ¶ added in v0.5.0
type AgentMemoryID string
const (
EmptyAgentMemoryID AgentMemoryID = ""
)
func NewAgentMemoryID ¶ added in v0.5.0
func NewAgentMemoryID() AgentMemoryID
func (AgentMemoryID) String ¶ added in v0.5.0
func (x AgentMemoryID) String() string
type AlertConclusion ¶
type AlertConclusion string
AlertConclusion is the conclusion of the alert. This is set by the user.
const ( AlertConclusionIntended AlertConclusion = "intended" AlertConclusionUnaffected AlertConclusion = "unaffected" AlertConclusionFalsePositive AlertConclusion = "false_positive" AlertConclusionTruePositive AlertConclusion = "true_positive" AlertConclusionEscalated AlertConclusion = "escalated" )
func (AlertConclusion) Label ¶
func (r AlertConclusion) Label() string
func (AlertConclusion) String ¶
func (r AlertConclusion) String() string
func (AlertConclusion) Validate ¶
func (r AlertConclusion) Validate() error
type AlertListID ¶
type AlertListID string
const (
EmptyAlertListID AlertListID = ""
)
func NewAlertListID ¶
func NewAlertListID() AlertListID
func (AlertListID) String ¶
func (x AlertListID) String() string
func (AlertListID) Validate ¶
func (x AlertListID) Validate() error
type AlertSchema ¶
type AlertSchema string
func (AlertSchema) String ¶
func (x AlertSchema) String() string
type AlertSeverity ¶
type AlertSeverity string
AlertSeverity is the severity of the alert. This is set by the AI.
const ( AlertSeverityUnknown AlertSeverity = "unknown" AlertSeverityLow AlertSeverity = "low" AlertSeverityMedium AlertSeverity = "medium" AlertSeverityHigh AlertSeverity = "high" AlertSeverityCritical AlertSeverity = "critical" )
func (AlertSeverity) Label ¶
func (s AlertSeverity) Label() string
func (AlertSeverity) String ¶
func (s AlertSeverity) String() string
func (AlertSeverity) Validate ¶
func (s AlertSeverity) Validate() error
type GenAIContentFormat ¶ added in v0.4.0
type GenAIContentFormat string
const ( GenAIContentFormatText GenAIContentFormat = "text" GenAIContentFormatJSON GenAIContentFormat = "json" )
func (GenAIContentFormat) Validate ¶ added in v0.4.0
func (x GenAIContentFormat) Validate() error
Validate checks if the GenAIContentFormat has a valid value
type MemoryID ¶ added in v0.5.0
type MemoryID string
const (
EmptyMemoryID MemoryID = ""
)
func NewMemoryID ¶ added in v0.5.0
func NewMemoryID() MemoryID
type NoticeID ¶ added in v0.4.0
type NoticeID string
NoticeID represents a unique identifier for notice
const (
EmptyNoticeID NoticeID = ""
)
func NewNoticeID ¶ added in v0.4.0
func NewNoticeID() NoticeID
type PublishType ¶ added in v0.4.0
type PublishType string
const ( PublishTypeDiscard PublishType = "discard" // Discard the alert PublishTypeNotice PublishType = "notice" // Send as notice PublishTypeAlert PublishType = "alert" // Send as full alert (default) )
type Source ¶ added in v0.1.0
type Source string
Source represents the source of metadata (title, description, etc.)
func (Source) IsAIGenerated ¶ added in v0.1.0
IsAIGenerated returns true if the source is AI-generated
type TicketID ¶
type TicketID string
const (
EmptyTicketID TicketID = ""
)
func NewTicketID ¶
func NewTicketID() TicketID
type TicketStatus ¶
type TicketStatus string
const ( TicketStatusOpen TicketStatus = "open" TicketStatusPending TicketStatus = "pending" TicketStatusResolved TicketStatus = "resolved" TicketStatusArchived TicketStatus = "archived" )
func (TicketStatus) Icon ¶
func (s TicketStatus) Icon() string
func (TicketStatus) Label ¶
func (s TicketStatus) Label() string
func (TicketStatus) String ¶
func (s TicketStatus) String() string
func (TicketStatus) Validate ¶
func (s TicketStatus) Validate() error
Click to show internal directories.
Click to hide internal directories.