alerts

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

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) 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