Documentation
¶
Overview ¶
Package alertwebhook implements an Alertmanager-compatible webhook receiver. It receives alert payloads, deduplicates them with an LRU cache, resolves matching hosts from honey's inventory, runs investigation commands via SSH, and notifies configured channels with the findings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func DefaultConfig() config.AlertWebhookConfig
DefaultConfig returns an AlertWebhookConfig with sensible defaults.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the Alertmanager webhook receiver.
Click to show internal directories.
Click to hide internal directories.