RepositoryAggregationResponse
A response that contains details on the results of a finding aggregation by repository.
Contents
- repository
-
The name of the repository associated with the findings.
Type: String
Length Constraints: Minimum length of 1.
Required: Yes
- accountId
-
The ID of the AWS account associated with the findings.
Type: String
Length Constraints: Fixed length of 12.
Pattern:
\d{12}Required: No
- affectedImages
-
The number of container images impacted by the findings.
Type: Long
Required: No
- cloudAccountId
-
The cloud account ID for the repository aggregation.
Type: String
Length Constraints: Minimum length of 12. Maximum length of 36.
Pattern:
(\d{12}|[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: No
- cloudOrgId
-
The cloud organization ID for the repository aggregation.
Type: String
Length Constraints: Minimum length of 12. Maximum length of 36.
Pattern:
(o-[a-z0-9]{10,32}|[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: No
- cloudPartition
-
The cloud infrastructure partition associated with this repository aggregation. Valid values:
-
aws– AWS commercial Regions. -
aws-cn– AWS China Regions. -
aws-us-gov– AWS GovCloud (US) Regions. -
AzureCloud– Azure commercial Regions.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
(aws(-[a-z]+)*|Azure[A-Za-z]+)Required: No
-
- cloudProvider
-
The cloud service provider associated with this repository aggregation. Valid values:
-
AWS– Findings from AWS resources. -
AZURE– Findings from Microsoft Azure resources.
Type: String
Valid Values:
AWS | AZURERequired: No
-
- cloudRegion
-
The cloud Region associated with this repository aggregation. The value format depends on the cloud provider:
-
An AWS Region, such as
us-east-1. -
An Azure region, such as
eastus.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
([a-z]{2}(-[a-z]+)+-\d+|[a-z][a-z0-9]+)Required: No
-
- severityCounts
-
An object that represent the count of matched findings per severity.
Type: SeverityCounts object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: