amazonka-inspector2-2.0: Amazon Inspector2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Inspector2.Lens

Contents

Description

 
Synopsis

Operations

AssociateMember

associateMember_accountId :: Lens' AssociateMember Text Source #

The Amazon Web Services account ID of the member account to be associated.

associateMemberResponse_accountId :: Lens' AssociateMemberResponse Text Source #

The Amazon Web Services account ID of the successfully associated member account.

BatchGetAccountStatus

batchGetAccountStatus_accountIds :: Lens' BatchGetAccountStatus (Maybe [Text]) Source #

The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.

batchGetAccountStatusResponse_failedAccounts :: Lens' BatchGetAccountStatusResponse (Maybe [FailedAccount]) Source #

An array of objects detailing any accounts that failed to enable Amazon Inspector and why.

batchGetAccountStatusResponse_accounts :: Lens' BatchGetAccountStatusResponse [AccountState] Source #

An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.

BatchGetFreeTrialInfo

batchGetFreeTrialInfo_accountIds :: Lens' BatchGetFreeTrialInfo (NonEmpty Text) Source #

The account IDs to get free trial status for.

batchGetFreeTrialInfoResponse_accounts :: Lens' BatchGetFreeTrialInfoResponse [FreeTrialAccountInfo] Source #

An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.

batchGetFreeTrialInfoResponse_failedAccounts :: Lens' BatchGetFreeTrialInfoResponse [FreeTrialInfoError] Source #

An array of objects detailing any accounts that free trial data could not be returned for.

CancelFindingsReport

cancelFindingsReport_reportId :: Lens' CancelFindingsReport Text Source #

The ID of the report to be canceled.

CreateFilter

createFilter_description :: Lens' CreateFilter (Maybe Text) Source #

A description of the filter.

createFilter_reason :: Lens' CreateFilter (Maybe Text) Source #

The reason for creating the filter.

createFilter_tags :: Lens' CreateFilter (Maybe (HashMap Text Text)) Source #

A list of tags for the filter.

createFilter_action :: Lens' CreateFilter FilterAction Source #

Defines the action that is to be applied to the findings that match the filter.

createFilter_filterCriteria :: Lens' CreateFilter FilterCriteria Source #

Defines the criteria to be used in the filter for querying findings.

createFilter_name :: Lens' CreateFilter Text Source #

The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.

createFilterResponse_arn :: Lens' CreateFilterResponse Text Source #

The Amazon Resource Number (ARN) of the successfully created filter.

CreateFindingsReport

createFindingsReport_filterCriteria :: Lens' CreateFindingsReport (Maybe FilterCriteria) Source #

The filter criteria to apply to the results of the finding report.

createFindingsReport_s3Destination :: Lens' CreateFindingsReport Destination Source #

The Amazon S3 export destination for the report.

DeleteFilter

deleteFilter_arn :: Lens' DeleteFilter Text Source #

The Amazon Resource Number (ARN) of the filter to be deleted.

deleteFilterResponse_arn :: Lens' DeleteFilterResponse Text Source #

The Amazon Resource Number (ARN) of the filter that has been deleted.

DescribeOrganizationConfiguration

describeOrganizationConfigurationResponse_autoEnable :: Lens' DescribeOrganizationConfigurationResponse (Maybe AutoEnable) Source #

The scan types are automatically enabled for new members of your organization.

describeOrganizationConfigurationResponse_maxAccountLimitReached :: Lens' DescribeOrganizationConfigurationResponse (Maybe Bool) Source #

Represents whether your organization has reached the maximum Amazon Web Services account limit for Amazon Inspector.

Disable

disable_accountIds :: Lens' Disable (Maybe [Text]) Source #

An array of account IDs you want to disable Amazon Inspector scans for.

disable_resourceTypes :: Lens' Disable (Maybe [ResourceScanType]) Source #

The resource scan types you want to disable.

disableResponse_failedAccounts :: Lens' DisableResponse (Maybe [FailedAccount]) Source #

Information on any accounts for which Amazon Inspector scans could not be disabled. Details are provided for each account.

disableResponse_httpStatus :: Lens' DisableResponse Int Source #

The response's http status code.

disableResponse_accounts :: Lens' DisableResponse [Account] Source #

Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are provided for each account.

DisableDelegatedAdminAccount

disableDelegatedAdminAccount_delegatedAdminAccountId :: Lens' DisableDelegatedAdminAccount Text Source #

The Amazon Web Services account ID of the current Amazon Inspector delegated administrator.

disableDelegatedAdminAccountResponse_delegatedAdminAccountId :: Lens' DisableDelegatedAdminAccountResponse Text Source #

The Amazon Web Services account ID of the successfully disabled delegated administrator.

DisassociateMember

disassociateMember_accountId :: Lens' DisassociateMember Text Source #

The Amazon Web Services account ID of the member account to disassociate.

disassociateMemberResponse_accountId :: Lens' DisassociateMemberResponse Text Source #

The Amazon Web Services account ID of the successfully disassociated member.

Enable

enable_accountIds :: Lens' Enable (Maybe [Text]) Source #

A list of account IDs you want to enable Amazon Inspector scans for.

enable_clientToken :: Lens' Enable (Maybe Text) Source #

The idempotency token for the request.

enable_resourceTypes :: Lens' Enable (NonEmpty ResourceScanType) Source #

The resource scan types you want to enable.

enableResponse_failedAccounts :: Lens' EnableResponse (Maybe [FailedAccount]) Source #

Information on any accounts for which Amazon Inspector scans could not be enabled. Details are provided for each account.

enableResponse_httpStatus :: Lens' EnableResponse Int Source #

The response's http status code.

enableResponse_accounts :: Lens' EnableResponse [Account] Source #

Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are provided for each account.

EnableDelegatedAdminAccount

enableDelegatedAdminAccount_delegatedAdminAccountId :: Lens' EnableDelegatedAdminAccount Text Source #

The Amazon Web Services account ID of the Amazon Inspector delegated administrator.

enableDelegatedAdminAccountResponse_delegatedAdminAccountId :: Lens' EnableDelegatedAdminAccountResponse Text Source #

The Amazon Web Services account ID of the successfully Amazon Inspector delegated administrator.

GetConfiguration

getConfigurationResponse_ecrConfiguration :: Lens' GetConfigurationResponse (Maybe EcrConfigurationState) Source #

Specifies how the ECR automated re-scan duration is currently configured for your environment.

GetDelegatedAdminAccount

getDelegatedAdminAccountResponse_delegatedAdmin :: Lens' GetDelegatedAdminAccountResponse (Maybe DelegatedAdmin) Source #

The Amazon Web Services account ID of the Amazon Inspector delegated administrator.

GetFindingsReportStatus

getFindingsReportStatus_reportId :: Lens' GetFindingsReportStatus (Maybe Text) Source #

The ID of the report to retrieve the status of.

GetMember

getMember_accountId :: Lens' GetMember Text Source #

The Amazon Web Services account ID of the member account to retrieve information on.

getMemberResponse_member :: Lens' GetMemberResponse (Maybe Member) Source #

Details of the retrieved member account.

getMemberResponse_httpStatus :: Lens' GetMemberResponse Int Source #

The response's http status code.

ListAccountPermissions

listAccountPermissions_maxResults :: Lens' ListAccountPermissions (Maybe Natural) Source #

The maximum number of results to return in the response.

listAccountPermissions_nextToken :: Lens' ListAccountPermissions (Maybe Text) Source #

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.

