queue

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {

	// aws
	AWSGuardDutyQueueURL      string
	AWSAccessAnalyzerQueueURL string
	AWSAdminCheckerQueueURL   string
	AWSCloudSploitQueueURL    string
	AWSCloudSploitOldQueueURL string
	AWSPortscanQueueURL       string

	// google
	GoogleAssetQueueURL          string
	GoogleCloudSploitQueueURL    string
	GoogleCloudSploitOldQueueURL string
	GoogleSCCQueueURL            string
	GooglePortscanQueueURL       string

	// code
	CodeGitleaksQueueURL   string
	CodeDependencyQueueURL string
	CodeCodeScanQueueURL   string

	// osint
	OSINTSubdomainQueueURL string
	OSINTWebsiteQueueURL   string

	// diagnosis
	DiagnosisWpscanQueueURL          string
	DiagnosisPortscanQueueURL        string
	DiagnosisApplicationScanQueueURL string
	// contains filtered or unexported fields
}

func NewClient added in v0.4.0

func NewClient(ctx context.Context, conf *SQSConfig, l logging.Logger) (*Client, error)

func (*Client) Send

func (c *Client) Send(ctx context.Context, url string, msg interface{}) (*sqs.SendMessageOutput, error)

type SQSConfig

type SQSConfig struct {
	AWSRegion   string
	SQSEndpoint string

	// aws
	AWSGuardDutyQueueURL      string
	AWSAccessAnalyzerQueueURL string
	AWSAdminCheckerQueueURL   string
	AWSCloudSploitQueueURL    string
	AWSCloudSploitOldQueueURL string
	AWSPortscanQueueURL       string

	// google
	GoogleAssetQueueURL          string
	GoogleCloudSploitQueueURL    string
	GoogleCloudSploitOldQueueURL string
	GoogleSCCQueueURL            string
	GooglePortscanQueueURL       string

	// code
	CodeGitleaksQueueURL   string
	CodeDependencyQueueURL string
	CodeCodeScanQueueURL   string

	// osint
	OSINTSubdomainQueueURL string
	OSINTWebsiteQueueURL   string

	// diagnosis
	DiagnosisWpscanQueueURL          string
	DiagnosisPortscanQueueURL        string
	DiagnosisApplicationScanQueueURL string
}

Jump to

Keyboard shortcuts

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