alerts

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendDetailsFetchingAlert

func SendDetailsFetchingAlert(provider string, alerter alerter.AlerterInterface, listError *remoteerror.ResourceScanningError)

func SendEnumerationAlert

func SendEnumerationAlert(provider string, alerter alerter.AlerterInterface, listError *remoteerror.ResourceScanningError)

Types

type RemoteAccessDeniedAlert

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

func NewRemoteAccessDeniedAlert

func NewRemoteAccessDeniedAlert(provider string, scanErr *remoteerror.ResourceScanningError, scanningPhase ScanningPhase) *RemoteAccessDeniedAlert

func (*RemoteAccessDeniedAlert) GetProviderMessage

func (e *RemoteAccessDeniedAlert) GetProviderMessage() string

func (*RemoteAccessDeniedAlert) Message

func (e *RemoteAccessDeniedAlert) Message() string

func (*RemoteAccessDeniedAlert) Resource added in v0.38.0

func (e *RemoteAccessDeniedAlert) Resource() *resource.Resource

func (*RemoteAccessDeniedAlert) ShouldIgnoreResource

func (e *RemoteAccessDeniedAlert) ShouldIgnoreResource() bool

type ScanningPhase

type ScanningPhase int
const (
	EnumerationPhase ScanningPhase = iota
	DetailsFetchingPhase
)

Jump to

Keyboard shortcuts

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