amazonka-ecr-2.0: Amazon EC2 Container Registry 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.ECR.Lens

Contents

Description

 
Synopsis

Operations

BatchCheckLayerAvailability

batchCheckLayerAvailability_registryId :: Lens' BatchCheckLayerAvailability (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the image layers to check. If you do not specify a registry, the default registry is assumed.

batchCheckLayerAvailability_repositoryName :: Lens' BatchCheckLayerAvailability Text Source #

The name of the repository that is associated with the image layers to check.

batchCheckLayerAvailabilityResponse_layers :: Lens' BatchCheckLayerAvailabilityResponse (Maybe [Layer]) Source #

A list of image layer objects corresponding to the image layer references in the request.

BatchDeleteImage

batchDeleteImage_registryId :: Lens' BatchDeleteImage (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.

batchDeleteImage_repositoryName :: Lens' BatchDeleteImage Text Source #

The repository that contains the image to delete.

batchDeleteImage_imageIds :: Lens' BatchDeleteImage [ImageIdentifier] Source #

A list of image ID references that correspond to images to delete. The format of the imageIds reference is imageTag=tag or imageDigest=digest.

BatchGetImage

batchGetImage_acceptedMediaTypes :: Lens' BatchGetImage (Maybe (NonEmpty Text)) Source #

The accepted media types for the request.

Valid values: application/vnd.docker.distribution.manifest.v1+json | application/vnd.docker.distribution.manifest.v2+json | application/vnd.oci.image.manifest.v1+json

batchGetImage_registryId :: Lens' BatchGetImage (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.

batchGetImage_repositoryName :: Lens' BatchGetImage Text Source #

The repository that contains the images to describe.

batchGetImage_imageIds :: Lens' BatchGetImage [ImageIdentifier] Source #

A list of image ID references that correspond to images to describe. The format of the imageIds reference is imageTag=tag or imageDigest=digest.

batchGetImageResponse_images :: Lens' BatchGetImageResponse (Maybe [Image]) Source #

A list of image objects corresponding to the image references in the request.

BatchGetRepositoryScanningConfiguration

CompleteLayerUpload

completeLayerUpload_registryId :: Lens' CompleteLayerUpload (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry to which to upload layers. If you do not specify a registry, the default registry is assumed.

completeLayerUpload_repositoryName :: Lens' CompleteLayerUpload Text Source #

The name of the repository to associate with the image layer.

completeLayerUpload_uploadId :: Lens' CompleteLayerUpload Text Source #

The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.

CreatePullThroughCacheRule

createPullThroughCacheRule_registryId :: Lens' CreatePullThroughCacheRule (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry to create the pull through cache rule for. If you do not specify a registry, the default registry is assumed.

createPullThroughCacheRule_ecrRepositoryPrefix :: Lens' CreatePullThroughCacheRule Text Source #

The repository name prefix to use when caching images from the source registry.

createPullThroughCacheRule_upstreamRegistryUrl :: Lens' CreatePullThroughCacheRule Text Source #

The registry URL of the upstream public registry to use as the source for the pull through cache rule.

createPullThroughCacheRuleResponse_createdAt :: Lens' CreatePullThroughCacheRuleResponse (Maybe UTCTime) Source #

The date and time, in JavaScript date format, when the pull through cache rule was created.

createPullThroughCacheRuleResponse_ecrRepositoryPrefix :: Lens' CreatePullThroughCacheRuleResponse (Maybe Text) Source #

The Amazon ECR repository prefix associated with the pull through cache rule.

createPullThroughCacheRuleResponse_upstreamRegistryUrl :: Lens' CreatePullThroughCacheRuleResponse (Maybe Text) Source #

The upstream registry URL associated with the pull through cache rule.

CreateRepository

createRepository_encryptionConfiguration :: Lens' CreateRepository (Maybe EncryptionConfiguration) Source #

The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.

createRepository_imageScanningConfiguration :: Lens' CreateRepository (Maybe ImageScanningConfiguration) Source #

The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.

createRepository_imageTagMutability :: Lens' CreateRepository (Maybe ImageTagMutability) Source #

The tag mutability setting for the repository. If this parameter is omitted, the default setting of MUTABLE will be used which will allow image tags to be overwritten. If IMMUTABLE is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.

createRepository_registryId :: Lens' CreateRepository (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry to create the repository. If you do not specify a registry, the default registry is assumed.

createRepository_tags :: Lens' CreateRepository (Maybe [Tag]) Source #

The metadata that you apply to the repository to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

createRepository_repositoryName :: Lens' CreateRepository Text Source #

The name to use for the repository. The repository name may be specified on its own (such as nginx-web-app) or it can be prepended with a namespace to group the repository into a category (such as project-a/nginx-web-app).

DeleteLifecyclePolicy

deleteLifecyclePolicy_registryId :: Lens' DeleteLifecyclePolicy (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

