merger

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: AGPL-3.0, Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(notification *AlertNotification) error

Handle handles alert notifications

Types

type AlertNotification

type AlertNotification struct {
	RuleID        *string    `json:"ruleId"`
	RuleVersionID *string    `json:"ruleVersionId"`
	Event         *string    `json:"event"`
	Timestamp     *time.Time `json:"timestamp"`
}

AlertNotification models a notification sent to Alert merger

type MatchedEvent

type MatchedEvent struct {
	EventHash [sha1.Size]byte `json:"eventHash"`
	Timestamp *time.Time      `json:"timestamp"`
	Event     *string         `json:"event"`
}

MatchedEvent represents an event matched by the Panther rule engine

Jump to

Keyboard shortcuts

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