AWS cli documentation change
Summary
Updated AWS CLI version reference from 2.27.63 to 2.28.0, restructured aggregation parameters, added CODE_REPOSITORY resource type, and reorganized JSON syntax documentation for finding aggregations
Security assessment
The changes enhance documentation for security finding aggregation capabilities (including new CODE_REPOSITORY type) but do not address a specific security vulnerability. Inspector2 is a security service, so documentation improvements relate to security features.
Diff
diff --git a/cli/latest/reference/inspector2/list-finding-aggregations.md b/cli/latest/reference/inspector2/list-finding-aggregations.md index c472b8141..80e6c8114 100644 --- a//cli/latest/reference/inspector2/list-finding-aggregations.md +++ b//cli/latest/reference/inspector2/list-finding-aggregations.md @@ -15 +15 @@ - * [AWS CLI 2.27.63 Command Reference](../../index.html) » + * [AWS CLI 2.28.0 Command Reference](../../index.html) » @@ -68,0 +69 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec + --aggregation-type <value> @@ -71 +71,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec - --aggregation-type <value> @@ -98,0 +99,21 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/inspec +`--aggregation-type` (string) + +> The type of the aggregation request. +> +> Possible values: +> +> * `FINDING_TYPE` +> * `PACKAGE` +> * `TITLE` +> * `REPOSITORY` +> * `AMI` +> * `AWS_EC2_INSTANCE` +> * `AWS_ECR_CONTAINER` +> * `IMAGE_LAYER` +> * `ACCOUNT` +> * `AWS_LAMBDA_FUNCTION` +> * `LAMBDA_LAYER` +> * `CODE_REPOSITORY` +> + + @@ -139 +160 @@ JSON Syntax: -> This is a Tagged Union structure. Only one of the following top level keys can be set: `accountAggregation`, `amiAggregation`, `awsEcrContainerAggregation`, `codeRepositoryAggregation`, `ec2InstanceAggregation`, `findingTypeAggregation`, `imageLayerAggregation`, `lambdaFunctionAggregation`, `lambdaLayerAggregation`, `packageAggregation`, `repositoryAggregation`, `titleAggregation`. +> This is a Tagged Union structure. Only one of the following top level keys can be set: `accountAggregation`, `amiAggregation`, `awsEcrContainerAggregation`, `ec2InstanceAggregation`, `findingTypeAggregation`, `imageLayerAggregation`, `packageAggregation`, `repositoryAggregation`, `titleAggregation`, `lambdaLayerAggregation`, `lambdaFunctionAggregation`, `codeRepositoryAggregation`. @@ -153,4 +173,0 @@ JSON Syntax: ->> sortBy -> (string) ->> ->>> The value to sort by. ->> @@ -159,0 +177,4 @@ JSON Syntax: +>> +>> sortBy -> (string) +>> +>>> The value to sort by. @@ -181,4 +201,0 @@ JSON Syntax: ->> sortBy -> (string) ->> ->>> The value to sort results by. ->> @@ -187,0 +205,4 @@ JSON Syntax: +>> +>> sortBy -> (string) +>> +>>> The value to sort results by. @@ -193 +214 @@ JSON Syntax: ->> architectures -> (list) +>> resourceIds -> (list) @@ -195 +216 @@ JSON Syntax: ->>> The architecture of the containers. +>>> The container resource IDs. @@ -225 +246 @@ JSON Syntax: ->> imageTags -> (list) +>> repositories -> (list) @@ -227 +248 @@ JSON Syntax: ->>> The image tags. +>>> The container repositories. @@ -241,33 +262 @@ JSON Syntax: ->> inUseCount -> (list) ->> ->>> The number of Amazon ECS tasks or Amazon EKS pods where the Amazon ECR container image is in use. ->>> ->>> (structure) ->>> ->>>> An object that describes the details of a number filter. ->>>> ->>>> lowerInclusive -> (double) ->>>> ->>>>> The lowest number to be included in the filter. ->>>> ->>>> upperInclusive -> (double) ->>>> ->>>>> The highest number to be included in the filter. ->> ->> lastInUseAt -> (list) ->> ->>> The last time an Amazon ECR image was used in an Amazon ECS task or Amazon EKS pod. ->>> ->>> (structure) ->>> ->>>> Contains details on the time range used to filter findings. ->>>> ->>>> endInclusive -> (timestamp) ->>>> ->>>>> A timestamp representing the end of the time period filtered on. ->>>> ->>>> startInclusive -> (timestamp) ->>>> ->>>>> A timestamp representing the start of the time period filtered on. ->> ->> repositories -> (list) +>> architectures -> (list) @@ -275 +264 @@ JSON Syntax: ->>> The container repositories. +>>> The architecture of the containers. @@ -289 +278 @@ JSON Syntax: ->> resourceIds -> (list) +>> imageTags -> (list) @@ -291 +280 @@ JSON Syntax: ->>> The container resource IDs. +>>> The image tags. @@ -305,4 +293,0 @@ JSON Syntax: ->> sortBy -> (string) ->> ->>> The value to sort by. ->> @@ -312,4 +296,0 @@ JSON Syntax: -> -> codeRepositoryAggregation -> (structure) -> ->> An object that contains details about an aggregation request based on code repositories. @@ -317 +298 @@ JSON Syntax: ->> projectNames -> (list) +>> sortBy -> (string) @@ -319 +300,5 @@ JSON Syntax: ->>> The project names to include in the aggregation results. +>>> The value to sort by. +>> +>> lastInUseAt -> (list) +>> +>>> The last time an Amazon ECR image was used in an Amazon ECS task or Amazon EKS pod. @@ -323 +308 @@ JSON Syntax: ->>>> An object that describes the details of a string filter. +>>>> Contains details on the time range used to filter findings. @@ -325 +310 @@ JSON Syntax: ->>>> comparison -> (string) +>>>> startInclusive -> (timestamp) @@ -327 +312 @@ JSON Syntax: ->>>>> The operator to use when comparing values in the filter. +>>>>> A timestamp representing the start of the time period filtered on. @@ -329 +314 @@ JSON Syntax: ->>>> value -> (string) +>>>> endInclusive -> (timestamp) @@ -331 +316 @@ JSON Syntax: ->>>>> The value to filter on. +>>>>> A timestamp representing the end of the time period filtered on. @@ -333 +318 @@ JSON Syntax: ->> providerTypes -> (list) +>> inUseCount -> (list) @@ -335 +320 @@ JSON Syntax: ->>> The repository provider types to include in the aggregation results. +>>> The number of Amazon ECS tasks or Amazon EKS pods where the Amazon ECR container image is in use. @@ -339 +324 @@ JSON Syntax: ->>>> An object that describes the details of a string filter. +>>>> An object that describes the details of a number filter. @@ -341 +326 @@ JSON Syntax: ->>>> comparison -> (string) +>>>> upperInclusive -> (double) @@ -343 +328 @@ JSON Syntax: ->>>>> The operator to use when comparing values in the filter. +>>>>> The highest number to be included in the filter. @@ -345 +330 @@ JSON Syntax: ->>>> value -> (string) +>>>> lowerInclusive -> (double) @@ -347 +332,5 @@ JSON Syntax: ->>>>> The value to filter on. +>>>>> The lowest number to be included in the filter. +> +> ec2InstanceAggregation -> (structure) +> +>> An object that contains details about an aggregation request based on Amazon EC2 instances. @@ -349 +338 @@ JSON Syntax: ->> resourceIds -> (list) +>> amis -> (list) @@ -351 +340 @@ JSON Syntax: ->>> The resource IDs to include in the aggregation results. +>>> The AMI IDs associated with the Amazon EC2 instances to aggregate findings for. @@ -365,13 +354 @@ JSON Syntax: ->> sortBy -> (string) ->> ->>> The value to sort results by in the code repository aggregation. ->> ->> sortOrder -> (string) ->> ->>> The order to sort results by (ascending or descending) in the code repository aggregation. -> -> ec2InstanceAggregation -> (structure) -> ->> An object that contains details about an aggregation request based on Amazon EC2 instances. ->> ->> amis -> (list) +>> operatingSystems -> (list) @@ -379 +356 @@ JSON Syntax: ->>> The AMI IDs associated with the Amazon EC2 instances to aggregate findings for. +>>> The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples are `ORACLE_LINUX_7` and `ALPINE_LINUX_3_8` . @@ -429 +406 @@ JSON Syntax: ->> operatingSystems -> (list) +>> sortOrder -> (string) @@ -431,13 +408 @@ JSON Syntax: