poller

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScanEntry

type ScanEntry struct {
	AWSAccountID  *string `json:"awsAccountId"`
	IntegrationID *string `json:"integrationId"`
	Region        *string `json:"region"`
	ResourceID    *string `json:"resourceId"`
	ResourceType  *string `json:"resourceType"`
	NextPageToken *string `json:"nextPageToken"`
	// Added for optional filtering
	Enabled                 *bool    `json:"enabled"`
	RegionIgnoreList        []string `json:"regionIgnoreList"`
	ResourceTypeIgnoreList  []string `json:"resourceTypeIgnoreList"`
	ResourceRegexIgnoreList []string `json:"resourceRegexIgnoreList"`
}

ScanEntry indicates what type of scan should be performed, and provides the information needed to carry out that scan. The poller can scan a single resource, all resources of a given type in a given region, or all resources of a given type in all regions. The all region scan is accomplished by breaking the request into multiple smaller requests, one per supported region.

type ScanMsg

type ScanMsg struct {
	Entries []*ScanEntry `json:"entries"`
}

ScanMsg contains a list of Scan Entries.

Jump to

Keyboard shortcuts

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