deleteLifecyclePolicyResponse_lastEvaluatedAt :: Lens' DeleteLifecyclePolicyResponse (Maybe UTCTime) Source #

The time stamp of the last time that the lifecycle policy was run.

DeletePullThroughCacheRule

deletePullThroughCacheRule_registryId :: Lens' DeletePullThroughCacheRule (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the pull through cache rule. If you do not specify a registry, the default registry is assumed.

deletePullThroughCacheRule_ecrRepositoryPrefix :: Lens' DeletePullThroughCacheRule Text Source #

The Amazon ECR repository prefix associated with the pull through cache rule to delete.

deletePullThroughCacheRuleResponse_createdAt :: Lens' DeletePullThroughCacheRuleResponse (Maybe UTCTime) Source #

The timestamp associated with the pull through cache rule.

deletePullThroughCacheRuleResponse_upstreamRegistryUrl :: Lens' DeletePullThroughCacheRuleResponse (Maybe Text) Source #

The upstream registry URL associated with the pull through cache rule.

DeleteRegistryPolicy

deleteRegistryPolicyResponse_policyText :: Lens' DeleteRegistryPolicyResponse (Maybe Text) Source #

The contents of the registry permissions policy that was deleted.

DeleteRepository

deleteRepository_force :: Lens' DeleteRepository (Maybe Bool) Source #

If a repository contains images, forces the deletion.

deleteRepository_registryId :: Lens' DeleteRepository (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository to delete. If you do not specify a registry, the default registry is assumed.

deleteRepository_repositoryName :: Lens' DeleteRepository Text Source #

The name of the repository to delete.

DeleteRepositoryPolicy

deleteRepositoryPolicy_registryId :: Lens' DeleteRepositoryPolicy (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository policy to delete. If you do not specify a registry, the default registry is assumed.

deleteRepositoryPolicy_repositoryName :: Lens' DeleteRepositoryPolicy Text Source #

The name of the repository that is associated with the repository policy to delete.

deleteRepositoryPolicyResponse_policyText :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source #

The JSON repository policy that was deleted from the repository.

DescribeImageReplicationStatus

describeImageReplicationStatus_registryId :: Lens' DescribeImageReplicationStatus (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry. If you do not specify a registry, the default registry is assumed.

DescribeImageScanFindings

describeImageScanFindings_maxResults :: Lens' DescribeImageScanFindings (Maybe Natural) Source #

The maximum number of image scan results returned by DescribeImageScanFindings in paginated output. When this parameter is used, DescribeImageScanFindings only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeImageScanFindings request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribeImageScanFindings returns up to 100 results and a nextToken value, if applicable.

describeImageScanFindings_nextToken :: Lens' DescribeImageScanFindings (Maybe Text) Source #

The nextToken value returned from a previous paginated DescribeImageScanFindings request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

describeImageScanFindings_registryId :: Lens' DescribeImageScanFindings (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository in which to describe the image scan findings for. If you do not specify a registry, the default registry is assumed.

describeImageScanFindings_repositoryName :: Lens' DescribeImageScanFindings Text Source #

The repository for the image for which to describe the scan findings.

describeImageScanFindingsResponse_nextToken :: Lens' DescribeImageScanFindingsResponse (Maybe Text) Source #

The nextToken value to include in a future DescribeImageScanFindings request. When the results of a DescribeImageScanFindings request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

DescribeImages

describeImages_filter :: Lens' DescribeImages (Maybe DescribeImagesFilter) Source #

The filter key and value with which to filter your DescribeImages results.

describeImages_imageIds :: Lens' DescribeImages (Maybe [ImageIdentifier]) Source #

The list of image IDs for the requested repository.

describeImages_maxResults :: Lens' DescribeImages (Maybe Natural) Source #

The maximum number of repository results returned by DescribeImages in paginated output. When this parameter is used, DescribeImages only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeImages request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribeImages returns up to 100 results and a nextToken value, if applicable. This option cannot be used when you specify images with imageIds.

describeImages_nextToken :: Lens' DescribeImages (Maybe Text) Source #

The nextToken value returned from a previous paginated DescribeImages request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This option cannot be used when you specify images with imageIds.

describeImages_registryId :: Lens' DescribeImages (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository in which to describe images. If you do not specify a registry, the default registry is assumed.

describeImages_repositoryName :: Lens' DescribeImages Text Source #

The repository that contains the images to describe.

describeImagesResponse_imageDetails :: Lens' DescribeImagesResponse (Maybe [ImageDetail]) Source #

A list of ImageDetail objects that contain data about the image.

describeImagesResponse_nextToken :: Lens' DescribeImagesResponse (Maybe Text) Source #

The nextToken value to include in a future DescribeImages request. When the results of a DescribeImages request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

DescribePullThroughCacheRules

describePullThroughCacheRules_ecrRepositoryPrefixes :: Lens' DescribePullThroughCacheRules (Maybe (NonEmpty Text)) Source #