listAccountPermissions_service :: Lens' ListAccountPermissions (Maybe Service) Source #

The service scan type to check permissions for.

listAccountPermissionsResponse_nextToken :: Lens' ListAccountPermissionsResponse (Maybe Text) Source #

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.

listAccountPermissionsResponse_permissions :: Lens' ListAccountPermissionsResponse [Permission] Source #

Contains details on the permissions an account has to configure Amazon Inspector.

ListCoverage

listCoverage_filterCriteria :: Lens' ListCoverage (Maybe CoverageFilterCriteria) Source #

An object that contains details on the filters to apply to the coverage data for your environment.

listCoverage_maxResults :: Lens' ListCoverage (Maybe Natural) Source #

The maximum number of results to return in the response.

listCoverage_nextToken :: Lens' ListCoverage (Maybe Text) Source #

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.

listCoverageResponse_coveredResources :: Lens' ListCoverageResponse (Maybe [CoveredResource]) Source #

An object that contains details on the covered resources in your environment.

listCoverageResponse_nextToken :: Lens' ListCoverageResponse (Maybe Text) Source #

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.

ListCoverageStatistics

listCoverageStatistics_filterCriteria :: Lens' ListCoverageStatistics (Maybe CoverageFilterCriteria) Source #

An object that contains details on the filters to apply to the coverage data for your environment.

listCoverageStatistics_nextToken :: Lens' ListCoverageStatistics (Maybe Text) Source #

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.

listCoverageStatisticsResponse_nextToken :: Lens' ListCoverageStatisticsResponse (Maybe Text) Source #

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.

ListDelegatedAdminAccounts

listDelegatedAdminAccounts_maxResults :: Lens' ListDelegatedAdminAccounts (Maybe Natural) Source #

The maximum number of results to return in the response.

listDelegatedAdminAccounts_nextToken :: Lens' ListDelegatedAdminAccounts (Maybe Text) Source #

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.

listDelegatedAdminAccountsResponse_delegatedAdminAccounts :: Lens' ListDelegatedAdminAccountsResponse (Maybe [DelegatedAdminAccount]) Source #

Details of the Amazon Inspector delegated administrator of your organization.

listDelegatedAdminAccountsResponse_nextToken :: Lens' ListDelegatedAdminAccountsResponse (Maybe Text) Source #

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.

ListFilters

listFilters_action :: Lens' ListFilters (Maybe FilterAction) Source #

The action the filter applies to matched findings.

listFilters_arns :: Lens' ListFilters (Maybe [Text]) Source #

The Amazon resource number (ARN) of the filter.

listFilters_maxResults :: Lens' ListFilters (Maybe Natural) Source #

The maximum number of results to return in the response.

listFilters_nextToken :: Lens' ListFilters (Maybe Text) Source #

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.

listFiltersResponse_nextToken :: Lens' ListFiltersResponse (Maybe Text) Source #

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.

listFiltersResponse_filters :: Lens' ListFiltersResponse [Filter] Source #

Contains details on the filters associated with your account.

ListFindingAggregations

listFindingAggregations_accountIds :: Lens' ListFindingAggregations (Maybe (NonEmpty StringFilter)) Source #

The Amazon Web Services account IDs to retrieve finding aggregation data for.

listFindingAggregations_aggregationRequest :: Lens' ListFindingAggregations (Maybe AggregationRequest) Source #

Details of the aggregation request that is used to filter your aggregation results.

listFindingAggregations_maxResults :: Lens' ListFindingAggregations (Maybe Natural) Source #

The maximum number of results to return in the response.

listFindingAggregations_nextToken :: Lens' ListFindingAggregations (Maybe Text) Source #

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.

listFindingAggregationsResponse_nextToken :: Lens' ListFindingAggregationsResponse (Maybe Text) Source #

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.

listFindingAggregationsResponse_responses :: Lens' ListFindingAggregationsResponse (Maybe [AggregationResponse]) Source #

Objects that contain the results of an aggregation operation.

ListFindings

listFindings_filterCriteria :: Lens' ListFindings (Maybe FilterCriteria) Source #

Details on the filters to apply to your finding results.

listFindings_maxResults :: Lens' ListFindings (Maybe Natural) Source #

The maximum number of results to return in the response.

listFindings_nextToken :: Lens' ListFindings (Maybe Text) Source #

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.

listFindings_sortCriteria :: Lens' ListFindings (Maybe SortCriteria) Source #

Details on the sort criteria to apply to your finding results.

listFindingsResponse_findings :: Lens' ListFindingsResponse (Maybe [Finding]) Source #

Contains details on the findings in your environment.

listFindingsResponse_nextToken :: Lens' ListFindingsResponse (Maybe Text) Source #

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.

ListMembers

listMembers_maxResults :: Lens' ListMembers (Maybe Natural) Source #

The maximum number of results to return in the response.

listMembers_nextToken :: Lens' ListMembers (Maybe Text) Source #

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.

listMembers_onlyAssociated :: Lens' ListMembers (Maybe Bool) Source #

Specifies whether to list only currently associated members if True or to list all members within the organization if False.

listMembersResponse_members :: Lens' ListMembersResponse (Maybe [Member]) Source #

An object that contains details for each member account.

listMembersResponse_nextToken :: Lens' ListMembersResponse (Maybe Text) Source #

The pagination parameter to be used on the next list operation to retrieve more items.

ListTagsForResource

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The Amazon resource number (ARN) of the resource to list tags of.

ListUsageTotals

listUsageTotals_accountIds :: Lens' ListUsageTotals (Maybe (NonEmpty Text)) Source #

The Amazon Web Services account IDs to retrieve usage totals for.

listUsageTotals_maxResults :: Lens' ListUsageTotals (Maybe Natural) Source #

The maximum number of results to return in the response.

listUsageTotals_nextToken :: Lens' ListUsageTotals (Maybe Text) Source #

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.

listUsageTotalsResponse_nextToken :: Lens' ListUsageTotalsResponse (Maybe Text) Source #

The pagination parameter to be used on the next list operation to retrieve more items.

listUsageTotalsResponse_totals :: Lens' ListUsageTotalsResponse (Maybe [UsageTotal]) Source #

An object with details on the total usage for the requested account.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the resource to apply a tag to.

tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #

The tags to be added to a resource.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) for the resource to remove tags from.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The tag keys to remove from the resource.

UpdateConfiguration

updateConfiguration_ecrConfiguration :: Lens' UpdateConfiguration EcrConfiguration Source #

Specifies how the ECR automated re-scan will be updated for your environment.

UpdateFilter

updateFilter_action :: Lens' UpdateFilter (Maybe FilterAction) Source #

Specifies the action that is to be applied to the findings that match the filter.

updateFilter_description :: Lens' UpdateFilter (Maybe Text) Source #

A description of the filter.

updateFilter_filterCriteria :: Lens' UpdateFilter (Maybe FilterCriteria) Source #

Defines the criteria to be update in the filter.

updateFilter_name :: Lens' UpdateFilter (Maybe Text) Source #

The name of the filter.

updateFilter_reason :: Lens' UpdateFilter (Maybe Text) Source #

The reason the filter was updated.

updateFilter_filterArn :: Lens' UpdateFilter Text Source #

The Amazon Resource Number (ARN) of the filter to update.

updateFilterResponse_arn :: Lens' UpdateFilterResponse Text Source #

The Amazon Resource Number (ARN) of the successfully updated filter.

UpdateOrganizationConfiguration

updateOrganizationConfiguration_autoEnable :: Lens' UpdateOrganizationConfiguration AutoEnable Source #

