types

package
v1.21.4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedErrorCode

type AccessDeniedErrorCode string
const (
	AccessDeniedErrorCodeAccessDeniedToAssessmentTarget   AccessDeniedErrorCode = "ACCESS_DENIED_TO_ASSESSMENT_TARGET"
	AccessDeniedErrorCodeAccessDeniedToAssessmentTemplate AccessDeniedErrorCode = "ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE"
	AccessDeniedErrorCodeAccessDeniedToAssessmentRun      AccessDeniedErrorCode = "ACCESS_DENIED_TO_ASSESSMENT_RUN"
	AccessDeniedErrorCodeAccessDeniedToFinding            AccessDeniedErrorCode = "ACCESS_DENIED_TO_FINDING"
	AccessDeniedErrorCodeAccessDeniedToResourceGroup      AccessDeniedErrorCode = "ACCESS_DENIED_TO_RESOURCE_GROUP"
	AccessDeniedErrorCodeAccessDeniedToRulesPackage       AccessDeniedErrorCode = "ACCESS_DENIED_TO_RULES_PACKAGE"
	AccessDeniedErrorCodeAccessDeniedToSnsTopic           AccessDeniedErrorCode = "ACCESS_DENIED_TO_SNS_TOPIC"
	AccessDeniedErrorCodeAccessDeniedToIamRole            AccessDeniedErrorCode = "ACCESS_DENIED_TO_IAM_ROLE"
)

Enum values for AccessDeniedErrorCode

func (AccessDeniedErrorCode) Values added in v0.29.0

Values returns all known values for AccessDeniedErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type AccessDeniedException

type AccessDeniedException struct {
	Message *string

	ErrorCodeOverride *string

	ErrorCode_ AccessDeniedErrorCode
	CanRetry   *bool
	// contains filtered or unexported fields
}

You do not have required permissions to access the requested resource.

func (*AccessDeniedException) Error

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault

func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault

func (*AccessDeniedException) ErrorMessage

func (e *AccessDeniedException) ErrorMessage() string

type AgentAlreadyRunningAssessment

type AgentAlreadyRunningAssessment struct {

	// ID of the agent that is running on an EC2 instance that is already
	// participating in another started assessment run.
	//
	// This member is required.
	AgentId *string

	// The ARN of the assessment run that has already been started.
	//
	// This member is required.
	AssessmentRunArn *string
	// contains filtered or unexported fields
}

Used in the exception error that is thrown if you start an assessment run for an assessment target that includes an EC2 instance that is already participating in another started assessment run.

type AgentFilter

type AgentFilter struct {

	// The detailed health state of the agent. Values can be set to IDLE, RUNNING,
	// SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.
	//
	// This member is required.
	AgentHealthCodes []AgentHealthCode

	// The current health state of the agent. Values can be set to HEALTHY or
	// UNHEALTHY.
	//
	// This member is required.
	AgentHealths []AgentHealth
	// contains filtered or unexported fields
}

Contains information about an Amazon Inspector agent. This data type is used as a request parameter in the ListAssessmentRunAgents action.

type AgentHealth

type AgentHealth string
const (
	AgentHealthHealthy   AgentHealth = "HEALTHY"
	AgentHealthUnhealthy AgentHealth = "UNHEALTHY"
	AgentHealthUnknown   AgentHealth = "UNKNOWN"
)

Enum values for AgentHealth

func (AgentHealth) Values added in v0.29.0

func (AgentHealth) Values() []AgentHealth

Values returns all known values for AgentHealth. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type AgentHealthCode

type AgentHealthCode string
const (
	AgentHealthCodeIdle      AgentHealthCode = "IDLE"
	AgentHealthCodeRunning   AgentHealthCode = "RUNNING"
	AgentHealthCodeShutdown  AgentHealthCode = "SHUTDOWN"
	AgentHealthCodeUnhealthy AgentHealthCode = "UNHEALTHY"
	AgentHealthCodeThrottled AgentHealthCode = "THROTTLED"
	AgentHealthCodeUnknown   AgentHealthCode = "UNKNOWN"
)

Enum values for AgentHealthCode

func (AgentHealthCode) Values added in v0.29.0

func (AgentHealthCode) Values() []AgentHealthCode

Values returns all known values for AgentHealthCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type AgentPreview

type AgentPreview struct {

	// The ID of the EC2 instance where the agent is installed.
	//
	// This member is required.
	AgentId *string

	// The health status of the Amazon Inspector Agent.
	AgentHealth AgentHealth

	// The version of the Amazon Inspector Agent.
	AgentVersion *string

	// The Auto Scaling group for the EC2 instance where the agent is installed.
	AutoScalingGroup *string

	// The hostname of the EC2 instance on which the Amazon Inspector Agent is
	// installed.
	Hostname *string

	// The IP address of the EC2 instance on which the Amazon Inspector Agent is
	// installed.
	Ipv4Address *string

	// The kernel version of the operating system running on the EC2 instance on which
	// the Amazon Inspector Agent is installed.
	KernelVersion *string

	// The operating system running on the EC2 instance on which the Amazon Inspector
	// Agent is installed.
	OperatingSystem *string
	// contains filtered or unexported fields
}

Used as a response element in the PreviewAgents action.

type AgentsAlreadyRunningAssessmentException

type AgentsAlreadyRunningAssessmentException struct {
	Message *string

	ErrorCodeOverride *string

	Agents          []AgentAlreadyRunningAssessment
	AgentsTruncated *bool
	CanRetry        *bool
	// contains filtered or unexported fields
}

You started an assessment run, but one of the instances is already participating in another assessment run.

func (*AgentsAlreadyRunningAssessmentException) Error

func (*AgentsAlreadyRunningAssessmentException) ErrorCode

func (*AgentsAlreadyRunningAssessmentException) ErrorFault

func (*AgentsAlreadyRunningAssessmentException) ErrorMessage

type AssessmentRun