The Amazon ECR repository prefixes associated with the pull through cache rules to return. If no repository prefix value is specified, all pull through cache rules are returned.

describePullThroughCacheRules_maxResults :: Lens' DescribePullThroughCacheRules (Maybe Natural) Source #

The maximum number of pull through cache rules returned by DescribePullThroughCacheRulesRequest in paginated output. When this parameter is used, DescribePullThroughCacheRulesRequest only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribePullThroughCacheRulesRequest request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribePullThroughCacheRulesRequest returns up to 100 results and a nextToken value, if applicable.

describePullThroughCacheRules_nextToken :: Lens' DescribePullThroughCacheRules (Maybe Text) Source #

The nextToken value returned from a previous paginated DescribePullThroughCacheRulesRequest request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

describePullThroughCacheRules_registryId :: Lens' DescribePullThroughCacheRules (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry to return the pull through cache rules for. If you do not specify a registry, the default registry is assumed.

describePullThroughCacheRulesResponse_nextToken :: Lens' DescribePullThroughCacheRulesResponse (Maybe Text) Source #

The nextToken value to include in a future DescribePullThroughCacheRulesRequest request. When the results of a DescribePullThroughCacheRulesRequest request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

DescribeRegistry

DescribeRepositories

describeRepositories_maxResults :: Lens' DescribeRepositories (Maybe Natural) Source #

The maximum number of repository results returned by DescribeRepositories in paginated output. When this parameter is used, DescribeRepositories only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeRepositories request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then DescribeRepositories returns up to 100 results and a nextToken value, if applicable. This option cannot be used when you specify repositories with repositoryNames.

describeRepositories_nextToken :: Lens' DescribeRepositories (Maybe Text) Source #

The nextToken value returned from a previous paginated DescribeRepositories request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This option cannot be used when you specify repositories with repositoryNames.

This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

describeRepositories_registryId :: Lens' DescribeRepositories (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repositories to be described. If you do not specify a registry, the default registry is assumed.

describeRepositories_repositoryNames :: Lens' DescribeRepositories (Maybe (NonEmpty Text)) Source #

A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described.

describeRepositoriesResponse_nextToken :: Lens' DescribeRepositoriesResponse (Maybe Text) Source #

The nextToken value to include in a future DescribeRepositories request. When the results of a DescribeRepositories request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

describeRepositoriesResponse_repositories :: Lens' DescribeRepositoriesResponse (Maybe [Repository]) Source #

A list of repository objects corresponding to valid repositories.

GetAuthorizationToken

getAuthorizationToken_registryIds :: Lens' GetAuthorizationToken (Maybe (NonEmpty Text)) Source #

A list of Amazon Web Services account IDs that are associated with the registries for which to get AuthorizationData objects. If you do not specify a registry, the default registry is assumed.

getAuthorizationTokenResponse_authorizationData :: Lens' GetAuthorizationTokenResponse (Maybe [AuthorizationData]) Source #

A list of authorization token data objects that correspond to the registryIds values in the request.

GetDownloadUrlForLayer

getDownloadUrlForLayer_registryId :: Lens' GetDownloadUrlForLayer (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the image layer to download. If you do not specify a registry, the default registry is assumed.

getDownloadUrlForLayer_repositoryName :: Lens' GetDownloadUrlForLayer Text Source #

The name of the repository that is associated with the image layer to download.

getDownloadUrlForLayer_layerDigest :: Lens' GetDownloadUrlForLayer Text Source #

The digest of the image layer to download.

getDownloadUrlForLayerResponse_downloadUrl :: Lens' GetDownloadUrlForLayerResponse (Maybe Text) Source #

The pre-signed Amazon S3 download URL for the requested layer.

GetLifecyclePolicy

getLifecyclePolicy_registryId :: Lens' GetLifecyclePolicy (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

getLifecyclePolicyResponse_lastEvaluatedAt :: Lens' GetLifecyclePolicyResponse (Maybe UTCTime) Source #

The time stamp of the last time that the lifecycle policy was run.

getLifecyclePolicyResponse_repositoryName :: Lens' GetLifecyclePolicyResponse (Maybe Text) Source #

The repository name associated with the request.

GetLifecyclePolicyPreview

getLifecyclePolicyPreview_filter :: Lens' GetLifecyclePolicyPreview (Maybe LifecyclePolicyPreviewFilter) Source #

An optional parameter that filters results based on image tag status and all tags, if tagged.

getLifecyclePolicyPreview_maxResults :: Lens' GetLifecyclePolicyPreview (Maybe Natural) Source #

The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest in
 paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest only returns
 maxResults results in a single page along with a nextToken
 response element. The remaining results of the initial request can be seen by sending
 another GetLifecyclePolicyPreviewRequest request with the returned nextToken
 value. This value can be between 1 and 1000. If this
 parameter is not used, then GetLifecyclePolicyPreviewRequest returns up to
 100 results and a nextToken value, if
 applicable. This option cannot be used when you specify images with imageIds.

