portscan

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const IP_PROTOCOL_ALL = "-1"
View Source
const REGION_US_EAST_1 = "us-east-1"

Variables

View Source
var LightSailRegions = []string{
	"us-east-2",
	"us-east-1",
	"us-west-2",
	"ap-south-1",
	"ap-northeast-2",
	"ap-southeast-1",
	"ap-southeast-2",
	"ap-northeast-1",
	"ca-central-1",
	"eu-central-1",
	"eu-west-1",
	"eu-west-2",
	"eu-west-3",
	"eu-north-1",
}

Functions

This section is empty.

Types

type SqsHandler

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

func NewSqsHandler

func NewSqsHandler(
	fc finding.FindingServiceClient,
	ac alert.AlertServiceClient,
	awsc awsClient.AWSServiceClient,
	region string,
	scanExcludePortNumber int,
	scanConcurrency int64,
	retry int,
	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