type AssessmentRun struct {

	// The ARN of the assessment run.
	//
	// This member is required.
	Arn *string

	// The ARN of the assessment template that is associated with the assessment run.
	//
	// This member is required.
	AssessmentTemplateArn *string

	// The time when StartAssessmentRun was called.
	//
	// This member is required.
	CreatedAt *time.Time

	// A Boolean value (true or false) that specifies whether the process of
	// collecting data from the agents is completed.
	//
	// This member is required.
	DataCollected *bool

	// The duration of the assessment run.
	//
	// This member is required.
	DurationInSeconds *int32

	// Provides a total count of generated findings per severity.
	//
	// This member is required.
	FindingCounts map[string]int32

	// The auto-generated name for the assessment run.
	//
	// This member is required.
	Name *string

	// A list of notifications for the event subscriptions. A notification about a
	// particular generated finding is added to this list only once.
	//
	// This member is required.
	Notifications []AssessmentRunNotification

	// The rules packages selected for the assessment run.
	//
	// This member is required.
	RulesPackageArns []string

	// The state of the assessment run.
	//
	// This member is required.
	State AssessmentRunState

	// The last time when the assessment run's state changed.
	//
	// This member is required.
	StateChangedAt *time.Time

	// A list of the assessment run state changes.
	//
	// This member is required.
	StateChanges []AssessmentRunStateChange

	// The user-defined attributes that are assigned to every generated finding.
	//
	// This member is required.
	UserAttributesForFindings []Attribute

	// The assessment run completion time that corresponds to the rules packages
	// evaluation completion time or failure.
	CompletedAt *time.Time

	// The time when StartAssessmentRun was called.
	StartedAt *time.Time
	// contains filtered or unexported fields
}

A snapshot of an Amazon Inspector assessment run that contains the findings of the assessment run . Used as the response element in the DescribeAssessmentRuns action.

type AssessmentRunAgent

type AssessmentRunAgent struct {

	// The current health state of the agent.
	//
	// This member is required.
	AgentHealth AgentHealth

	// The detailed health state of the agent.
	//
	// This member is required.
	AgentHealthCode AgentHealthCode

	// The AWS account of the EC2 instance where the agent is installed.
	//
	// This member is required.
	AgentId *string

	// The ARN of the assessment run that is associated with the agent.
	//
	// This member is required.
	AssessmentRunArn *string

	// The Amazon Inspector application data metrics that are collected by the agent.
	//
	// This member is required.
	TelemetryMetadata []TelemetryMetadata

	// The description for the agent health code.
	AgentHealthDetails *string

	// The Auto Scaling group of the EC2 instance that is specified by the agent ID.
	AutoScalingGroup *string
	// contains filtered or unexported fields
}

Contains information about an Amazon Inspector agent. This data type is used as a response element in the ListAssessmentRunAgents action.

type AssessmentRunFilter

type AssessmentRunFilter struct {

	// For a record to match a filter, the value that is specified for this data type
	// property must inclusively match any value between the specified minimum and
	// maximum values of the completedAt property of the AssessmentRun data type.
	CompletionTimeRange *TimestampRange

	// For a record to match a filter, the value that is specified for this data type
	// property must inclusively match any value between the specified minimum and
	// maximum values of the durationInSeconds property of the AssessmentRun data type.
	DurationRange *DurationRange

	// For a record to match a filter, an explicit value or a string containing a
	// wildcard that is specified for this data type property must match the value of
	// the assessmentRunName property of the AssessmentRun data type.
	NamePattern *string

	// For a record to match a filter, the value that is specified for this data type
	// property must be contained in the list of values of the rulesPackages property
	// of the AssessmentRun data type.
	RulesPackageArns []string

	// For a record to match a filter, the value that is specified for this data type
	// property must inclusively match any value between the specified minimum and
	// maximum values of the startTime property of the AssessmentRun data type.
	StartTimeRange *TimestampRange

	// For a record to match a filter, the value that is specified for this data type
	// property must match the stateChangedAt property of the AssessmentRun data type.
	StateChangeTimeRange *TimestampRange

	// For a record to match a filter, one of the values specified for this data type
	// property must be the exact match of the value of the assessmentRunState property
	// of the AssessmentRun data type.
	States []AssessmentRunState
	// contains filtered or unexported fields
}

Used as the request parameter in the ListAssessmentRuns action.

type AssessmentRunInProgressException

type AssessmentRunInProgressException struct {
	Message *string

	ErrorCodeOverride *string

	AssessmentRunArns          []string
	AssessmentRunArnsTruncated *bool
	CanRetry                   *bool
	// contains filtered or unexported fields
}

You cannot perform a specified action if an assessment run is currently in progress.

func (*AssessmentRunInProgressException) Error

func (*AssessmentRunInProgressException) ErrorCode

func (*AssessmentRunInProgressException) ErrorFault

func (*AssessmentRunInProgressException) ErrorMessage

func (e *AssessmentRunInProgressException) ErrorMessage() string

type AssessmentRunNotification

type AssessmentRunNotification struct {

	// The date of the notification.
	//
	// This member is required.
	Date *time.Time

	// The Boolean value that specifies whether the notification represents an error.
	//
	// This member is required.
	Error *bool

	// The event for which a notification is sent.
	//
	// This member is required.
	Event InspectorEvent

	// The message included in the notification.
	Message *string

	// The status code of the SNS notification.
	SnsPublishStatusCode AssessmentRunNotificationSnsStatusCode

	// The SNS topic to which the SNS notification is sent.
	SnsTopicArn *string
	// contains filtered or unexported fields
}

Used as one of the elements of the AssessmentRun data type.

type AssessmentRunNotificationSnsStatusCode

type AssessmentRunNotificationSnsStatusCode string
const (
	AssessmentRunNotificationSnsStatusCodeSuccess           AssessmentRunNotificationSnsStatusCode = "SUCCESS"
	AssessmentRunNotificationSnsStatusCodeTopicDoesNotExist AssessmentRunNotificationSnsStatusCode = "TOPIC_DOES_NOT_EXIST"
	AssessmentRunNotificationSnsStatusCodeAccessDenied      AssessmentRunNotificationSnsStatusCode = "ACCESS_DENIED"
	AssessmentRunNotificationSnsStatusCodeInternalError     AssessmentRunNotificationSnsStatusCode = "INTERNAL_ERROR"
)

Enum values for AssessmentRunNotificationSnsStatusCode

func (AssessmentRunNotificationSnsStatusCode) Values added in v0.29.0

Values returns all known values for AssessmentRunNotificationSnsStatusCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type AssessmentRunState