getLifecyclePolicyPreview_nextToken :: Lens' GetLifecyclePolicyPreview (Maybe Text) Source #

The nextToken value returned from a previous paginated
 GetLifecyclePolicyPreviewRequest request where maxResults was used and the
 results exceeded the value of that parameter. Pagination continues from the end of the
 previous results that returned the nextToken value. This value is
 null when there are no more results to return. This option cannot be used when you specify images with imageIds.

getLifecyclePolicyPreview_registryId :: Lens' GetLifecyclePolicyPreview (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

getLifecyclePolicyPreviewResponse_nextToken :: Lens' GetLifecyclePolicyPreviewResponse (Maybe Text) Source #

The nextToken value to include in a future GetLifecyclePolicyPreview request. When the results of a GetLifecyclePolicyPreview request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

GetRegistryPolicy

getRegistryPolicyResponse_policyText :: Lens' GetRegistryPolicyResponse (Maybe Text) Source #

The JSON text of the permissions policy for a registry.

GetRegistryScanningConfiguration

GetRepositoryPolicy

getRepositoryPolicy_registryId :: Lens' GetRepositoryPolicy (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

getRepositoryPolicy_repositoryName :: Lens' GetRepositoryPolicy Text Source #

The name of the repository with the policy to retrieve.

getRepositoryPolicyResponse_policyText :: Lens' GetRepositoryPolicyResponse (Maybe Text) Source #

The JSON repository policy text associated with the repository.

InitiateLayerUpload

initiateLayerUpload_registryId :: Lens' InitiateLayerUpload (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry to which you intend to upload layers. If you do not specify a registry, the default registry is assumed.

initiateLayerUpload_repositoryName :: Lens' InitiateLayerUpload Text Source #

The name of the repository to which you intend to upload layers.

initiateLayerUploadResponse_partSize :: Lens' InitiateLayerUploadResponse (Maybe Natural) Source #

The size, in bytes, that Amazon ECR expects future layer part uploads to be.

initiateLayerUploadResponse_uploadId :: Lens' InitiateLayerUploadResponse (Maybe Text) Source #

The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.

ListImages

listImages_filter :: Lens' ListImages (Maybe ListImagesFilter) Source #

The filter key and value with which to filter your ListImages results.

listImages_maxResults :: Lens' ListImages (Maybe Natural) Source #

The maximum number of image results returned by ListImages in paginated output. When this parameter is used, ListImages only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListImages request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then ListImages returns up to 100 results and a nextToken value, if applicable.

listImages_nextToken :: Lens' ListImages (Maybe Text) Source #

The nextToken value returned from a previous paginated ListImages request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

listImages_registryId :: Lens' ListImages (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository in which to list images. If you do not specify a registry, the default registry is assumed.

listImages_repositoryName :: Lens' ListImages Text Source #

The repository with image IDs to be listed.

listImagesResponse_imageIds :: Lens' ListImagesResponse (Maybe [ImageIdentifier]) Source #

The list of image IDs for the requested repository.

listImagesResponse_nextToken :: Lens' ListImagesResponse (Maybe Text) Source #

The nextToken value to include in a future ListImages request. When the results of a ListImages request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

ListTagsForResource

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the only supported resource is an Amazon ECR repository.

PutImage

putImage_imageDigest :: Lens' PutImage (Maybe Text) Source #

The image digest of the image manifest corresponding to the image.

putImage_imageManifestMediaType :: Lens' PutImage (Maybe Text) Source #

The media type of the image manifest. If you push an image manifest that does not contain the mediaType field, you must specify the imageManifestMediaType in the request.

putImage_imageTag :: Lens' PutImage (Maybe Text) Source #

The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.

putImage_registryId :: Lens' PutImage (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository in which to put the image. If you do not specify a registry, the default registry is assumed.

putImage_repositoryName :: Lens' PutImage Text Source #

The name of the repository in which to put the image.

putImage_imageManifest :: Lens' PutImage Text Source #

The image manifest corresponding to the image to be uploaded.

putImageResponse_image :: Lens' PutImageResponse (Maybe Image) Source #

Details of the image uploaded.

putImageResponse_httpStatus :: Lens' PutImageResponse Int Source #

The response's http status code.

PutImageScanningConfiguration

putImageScanningConfiguration_registryId :: Lens' PutImageScanningConfiguration (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image scanning configuration setting. If you do not specify a registry, the default registry is assumed.

putImageScanningConfiguration_repositoryName :: Lens' PutImageScanningConfiguration Text Source #

The name of the repository in which to update the image scanning configuration setting.

putImageScanningConfiguration_imageScanningConfiguration :: Lens' PutImageScanningConfiguration ImageScanningConfiguration Source #

The image scanning configuration for the repository. This setting determines whether images are scanned for known vulnerabilities after being pushed to the repository.

PutImageTagMutability

putImageTagMutability_registryId :: Lens' PutImageTagMutability (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.