Defines which scan types are enabled automatically for new members of your Amazon Inspector organization.

updateOrganizationConfigurationResponse_autoEnable :: Lens' UpdateOrganizationConfigurationResponse AutoEnable Source #

The updated status of scan types automatically enabled for new members of your Amazon Inspector organization.

Types

Account

account_accountId :: Lens' Account Text Source #

The ID of the Amazon Web Services account.

account_resourceStatus :: Lens' Account ResourceStatus Source #

Details of the status of Amazon Inspector scans by resource type.

account_status :: Lens' Account Status Source #

The status of Amazon Inspector for the account.

AccountAggregation

accountAggregation_sortOrder :: Lens' AccountAggregation (Maybe SortOrder) Source #

The sort order (ascending or descending).

AccountAggregationResponse

AccountState

accountState_accountId :: Lens' AccountState Text Source #

The Amazon Web Services account ID.

accountState_resourceState :: Lens' AccountState ResourceState Source #

An object detailing which resources Amazon Inspector is enabled to scan for the account.

accountState_state :: Lens' AccountState State Source #

An object detailing the status of Amazon Inspector for the account.

AggregationRequest

aggregationRequest_accountAggregation :: Lens' AggregationRequest (Maybe AccountAggregation) Source #

An object that contains details about an aggregation request based on Amazon Web Services account IDs.

aggregationRequest_amiAggregation :: Lens' AggregationRequest (Maybe AmiAggregation) Source #

An object that contains details about an aggregation request based on Amazon Machine Images (AMIs).

aggregationRequest_awsEcrContainerAggregation :: Lens' AggregationRequest (Maybe AwsEcrContainerAggregation) Source #

An object that contains details about an aggregation request based on Amazon ECR container images.

aggregationRequest_ec2InstanceAggregation :: Lens' AggregationRequest (Maybe Ec2InstanceAggregation) Source #

An object that contains details about an aggregation request based on Amazon EC2 instances.

aggregationRequest_findingTypeAggregation :: Lens' AggregationRequest (Maybe FindingTypeAggregation) Source #

An object that contains details about an aggregation request based on finding types.

aggregationRequest_imageLayerAggregation :: Lens' AggregationRequest (Maybe ImageLayerAggregation) Source #

An object that contains details about an aggregation request based on container image layers.

aggregationRequest_lambdaFunctionAggregation :: Lens' AggregationRequest (Maybe LambdaFunctionAggregation) Source #

Returns an object with findings aggregated by AWS Lambda function.

aggregationRequest_lambdaLayerAggregation :: Lens' AggregationRequest (Maybe LambdaLayerAggregation) Source #

Returns an object with findings aggregated by AWS Lambda layer.

aggregationRequest_packageAggregation :: Lens' AggregationRequest (Maybe PackageAggregation) Source #

An object that contains details about an aggregation request based on operating system package type.

aggregationRequest_repositoryAggregation :: Lens' AggregationRequest (Maybe RepositoryAggregation) Source #

An object that contains details about an aggregation request based on Amazon ECR repositories.

aggregationRequest_titleAggregation :: Lens' AggregationRequest (Maybe TitleAggregation) Source #

An object that contains details about an aggregation request based on finding title.

AggregationResponse

aggregationResponse_accountAggregation :: Lens' AggregationResponse (Maybe AccountAggregationResponse) Source #

An object that contains details about an aggregation response based on Amazon Web Services account IDs.

aggregationResponse_amiAggregation :: Lens' AggregationResponse (Maybe AmiAggregationResponse) Source #

An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).

aggregationResponse_awsEcrContainerAggregation :: Lens' AggregationResponse (Maybe AwsEcrContainerAggregationResponse) Source #

An object that contains details about an aggregation response based on Amazon ECR container images.

aggregationResponse_ec2InstanceAggregation :: Lens' AggregationResponse (Maybe Ec2InstanceAggregationResponse) Source #

An object that contains details about an aggregation response based on Amazon EC2 instances.

aggregationResponse_findingTypeAggregation :: Lens' AggregationResponse (Maybe FindingTypeAggregationResponse) Source #

An object that contains details about an aggregation response based on finding types.

aggregationResponse_imageLayerAggregation :: Lens' AggregationResponse (Maybe ImageLayerAggregationResponse) Source #

An object that contains details about an aggregation response based on container image layers.

aggregationResponse_packageAggregation :: Lens' AggregationResponse (Maybe PackageAggregationResponse) Source #

An object that contains details about an aggregation response based on operating system package type.

aggregationResponse_repositoryAggregation :: Lens' AggregationResponse (Maybe RepositoryAggregationResponse) Source #

An object that contains details about an aggregation response based on Amazon ECR repositories.

aggregationResponse_titleAggregation :: Lens' AggregationResponse (Maybe TitleAggregationResponse) Source #

An object that contains details about an aggregation response based on finding title.

AmiAggregation

amiAggregation_amis :: Lens' AmiAggregation (Maybe (NonEmpty StringFilter)) Source #

The IDs of AMIs to aggregate findings for.

AmiAggregationResponse

amiAggregationResponse_accountId :: Lens' AmiAggregationResponse (Maybe Text) Source #

The Amazon Web Services account ID for the AMI.

amiAggregationResponse_affectedInstances :: Lens' AmiAggregationResponse (Maybe Integer) Source #

The IDs of Amazon EC2 instances using this AMI.

amiAggregationResponse_severityCounts :: Lens' AmiAggregationResponse (Maybe SeverityCounts) Source #

An object that contains the count of matched findings per severity.

amiAggregationResponse_ami :: Lens' AmiAggregationResponse Text Source #

The ID of the AMI that findings were aggregated for.

AutoEnable

autoEnable_lambda :: Lens' AutoEnable (Maybe Bool) Source #

Represents whether AWS Lambda scans are automatically enabled for new members of your Amazon Inspector organization.

autoEnable_ec2 :: Lens' AutoEnable Bool Source #

Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.

autoEnable_ecr :: Lens' AutoEnable Bool Source #

Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.

AwsEc2InstanceDetails

awsEc2InstanceDetails_iamInstanceProfileArn :: Lens' AwsEc2InstanceDetails (Maybe Text) Source #

The IAM instance profile ARN of the Amazon EC2 instance.

awsEc2InstanceDetails_imageId :: Lens' AwsEc2InstanceDetails (Maybe Text) Source #

The image ID of the Amazon EC2 instance.

awsEc2InstanceDetails_ipV4Addresses :: Lens' AwsEc2InstanceDetails (Maybe [Text]) Source #

The IPv4 addresses of the Amazon EC2 instance.

awsEc2InstanceDetails_ipV6Addresses :: Lens' AwsEc2InstanceDetails (Maybe [Text]) Source #

The IPv6 addresses of the Amazon EC2 instance.

awsEc2InstanceDetails_keyName :: Lens' AwsEc2InstanceDetails (Maybe Text) Source #

The name of the key pair used to launch the Amazon EC2 instance.

awsEc2InstanceDetails_launchedAt :: Lens' AwsEc2InstanceDetails (Maybe UTCTime) Source #

The date and time the Amazon EC2 instance was launched at.

awsEc2InstanceDetails_platform :: Lens' AwsEc2InstanceDetails (Maybe Text) Source #

The platform of the Amazon EC2 instance.

awsEc2InstanceDetails_subnetId :: Lens' AwsEc2InstanceDetails (Maybe Text) Source #

The subnet ID of the Amazon EC2 instance.