type AssessmentRunState string
const (
	AssessmentRunStateCreated                       AssessmentRunState = "CREATED"
	AssessmentRunStateStartDataCollectionPending    AssessmentRunState = "START_DATA_COLLECTION_PENDING"
	AssessmentRunStateStartDataCollectionInProgress AssessmentRunState = "START_DATA_COLLECTION_IN_PROGRESS"
	AssessmentRunStateCollectingData                AssessmentRunState = "COLLECTING_DATA"
	AssessmentRunStateStopDataCollectionPending     AssessmentRunState = "STOP_DATA_COLLECTION_PENDING"
	AssessmentRunStateDataCollected                 AssessmentRunState = "DATA_COLLECTED"
	AssessmentRunStateStartEvaluatingRulesPending   AssessmentRunState = "START_EVALUATING_RULES_PENDING"
	AssessmentRunStateEvaluatingRules               AssessmentRunState = "EVALUATING_RULES"
	AssessmentRunStateFailed                        AssessmentRunState = "FAILED"
	AssessmentRunStateError                         AssessmentRunState = "ERROR"
	AssessmentRunStateCompleted                     AssessmentRunState = "COMPLETED"
	AssessmentRunStateCompletedWithErrors           AssessmentRunState = "COMPLETED_WITH_ERRORS"
	AssessmentRunStateCanceled                      AssessmentRunState = "CANCELED"
)

Enum values for AssessmentRunState

func (AssessmentRunState) Values added in v0.29.0

Values returns all known values for AssessmentRunState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type AssessmentRunStateChange

type AssessmentRunStateChange struct {

	// The assessment run state.
	//
	// This member is required.
	State AssessmentRunState

	// The last time the assessment run state changed.
	//
	// This member is required.
	StateChangedAt *time.Time
	// contains filtered or unexported fields
}

Used as one of the elements of the AssessmentRun data type.

type AssessmentTarget

type AssessmentTarget struct {

	// The ARN that specifies the Amazon Inspector assessment target.
	//
	// This member is required.
	Arn *string

	// The time at which the assessment target is created.
	//
	// This member is required.
	CreatedAt *time.Time

	// The name of the Amazon Inspector assessment target.
	//
	// This member is required.
	Name *string

	// The time at which UpdateAssessmentTarget is called.
	//
	// This member is required.
	UpdatedAt *time.Time

	// The ARN that specifies the resource group that is associated with the
	// assessment target.
	ResourceGroupArn *string
	// contains filtered or unexported fields
}

Contains information about an Amazon Inspector application. This data type is used as the response element in the DescribeAssessmentTargets action.

type AssessmentTargetFilter

type AssessmentTargetFilter struct {

	// For a record to match a filter, an explicit value or a string that contains a
	// wildcard that is specified for this data type property must match the value of
	// the assessmentTargetName property of the AssessmentTarget data type.
	AssessmentTargetNamePattern *string
	// contains filtered or unexported fields
}

Used as the request parameter in the ListAssessmentTargets action.

type AssessmentTemplate

type AssessmentTemplate struct {

	// The ARN of the assessment template.
	//
	// This member is required.
	Arn *string

	// The number of existing assessment runs associated with this assessment
	// template. This value can be zero or a positive integer.
	//
	// This member is required.
	AssessmentRunCount *int32

	// The ARN of the assessment target that corresponds to this assessment template.
	//
	// This member is required.
	AssessmentTargetArn *string

	// The time at which the assessment template is created.
	//
	// This member is required.
	CreatedAt *time.Time

	// The duration in seconds specified for this assessment template. The default
	// value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
	//
	// This member is required.
	DurationInSeconds *int32

	// The name of the assessment template.
	//
	// This member is required.
	Name *string

	// The rules packages that are specified for this assessment template.
	//
	// This member is required.
	RulesPackageArns []string

	// The user-defined attributes that are assigned to every generated finding from
	// the assessment run that uses this assessment template.
	//
	// This member is required.
	UserAttributesForFindings []Attribute

	// The Amazon Resource Name (ARN) of the most recent assessment run associated
	// with this assessment template. This value exists only when the value of
	// assessmentRunCount is greaterpa than zero.
	LastAssessmentRunArn *string
	// contains filtered or unexported fields
}

Contains information about an Amazon Inspector assessment template. This data type is used as the response element in the DescribeAssessmentTemplates action.

type AssessmentTemplateFilter

type AssessmentTemplateFilter struct {

	// For a record to match a filter, the value specified for this data type property
	// must inclusively match any value between the specified minimum and maximum
	// values of the durationInSeconds property of the AssessmentTemplate data type.
	DurationRange *DurationRange

	// For a record to match a filter, an explicit value or a string that contains a
	// wildcard that is specified for this data type property must match the value of
	// the assessmentTemplateName property of the AssessmentTemplate data type.
	NamePattern *string

	// For a record to match a filter, the values that are specified for this data
	// type property must be contained in the list of values of the rulesPackageArns
	// property of the AssessmentTemplate data type.
	RulesPackageArns []string
	// contains filtered or unexported fields
}

Used as the request parameter in the ListAssessmentTemplates action.

type AssetAttributes

type AssetAttributes struct {

	// The schema version of this data type.
	//
	// This member is required.
	SchemaVersion int32

	// The ID of the agent that is installed on the EC2 instance where the finding is
	// generated.
	AgentId *string

	// The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance
	// where the finding is generated.
	AmiId *string

	// The Auto Scaling group of the EC2 instance where the finding is generated.
	AutoScalingGroup *string

	// The hostname of the EC2 instance where the finding is generated.
	Hostname *string

	// The list of IP v4 addresses of the EC2 instance where the finding is generated.
	Ipv4Addresses []string

	// An array of the network interfaces interacting with the EC2 instance where the
	// finding is generated.
	NetworkInterfaces []NetworkInterface

	// The tags related to the EC2 instance where the finding is generated.
	Tags []Tag
	// contains filtered or unexported fields
}

A collection of attributes of the host from which the finding is generated.

type AssetType

type AssetType string
const (
	AssetTypeEc2Instance AssetType = "ec2-instance"
)

Enum values for AssetType

func (AssetType) Values added in v0.29.0

func (AssetType) Values() []AssetType

Values returns all known values for AssetType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Attribute