putImageTagMutability_repositoryName :: Lens' PutImageTagMutability Text Source #

The name of the repository in which to update the image tag mutability settings.

putImageTagMutability_imageTagMutability :: Lens' PutImageTagMutability ImageTagMutability Source #

The tag mutability setting for the repository. If MUTABLE is specified, image tags can be overwritten. If IMMUTABLE is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.

PutLifecyclePolicy

putLifecyclePolicy_registryId :: Lens' PutLifecyclePolicy (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository. If you do
 not specify a registry, the default registry is assumed.

putLifecyclePolicy_repositoryName :: Lens' PutLifecyclePolicy Text Source #

The name of the repository to receive the policy.

putLifecyclePolicy_lifecyclePolicyText :: Lens' PutLifecyclePolicy Text Source #

The JSON repository policy text to apply to the repository.

putLifecyclePolicyResponse_repositoryName :: Lens' PutLifecyclePolicyResponse (Maybe Text) Source #

The repository name associated with the request.

PutRegistryPolicy

putRegistryPolicy_policyText :: Lens' PutRegistryPolicy Text Source #

The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.

PutRegistryScanningConfiguration

putRegistryScanningConfiguration_rules :: Lens' PutRegistryScanningConfiguration (Maybe [RegistryScanningRule]) Source #

The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.

putRegistryScanningConfiguration_scanType :: Lens' PutRegistryScanningConfiguration (Maybe ScanType) Source #

The scanning type to set for the registry.

When a registry scanning configuration is not defined, by default the BASIC scan type is used. When basic scanning is used, you may specify filters to determine which individual repositories, or all repositories, are scanned when new images are pushed to those repositories. Alternatively, you can do manual scans of images with basic scanning.

When the ENHANCED scan type is set, Amazon Inspector provides automated vulnerability scanning. You may choose between continuous scanning or scan on push and you may specify filters to determine which individual repositories, or all repositories, are scanned.

PutReplicationConfiguration

SetRepositoryPolicy

setRepositoryPolicy_force :: Lens' SetRepositoryPolicy (Maybe Bool) Source #

If the policy you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs.

setRepositoryPolicy_registryId :: Lens' SetRepositoryPolicy (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

setRepositoryPolicy_repositoryName :: Lens' SetRepositoryPolicy Text Source #

The name of the repository to receive the policy.

setRepositoryPolicy_policyText :: Lens' SetRepositoryPolicy Text Source #

The JSON repository policy text to apply to the repository. For more information, see Amazon ECR repository policies in the Amazon Elastic Container Registry User Guide.

setRepositoryPolicyResponse_policyText :: Lens' SetRepositoryPolicyResponse (Maybe Text) Source #

The JSON repository policy text applied to the repository.

StartImageScan

startImageScan_registryId :: Lens' StartImageScan (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository in which to start an image scan request. If you do not specify a registry, the default registry is assumed.

startImageScan_repositoryName :: Lens' StartImageScan Text Source #

The name of the repository that contains the images to scan.

startImageScanResponse_registryId :: Lens' StartImageScanResponse (Maybe Text) Source #

The registry ID associated with the request.

startImageScanResponse_repositoryName :: Lens' StartImageScanResponse (Maybe Text) Source #

The repository name associated with the request.

StartLifecyclePolicyPreview

startLifecyclePolicyPreview_lifecyclePolicyText :: Lens' StartLifecyclePolicyPreview (Maybe Text) Source #

The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.

startLifecyclePolicyPreview_registryId :: Lens' StartLifecyclePolicyPreview (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the the resource to which to add tags. Currently, the only supported resource is an Amazon ECR repository.

tagResource_tags :: Lens' TagResource [Tag] Source #

The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the resource from which to remove tags. Currently, the only supported resource is an Amazon ECR repository.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

The keys of the tags to be removed.

UploadLayerPart

uploadLayerPart_registryId :: Lens' UploadLayerPart (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry to which you are uploading layer parts. If you do not specify a registry, the default registry is assumed.

uploadLayerPart_repositoryName :: Lens' UploadLayerPart Text Source #

The name of the repository to which you are uploading layer parts.

uploadLayerPart_uploadId :: Lens' UploadLayerPart Text Source #

The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.

uploadLayerPart_partFirstByte :: Lens' UploadLayerPart Natural Source #

The position of the first byte of the layer part witin the overall image layer.

uploadLayerPart_partLastByte :: Lens' UploadLayerPart Natural Source #

The position of the last byte of the layer part within the overall image layer.

uploadLayerPart_layerPartBlob :: Lens' UploadLayerPart ByteString Source #

The base64-encoded layer part payload.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

uploadLayerPartResponse_lastByteReceived :: Lens' UploadLayerPartResponse (Maybe Natural) Source #

The integer value of the last byte received in the request.

uploadLayerPartResponse_registryId :: Lens' UploadLayerPartResponse (Maybe Text) Source #

The registry ID associated with the request.