awsEc2InstanceDetails_type :: Lens' AwsEc2InstanceDetails (Maybe Text) Source #

The type of the Amazon EC2 instance.

awsEc2InstanceDetails_vpcId :: Lens' AwsEc2InstanceDetails (Maybe Text) Source #

The VPC ID of the Amazon EC2 instance.

AwsEcrContainerAggregation

AwsEcrContainerAggregationResponse

awsEcrContainerAggregationResponse_accountId :: Lens' AwsEcrContainerAggregationResponse (Maybe Text) Source #

The Amazon Web Services account ID of the account that owns the container.

AwsEcrContainerImageDetails

awsEcrContainerImageDetails_architecture :: Lens' AwsEcrContainerImageDetails (Maybe Text) Source #

The architecture of the Amazon ECR container image.

awsEcrContainerImageDetails_author :: Lens' AwsEcrContainerImageDetails (Maybe Text) Source #

The image author of the Amazon ECR container image.

awsEcrContainerImageDetails_imageTags :: Lens' AwsEcrContainerImageDetails (Maybe [Text]) Source #

The image tags attached to the Amazon ECR container image.

awsEcrContainerImageDetails_platform :: Lens' AwsEcrContainerImageDetails (Maybe Text) Source #

The platform of the Amazon ECR container image.

awsEcrContainerImageDetails_pushedAt :: Lens' AwsEcrContainerImageDetails (Maybe UTCTime) Source #

The date and time the Amazon ECR container image was pushed.

awsEcrContainerImageDetails_imageHash :: Lens' AwsEcrContainerImageDetails Text Source #

The image hash of the Amazon ECR container image.

awsEcrContainerImageDetails_registry :: Lens' AwsEcrContainerImageDetails Text Source #

The registry for the Amazon ECR container image.

awsEcrContainerImageDetails_repositoryName :: Lens' AwsEcrContainerImageDetails Text Source #

The name of the repository the Amazon ECR container image resides in.

AwsLambdaFunctionDetails

awsLambdaFunctionDetails_architectures :: Lens' AwsLambdaFunctionDetails (Maybe (NonEmpty Architecture)) Source #

The instruction set architecture that the AWS Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.

awsLambdaFunctionDetails_lastModifiedAt :: Lens' AwsLambdaFunctionDetails (Maybe UTCTime) Source #

The date and time that a user last updated the configuration, in ISO 8601 format

awsLambdaFunctionDetails_layers :: Lens' AwsLambdaFunctionDetails (Maybe (NonEmpty Text)) Source #

The AWS Lambda function's layers. A Lambda function can have up to five layers.

awsLambdaFunctionDetails_packageType :: Lens' AwsLambdaFunctionDetails (Maybe PackageType) Source #

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

awsLambdaFunctionDetails_vpcConfig :: Lens' AwsLambdaFunctionDetails (Maybe LambdaVpcConfig) Source #

The AWS Lambda function's networking configuration.

awsLambdaFunctionDetails_codeSha256 :: Lens' AwsLambdaFunctionDetails Text Source #

The SHA256 hash of the AWS Lambda function's deployment package.

awsLambdaFunctionDetails_runtime :: Lens' AwsLambdaFunctionDetails Runtime Source #

The runtime environment for the AWS Lambda function.

Counts

counts_count :: Lens' Counts (Maybe Integer) Source #

The number of resources.

counts_groupKey :: Lens' Counts (Maybe GroupKey) Source #

The key associated with this group

CoverageFilterCriteria

coverageFilterCriteria_accountId :: Lens' CoverageFilterCriteria (Maybe (NonEmpty CoverageStringFilter)) Source #

An array of Amazon Web Services account IDs to return coverage statistics for.

coverageFilterCriteria_lambdaFunctionName :: Lens' CoverageFilterCriteria (Maybe (NonEmpty CoverageStringFilter)) Source #

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

coverageFilterCriteria_lambdaFunctionRuntime :: Lens' CoverageFilterCriteria (Maybe (NonEmpty CoverageStringFilter)) Source #

Returns coverage statistics for AWS Lambda functions filtered by runtime.

coverageFilterCriteria_lambdaFunctionTags :: Lens' CoverageFilterCriteria (Maybe (NonEmpty CoverageMapFilter)) Source #

Returns coverage statistics for AWS Lambda functions filtered by tag.

coverageFilterCriteria_resourceId :: Lens' CoverageFilterCriteria (Maybe (NonEmpty CoverageStringFilter)) Source #

An array of Amazon Web Services resource IDs to return coverage statistics for.

coverageFilterCriteria_resourceType :: Lens' CoverageFilterCriteria (Maybe (NonEmpty CoverageStringFilter)) Source #

An array of Amazon Web Services resource types to return coverage statistics for. The values can be AWS_EC2_INSTANCE or AWS_ECR_REPOSITORY.

coverageFilterCriteria_scanType :: Lens' CoverageFilterCriteria (Maybe (NonEmpty CoverageStringFilter)) Source #

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

CoverageMapFilter

coverageMapFilter_value :: Lens' CoverageMapFilter (Maybe Text) Source #

The tag value associated with the coverage map filter.

coverageMapFilter_key :: Lens' CoverageMapFilter Text Source #

The tag key associated with the coverage map filter.

CoverageStringFilter

CoveredResource

coveredResource_resourceMetadata :: Lens' CoveredResource (Maybe ResourceScanMetadata) Source #

An object that contains details about the metadata.

coveredResource_scanStatus :: Lens' CoveredResource (Maybe ScanStatus) Source #

The status of the scan covering the resource.

coveredResource_accountId :: Lens' CoveredResource Text Source #

The Amazon Web Services account ID of the covered resource.

coveredResource_resourceId :: Lens' CoveredResource Text Source #

The ID of the covered resource.

coveredResource_scanType :: Lens' CoveredResource ScanType Source #

The Amazon Inspector scan type covering the resource.

CvssScore

cvssScore_baseScore :: Lens' CvssScore Double Source #

The base CVSS score used for the finding.

cvssScore_scoringVector :: Lens' CvssScore Text Source #

The vector string of the CVSS score.

cvssScore_source :: Lens' CvssScore Text Source #

The source of the CVSS score.

cvssScore_version :: Lens' CvssScore Text Source #

The version of CVSS used for the score.

CvssScoreAdjustment

cvssScoreAdjustment_metric :: Lens' CvssScoreAdjustment Text Source #

The metric used to adjust the CVSS score.

cvssScoreAdjustment_reason :: Lens' CvssScoreAdjustment Text Source #

The reason the CVSS score has been adjustment.

CvssScoreDetails

cvssScoreDetails_adjustments :: Lens' CvssScoreDetails (Maybe [CvssScoreAdjustment]) Source #

An object that contains details about adjustment Amazon Inspector made to the CVSS score.

cvssScoreDetails_version :: Lens' CvssScoreDetails Text Source #

The CVSS version used in scoring.

DateFilter

dateFilter_endInclusive :: Lens' DateFilter (Maybe UTCTime) Source #

A timestamp representing the end of the time period filtered on.

dateFilter_startInclusive :: Lens' DateFilter (Maybe UTCTime) Source #

A timestamp representing the start of the time period filtered on.

DelegatedAdmin

delegatedAdmin_accountId :: Lens' DelegatedAdmin (Maybe Text) Source #

The Amazon Web Services account ID of the Amazon Inspector delegated administrator for your organization.

delegatedAdmin_relationshipStatus :: Lens' DelegatedAdmin (Maybe RelationshipStatus) Source #

