AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the Inspector2 ListFindingAggregations API operation.

Syntax

Get-INS2FindingAggregationList
-AggregationType <AggregationType>
-AccountId <StringFilter[]>
-AmiAggregation_Ami <StringFilter[]>
-Ec2InstanceAggregation_Ami <StringFilter[]>
-AwsEcrContainerAggregation_Architecture <StringFilter[]>
-AccountAggregation_FindingType <AggregationFindingType>
-FindingTypeAggregation_FindingType <AggregationFindingType>
-AwsEcrContainerAggregation_ImageSha <StringFilter[]>
-AwsEcrContainerAggregation_ImageTag <StringFilter[]>
-Ec2InstanceAggregation_InstanceId <StringFilter[]>
-Ec2InstanceAggregation_InstanceTag <MapFilter[]>
-ImageLayerAggregation_LayerHash <StringFilter[]>
-Ec2InstanceAggregation_OperatingSystem <StringFilter[]>
-PackageAggregation_PackageName <StringFilter[]>
-AwsEcrContainerAggregation_Repository <StringFilter[]>
-ImageLayerAggregation_Repository <StringFilter[]>
-RepositoryAggregation_Repository <StringFilter[]>
-AwsEcrContainerAggregation_ResourceId <StringFilter[]>
-ImageLayerAggregation_ResourceId <StringFilter[]>
-AccountAggregation_ResourceType <AggregationResourceType>
-FindingTypeAggregation_ResourceType <AggregationResourceType>
-TitleAggregation_ResourceType <AggregationResourceType>
-AccountAggregation_SortBy <AccountSortBy>
-AmiAggregation_SortBy <AmiSortBy>
-AwsEcrContainerAggregation_SortBy <AwsEcrContainerSortBy>
-Ec2InstanceAggregation_SortBy <Ec2InstanceSortBy>
-FindingTypeAggregation_SortBy <FindingTypeSortBy>
-ImageLayerAggregation_SortBy <ImageLayerSortBy>
-PackageAggregation_SortBy <PackageSortBy>
-RepositoryAggregation_SortBy <RepositorySortBy>
-TitleAggregation_SortBy <TitleSortBy>
-AccountAggregation_SortOrder <SortOrder>
-AmiAggregation_SortOrder <SortOrder>
-AwsEcrContainerAggregation_SortOrder <SortOrder>
-Ec2InstanceAggregation_SortOrder <SortOrder>
-FindingTypeAggregation_SortOrder <SortOrder>
-ImageLayerAggregation_SortOrder <SortOrder>
-PackageAggregation_SortOrder <SortOrder>
-RepositoryAggregation_SortOrder <SortOrder>
-TitleAggregation_SortOrder <SortOrder>
-TitleAggregation_Title <StringFilter[]>
-TitleAggregation_VulnerabilityId <StringFilter[]>
-MaxResult <Int32>
-NextToken <String>
-Select <String>
-PassThru <SwitchParameter>

Description

Lists aggregated finding data for your environment based on specific criteria.

Parameters