uploadLayerPartResponse_repositoryName :: Lens' UploadLayerPartResponse (Maybe Text) Source #

The repository name associated with the request.

uploadLayerPartResponse_uploadId :: Lens' UploadLayerPartResponse (Maybe Text) Source #

The upload ID associated with the request.

Types

Attribute

attribute_value :: Lens' Attribute (Maybe Text) Source #

The value assigned to the attribute key.

attribute_key :: Lens' Attribute Text Source #

The attribute key.

AuthorizationData

authorizationData_authorizationToken :: Lens' AuthorizationData (Maybe Text) Source #

A base64-encoded string that contains authorization data for the specified Amazon ECR registry. When the string is decoded, it is presented in the format user:password for private registry authentication using docker login.

authorizationData_expiresAt :: Lens' AuthorizationData (Maybe UTCTime) Source #

The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.

authorizationData_proxyEndpoint :: Lens' AuthorizationData (Maybe Text) Source #

The registry URL to use for this authorization token in a docker login command. The Amazon ECR registry URL format is https://aws_account_id.dkr.ecr.region.amazonaws.com. For example, https://012345678910.dkr.ecr.us-east-1.amazonaws.com..

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_imageHash :: Lens' AwsEcrContainerImageDetails (Maybe Text) Source #

The image hash 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_registry :: Lens' AwsEcrContainerImageDetails (Maybe Text) Source #

The registry the Amazon ECR container image belongs to.

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

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

CvssScore

cvssScore_baseScore :: Lens' CvssScore (Maybe Double) Source #

The base CVSS score used for the finding.

cvssScore_scoringVector :: Lens' CvssScore (Maybe Text) Source #

The vector string of the CVSS score.

cvssScore_source :: Lens' CvssScore (Maybe Text) Source #

The source of the CVSS score.

cvssScore_version :: Lens' CvssScore (Maybe Text) Source #

The version of CVSS used for the score.

CvssScoreAdjustment

cvssScoreAdjustment_metric :: Lens' CvssScoreAdjustment (Maybe Text) Source #

The metric used to adjust the CVSS score.

cvssScoreAdjustment_reason :: Lens' CvssScoreAdjustment (Maybe 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 (Maybe Text) Source #

The CVSS version used in scoring.

DescribeImagesFilter

describeImagesFilter_tagStatus :: Lens' DescribeImagesFilter (Maybe TagStatus) Source #

The tag status with which to filter your DescribeImages results. You can filter results based on whether they are TAGGED or UNTAGGED.

EncryptionConfiguration

encryptionConfiguration_kmsKey :: Lens' EncryptionConfiguration (Maybe Text) Source #

If you use the KMS encryption type, specify the KMS key to use for encryption. The alias, key ID, or full ARN of the KMS key can be specified. The key must exist in the same Region as the repository. If no key is specified, the default Amazon Web Services managed KMS key for Amazon ECR will be used.

encryptionConfiguration_encryptionType :: Lens' EncryptionConfiguration EncryptionType Source #

The encryption type to use.

If you use the KMS encryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created. For more information, see Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS) in the Amazon Simple Storage Service Console Developer Guide.

If you use the AES256 encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES-256 encryption algorithm. For more information, see Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the Amazon Simple Storage Service Console Developer Guide.

EnhancedImageScanFinding

enhancedImageScanFinding_awsAccountId :: Lens' EnhancedImageScanFinding (Maybe Text) Source #

The Amazon Web Services account ID associated with the image.

enhancedImageScanFinding_findingArn :: Lens' EnhancedImageScanFinding (Maybe Text) Source #

The Amazon Resource Number (ARN) of the finding.

enhancedImageScanFinding_firstObservedAt :: Lens' EnhancedImageScanFinding (Maybe UTCTime) Source #

The date and time that the finding was first observed.

enhancedImageScanFinding_lastObservedAt :: Lens' EnhancedImageScanFinding (Maybe UTCTime) Source #

The date and time that the finding was last observed.

enhancedImageScanFinding_packageVulnerabilityDetails :: Lens' EnhancedImageScanFinding (Maybe PackageVulnerabilityDetails) Source #

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

enhancedImageScanFinding_remediation :: Lens' EnhancedImageScanFinding (Maybe Remediation) Source #

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

enhancedImageScanFinding_resources :: Lens' EnhancedImageScanFinding (Maybe [Resource]) Source #

Contains information on the resources involved in a finding.

enhancedImageScanFinding_score :: Lens' EnhancedImageScanFinding (Maybe Double) Source #

The Amazon Inspector score given to the finding.

enhancedImageScanFinding_scoreDetails :: Lens' EnhancedImageScanFinding (Maybe ScoreDetails) Source #

An object that contains details of the Amazon Inspector score.

enhancedImageScanFinding_updatedAt :: Lens' EnhancedImageScanFinding (Maybe UTCTime) Source #

The date and time the finding was last updated at.

Image

image_imageId :: Lens' Image (Maybe ImageIdentifier) Source #