The status of the Amazon Inspector delegated administrator.

DelegatedAdminAccount

delegatedAdminAccount_accountId :: Lens' DelegatedAdminAccount (Maybe Text) Source #

The Amazon Web Services account ID of the Amazon Inspector delegated administrator for your organization.

delegatedAdminAccount_status :: Lens' DelegatedAdminAccount (Maybe DelegatedAdminStatus) Source #

The status of the Amazon Inspector delegated administrator.

Destination

destination_keyPrefix :: Lens' Destination (Maybe Text) Source #

The prefix of the KMS key used to export findings.

destination_bucketName :: Lens' Destination Text Source #

The name of the Amazon S3 bucket to export findings to.

destination_kmsKeyArn :: Lens' Destination Text Source #

The ARN of the KMS key used to encrypt data when exporting findings.

Ec2InstanceAggregation

ec2InstanceAggregation_amis :: Lens' Ec2InstanceAggregation (Maybe (NonEmpty StringFilter)) Source #

The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.

ec2InstanceAggregation_instanceIds :: Lens' Ec2InstanceAggregation (Maybe (NonEmpty StringFilter)) Source #

The Amazon EC2 instance IDs to aggregate findings for.

ec2InstanceAggregation_instanceTags :: Lens' Ec2InstanceAggregation (Maybe (NonEmpty MapFilter)) Source #

The Amazon EC2 instance tags to aggregate findings for.

ec2InstanceAggregation_operatingSystems :: Lens' Ec2InstanceAggregation (Maybe (NonEmpty StringFilter)) Source #

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.

Ec2InstanceAggregationResponse

ec2InstanceAggregationResponse_accountId :: Lens' Ec2InstanceAggregationResponse (Maybe Text) Source #

The Amazon Web Services account for the Amazon EC2 instance.

ec2InstanceAggregationResponse_ami :: Lens' Ec2InstanceAggregationResponse (Maybe Text) Source #

The Amazon Machine Image (AMI) of the Amazon EC2 instance.

ec2InstanceAggregationResponse_networkFindings :: Lens' Ec2InstanceAggregationResponse (Maybe Integer) Source #

The number of network findings for the Amazon EC2 instance.

ec2InstanceAggregationResponse_severityCounts :: Lens' Ec2InstanceAggregationResponse (Maybe SeverityCounts) Source #

An object that contains the count of matched findings per severity.

Ec2Metadata

ec2Metadata_amiId :: Lens' Ec2Metadata (Maybe Text) Source #

The ID of the Amazon Machine Image (AMI) used to launch the instance.

ec2Metadata_platform :: Lens' Ec2Metadata (Maybe Ec2Platform) Source #

The platform of the instance.

ec2Metadata_tags :: Lens' Ec2Metadata (Maybe (HashMap Text Text)) Source #

The tags attached to the instance.

EcrConfiguration

ecrConfiguration_rescanDuration :: Lens' EcrConfiguration EcrRescanDuration Source #

The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.

EcrConfigurationState

ecrConfigurationState_rescanDurationState :: Lens' EcrConfigurationState (Maybe EcrRescanDurationState) Source #

An object that contains details about the state of the ECR automated re-scan setting.

EcrContainerImageMetadata

ecrContainerImageMetadata_tags :: Lens' EcrContainerImageMetadata (Maybe [Text]) Source #

Tags associated with the Amazon ECR image metadata.

EcrRepositoryMetadata

ecrRepositoryMetadata_name :: Lens' EcrRepositoryMetadata (Maybe Text) Source #

The name of the Amazon ECR repository.

EcrRescanDurationState

ecrRescanDurationState_rescanDuration :: Lens' EcrRescanDurationState (Maybe EcrRescanDuration) Source #

The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.

ecrRescanDurationState_status :: Lens' EcrRescanDurationState (Maybe EcrRescanDurationStatus) Source #

The status of changes to the ECR automated re-scan duration.

ecrRescanDurationState_updatedAt :: Lens' EcrRescanDurationState (Maybe UTCTime) Source #

A timestamp representing when the last time the ECR scan duration setting was changed.

ExploitabilityDetails

exploitabilityDetails_lastKnownExploitAt :: Lens' ExploitabilityDetails (Maybe UTCTime) Source #

The date and time of the last exploit associated with a finding discovered in your environment.

FailedAccount

failedAccount_resourceStatus :: Lens' FailedAccount (Maybe ResourceStatus) Source #

An object detailing which resources Amazon Inspector is enabled to scan for the account.

failedAccount_status :: Lens' FailedAccount (Maybe Status) Source #

The status of Amazon Inspector for the account.

failedAccount_accountId :: Lens' FailedAccount Text Source #

The Amazon Web Services account ID.

failedAccount_errorCode :: Lens' FailedAccount ErrorCode Source #

The error code explaining why the account failed to enable Amazon Inspector.

failedAccount_errorMessage :: Lens' FailedAccount Text Source #

The error message received when the account failed to enable Amazon Inspector.

Filter

filter_description :: Lens' Filter (Maybe Text) Source #

A description of the filter.

filter_reason :: Lens' Filter (Maybe Text) Source #

The reason for the filter.

filter_tags :: Lens' Filter (Maybe (HashMap Text Text)) Source #

The tags attached to the filter.

filter_action :: Lens' Filter FilterAction Source #

The action that is to be applied to the findings that match the filter.

filter_arn :: Lens' Filter Text Source #

The Amazon Resource Number (ARN) associated with this filter.

filter_createdAt :: Lens' Filter UTCTime Source #

The date and time this filter was created at.

filter_criteria :: Lens' Filter FilterCriteria Source #

Details on the filter criteria associated with this filter.

filter_name :: Lens' Filter Text Source #

The name of the filter.

filter_ownerId :: Lens' Filter Text Source #

The Amazon Web Services account ID of the account that created the filter.

filter_updatedAt :: Lens' Filter UTCTime Source #

The date and time the filter was last updated at.

FilterCriteria

filterCriteria_awsAccountId :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details of the Amazon Web Services account IDs used to filter findings.

filterCriteria_componentId :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details of the component IDs used to filter findings.

filterCriteria_componentType :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details of the component types used to filter findings.

filterCriteria_ec2InstanceImageId :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details of the Amazon EC2 instance image IDs used to filter findings.

filterCriteria_ec2InstanceSubnetId :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details of the Amazon EC2 instance subnet IDs used to filter findings.

filterCriteria_ec2InstanceVpcId :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details of the Amazon EC2 instance VPC IDs used to filter findings.

filterCriteria_ecrImageArchitecture :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details of the Amazon ECR image architecture types used to filter findings.

filterCriteria_ecrImageHash :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details of the Amazon ECR image hashes used to filter findings.

filterCriteria_ecrImagePushedAt :: Lens' FilterCriteria (Maybe (NonEmpty DateFilter)) Source #

Details on the Amazon ECR image push date and time used to filter findings.

filterCriteria_ecrImageRegistry :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the Amazon ECR registry used to filter findings.

filterCriteria_ecrImageRepositoryName :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the name of the Amazon ECR repository used to filter findings.

filterCriteria_ecrImageTags :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

The tags attached to the Amazon ECR container image.

filterCriteria_exploitAvailable :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Filters the list of AWS Lambda findings by the availability of exploits.

filterCriteria_findingArn :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the finding ARNs used to filter findings.

filterCriteria_findingStatus :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the finding status types used to filter findings.

filterCriteria_findingType :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the finding types used to filter findings.

