CoverageFilterCriteria - Inspector

CoverageFilterCriteria

A structure that identifies filter criteria for GetCoverageStatistics.

Contents

accountId

An array of AWS account IDs to return coverage statistics for.

Type: Array of CoverageStringFilter objects

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

Required: No

ec2InstanceTags

The Amazon EC2 instance tags to filter on.

Type: Array of CoverageMapFilter objects

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

Required: No

ecrImageTags

The Amazon ECR image tags to filter on.

Type: Array of CoverageStringFilter objects

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

Required: No

ecrRepositoryName

The Amazon ECR repository name to filter on.

Type: Array of CoverageStringFilter objects

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

Required: No

imagePulledAt

The date an image was last pulled at.

Type: Array of CoverageDateFilter objects

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

Required: No

lambdaFunctionName

Returns coverage statistics for AWS Lambda functions filtered by function names.

Type: Array of CoverageStringFilter objects

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

Required: No

lambdaFunctionRuntime

Returns coverage statistics for AWS Lambda functions filtered by runtime.

Type: Array of CoverageStringFilter objects

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

Required: No

lambdaFunctionTags

Returns coverage statistics for AWS Lambda functions filtered by tag.

Type: Array of CoverageMapFilter objects

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

Required: No

lastScannedAt

Filters AWS resources based on whether Amazon Inspector has checked them for vulnerabilities within the specified time range.

Type: Array of CoverageDateFilter objects

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

Required: No

resourceId

An array of AWS resource IDs to return coverage statistics for.

Type: Array of CoverageStringFilter objects

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

Required: No

resourceType

An array of AWS resource types to return coverage statistics for. The values can be AWS_EC2_INSTANCE, AWS_LAMBDA_FUNCTION, AWS_ECR_CONTAINER_IMAGE, AWS_ECR_REPOSITORY or AWS_ACCOUNT.

Type: Array of CoverageStringFilter objects

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

Required: No

scanMode

The filter to search for Amazon EC2 instance coverage by scan mode. Valid values are EC2_SSM_AGENT_BASED and EC2_AGENTLESS.

Type: Array of CoverageStringFilter objects

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

Required: No

scanStatusCode

The scan status code to filter on. Valid values are: ValidationException, InternalServerException, ResourceNotFoundException, BadRequestException, and ThrottlingException.

Type: Array of CoverageStringFilter objects

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

Required: No

scanStatusReason

The scan status reason to filter on.

Type: Array of CoverageStringFilter objects

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

Required: No

scanType

An array of Amazon Inspector scan types to return coverage statistics for.

Type: Array of CoverageStringFilter objects

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

Required: No

See Also

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