An object containing the image tag and image digest associated with an image.

image_imageManifest :: Lens' Image (Maybe Text) Source #

The image manifest associated with the image.

image_imageManifestMediaType :: Lens' Image (Maybe Text) Source #

The manifest media type of the image.

image_registryId :: Lens' Image (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry containing the image.

image_repositoryName :: Lens' Image (Maybe Text) Source #

The name of the repository associated with the image.

ImageDetail

imageDetail_artifactMediaType :: Lens' ImageDetail (Maybe Text) Source #

The artifact media type of the image.

imageDetail_imageDigest :: Lens' ImageDetail (Maybe Text) Source #

The sha256 digest of the image manifest.

imageDetail_imageManifestMediaType :: Lens' ImageDetail (Maybe Text) Source #

The media type of the image manifest.

imageDetail_imagePushedAt :: Lens' ImageDetail (Maybe UTCTime) Source #

The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.

imageDetail_imageSizeInBytes :: Lens' ImageDetail (Maybe Integer) Source #

The size, in bytes, of the image in the repository.

If the image is a manifest list, this will be the max size of all manifests in the list.

Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by DescribeImages.

imageDetail_imageTags :: Lens' ImageDetail (Maybe [Text]) Source #

The list of tags associated with this image.

imageDetail_lastRecordedPullTime :: Lens' ImageDetail (Maybe UTCTime) Source #

The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.

Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull an image once a day then the lastRecordedPullTime timestamp will indicate the exact time that the image was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes the lastRecordedPullTime timestamp at least once every 24 hours, the result may not be the exact time that the image was last pulled.

imageDetail_registryId :: Lens' ImageDetail (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry to which this image belongs.

imageDetail_repositoryName :: Lens' ImageDetail (Maybe Text) Source #

The name of the repository to which this image belongs.

ImageFailure

imageFailure_failureCode :: Lens' ImageFailure (Maybe ImageFailureCode) Source #

The code associated with the failure.

imageFailure_imageId :: Lens' ImageFailure (Maybe ImageIdentifier) Source #

The image ID associated with the failure.

ImageIdentifier

imageIdentifier_imageDigest :: Lens' ImageIdentifier (Maybe Text) Source #

The sha256 digest of the image manifest.

ImageReplicationStatus

imageReplicationStatus_failureCode :: Lens' ImageReplicationStatus (Maybe Text) Source #

The failure code for a replication that has failed.

imageReplicationStatus_region :: Lens' ImageReplicationStatus (Maybe Text) Source #

The destination Region for the image replication.

imageReplicationStatus_registryId :: Lens' ImageReplicationStatus (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry to which the image belongs.

ImageScanFinding

imageScanFinding_attributes :: Lens' ImageScanFinding (Maybe [Attribute]) Source #

A collection of attributes of the host from which the finding is generated.

imageScanFinding_name :: Lens' ImageScanFinding (Maybe Text) Source #

The name associated with the finding, usually a CVE number.

imageScanFinding_uri :: Lens' ImageScanFinding (Maybe Text) Source #

A link containing additional details about the security vulnerability.

ImageScanFindings

imageScanFindings_enhancedFindings :: Lens' ImageScanFindings (Maybe [EnhancedImageScanFinding]) Source #

Details about the enhanced scan findings from Amazon Inspector.

imageScanFindings_imageScanCompletedAt :: Lens' ImageScanFindings (Maybe UTCTime) Source #

The time of the last completed image scan.

imageScanFindings_vulnerabilitySourceUpdatedAt :: Lens' ImageScanFindings (Maybe UTCTime) Source #

The time when the vulnerability data was last scanned.

ImageScanFindingsSummary

ImageScanStatus

imageScanStatus_description :: Lens' ImageScanStatus (Maybe Text) Source #

The description of the image scan status.

imageScanStatus_status :: Lens' ImageScanStatus (Maybe ScanStatus) Source #

The current state of an image scan.

ImageScanningConfiguration

imageScanningConfiguration_scanOnPush :: Lens' ImageScanningConfiguration (Maybe Bool) Source #

The setting that determines whether images are scanned after being pushed to a repository. If set to true, images will be scanned after being pushed. If this parameter is not specified, it will default to false and images will not be scanned unless a scan is manually started with the API_StartImageScan API.

Layer

layer_layerAvailability :: Lens' Layer (Maybe LayerAvailability) Source #

The availability status of the image layer.

layer_layerDigest :: Lens' Layer (Maybe Text) Source #

The sha256 digest of the image layer.

layer_layerSize :: Lens' Layer (Maybe Integer) Source #

The size, in bytes, of the image layer.

layer_mediaType :: Lens' Layer (Maybe Text) Source #

The media type of the layer, such as application/vnd.docker.image.rootfs.diff.tar.gzip or application/vnd.oci.image.layer.v1.tar+gzip.

LayerFailure