filterCriteria_firstObservedAt :: Lens' FilterCriteria (Maybe (NonEmpty DateFilter)) Source #

Details on the date and time a finding was first seen used to filter findings.

filterCriteria_fixAvailable :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.

filterCriteria_inspectorScore :: Lens' FilterCriteria (Maybe (NonEmpty NumberFilter)) Source #

The Amazon Inspector score to filter on.

filterCriteria_lambdaFunctionExecutionRoleArn :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Filters the list of AWS Lambda functions by execution role.

filterCriteria_lambdaFunctionLastModifiedAt :: Lens' FilterCriteria (Maybe (NonEmpty DateFilter)) Source #

Filters the list of AWS Lambda functions by the date and time that a user last updated the configuration, in ISO 8601 format

filterCriteria_lambdaFunctionLayers :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Filters the list of AWS Lambda functions by the function's layers. A Lambda function can have up to five layers.

filterCriteria_lambdaFunctionName :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Filters the list of AWS Lambda functions by the name of the function.

filterCriteria_lambdaFunctionRuntime :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Filters the list of AWS Lambda functions by the runtime environment for the Lambda function.

filterCriteria_lastObservedAt :: Lens' FilterCriteria (Maybe (NonEmpty DateFilter)) Source #

Details on the date and time a finding was last seen used to filter findings.

filterCriteria_networkProtocol :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the ingress source addresses used to filter findings.

filterCriteria_portRange :: Lens' FilterCriteria (Maybe (NonEmpty PortRangeFilter)) Source #

Details on the port ranges used to filter findings.

filterCriteria_relatedVulnerabilities :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the related vulnerabilities used to filter findings.

filterCriteria_resourceId :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the resource IDs used to filter findings.

filterCriteria_resourceTags :: Lens' FilterCriteria (Maybe (NonEmpty MapFilter)) Source #

Details on the resource tags used to filter findings.

filterCriteria_resourceType :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the resource types used to filter findings.

filterCriteria_severity :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the severity used to filter findings.

filterCriteria_title :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the finding title used to filter findings.

filterCriteria_updatedAt :: Lens' FilterCriteria (Maybe (NonEmpty DateFilter)) Source #

Details on the date and time a finding was last updated at used to filter findings.

filterCriteria_vendorSeverity :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the vendor severity used to filter findings.

filterCriteria_vulnerabilityId :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the vulnerability ID used to filter findings.

filterCriteria_vulnerabilitySource :: Lens' FilterCriteria (Maybe (NonEmpty StringFilter)) Source #

Details on the vulnerability type used to filter findings.

filterCriteria_vulnerablePackages :: Lens' FilterCriteria (Maybe (NonEmpty PackageFilter)) Source #

Details on the vulnerable packages used to filter findings.

Finding

finding_exploitAvailable :: Lens' Finding (Maybe ExploitAvailable) Source #

If a finding discovered in your environment has an exploit available.

finding_exploitabilityDetails :: Lens' Finding (Maybe ExploitabilityDetails) Source #

The details of an exploit available for a finding discovered in your environment.

finding_fixAvailable :: Lens' Finding (Maybe FixAvailable) Source #

Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.

finding_inspectorScore :: Lens' Finding (Maybe Double) Source #

The Amazon Inspector score given to the finding.

finding_inspectorScoreDetails :: Lens' Finding (Maybe InspectorScoreDetails) Source #

An object that contains details of the Amazon Inspector score.

finding_networkReachabilityDetails :: Lens' Finding (Maybe NetworkReachabilityDetails) Source #

An object that contains the details of a network reachability finding.

finding_packageVulnerabilityDetails :: Lens' Finding (Maybe PackageVulnerabilityDetails) Source #

An object that contains the details of a package vulnerability finding.

finding_title :: Lens' Finding (Maybe Text) Source #

The title of the finding.

finding_updatedAt :: Lens' Finding (Maybe UTCTime) Source #

The date and time the finding was last updated at.

finding_awsAccountId :: Lens' Finding Text Source #

The Amazon Web Services account ID associated with the finding.

finding_description :: Lens' Finding Text Source #

The description of the finding.

finding_findingArn :: Lens' Finding Text Source #

The Amazon Resource Number (ARN) of the finding.

finding_firstObservedAt :: Lens' Finding UTCTime Source #

The date and time that the finding was first observed.

finding_lastObservedAt :: Lens' Finding UTCTime Source #

The date and time that the finding was last observed.

finding_remediation :: Lens' Finding Remediation Source #

An object that contains the details about how to remediate a finding.

finding_resources :: Lens' Finding (NonEmpty Resource) Source #

Contains information on the resources involved in a finding.

finding_severity :: Lens' Finding Severity Source #

The severity of the finding.

finding_status :: Lens' Finding FindingStatus Source #

The status of the finding.

finding_type :: Lens' Finding FindingType Source #

The type of the finding.

FindingTypeAggregation

FindingTypeAggregationResponse

findingTypeAggregationResponse_accountId :: Lens' FindingTypeAggregationResponse (Maybe Text) Source #

The ID of the Amazon Web Services account associated with the findings.

FreeTrialAccountInfo

freeTrialAccountInfo_accountId :: Lens' FreeTrialAccountInfo Text Source #

The account associated with the Amazon Inspector free trial information.

freeTrialAccountInfo_freeTrialInfo :: Lens' FreeTrialAccountInfo [FreeTrialInfo] Source #

Contains information about the Amazon Inspector free trial for an account.

FreeTrialInfo

freeTrialInfo_end :: Lens' FreeTrialInfo UTCTime Source #

The date and time that the Amazon Inspector free trail ends for a given account.

freeTrialInfo_start :: Lens' FreeTrialInfo UTCTime Source #

The date and time that the Amazon Inspector free trail started for a given account.

freeTrialInfo_type :: Lens' FreeTrialInfo FreeTrialType Source #

The type of scan covered by the Amazon Inspector free trail.

FreeTrialInfoError

freeTrialInfoError_accountId :: Lens' FreeTrialInfoError Text Source #

The account associated with the Amazon Inspector free trial information.

ImageLayerAggregation

imageLayerAggregation_repositories :: Lens' ImageLayerAggregation (Maybe (NonEmpty StringFilter)) Source #

The repository associated with the container image hosting the layers.

ImageLayerAggregationResponse

imageLayerAggregationResponse_severityCounts :: Lens' ImageLayerAggregationResponse (Maybe SeverityCounts) Source #

An object that represents the count of matched findings per severity.

imageLayerAggregationResponse_accountId :: Lens' ImageLayerAggregationResponse Text Source #

The ID of the Amazon Web Services account that owns the container image hosting the layer image.

InspectorScoreDetails

inspectorScoreDetails_adjustedCvss :: Lens' InspectorScoreDetails (Maybe CvssScoreDetails) Source #

An object that contains details about the CVSS score given to a finding.

LambdaFunctionAggregation

lambdaFunctionAggregation_functionNames :: Lens' LambdaFunctionAggregation (Maybe (NonEmpty StringFilter)) Source #

The AWS Lambda function names to include in the aggregation results.

lambdaFunctionAggregation_resourceIds :: Lens' LambdaFunctionAggregation (Maybe (NonEmpty StringFilter)) Source #

The resource IDs to include in the aggregation results.

lambdaFunctionAggregation_runtimes :: Lens' LambdaFunctionAggregation (Maybe (NonEmpty StringFilter)) Source #

Returns findings aggregated by AWS Lambda function runtime environments.