type Attribute struct {

	// The attribute key.
	//
	// This member is required.
	Key *string

	// The value assigned to the attribute key.
	Value *string
	// contains filtered or unexported fields
}

This data type is used as a request parameter in the AddAttributesToFindings and CreateAssessmentTemplate actions.

type DurationRange

type DurationRange struct {

	// The maximum value of the duration range. Must be less than or equal to 604800
	// seconds (1 week).
	MaxSeconds *int32

	// The minimum value of the duration range. Must be greater than zero.
	MinSeconds *int32
	// contains filtered or unexported fields
}

This data type is used in the AssessmentTemplateFilter data type.

type EventSubscription

type EventSubscription struct {

	// The event for which Amazon Simple Notification Service (SNS) notifications are
	// sent.
	//
	// This member is required.
	Event InspectorEvent

	// The time at which SubscribeToEvent is called.
	//
	// This member is required.
	SubscribedAt *time.Time
	// contains filtered or unexported fields
}

This data type is used in the Subscription data type.

type Exclusion

type Exclusion struct {

	// The ARN that specifies the exclusion.
	//
	// This member is required.
	Arn *string

	// The description of the exclusion.
	//
	// This member is required.
	Description *string

	// The recommendation for the exclusion.
	//
	// This member is required.
	Recommendation *string

	// The AWS resources for which the exclusion pertains.
	//
	// This member is required.
	Scopes []Scope

	// The name of the exclusion.
	//
	// This member is required.
	Title *string

	// The system-defined attributes for the exclusion.
	Attributes []Attribute
	// contains filtered or unexported fields
}

Contains information about what was excluded from an assessment run.

type ExclusionPreview

type ExclusionPreview struct {

	// The description of the exclusion preview.
	//
	// This member is required.
	Description *string

	// The recommendation for the exclusion preview.
	//
	// This member is required.
	Recommendation *string

	// The AWS resources for which the exclusion preview pertains.
	//
	// This member is required.
	Scopes []Scope

	// The name of the exclusion preview.
	//
	// This member is required.
	Title *string

	// The system-defined attributes for the exclusion preview.
	Attributes []Attribute
	// contains filtered or unexported fields
}

Contains information about what is excluded from an assessment run given the current state of the assessment template.

type FailedItemDetails

type FailedItemDetails struct {

	// The status code of a failed item.
	//
	// This member is required.
	FailureCode FailedItemErrorCode

	// Indicates whether you can immediately retry a request for this item for a
	// specified resource.
	//
	// This member is required.
	Retryable *bool
	// contains filtered or unexported fields
}

Includes details about the failed items.

type FailedItemErrorCode

type FailedItemErrorCode string
const (
	FailedItemErrorCodeInvalidArn       FailedItemErrorCode = "INVALID_ARN"
	FailedItemErrorCodeDuplicateArn     FailedItemErrorCode = "DUPLICATE_ARN"
	FailedItemErrorCodeItemDoesNotExist FailedItemErrorCode = "ITEM_DOES_NOT_EXIST"
	FailedItemErrorCodeAccessDenied     FailedItemErrorCode = "ACCESS_DENIED"
	FailedItemErrorCodeLimitExceeded    FailedItemErrorCode = "LIMIT_EXCEEDED"
	FailedItemErrorCodeInternalError    FailedItemErrorCode = "INTERNAL_ERROR"
)

Enum values for FailedItemErrorCode

func (FailedItemErrorCode) Values added in v0.29.0

Values returns all known values for FailedItemErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Finding

type Finding struct {

	// The ARN that specifies the finding.
	//
	// This member is required.
	Arn *string

	// The system-defined attributes for the finding.
	//
	// This member is required.
	Attributes []Attribute

	// The time when the finding was generated.
	//
	// This member is required.
	CreatedAt *time.Time

	// The time when AddAttributesToFindings is called.
	//
	// This member is required.
	UpdatedAt *time.Time

	// The user-defined attributes that are assigned to the finding.
	//
	// This member is required.
	UserAttributes []Attribute

	// A collection of attributes of the host from which the finding is generated.
	AssetAttributes *AssetAttributes

	// The type of the host from which the finding is generated.
	AssetType AssetType

	// This data element is currently not used.
	Confidence int32

	// The description of the finding.
	Description *string

	// The ID of the finding.
	Id *string

	// This data element is currently not used.
	IndicatorOfCompromise *bool

	// The numeric value of the finding severity.
	NumericSeverity float64

	// The recommendation for the finding.
	Recommendation *string

	// The schema version of this data type.
	SchemaVersion int32

	// The data element is set to "Inspector".
	Service *string

	// This data type is used in the Finding data type.
	ServiceAttributes *InspectorServiceAttributes

	// The finding severity. Values can be set to High, Medium, Low, and Informational.
	Severity Severity

	// The name of the finding.
	Title *string
	// contains filtered or unexported fields
}

Contains information about an Amazon Inspector finding. This data type is used as the response element in the DescribeFindings action.

type FindingFilter

type FindingFilter struct {

	// For a record to match a filter, one of the values that is specified for this
	// data type property must be the exact match of the value of the agentId property
	// of the Finding data type.
	AgentIds []string

	// For a record to match a filter, the list of values that are specified for this
	// data type property must be contained in the list of values of the attributes
	// property of the Finding data type.
	Attributes []Attribute

	// For a record to match a filter, one of the values that is specified for this
	// data type property must be the exact match of the value of the autoScalingGroup
	// property of the Finding data type.
	AutoScalingGroups []string

	// The time range during which the finding is generated.
	CreationTimeRange *TimestampRange

	// For a record to match a filter, one of the values that is specified for this
	// data type property must be the exact match of the value of the ruleName property
	// of the Finding data type.
	RuleNames []string

	// For a record to match a filter, one of the values that is specified for this
	// data type property must be the exact match of the value of the rulesPackageArn
	// property of the Finding data type.
	RulesPackageArns []string

	// For a record to match a filter, one of the values that is specified for this
	// data type property must be the exact match of the value of the severity property
	// of the Finding data type.
	Severities []Severity

	// For a record to match a filter, the value that is specified for this data type
	// property must be contained in the list of values of the userAttributes property
	// of the Finding data type.
	UserAttributes []Attribute
	// contains filtered or unexported fields
}

This data type is used as a request parameter in the ListFindings action.

type InspectorEvent

