notifiers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier interface {
	Notify(ctx context.Context, finding *events.SecurityHubV2Finding) error
}

type SlackNotifier

type SlackNotifier struct {
	// contains filtered or unexported fields
}

func NewSlackNotifier

func NewSlackNotifier(token, channel, consoleURL, accessPortalURL, accessRoleName, securityHubv2Region string) *SlackNotifier

func (*SlackNotifier) Notify

func (s *SlackNotifier) Notify(ctx context.Context, finding *events.SecurityHubV2Finding) error

Jump to

Keyboard shortcuts

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