service

package
v0.0.0-...-6cc58d3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComplianceScanService

type ComplianceScanService struct {
	RemainingScansMap sync.Map
	StopScanMap       sync.Map

	CloudTrails []util.CloudTrailDetails
	SocketPath  *string

	ResourceRefreshService *query_resource.ResourceRefreshService
	// contains filtered or unexported fields
}

func NewComplianceScanService

func NewComplianceScanService(config util.Config, socketPath *string) (*ComplianceScanService, error)

func (*ComplianceScanService) GetOrganizationAccountIDs

func (c *ComplianceScanService) GetOrganizationAccountIDs() []string

func (*ComplianceScanService) GetOrganizationAccounts

func (c *ComplianceScanService) GetOrganizationAccounts() []util.MonitoredAccount

func (*ComplianceScanService) RunRegisterServices

func (c *ComplianceScanService) RunRegisterServices() error

type OtherScanDetails

type OtherScanDetails map[string]interface{}

type ScanDetails

type ScanDetails struct {
	Action           ctl.ActionID `json:"action"`
	OtherScanDetails `json:"args"`
}

type ScanToExecute

type ScanToExecute struct {
	ScanId      string
	ScanService *ComplianceScanService
}

Jump to

Keyboard shortcuts

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