queue

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

	// azure
	AzureProwlerQueueURL 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

	// azure
	AzureProwlerQueueURL string
}

Jump to

Keyboard shortcuts

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