type InspectorEvent string
const (
	InspectorEventAssessmentRunStarted      InspectorEvent = "ASSESSMENT_RUN_STARTED"
	InspectorEventAssessmentRunCompleted    InspectorEvent = "ASSESSMENT_RUN_COMPLETED"
	InspectorEventAssessmentRunStateChanged InspectorEvent = "ASSESSMENT_RUN_STATE_CHANGED"
	InspectorEventFindingReported           InspectorEvent = "FINDING_REPORTED"
	InspectorEventOther                     InspectorEvent = "OTHER"
)

Enum values for InspectorEvent

func (InspectorEvent) Values added in v0.29.0

func (InspectorEvent) Values() []InspectorEvent

Values returns all known values for InspectorEvent. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type InspectorServiceAttributes

type InspectorServiceAttributes struct {

	// The schema version of this data type.
	//
	// This member is required.
	SchemaVersion int32

	// The ARN of the assessment run during which the finding is generated.
	AssessmentRunArn *string

	// The ARN of the rules package that is used to generate the finding.
	RulesPackageArn *string
	// contains filtered or unexported fields
}

This data type is used in the Finding data type.

type InternalException

type InternalException struct {
	Message *string

	ErrorCodeOverride *string

	CanRetry *bool
	// contains filtered or unexported fields
}

Internal server error.

func (*InternalException) Error

func (e *InternalException) Error() string

func (*InternalException) ErrorCode

func (e *InternalException) ErrorCode() string

func (*InternalException) ErrorFault

func (e *InternalException) ErrorFault() smithy.ErrorFault

func (*InternalException) ErrorMessage

func (e *InternalException) ErrorMessage() string

type InvalidCrossAccountRoleErrorCode

type InvalidCrossAccountRoleErrorCode string
const (
	InvalidCrossAccountRoleErrorCodeRoleDoesNotExistOrInvalidTrustRelationship InvalidCrossAccountRoleErrorCode = "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP"
	InvalidCrossAccountRoleErrorCodeRoleDoesNotHaveCorrectPolicy               InvalidCrossAccountRoleErrorCode = "ROLE_DOES_NOT_HAVE_CORRECT_POLICY"
)

Enum values for InvalidCrossAccountRoleErrorCode

func (InvalidCrossAccountRoleErrorCode) Values added in v0.29.0

Values returns all known values for InvalidCrossAccountRoleErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type InvalidCrossAccountRoleException

type InvalidCrossAccountRoleException struct {
	Message *string

	ErrorCodeOverride *string

	ErrorCode_ InvalidCrossAccountRoleErrorCode
	CanRetry   *bool
	// contains filtered or unexported fields
}

Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the assessment run.

func (*InvalidCrossAccountRoleException) Error

func (*InvalidCrossAccountRoleException) ErrorCode

func (*InvalidCrossAccountRoleException) ErrorFault

func (*InvalidCrossAccountRoleException) ErrorMessage

func (e *InvalidCrossAccountRoleException) ErrorMessage() string

type InvalidInputErrorCode