-AccountAggregation_FindingType <AggregationFindingType>
The type of finding.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AccountAggregation_FindingType
-AccountAggregation_ResourceType <AggregationResourceType>
The type of resource.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AccountAggregation_ResourceType
-AccountAggregation_SortBy <AccountSortBy>
The value to sort by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AccountAggregation_SortBy
-AccountAggregation_SortOrder <SortOrder>
The sort order (ascending or descending).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AccountAggregation_SortOrder
-AccountId <StringFilter[]>
The Amazon Web Services account IDs to retrieve finding aggregation data for.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAccountIds
-AggregationType <AggregationType>
The type of the aggregation request.
Required?True
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-AmiAggregation_Ami <StringFilter[]>
The IDs of AMIs to aggregate findings for.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AmiAggregation_Amis
-AmiAggregation_SortBy <AmiSortBy>
The value to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AmiAggregation_SortBy
-AmiAggregation_SortOrder <SortOrder>
The order to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AmiAggregation_SortOrder
-AwsEcrContainerAggregation_Architecture <StringFilter[]>
The architecture of the containers.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AwsEcrContainerAggregation_Architectures
-AwsEcrContainerAggregation_ImageSha <StringFilter[]>
The image SHA values.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AwsEcrContainerAggregation_ImageShas
-AwsEcrContainerAggregation_ImageTag <StringFilter[]>
The image tags.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AwsEcrContainerAggregation_ImageTags
-AwsEcrContainerAggregation_Repository <StringFilter[]>
The container repositories.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AwsEcrContainerAggregation_Repositories
-AwsEcrContainerAggregation_ResourceId <StringFilter[]>
The container resource IDs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AwsEcrContainerAggregation_ResourceIds
-AwsEcrContainerAggregation_SortBy <AwsEcrContainerSortBy>
The value to sort by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AwsEcrContainerAggregation_SortBy
-AwsEcrContainerAggregation_SortOrder <SortOrder>
The sort order (ascending or descending).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_AwsEcrContainerAggregation_SortOrder
-Ec2InstanceAggregation_Ami <StringFilter[]>
The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_Ec2InstanceAggregation_Amis
-Ec2InstanceAggregation_InstanceId <StringFilter[]>
The Amazon EC2 instance IDs to aggregate findings for.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_Ec2InstanceAggregation_InstanceIds
-Ec2InstanceAggregation_InstanceTag <MapFilter[]>
The Amazon EC2 instance tags to aggregate findings for.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_Ec2InstanceAggregation_InstanceTags
-Ec2InstanceAggregation_OperatingSystem <StringFilter[]>
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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_Ec2InstanceAggregation_OperatingSystems
-Ec2InstanceAggregation_SortBy <Ec2InstanceSortBy>
The value to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_Ec2InstanceAggregation_SortBy
-Ec2InstanceAggregation_SortOrder <SortOrder>
The order to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_Ec2InstanceAggregation_SortOrder
-FindingTypeAggregation_FindingType <AggregationFindingType>
The finding type to aggregate.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_FindingTypeAggregation_FindingType
-FindingTypeAggregation_ResourceType <AggregationResourceType>
The resource type to aggregate.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_FindingTypeAggregation_ResourceType
-FindingTypeAggregation_SortBy <FindingTypeSortBy>
The value to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_FindingTypeAggregation_SortBy
-FindingTypeAggregation_SortOrder <SortOrder>
The order to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_FindingTypeAggregation_SortOrder
-ImageLayerAggregation_LayerHash <StringFilter[]>
The hashes associated with the layers.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_ImageLayerAggregation_LayerHashes
-ImageLayerAggregation_Repository <StringFilter[]>
The repository associated with the container image hosting the layers.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_ImageLayerAggregation_Repositories
-ImageLayerAggregation_ResourceId <StringFilter[]>
The ID of the container image layer.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_ImageLayerAggregation_ResourceIds
-ImageLayerAggregation_SortBy <ImageLayerSortBy>
The value to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_ImageLayerAggregation_SortBy
-ImageLayerAggregation_SortOrder <SortOrder>
The order to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_ImageLayerAggregation_SortOrder
-MaxResult <Int32>
The maximum number of results to return in the response.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesMaxResults
-NextToken <String>
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PackageAggregation_PackageName <StringFilter[]>
The names of packages to aggregate findings on.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_PackageAggregation_PackageNames
-PackageAggregation_SortBy <PackageSortBy>
The value to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_PackageAggregation_SortBy
-PackageAggregation_SortOrder <SortOrder>
The order to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_PackageAggregation_SortOrder
-PassThru <SwitchParameter>
Changes the cmdlet behavior to return the value passed to the AggregationType parameter. The -PassThru parameter is deprecated, use -Select '^AggregationType' instead. This parameter will be removed in a future version.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-RepositoryAggregation_Repository <StringFilter[]>
The names of repositories to aggregate findings on.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_RepositoryAggregation_Repositories
-RepositoryAggregation_SortBy <RepositorySortBy>
The value to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_RepositoryAggregation_SortBy
-RepositoryAggregation_SortOrder <SortOrder>
The order to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_RepositoryAggregation_SortOrder
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is '*'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Inspector2.Model.ListFindingAggregationsResponse). Specifying the name of a property of type Amazon.Inspector2.Model.ListFindingAggregationsResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-TitleAggregation_ResourceType <AggregationResourceType>
The resource type to aggregate on.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_TitleAggregation_ResourceType
-TitleAggregation_SortBy <TitleSortBy>
The value to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_TitleAggregation_SortBy
-TitleAggregation_SortOrder <SortOrder>
The order to sort results by.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_TitleAggregation_SortOrder
-TitleAggregation_Title <StringFilter[]>
The finding titles to aggregate on.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_TitleAggregation_Titles
-TitleAggregation_VulnerabilityId <StringFilter[]>
The vulnerability IDs of the findings.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAggregationRequest_TitleAggregation_VulnerabilityIds

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns an Amazon.Inspector2.Model.ListFindingAggregationsResponse object containing multiple properties. The object can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.

Supported Version

AWS Tools for PowerShell: 2.x.y.z