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
Click to show internal directories.
Click to hide internal directories.