cloudsploit

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 29 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

View Source
const (
	WARN_MESSAGE                   = "UNKNOWN status detected. Some scans may have failed. Please take action if you don't have enough permissions."
	STATUS_DETAIL_LENGTH_THRESHOLD = 30000
	LOW_SCORE                      = 3.0
)
View Source
const (
	REGION_US_EAST_1 = "us-east-1"
	API_RETRY_NUM    = 10
)
View Source
const (
	CLOUDSPLOIT_FILE = "yaml/cloudsploit.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudsploitConfig

type CloudsploitConfig struct {
	ResultDir       string
	ConfigDir       string
	CloudsploitDir  string
	ConfigPath      string
	MaxMemSizeMB    int
	ParallelScanNum int
	// contains filtered or unexported fields
}

func NewCloudsploitConfig

func NewCloudsploitConfig(
	resultDir string,
	configDir string,
	cloudsploitDir string,
	region string,
	maxMem int,
	parallelScanNum int,
	l logging.Logger,
) *CloudsploitConfig

type EmptyOutputError added in v0.6.0

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

EmptyOutputError sometimes happen caused by cloudsploit bug(#557). It will may be recovered by re-scanninng. ref https://github.com/aquasecurity/cloudsploit/issues/557

func (EmptyOutputError) Error added in v0.6.0

func (e EmptyOutputError) Error() string

type SecurityGroupMetaData added in v0.12.0

type SecurityGroupMetaData struct {
	SecurityGroupAttachedResources []string
	AliasResourceName              string
}

type SqsHandler

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

func (*SqsHandler) CallAnalyzeAlert

func (s *SqsHandler) CallAnalyzeAlert(ctx context.Context, projectID uint32) error

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