portscan

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPortscanClient

func NewPortscanClient(credentialPath string, scanExcludePortNumber int, l logging.Logger) (portscanServiceClient, error)

Types

type PortscanClient

type PortscanClient struct {
	ScanExcludePortNumber int
	// contains filtered or unexported fields
}

type SqsHandler

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

func NewSqsHandler

func NewSqsHandler(
	fc finding.FindingServiceClient,
	ac alert.AlertServiceClient,
	gc google.GoogleServiceClient,
	pc portscanServiceClient,
	scanConcurrency int64,
	l logging.Logger,
) *SqsHandler

func (*SqsHandler) HandleMessage

func (s *SqsHandler) HandleMessage(ctx context.Context, sqsMsg *types.Message) error

Jump to

Keyboard shortcuts

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