type InvalidInputErrorCode string
const (
	InvalidInputErrorCodeInvalidAssessmentTargetArn               InvalidInputErrorCode = "INVALID_ASSESSMENT_TARGET_ARN"
	InvalidInputErrorCodeInvalidAssessmentTemplateArn             InvalidInputErrorCode = "INVALID_ASSESSMENT_TEMPLATE_ARN"
	InvalidInputErrorCodeInvalidAssessmentRunArn                  InvalidInputErrorCode = "INVALID_ASSESSMENT_RUN_ARN"
	InvalidInputErrorCodeInvalidFindingArn                        InvalidInputErrorCode = "INVALID_FINDING_ARN"
	InvalidInputErrorCodeInvalidResourceGroupArn                  InvalidInputErrorCode = "INVALID_RESOURCE_GROUP_ARN"
	InvalidInputErrorCodeInvalidRulesPackageArn                   InvalidInputErrorCode = "INVALID_RULES_PACKAGE_ARN"
	InvalidInputErrorCodeInvalidResourceArn                       InvalidInputErrorCode = "INVALID_RESOURCE_ARN"
	InvalidInputErrorCodeInvalidSnsTopicArn                       InvalidInputErrorCode = "INVALID_SNS_TOPIC_ARN"
	InvalidInputErrorCodeInvalidIamRoleArn                        InvalidInputErrorCode = "INVALID_IAM_ROLE_ARN"
	InvalidInputErrorCodeInvalidAssessmentTargetName              InvalidInputErrorCode = "INVALID_ASSESSMENT_TARGET_NAME"
	InvalidInputErrorCodeInvalidAssessmentTargetNamePattern       InvalidInputErrorCode = "INVALID_ASSESSMENT_TARGET_NAME_PATTERN"
	InvalidInputErrorCodeInvalidAssessmentTemplateName            InvalidInputErrorCode = "INVALID_ASSESSMENT_TEMPLATE_NAME"
	InvalidInputErrorCodeInvalidAssessmentTemplateNamePattern     InvalidInputErrorCode = "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN"
	InvalidInputErrorCodeInvalidAssessmentTemplateDuration        InvalidInputErrorCode = "INVALID_ASSESSMENT_TEMPLATE_DURATION"
	InvalidInputErrorCodeInvalidAssessmentTemplateDurationRange   InvalidInputErrorCode = "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE"
	InvalidInputErrorCodeInvalidAssessmentRunDurationRange        InvalidInputErrorCode = "INVALID_ASSESSMENT_RUN_DURATION_RANGE"
	InvalidInputErrorCodeInvalidAssessmentRunStartTimeRange       InvalidInputErrorCode = "INVALID_ASSESSMENT_RUN_START_TIME_RANGE"
	InvalidInputErrorCodeInvalidAssessmentRunCompletionTimeRange  InvalidInputErrorCode = "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE"
	InvalidInputErrorCodeInvalidAssessmentRunStateChangeTimeRange InvalidInputErrorCode = "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE"
	InvalidInputErrorCodeInvalidAssessmentRunState                InvalidInputErrorCode = "INVALID_ASSESSMENT_RUN_STATE"
	InvalidInputErrorCodeInvalidTag                               InvalidInputErrorCode = "INVALID_TAG"
	InvalidInputErrorCodeInvalidTagKey                            InvalidInputErrorCode = "INVALID_TAG_KEY"
	InvalidInputErrorCodeInvalidTagValue                          InvalidInputErrorCode = "INVALID_TAG_VALUE"
	InvalidInputErrorCodeInvalidResourceGroupTagKey               InvalidInputErrorCode = "INVALID_RESOURCE_GROUP_TAG_KEY"
	InvalidInputErrorCodeInvalidResourceGroupTagValue             InvalidInputErrorCode = "INVALID_RESOURCE_GROUP_TAG_VALUE"
	InvalidInputErrorCodeInvalidAttribute                         InvalidInputErrorCode = "INVALID_ATTRIBUTE"
	InvalidInputErrorCodeInvalidUserAttribute                     InvalidInputErrorCode = "INVALID_USER_ATTRIBUTE"
	InvalidInputErrorCodeInvalidUserAttributeKey                  InvalidInputErrorCode = "INVALID_USER_ATTRIBUTE_KEY"
	InvalidInputErrorCodeInvalidUserAttributeValue                InvalidInputErrorCode = "INVALID_USER_ATTRIBUTE_VALUE"
	InvalidInputErrorCodeInvalidPaginationToken                   InvalidInputErrorCode = "INVALID_PAGINATION_TOKEN"
	InvalidInputErrorCodeInvalidMaxResults                        InvalidInputErrorCode = "INVALID_MAX_RESULTS"
	InvalidInputErrorCodeInvalidAgentId                           InvalidInputErrorCode = "INVALID_AGENT_ID"
	InvalidInputErrorCodeInvalidAutoScalingGroup                  InvalidInputErrorCode = "INVALID_AUTO_SCALING_GROUP"
	InvalidInputErrorCodeInvalidRuleName                          InvalidInputErrorCode = "INVALID_RULE_NAME"
	InvalidInputErrorCodeInvalidSeverity                          InvalidInputErrorCode = "INVALID_SEVERITY"
	InvalidInputErrorCodeInvalidLocale                            InvalidInputErrorCode = "INVALID_LOCALE"
	InvalidInputErrorCodeInvalidEvent                             InvalidInputErrorCode = "INVALID_EVENT"
	InvalidInputErrorCodeAssessmentTargetNameAlreadyTaken         InvalidInputErrorCode = "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN"
	InvalidInputErrorCodeAssessmentTemplateNameAlreadyTaken       InvalidInputErrorCode = "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN"
	InvalidInputErrorCodeInvalidNumberOfAssessmentTargetArns      InvalidInputErrorCode = "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS"
	InvalidInputErrorCodeInvalidNumberOfAssessmentTemplateArns    InvalidInputErrorCode = "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS"
	InvalidInputErrorCodeInvalidNumberOfAssessmentRunArns         InvalidInputErrorCode = "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS"
	InvalidInputErrorCodeInvalidNumberOfFindingArns               InvalidInputErrorCode = "INVALID_NUMBER_OF_FINDING_ARNS"
	InvalidInputErrorCodeInvalidNumberOfResourceGroupArns         InvalidInputErrorCode = "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS"
	InvalidInputErrorCodeInvalidNumberOfRulesPackageArns          InvalidInputErrorCode = "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS"
	InvalidInputErrorCodeInvalidNumberOfAssessmentRunStates       InvalidInputErrorCode = "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES"
	InvalidInputErrorCodeInvalidNumberOfTags                      InvalidInputErrorCode = "INVALID_NUMBER_OF_TAGS"
	InvalidInputErrorCodeInvalidNumberOfResourceGroupTags         InvalidInputErrorCode = "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS"
	InvalidInputErrorCodeInvalidNumberOfAttributes                InvalidInputErrorCode = "INVALID_NUMBER_OF_ATTRIBUTES"
	InvalidInputErrorCodeInvalidNumberOfUserAttributes            InvalidInputErrorCode = "INVALID_NUMBER_OF_USER_ATTRIBUTES"
	InvalidInputErrorCodeInvalidNumberOfAgentIds                  InvalidInputErrorCode = "INVALID_NUMBER_OF_AGENT_IDS"
	InvalidInputErrorCodeInvalidNumberOfAutoScalingGroups         InvalidInputErrorCode = "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS"
	InvalidInputErrorCodeInvalidNumberOfRuleNames                 InvalidInputErrorCode = "INVALID_NUMBER_OF_RULE_NAMES"
	InvalidInputErrorCodeInvalidNumberOfSeverities                InvalidInputErrorCode = "INVALID_NUMBER_OF_SEVERITIES"
)

Enum values for InvalidInputErrorCode

func (InvalidInputErrorCode) Values added in v0.29.0

Values returns all known values for InvalidInputErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type InvalidInputException

type InvalidInputException struct {
	Message *string

	ErrorCodeOverride *string

	ErrorCode_ InvalidInputErrorCode
	CanRetry   *bool
	// contains filtered or unexported fields
}

The request was rejected because an invalid or out-of-range value was supplied for an input parameter.

func (*InvalidInputException) Error

func (e *InvalidInputException) Error() string

func (*InvalidInputException) ErrorCode

func (e *InvalidInputException) ErrorCode() string

func (*InvalidInputException) ErrorFault

func (e *InvalidInputException) ErrorFault() smithy.ErrorFault

func (*InvalidInputException) ErrorMessage

func (e *InvalidInputException) ErrorMessage() string

type LimitExceededErrorCode

type LimitExceededErrorCode string
const (
	LimitExceededErrorCodeAssessmentTargetLimitExceeded   LimitExceededErrorCode = "ASSESSMENT_TARGET_LIMIT_EXCEEDED"
	LimitExceededErrorCodeAssessmentTemplateLimitExceeded LimitExceededErrorCode = "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED"
	LimitExceededErrorCodeAssessmentRunLimitExceeded      LimitExceededErrorCode = "ASSESSMENT_RUN_LIMIT_EXCEEDED"
	LimitExceededErrorCodeResourceGroupLimitExceeded      LimitExceededErrorCode = "RESOURCE_GROUP_LIMIT_EXCEEDED"
	LimitExceededErrorCodeEventSubscriptionLimitExceeded  LimitExceededErrorCode = "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED"
)

Enum values for LimitExceededErrorCode