lambdaFunctionAggregation_sortBy :: Lens' LambdaFunctionAggregation (Maybe LambdaFunctionSortBy) Source #

The finding severity to use for sorting the results.

LambdaFunctionAggregationResponse

lambdaFunctionAggregationResponse_accountId :: Lens' LambdaFunctionAggregationResponse (Maybe Text) Source #

The ID of the AWS account that owns the AWS Lambda function.

lambdaFunctionAggregationResponse_functionName :: Lens' LambdaFunctionAggregationResponse (Maybe Text) Source #

The AWS Lambda function names included in the aggregation results.

lambdaFunctionAggregationResponse_lastModifiedAt :: Lens' LambdaFunctionAggregationResponse (Maybe UTCTime) Source #

The date that the AWS Lambda function included in the aggregation results was last changed.

LambdaFunctionMetadata

lambdaFunctionMetadata_layers :: Lens' LambdaFunctionMetadata (Maybe [Text]) Source #

The layers for an AWS Lambda function. A Lambda function can have up to five layers.

LambdaLayerAggregation

lambdaLayerAggregation_functionNames :: Lens' LambdaLayerAggregation (Maybe (NonEmpty StringFilter)) Source #

The names of the AWS Lambda functions associated with the layers.

lambdaLayerAggregation_layerArns :: Lens' LambdaLayerAggregation (Maybe (NonEmpty StringFilter)) Source #

The Amazon Resource Name (ARN) of the AWS Lambda function layer.

lambdaLayerAggregation_resourceIds :: Lens' LambdaLayerAggregation (Maybe (NonEmpty StringFilter)) Source #

The resource IDs for the AWS Lambda function layers.

lambdaLayerAggregation_sortBy :: Lens' LambdaLayerAggregation (Maybe LambdaLayerSortBy) Source #

The finding severity to use for sorting the results.

LambdaLayerAggregationResponse

lambdaLayerAggregationResponse_functionName :: Lens' LambdaLayerAggregationResponse Text Source #

The names of the AWS Lambda functions associated with the layers.

lambdaLayerAggregationResponse_layerArn :: Lens' LambdaLayerAggregationResponse Text Source #

The Amazon Resource Name (ARN) of the AWS Lambda function layer.

LambdaVpcConfig

lambdaVpcConfig_securityGroupIds :: Lens' LambdaVpcConfig (Maybe [Text]) Source #

The VPC security groups and subnets that are attached to an AWS Lambda function. For more information, see VPC Settings.

MapFilter

mapFilter_value :: Lens' MapFilter (Maybe Text) Source #

The tag value used in the filter.

mapFilter_comparison :: Lens' MapFilter MapComparison Source #

The operator to use when comparing values in the filter.

mapFilter_key :: Lens' MapFilter Text Source #

The tag key used in the filter.

Member

member_accountId :: Lens' Member (Maybe Text) Source #

The Amazon Web Services account ID of the member account.

member_delegatedAdminAccountId :: Lens' Member (Maybe Text) Source #

The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member account.

member_relationshipStatus :: Lens' Member (Maybe RelationshipStatus) Source #

The status of the member account.

member_updatedAt :: Lens' Member (Maybe UTCTime) Source #

A timestamp showing when the status of this member was last updated.

NetworkPath

networkPath_steps :: Lens' NetworkPath (Maybe (NonEmpty Step)) Source #

The details on the steps in the network path.

NetworkReachabilityDetails

networkReachabilityDetails_networkPath :: Lens' NetworkReachabilityDetails NetworkPath Source #

An object that contains details about a network path associated with a finding.

networkReachabilityDetails_openPortRange :: Lens' NetworkReachabilityDetails PortRange Source #

An object that contains details about the open port range associated with a finding.

NumberFilter

numberFilter_lowerInclusive :: Lens' NumberFilter (Maybe Double) Source #

The lowest number to be included in the filter.

numberFilter_upperInclusive :: Lens' NumberFilter (Maybe Double) Source #

The highest number to be included in the filter.

PackageAggregation

packageAggregation_packageNames :: Lens' PackageAggregation (Maybe (NonEmpty StringFilter)) Source #

The names of packages to aggregate findings on.

PackageAggregationResponse

packageAggregationResponse_accountId :: Lens' PackageAggregationResponse (Maybe Text) Source #

The ID of the Amazon Web Services account associated with the findings.

packageAggregationResponse_severityCounts :: Lens' PackageAggregationResponse (Maybe SeverityCounts) Source #

An object that contains the count of matched findings per severity.

PackageFilter

packageFilter_architecture :: Lens' PackageFilter (Maybe StringFilter) Source #

An object that contains details on the package architecture type to filter on.

packageFilter_epoch :: Lens' PackageFilter (Maybe NumberFilter) Source #

An object that contains details on the package epoch to filter on.

packageFilter_name :: Lens' PackageFilter (Maybe StringFilter) Source #

An object that contains details on the name of the package to filter on.

packageFilter_release :: Lens' PackageFilter (Maybe StringFilter) Source #

An object that contains details on the package release to filter on.

packageFilter_sourceLayerHash :: Lens' PackageFilter (Maybe StringFilter) Source #

An object that contains details on the source layer hash to filter on.

packageFilter_version :: Lens' PackageFilter (Maybe StringFilter) Source #

The package version to filter on.

PackageVulnerabilityDetails

packageVulnerabilityDetails_cvss :: Lens' PackageVulnerabilityDetails (Maybe [CvssScore]) Source #

An object that contains details about the CVSS score of a finding.

packageVulnerabilityDetails_referenceUrls :: Lens' PackageVulnerabilityDetails (Maybe [Text]) Source #

One or more URLs that contain details about this vulnerability type.

packageVulnerabilityDetails_relatedVulnerabilities :: Lens' PackageVulnerabilityDetails (Maybe [Text]) Source #

One or more vulnerabilities related to the one identified in this finding.

packageVulnerabilityDetails_sourceUrl :: Lens' PackageVulnerabilityDetails (Maybe Text) Source #

A URL to the source of the vulnerability information.

packageVulnerabilityDetails_vendorCreatedAt :: Lens' PackageVulnerabilityDetails (Maybe UTCTime) Source #

The date and time that this vulnerability was first added to the vendor's database.

packageVulnerabilityDetails_vendorSeverity :: Lens' PackageVulnerabilityDetails (Maybe Text) Source #

The severity the vendor has given to this vulnerability type.

packageVulnerabilityDetails_vendorUpdatedAt :: Lens' PackageVulnerabilityDetails (Maybe UTCTime) Source #

The date and time the vendor last updated this vulnerability in their database.

packageVulnerabilityDetails_source :: Lens' PackageVulnerabilityDetails Text Source #

The source of the vulnerability information.

Permission

permission_operation :: Lens' Permission Operation Source #

The operations that can be performed with the given permissions.

permission_service :: Lens' Permission Service Source #

The services that the permissions allow an account to perform the given operations for.

PortRange

portRange_begin :: Lens' PortRange Natural Source #

The beginning port in a port range.

portRange_end :: Lens' PortRange Natural Source #

The ending port in a port range.

PortRangeFilter

portRangeFilter_beginInclusive :: Lens' PortRangeFilter (Maybe Natural) Source #

The port number the port range begins at.

portRangeFilter_endInclusive :: Lens' PortRangeFilter (Maybe Natural) Source #

The port number the port range ends at.

Recommendation

recommendation_url :: Lens' Recommendation (Maybe Text) Source #

The URL address to the CVE remediation recommendations.

recommendation_text :: Lens' Recommendation (Maybe Text) Source #