layerFailure_failureCode :: Lens' LayerFailure (Maybe LayerFailureCode) Source #

The failure code associated with the failure.

layerFailure_layerDigest :: Lens' LayerFailure (Maybe Text) Source #

The layer digest associated with the failure.

LifecyclePolicyPreviewFilter

LifecyclePolicyPreviewResult

lifecyclePolicyPreviewResult_imagePushedAt :: Lens' LifecyclePolicyPreviewResult (Maybe UTCTime) Source #

The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.

LifecyclePolicyPreviewSummary

LifecyclePolicyRuleAction

ListImagesFilter

listImagesFilter_tagStatus :: Lens' ListImagesFilter (Maybe TagStatus) Source #

The tag status with which to filter your ListImages results. You can filter results based on whether they are TAGGED or UNTAGGED.

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_source :: Lens' PackageVulnerabilityDetails (Maybe Text) Source #

The source of the vulnerability information.

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.

PullThroughCacheRule

pullThroughCacheRule_createdAt :: Lens' PullThroughCacheRule (Maybe UTCTime) Source #

The date and time the pull through cache was created.

pullThroughCacheRule_ecrRepositoryPrefix :: Lens' PullThroughCacheRule (Maybe Text) Source #

The Amazon ECR repository prefix associated with the pull through cache rule.

pullThroughCacheRule_registryId :: Lens' PullThroughCacheRule (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry the pull through cache rule is associated with.

pullThroughCacheRule_upstreamRegistryUrl :: Lens' PullThroughCacheRule (Maybe Text) Source #

The upstream registry URL associated with the pull through cache rule.

Recommendation

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

The recommended course of action to remediate the finding.

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

The URL address to the CVE remediation recommendations.

RegistryScanningConfiguration

RegistryScanningRule

registryScanningRule_scanFrequency :: Lens' RegistryScanningRule ScanFrequency Source #

The frequency that scans are performed at for a private registry. When the ENHANCED scan type is specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When the BASIC scan type is specified, the SCAN_ON_PUSH and MANUAL scan frequencies are supported.

registryScanningRule_repositoryFilters :: Lens' RegistryScanningRule [ScanningRepositoryFilter] Source #

The repository filters associated with the scanning configuration for a private registry.

Remediation

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

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

ReplicationConfiguration

replicationConfiguration_rules :: Lens' ReplicationConfiguration [ReplicationRule] Source #

An array of objects representing the replication destinations and repository filters for a replication configuration.

ReplicationDestination

replicationDestination_registryId :: Lens' ReplicationDestination Text Source #

The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.

ReplicationRule

replicationRule_repositoryFilters :: Lens' ReplicationRule (Maybe (NonEmpty RepositoryFilter)) Source #

An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.

replicationRule_destinations :: Lens' ReplicationRule [ReplicationDestination] Source #

An array of objects representing the destination for a replication rule.

Repository

repository_createdAt :: Lens' Repository (Maybe UTCTime) Source #

The date and time, in JavaScript date format, when the repository was created.

repository_encryptionConfiguration :: Lens' Repository (Maybe EncryptionConfiguration) Source #

The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.

repository_imageTagMutability :: Lens' Repository (Maybe ImageTagMutability) Source #

The tag mutability setting for the repository.

repository_registryId :: Lens' Repository (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository.

repository_repositoryArn :: Lens' Repository (Maybe Text) Source #

The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository/test.

repository_repositoryName :: Lens' Repository (Maybe Text) Source #

The name of the repository.

repository_repositoryUri :: Lens' Repository (Maybe Text) Source #

The URI for the repository. You can use this URI for container image push and pull operations.

RepositoryFilter

repositoryFilter_filter :: Lens' RepositoryFilter Text Source #

The repository filter details. When the PREFIX_MATCH filter type is specified, this value is required and should be the repository name prefix to configure replication for.

repositoryFilter_filterType :: Lens' RepositoryFilter RepositoryFilterType Source #

The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name prefix specified with the filter parameter.

RepositoryScanningConfiguration

repositoryScanningConfiguration_scanOnPush :: Lens' RepositoryScanningConfiguration (Maybe Bool) Source #

Whether or not scan on push is configured for the repository.

RepositoryScanningConfigurationFailure

Resource

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

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

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

The ID of the resource.

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

The tags attached to the resource.

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

The type of resource.

ResourceDetails

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

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

ScanningRepositoryFilter

ScoreDetails

scoreDetails_cvss :: Lens' ScoreDetails (Maybe CvssScoreDetails) Source #

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

Tag

tag_key :: Lens' Tag (Maybe Text) Source #

One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.

tag_value :: Lens' Tag (Maybe Text) Source #

A value acts as a descriptor within a tag category (key).

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_name :: Lens' VulnerablePackage (Maybe Text) Source #

The name of the vulnerable package.

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

The package manager of the vulnerable package.

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

The release of the vulnerable package.

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

The source layer hash of the vulnerable package.

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

The version of the vulnerable package.