func (LimitExceededErrorCode) Values added in v0.29.0

Values returns all known values for LimitExceededErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type LimitExceededException

type LimitExceededException struct {
	Message *string

	ErrorCodeOverride *string

	ErrorCode_ LimitExceededErrorCode
	CanRetry   *bool
	// contains filtered or unexported fields
}

The request was rejected because it attempted to create resources beyond the current AWS account limits. The error code describes the limit exceeded.

func (*LimitExceededException) Error

func (e *LimitExceededException) Error() string

func (*LimitExceededException) ErrorCode

func (e *LimitExceededException) ErrorCode() string

func (*LimitExceededException) ErrorFault

func (e *LimitExceededException) ErrorFault() smithy.ErrorFault

func (*LimitExceededException) ErrorMessage

func (e *LimitExceededException) ErrorMessage() string

type Locale

type Locale string
const (
	LocaleEnUs Locale = "EN_US"
)

Enum values for Locale

func (Locale) Values added in v0.29.0

func (Locale) Values() []Locale

Values returns all known values for Locale. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type NetworkInterface

type NetworkInterface struct {

	// The IP addresses associated with the network interface.
	Ipv6Addresses []string

	// The ID of the network interface.
	NetworkInterfaceId *string

	// The name of a private DNS associated with the network interface.
	PrivateDnsName *string

	// The private IP address associated with the network interface.
	PrivateIpAddress *string

	// A list of the private IP addresses associated with the network interface.
	// Includes the privateDnsName and privateIpAddress.
	PrivateIpAddresses []PrivateIp

	// The name of a public DNS associated with the network interface.
	PublicDnsName *string

	// The public IP address from which the network interface is reachable.
	PublicIp *string

	// A list of the security groups associated with the network interface. Includes
	// the groupId and groupName.
	SecurityGroups []SecurityGroup

	// The ID of a subnet associated with the network interface.
	SubnetId *string

	// The ID of a VPC associated with the network interface.
	VpcId *string
	// contains filtered or unexported fields
}

Contains information about the network interfaces interacting with an EC2 instance. This data type is used as one of the elements of the AssetAttributes data type.

type NoSuchEntityErrorCode

type NoSuchEntityErrorCode string
const (
	NoSuchEntityErrorCodeAssessmentTargetDoesNotExist   NoSuchEntityErrorCode = "ASSESSMENT_TARGET_DOES_NOT_EXIST"
	NoSuchEntityErrorCodeAssessmentTemplateDoesNotExist NoSuchEntityErrorCode = "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST"
	NoSuchEntityErrorCodeAssessmentRunDoesNotExist      NoSuchEntityErrorCode = "ASSESSMENT_RUN_DOES_NOT_EXIST"
	NoSuchEntityErrorCodeFindingDoesNotExist            NoSuchEntityErrorCode = "FINDING_DOES_NOT_EXIST"
	NoSuchEntityErrorCodeResourceGroupDoesNotExist      NoSuchEntityErrorCode = "RESOURCE_GROUP_DOES_NOT_EXIST"
	NoSuchEntityErrorCodeRulesPackageDoesNotExist       NoSuchEntityErrorCode = "RULES_PACKAGE_DOES_NOT_EXIST"
	NoSuchEntityErrorCodeSnsTopicDoesNotExist           NoSuchEntityErrorCode = "SNS_TOPIC_DOES_NOT_EXIST"
	NoSuchEntityErrorCodeIamRoleDoesNotExist            NoSuchEntityErrorCode = "IAM_ROLE_DOES_NOT_EXIST"
)

Enum values for NoSuchEntityErrorCode

func (NoSuchEntityErrorCode) Values added in v0.29.0

Values returns all known values for NoSuchEntityErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type NoSuchEntityException

type NoSuchEntityException struct {
	Message *string

	ErrorCodeOverride *string

	ErrorCode_ NoSuchEntityErrorCode
	CanRetry   *bool
	// contains filtered or unexported fields
}

The request was rejected because it referenced an entity that does not exist. The error code describes the entity.

func (*NoSuchEntityException) Error

func (e *NoSuchEntityException) Error() string

func (*NoSuchEntityException) ErrorCode

func (e *NoSuchEntityException) ErrorCode() string

func (*NoSuchEntityException) ErrorFault

func (e *NoSuchEntityException) ErrorFault() smithy.ErrorFault

func (*NoSuchEntityException) ErrorMessage

func (e *NoSuchEntityException) ErrorMessage() string

type PreviewGenerationInProgressException

type PreviewGenerationInProgressException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The request is rejected. The specified assessment template is currently generating an exclusions preview.

func (*PreviewGenerationInProgressException) Error

func (*PreviewGenerationInProgressException) ErrorCode

func (*PreviewGenerationInProgressException) ErrorFault

func (*PreviewGenerationInProgressException) ErrorMessage

func (e *PreviewGenerationInProgressException) ErrorMessage() string

type PreviewStatus

type PreviewStatus string
const (
	PreviewStatusWorkInProgress PreviewStatus = "WORK_IN_PROGRESS"
	PreviewStatusCompleted      PreviewStatus = "COMPLETED"
)

Enum values for PreviewStatus

func (PreviewStatus) Values added in v0.29.0

func (PreviewStatus) Values() []PreviewStatus

Values returns all known values for PreviewStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type PrivateIp

type PrivateIp struct {

	// The DNS name of the private IP address.
	PrivateDnsName *string

	// The full IP address of the network inteface.
	PrivateIpAddress *string
	// contains filtered or unexported fields
}

Contains information about a private IP address associated with a network interface. This data type is used as a response element in the DescribeFindings action.

type ReportFileFormat

type ReportFileFormat string
const (
	ReportFileFormatHtml ReportFileFormat = "HTML"
	ReportFileFormatPdf  ReportFileFormat = "PDF"
)

Enum values for ReportFileFormat

func (ReportFileFormat) Values added in v0.29.0

Values returns all known values for ReportFileFormat. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ReportStatus

type ReportStatus string
const (
	ReportStatusWorkInProgress ReportStatus = "WORK_IN_PROGRESS"
	ReportStatusFailed         ReportStatus = "FAILED"
	ReportStatusCompleted      ReportStatus = "COMPLETED"
)

Enum values for ReportStatus

func (ReportStatus) Values added in v0.29.0

