CisTargetResourceAggregation - Inspector

CisTargetResourceAggregation

The CIS target resource aggregation.

Contents

scanArn

The scan ARN for the CIS target resource.

Type: String

Pattern: ^arn:aws(-us-gov|-cn)?:inspector2:[-.a-z0-9]{0,20}:\d{12}:owner/(\d{12}|o-[a-z0-9]{10,32})/cis-scan/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Required: Yes

accountId

The account ID for the CIS target resource.

Type: String

Length Constraints: Fixed length of 12.

Pattern: ^\d{12}$

Required: No

platform

The platform for the CIS target resource.

Type: String

Required: No

statusCounts

The target resource status counts.

Type: StatusCounts object

Required: No

targetResourceId

The ID of the target resource.

Type: String

Length Constraints: Minimum length of 10. Maximum length of 341.

Pattern: (^arn:.*:ecr:.*:\d{12}:repository\/(?:[a-z0-9]+(?:[._-][a-z0-9]+)*\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*(\/sha256:[a-z0-9]{64})?$)|(^i-([a-z0-9]{8}|[a-z0-9]{17}|\\*)$|(^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_\.]+(:(\$LATEST|[a-zA-Z0-9-_]+))?$))

Required: No

targetResourceTags

The tag for the target resource.

Type: String to array of strings map

Map Entries: Maximum number of 5 items.

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Key Pattern: ^[\p{L}\p{Z}\p{N}_.:/=\-@]*$

Array Members: Minimum number of 1 item. Maximum number of 5 items.

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: No

targetStatus

The status of the target resource.

Type: String

Valid Values: TIMED_OUT | CANCELLED | COMPLETED

Required: No

targetStatusReason

The reason for the target resource.

Type: String

Valid Values: SCAN_IN_PROGRESS | UNSUPPORTED_OS | SSM_UNMANAGED

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: