Versions in this module Expand all Collapse all v1 v1.16.9 May 27, 2024 v1.16.8 May 24, 2024 v1.16.7 May 8, 2024 v1.16.6 May 8, 2024 v1.16.5 Apr 16, 2024 v1.16.4 Apr 10, 2024 v1.16.3 Mar 27, 2024 v1.16.2 Mar 20, 2024 v1.16.1 Feb 18, 2024 v1.16.0 Jan 24, 2024 v1.15.8 Jan 6, 2024 v1.15.7 Dec 10, 2023 v1.15.6 Dec 3, 2023 Changes in this version + var CustomFunctions = []struct{ ... } + type Alert struct + Capacity *int32 + CreatedAt string + Decisions []*Decision + Edges AlertEdges + Events []*Event + EventsCount *int32 + ID int64 + Labels []string + Leakspeed *string + MachineID string + Message *string + Meta Meta + Remediation bool + Scenario *string + ScenarioHash *string + ScenarioVersion *string + Simulated *bool + Source *Source + StartAt *string + StopAt *string + UUID string + func (a *Alert) GetEventsCount() int32 + func (a *Alert) GetMeta(_ string) string + func (a *Alert) GetScenario() string + func (a *Alert) GetScope() string + func (a *Alert) GetValue() string + func (a *Alert) HasRemediation() bool + type AlertEdges struct + Decisions []*Decision + Events []*Event + Metas []*Meta + Owner *Machine + func (e AlertEdges) DecisionsOrErr() ([]*Decision, error) + func (e AlertEdges) EventsOrErr() ([]*Event, error) + func (e AlertEdges) MetasOrErr() ([]*Meta, error) + func (e AlertEdges) OwnerOrErr() (*Machine, error) + type Decision struct + Duration *string + ID int64 + Origin *string + Scenario *string + Scope *string + Simulated *bool + Type *string + UUID string + Until string + Value *string + type Event struct + Enriched map[string]string + ExpectMode int + Line Line + MarshaledTime string + Meta map[string]string + Overflow RuntimeAlert + Parsed map[string]string + Process bool + Stage string + StrTime string + StrTimeFormat string + Time time.Time + Type int + Unmarshaled map[string]any + WhitelistReason string + Whitelisted bool + func (e *Event) GetMeta(key string) string + func (e *Event) GetType() string + type Line struct + Labels map[string]string + Module string + Process bool + Raw string + Src string + Time time.Time + type Machine struct + AuthType string + CreatedAt *time.Time + Edges MachineEdges + ID int + IpAddress string + IsValidated bool + LastHeartbeat *time.Time + LastPush *time.Time + MachineId string + Password string + Scenarios string + Status string + UpdatedAt *time.Time + Version string + type MachineEdges struct + Alerts []*Alert + type Meta []*MetaItems0 + type MetaItems0 struct + Key string + Value string + type RuntimeAlert struct + APIAlerts []Alert + Alert *Alert + BucketId string + Mapkey string + Reprocess bool + Sources map[string]Source + Whitelisted bool + func (r RuntimeAlert) GetSources() []string + type ScopeType struct + Filter string + Scope string + type Source struct + AsName string + AsNumber string + Cn string + IP string + Latitude float32 + Longitude float32 + Range string + Scope *string + Value *string + func (s Source) GetAsNumberName() string + func (s Source) GetScope() string + func (s Source) GetValue() string