func (ReportStatus) Values() []ReportStatus

Values returns all known values for ReportStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ReportType

type ReportType string
const (
	ReportTypeFinding ReportType = "FINDING"
	ReportTypeFull    ReportType = "FULL"
)

Enum values for ReportType

func (ReportType) Values added in v0.29.0

func (ReportType) Values() []ReportType

Values returns all known values for ReportType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ResourceGroup

type ResourceGroup struct {

	// The ARN of the resource group.
	//
	// This member is required.
	Arn *string

	// The time at which resource group is created.
	//
	// This member is required.
	CreatedAt *time.Time

	// The tags (key and value pairs) of the resource group. This data type property
	// is used in the CreateResourceGroup action.
	//
	// This member is required.
	Tags []ResourceGroupTag
	// contains filtered or unexported fields
}

Contains information about a resource group. The resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target. This data type is used as the response element in the DescribeResourceGroups action.

type ResourceGroupTag

type ResourceGroupTag struct {

	// A tag key.
	//
	// This member is required.
	Key *string

	// The value assigned to a tag key.
	Value *string
	// contains filtered or unexported fields
}

This data type is used as one of the elements of the ResourceGroup data type.

type RulesPackage

type RulesPackage struct {

	// The ARN of the rules package.
	//
	// This member is required.
	Arn *string

	// The name of the rules package.
	//
	// This member is required.
	Name *string

	// The provider of the rules package.
	//
	// This member is required.
	Provider *string

	// The version ID of the rules package.
	//
	// This member is required.
	Version *string

	// The description of the rules package.
	Description *string
	// contains filtered or unexported fields
}

Contains information about an Amazon Inspector rules package. This data type is used as the response element in the DescribeRulesPackages action.

type Scope

type Scope struct {

	// The type of the scope.
	Key ScopeType

	// The resource identifier for the specified scope type.
	Value *string
	// contains filtered or unexported fields
}

This data type contains key-value pairs that identify various Amazon resources.

type ScopeType

type ScopeType string
const (
	ScopeTypeInstanceId      ScopeType = "INSTANCE_ID"
	ScopeTypeRulesPackageArn ScopeType = "RULES_PACKAGE_ARN"
)

Enum values for ScopeType

func (ScopeType) Values added in v0.29.0

func (ScopeType) Values() []ScopeType

Values returns all known values for ScopeType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type SecurityGroup

type SecurityGroup struct {

	// The ID of the security group.
	GroupId *string

	// The name of the security group.
	GroupName *string
	// contains filtered or unexported fields
}

Contains information about a security group associated with a network interface. This data type is used as one of the elements of the NetworkInterface data type.

type ServiceTemporarilyUnavailableException

type ServiceTemporarilyUnavailableException struct {
	Message *string

	ErrorCodeOverride *string

	CanRetry *bool
	// contains filtered or unexported fields
}

The serice is temporary unavailable.

func (*ServiceTemporarilyUnavailableException) Error

func (*ServiceTemporarilyUnavailableException) ErrorCode

func (*ServiceTemporarilyUnavailableException) ErrorFault

func (*ServiceTemporarilyUnavailableException) ErrorMessage

type Severity

type Severity string
const (
	SeverityLow           Severity = "Low"
	SeverityMedium        Severity = "Medium"
	SeverityHigh          Severity = "High"
	SeverityInformational Severity = "Informational"
	SeverityUndefined     Severity = "Undefined"
)

Enum values for Severity

func (Severity) Values added in v0.29.0

func (Severity) Values() []Severity

Values returns all known values for Severity. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type StopAction

type StopAction string
const (
	StopActionStartEvaluation StopAction = "START_EVALUATION"
	StopActionSkipEvaluation  StopAction = "SKIP_EVALUATION"
)

Enum values for StopAction

func (StopAction) Values added in v0.29.0

func (StopAction) Values() []StopAction

Values returns all known values for StopAction. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Subscription

type Subscription struct {

	// The list of existing event subscriptions.
	//
	// This member is required.
	EventSubscriptions []EventSubscription

	// The ARN of the assessment template that is used during the event for which the
	// SNS notification is sent.
	//
	// This member is required.
	ResourceArn *string

	// The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS
	// notifications are sent.
	//
	// This member is required.
	TopicArn *string
	// contains filtered or unexported fields
}

This data type is used as a response element in the ListEventSubscriptions action.

type Tag

type Tag struct {

	// A tag key.
	//
	// This member is required.
	Key *string

	// A value assigned to a tag key.
	Value *string
	// contains filtered or unexported fields
}

A key and value pair. This data type is used as a request parameter in the SetTagsForResource action and a response element in the ListTagsForResource action.

type TelemetryMetadata

type TelemetryMetadata struct {

	// The count of messages that the agent sends to the Amazon Inspector service.
	//
	// This member is required.
	Count *int64

	// A specific type of behavioral data that is collected by the agent.
	//
	// This member is required.
	MessageType *string

	// The data size of messages that the agent sends to the Amazon Inspector service.
	DataSize *int64
	// contains filtered or unexported fields
}

The metadata about the Amazon Inspector application data metrics collected by the agent. This data type is used as the response element in the GetTelemetryMetadata action.

type TimestampRange

type TimestampRange struct {

	// The minimum value of the timestamp range.
	BeginDate *time.Time

	// The maximum value of the timestamp range.
	EndDate *time.Time
	// contains filtered or unexported fields
}

This data type is used in the AssessmentRunFilter data type.

type UnsupportedFeatureException

type UnsupportedFeatureException struct {
	Message *string

	ErrorCodeOverride *string

	CanRetry *bool
	// contains filtered or unexported fields
}

Used by the GetAssessmentReport API. The request was rejected because you tried to generate a report for an assessment run that existed before reporting was supported in Amazon Inspector. You can only generate reports for assessment runs that took place or will take place after generating reports in Amazon Inspector became available.

func (*UnsupportedFeatureException) Error

func (*UnsupportedFeatureException) ErrorCode

func (e *UnsupportedFeatureException) ErrorCode() string

func (*UnsupportedFeatureException) ErrorFault

func (*UnsupportedFeatureException) ErrorMessage

func (e *UnsupportedFeatureException) ErrorMessage() string

Jump to

Keyboard shortcuts

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