The recommended course of action to remediate the finding.

Remediation

remediation_recommendation :: Lens' Remediation (Maybe Recommendation) Source #

An object that contains information about the recommended course of action to remediate the finding.

RepositoryAggregation

repositoryAggregation_repositories :: Lens' RepositoryAggregation (Maybe (NonEmpty StringFilter)) Source #

The names of repositories to aggregate findings on.

RepositoryAggregationResponse

repositoryAggregationResponse_accountId :: Lens' RepositoryAggregationResponse (Maybe Text) Source #

The ID of the Amazon Web Services account associated with the findings.

repositoryAggregationResponse_affectedImages :: Lens' RepositoryAggregationResponse (Maybe Integer) Source #

The number of container images impacted by the findings.

repositoryAggregationResponse_severityCounts :: Lens' RepositoryAggregationResponse (Maybe SeverityCounts) Source #

An object that represent the count of matched findings per severity.

repositoryAggregationResponse_repository :: Lens' RepositoryAggregationResponse Text Source #

The name of the repository associated with the findings.

Resource

resource_details :: Lens' Resource (Maybe ResourceDetails) Source #

An object that contains details about the resource involved in a finding.

resource_partition :: Lens' Resource (Maybe Text) Source #

The partition of the resource.

resource_region :: Lens' Resource (Maybe Text) Source #

The Amazon Web Services Region the impacted resource is located in.

resource_tags :: Lens' Resource (Maybe (HashMap Text Text)) Source #

The tags attached to the resource.

resource_id :: Lens' Resource Text Source #

The ID of the resource.

ResourceDetails

resourceDetails_awsEc2Instance :: Lens' ResourceDetails (Maybe AwsEc2InstanceDetails) Source #

An object that contains details about the Amazon EC2 instance involved in the finding.

resourceDetails_awsEcrContainerImage :: Lens' ResourceDetails (Maybe AwsEcrContainerImageDetails) Source #

An object that contains details about the Amazon ECR container image involved in the finding.

resourceDetails_awsLambdaFunction :: Lens' ResourceDetails (Maybe AwsLambdaFunctionDetails) Source #

A summary of the information about an AWS Lambda function affected by a finding.

ResourceScanMetadata

resourceScanMetadata_ec2 :: Lens' ResourceScanMetadata (Maybe Ec2Metadata) Source #

An object that contains metadata details for an Amazon EC2 instance.

resourceScanMetadata_ecrImage :: Lens' ResourceScanMetadata (Maybe EcrContainerImageMetadata) Source #

An object that contains details about the container metadata for an Amazon ECR image.

resourceScanMetadata_ecrRepository :: Lens' ResourceScanMetadata (Maybe EcrRepositoryMetadata) Source #

An object that contains details about the repository an Amazon ECR image resides in.

resourceScanMetadata_lambdaFunction :: Lens' ResourceScanMetadata (Maybe LambdaFunctionMetadata) Source #

An object that contains metadata details for an AWS Lambda function.

ResourceState

resourceState_ec2 :: Lens' ResourceState State Source #

An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.

resourceState_ecr :: Lens' ResourceState State Source #

An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.

ResourceStatus

resourceStatus_lambda :: Lens' ResourceStatus (Maybe Status) Source #

The status of Amazon Inspector scanning for AWS Lambda function resources.

resourceStatus_ec2 :: Lens' ResourceStatus Status Source #

The status of Amazon Inspector scanning for Amazon EC2 resources.

resourceStatus_ecr :: Lens' ResourceStatus Status Source #

The status of Amazon Inspector scanning for Amazon ECR resources.

ScanStatus

SeverityCounts

severityCounts_all :: Lens' SeverityCounts (Maybe Integer) Source #

The total count of findings from all severities.

severityCounts_critical :: Lens' SeverityCounts (Maybe Integer) Source #

The total count of critical severity findings.

severityCounts_high :: Lens' SeverityCounts (Maybe Integer) Source #

The total count of high severity findings.

severityCounts_medium :: Lens' SeverityCounts (Maybe Integer) Source #

The total count of medium severity findings.

SortCriteria

sortCriteria_field :: Lens' SortCriteria SortField Source #

The finding detail field by which results are sorted.

sortCriteria_sortOrder :: Lens' SortCriteria SortOrder Source #

The order by which findings are sorted.

State

state_errorCode :: Lens' State ErrorCode Source #

The error code explaining why the account failed to enable Amazon Inspector.

state_errorMessage :: Lens' State Text Source #

The error message received when the account failed to enable Amazon Inspector.

state_status :: Lens' State Status Source #

The status of Amazon Inspector for the account.

Step

step_componentId :: Lens' Step Text Source #

The component ID.

step_componentType :: Lens' Step Text Source #

The component type.

StringFilter

stringFilter_comparison :: Lens' StringFilter StringComparison Source #

The operator to use when comparing values in the filter.

stringFilter_value :: Lens' StringFilter Text Source #

The value to filter on.

TitleAggregation

TitleAggregationResponse

titleAggregationResponse_accountId :: Lens' TitleAggregationResponse (Maybe Text) Source #

The ID of the Amazon Web Services account associated with the findings.

titleAggregationResponse_severityCounts :: Lens' TitleAggregationResponse (Maybe SeverityCounts) Source #

An object that represent the count of matched findings per severity.

titleAggregationResponse_title :: Lens' TitleAggregationResponse Text Source #

The title that the findings were aggregated on.

Usage

usage_currency :: Lens' Usage (Maybe Currency) Source #

The currency type used when calculating usage data.

usage_estimatedMonthlyCost :: Lens' Usage (Maybe Double) Source #

The estimated monthly cost of Amazon Inspector.

usage_total :: Lens' Usage (Maybe Double) Source #

The total of usage.

UsageTotal

usageTotal_accountId :: Lens' UsageTotal (Maybe Text) Source #

The account ID of the account that usage data was retrieved for.

usageTotal_usage :: Lens' UsageTotal (Maybe [Usage]) Source #

An object representing the total usage for an account.

VulnerablePackage

vulnerablePackage_arch :: Lens' VulnerablePackage (Maybe Text) Source #

The architecture of the vulnerable package.

vulnerablePackage_epoch :: Lens' VulnerablePackage (Maybe Int) Source #

The epoch of the vulnerable package.

vulnerablePackage_filePath :: Lens' VulnerablePackage (Maybe Text) Source #

The file path of the vulnerable package.

vulnerablePackage_fixedInVersion :: Lens' VulnerablePackage (Maybe Text) Source #

The version of the package that contains the vulnerability fix.

vulnerablePackage_packageManager :: Lens' VulnerablePackage (Maybe PackageManager) Source #

The package manager of the vulnerable package.

vulnerablePackage_release :: Lens' VulnerablePackage (Maybe Text) Source #

The release of the vulnerable package.

vulnerablePackage_remediation :: Lens' VulnerablePackage (Maybe Text) Source #

The code to run in your environment to update packages with a fix available.

vulnerablePackage_sourceLambdaLayerArn :: Lens' VulnerablePackage (Maybe Text) Source #

The Amazon Resource Number (ARN) of the AWS Lambda function affected by a finding.

vulnerablePackage_sourceLayerHash :: Lens' VulnerablePackage (Maybe Text) Source #

The source layer hash of the vulnerable package.

vulnerablePackage_name :: Lens' VulnerablePackage Text Source #

The name of the vulnerable package.

vulnerablePackage_version :: Lens' VulnerablePackage Text Source #

The version of the vulnerable package.