Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Service Configuration
- Errors
- EncryptionType
- FindingSeverity
- ImageActionType
- ImageFailureCode
- ImageTagMutability
- LayerAvailability
- LayerFailureCode
- LifecyclePolicyPreviewStatus
- ReplicationStatus
- RepositoryFilterType
- ScanFrequency
- ScanStatus
- ScanType
- ScanningConfigurationFailureCode
- ScanningRepositoryFilterType
- TagStatus
- Attribute
- AuthorizationData
- AwsEcrContainerImageDetails
- CvssScore
- CvssScoreAdjustment
- CvssScoreDetails
- DescribeImagesFilter
- EncryptionConfiguration
- EnhancedImageScanFinding
- Image
- ImageDetail
- ImageFailure
- ImageIdentifier
- ImageReplicationStatus
- ImageScanFinding
- ImageScanFindings
- ImageScanFindingsSummary
- ImageScanStatus
- ImageScanningConfiguration
- Layer
- LayerFailure
- LifecyclePolicyPreviewFilter
- LifecyclePolicyPreviewResult
- LifecyclePolicyPreviewSummary
- LifecyclePolicyRuleAction
- ListImagesFilter
- PackageVulnerabilityDetails
- PullThroughCacheRule
- Recommendation
- RegistryScanningConfiguration
- RegistryScanningRule
- Remediation
- ReplicationConfiguration
- ReplicationDestination
- ReplicationRule
- Repository
- RepositoryFilter
- RepositoryScanningConfiguration
- RepositoryScanningConfigurationFailure
- Resource
- ResourceDetails
- ScanningRepositoryFilter
- ScoreDetails
- Tag
- VulnerablePackage
Synopsis
- defaultService :: Service
- _EmptyUploadException :: AsError a => Fold a ServiceError
- _ImageAlreadyExistsException :: AsError a => Fold a ServiceError
- _ImageDigestDoesNotMatchException :: AsError a => Fold a ServiceError
- _ImageNotFoundException :: AsError a => Fold a ServiceError
- _ImageTagAlreadyExistsException :: AsError a => Fold a ServiceError
- _InvalidLayerException :: AsError a => Fold a ServiceError
- _InvalidLayerPartException :: AsError a => Fold a ServiceError
- _InvalidParameterException :: AsError a => Fold a ServiceError
- _InvalidTagParameterException :: AsError a => Fold a ServiceError
- _KmsException :: AsError a => Fold a ServiceError
- _LayerAlreadyExistsException :: AsError a => Fold a ServiceError
- _LayerInaccessibleException :: AsError a => Fold a ServiceError
- _LayerPartTooSmallException :: AsError a => Fold a ServiceError
- _LayersNotFoundException :: AsError a => Fold a ServiceError
- _LifecyclePolicyNotFoundException :: AsError a => Fold a ServiceError
- _LifecyclePolicyPreviewInProgressException :: AsError a => Fold a ServiceError
- _LifecyclePolicyPreviewNotFoundException :: AsError a => Fold a ServiceError
- _LimitExceededException :: AsError a => Fold a ServiceError
- _PullThroughCacheRuleAlreadyExistsException :: AsError a => Fold a ServiceError
- _PullThroughCacheRuleNotFoundException :: AsError a => Fold a ServiceError
- _ReferencedImagesNotFoundException :: AsError a => Fold a ServiceError
- _RegistryPolicyNotFoundException :: AsError a => Fold a ServiceError
- _RepositoryAlreadyExistsException :: AsError a => Fold a ServiceError
- _RepositoryNotEmptyException :: AsError a => Fold a ServiceError
- _RepositoryNotFoundException :: AsError a => Fold a ServiceError
- _RepositoryPolicyNotFoundException :: AsError a => Fold a ServiceError
- _ScanNotFoundException :: AsError a => Fold a ServiceError
- _ServerException :: AsError a => Fold a ServiceError
- _TooManyTagsException :: AsError a => Fold a ServiceError
- _UnsupportedImageTypeException :: AsError a => Fold a ServiceError
- _UnsupportedUpstreamRegistryException :: AsError a => Fold a ServiceError
- _UploadNotFoundException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- newtype EncryptionType where
- EncryptionType' { }
- pattern EncryptionType_AES256 :: EncryptionType
- pattern EncryptionType_KMS :: EncryptionType
- newtype FindingSeverity where
- FindingSeverity' { }
- pattern FindingSeverity_CRITICAL :: FindingSeverity
- pattern FindingSeverity_HIGH :: FindingSeverity
- pattern FindingSeverity_INFORMATIONAL :: FindingSeverity
- pattern FindingSeverity_LOW :: FindingSeverity
- pattern FindingSeverity_MEDIUM :: FindingSeverity
- pattern FindingSeverity_UNDEFINED :: FindingSeverity
- newtype ImageActionType where
- ImageActionType' { }
- pattern ImageActionType_EXPIRE :: ImageActionType
- newtype ImageFailureCode where
- ImageFailureCode' { }
- pattern ImageFailureCode_ImageNotFound :: ImageFailureCode
- pattern ImageFailureCode_ImageReferencedByManifestList :: ImageFailureCode
- pattern ImageFailureCode_ImageTagDoesNotMatchDigest :: ImageFailureCode
- pattern ImageFailureCode_InvalidImageDigest :: ImageFailureCode
- pattern ImageFailureCode_InvalidImageTag :: ImageFailureCode
- pattern ImageFailureCode_KmsError :: ImageFailureCode
- pattern ImageFailureCode_MissingDigestAndTag :: ImageFailureCode
- newtype ImageTagMutability where
- newtype LayerAvailability where
- newtype LayerFailureCode where
- newtype LifecyclePolicyPreviewStatus where
- LifecyclePolicyPreviewStatus' { }
- pattern LifecyclePolicyPreviewStatus_COMPLETE :: LifecyclePolicyPreviewStatus
- pattern LifecyclePolicyPreviewStatus_EXPIRED :: LifecyclePolicyPreviewStatus
- pattern LifecyclePolicyPreviewStatus_FAILED :: LifecyclePolicyPreviewStatus
- pattern LifecyclePolicyPreviewStatus_IN_PROGRESS :: LifecyclePolicyPreviewStatus
- newtype ReplicationStatus where
- ReplicationStatus' { }
- pattern ReplicationStatus_COMPLETE :: ReplicationStatus
- pattern ReplicationStatus_FAILED :: ReplicationStatus
- pattern ReplicationStatus_IN_PROGRESS :: ReplicationStatus
- newtype RepositoryFilterType where
- newtype ScanFrequency where
- ScanFrequency' { }
- pattern ScanFrequency_CONTINUOUS_SCAN :: ScanFrequency
- pattern ScanFrequency_MANUAL :: ScanFrequency
- pattern ScanFrequency_SCAN_ON_PUSH :: ScanFrequency
- newtype ScanStatus where
- ScanStatus' { }
- pattern ScanStatus_ACTIVE :: ScanStatus
- pattern ScanStatus_COMPLETE :: ScanStatus
- pattern ScanStatus_FAILED :: ScanStatus
- pattern ScanStatus_FINDINGS_UNAVAILABLE :: ScanStatus
- pattern ScanStatus_IN_PROGRESS :: ScanStatus
- pattern ScanStatus_PENDING :: ScanStatus
- pattern ScanStatus_SCAN_ELIGIBILITY_EXPIRED :: ScanStatus
- pattern ScanStatus_UNSUPPORTED_IMAGE :: ScanStatus
- newtype ScanType where
- ScanType' {
- fromScanType :: Text
- pattern ScanType_BASIC :: ScanType
- pattern ScanType_ENHANCED :: ScanType
- ScanType' {
- newtype ScanningConfigurationFailureCode where
- newtype ScanningRepositoryFilterType where
- newtype TagStatus where
- TagStatus' { }
- pattern TagStatus_ANY :: TagStatus
- pattern TagStatus_TAGGED :: TagStatus
- pattern TagStatus_UNTAGGED :: TagStatus
- data Attribute = Attribute' {}
- newAttribute :: Text -> Attribute
- attribute_value :: Lens' Attribute (Maybe Text)
- attribute_key :: Lens' Attribute Text
- data AuthorizationData = AuthorizationData' {}
- newAuthorizationData :: AuthorizationData
- authorizationData_authorizationToken :: Lens' AuthorizationData (Maybe Text)
- authorizationData_expiresAt :: Lens' AuthorizationData (Maybe UTCTime)
- authorizationData_proxyEndpoint :: Lens' AuthorizationData (Maybe Text)
- data AwsEcrContainerImageDetails = AwsEcrContainerImageDetails' {}
- newAwsEcrContainerImageDetails :: AwsEcrContainerImageDetails
- awsEcrContainerImageDetails_architecture :: Lens' AwsEcrContainerImageDetails (Maybe Text)
- awsEcrContainerImageDetails_author :: Lens' AwsEcrContainerImageDetails (Maybe Text)
- awsEcrContainerImageDetails_imageHash :: Lens' AwsEcrContainerImageDetails (Maybe Text)
- awsEcrContainerImageDetails_imageTags :: Lens' AwsEcrContainerImageDetails (Maybe [Text])
- awsEcrContainerImageDetails_platform :: Lens' AwsEcrContainerImageDetails (Maybe Text)
- awsEcrContainerImageDetails_pushedAt :: Lens' AwsEcrContainerImageDetails (Maybe UTCTime)
- awsEcrContainerImageDetails_registry :: Lens' AwsEcrContainerImageDetails (Maybe Text)
- awsEcrContainerImageDetails_repositoryName :: Lens' AwsEcrContainerImageDetails (Maybe Text)
- data CvssScore = CvssScore' {}
- newCvssScore :: CvssScore
- cvssScore_baseScore :: Lens' CvssScore (Maybe Double)
- cvssScore_scoringVector :: Lens' CvssScore (Maybe Text)
- cvssScore_source :: Lens' CvssScore (Maybe Text)
- cvssScore_version :: Lens' CvssScore (Maybe Text)
- data CvssScoreAdjustment = CvssScoreAdjustment' {}
- newCvssScoreAdjustment :: CvssScoreAdjustment
- cvssScoreAdjustment_metric :: Lens' CvssScoreAdjustment (Maybe Text)
- cvssScoreAdjustment_reason :: Lens' CvssScoreAdjustment (Maybe Text)
- data CvssScoreDetails = CvssScoreDetails' {}
- newCvssScoreDetails :: CvssScoreDetails
- cvssScoreDetails_adjustments :: Lens' CvssScoreDetails (Maybe [CvssScoreAdjustment])
- cvssScoreDetails_score :: Lens' CvssScoreDetails (Maybe Double)
- cvssScoreDetails_scoreSource :: Lens' CvssScoreDetails (Maybe Text)
- cvssScoreDetails_scoringVector :: Lens' CvssScoreDetails (Maybe Text)
- cvssScoreDetails_version :: Lens' CvssScoreDetails (Maybe Text)
- data DescribeImagesFilter = DescribeImagesFilter' {}
- newDescribeImagesFilter :: DescribeImagesFilter
- describeImagesFilter_tagStatus :: Lens' DescribeImagesFilter (Maybe TagStatus)
- data EncryptionConfiguration = EncryptionConfiguration' {}
- newEncryptionConfiguration :: EncryptionType -> EncryptionConfiguration
- encryptionConfiguration_kmsKey :: Lens' EncryptionConfiguration (Maybe Text)
- encryptionConfiguration_encryptionType :: Lens' EncryptionConfiguration EncryptionType
- data EnhancedImageScanFinding = EnhancedImageScanFinding' {
- awsAccountId :: Maybe Text
- description :: Maybe Text
- findingArn :: Maybe Text
- firstObservedAt :: Maybe POSIX
- lastObservedAt :: Maybe POSIX
- packageVulnerabilityDetails :: Maybe PackageVulnerabilityDetails
- remediation :: Maybe Remediation
- resources :: Maybe [Resource]
- score :: Maybe Double
- scoreDetails :: Maybe ScoreDetails
- severity :: Maybe Text
- status :: Maybe Text
- title :: Maybe Text
- type' :: Maybe Text
- updatedAt :: Maybe POSIX
- newEnhancedImageScanFinding :: EnhancedImageScanFinding
- enhancedImageScanFinding_awsAccountId :: Lens' EnhancedImageScanFinding (Maybe Text)
- enhancedImageScanFinding_description :: Lens' EnhancedImageScanFinding (Maybe Text)
- enhancedImageScanFinding_findingArn :: Lens' EnhancedImageScanFinding (Maybe Text)
- enhancedImageScanFinding_firstObservedAt :: Lens' EnhancedImageScanFinding (Maybe UTCTime)
- enhancedImageScanFinding_lastObservedAt :: Lens' EnhancedImageScanFinding (Maybe UTCTime)
- enhancedImageScanFinding_packageVulnerabilityDetails :: Lens' EnhancedImageScanFinding (Maybe PackageVulnerabilityDetails)
- enhancedImageScanFinding_remediation :: Lens' EnhancedImageScanFinding (Maybe Remediation)
- enhancedImageScanFinding_resources :: Lens' EnhancedImageScanFinding (Maybe [Resource])
- enhancedImageScanFinding_score :: Lens' EnhancedImageScanFinding (Maybe Double)
- enhancedImageScanFinding_scoreDetails :: Lens' EnhancedImageScanFinding (Maybe ScoreDetails)
- enhancedImageScanFinding_severity :: Lens' EnhancedImageScanFinding (Maybe Text)
- enhancedImageScanFinding_status :: Lens' EnhancedImageScanFinding (Maybe Text)
- enhancedImageScanFinding_title :: Lens' EnhancedImageScanFinding (Maybe Text)
- enhancedImageScanFinding_type :: Lens' EnhancedImageScanFinding (Maybe Text)
- enhancedImageScanFinding_updatedAt :: Lens' EnhancedImageScanFinding (Maybe UTCTime)
- data Image = Image' {}
- newImage :: Image
- image_imageId :: Lens' Image (Maybe ImageIdentifier)
- image_imageManifest :: Lens' Image (Maybe Text)
- image_imageManifestMediaType :: Lens' Image (Maybe Text)
- image_registryId :: Lens' Image (Maybe Text)
- image_repositoryName :: Lens' Image (Maybe Text)
- data ImageDetail = ImageDetail' {
- artifactMediaType :: Maybe Text
- imageDigest :: Maybe Text
- imageManifestMediaType :: Maybe Text
- imagePushedAt :: Maybe POSIX
- imageScanFindingsSummary :: Maybe ImageScanFindingsSummary
- imageScanStatus :: Maybe ImageScanStatus
- imageSizeInBytes :: Maybe Integer
- imageTags :: Maybe [Text]
- lastRecordedPullTime :: Maybe POSIX
- registryId :: Maybe Text
- repositoryName :: Maybe Text
- newImageDetail :: ImageDetail
- imageDetail_artifactMediaType :: Lens' ImageDetail (Maybe Text)
- imageDetail_imageDigest :: Lens' ImageDetail (Maybe Text)
- imageDetail_imageManifestMediaType :: Lens' ImageDetail (Maybe Text)
- imageDetail_imagePushedAt :: Lens' ImageDetail (Maybe UTCTime)
- imageDetail_imageScanFindingsSummary :: Lens' ImageDetail (Maybe ImageScanFindingsSummary)
- imageDetail_imageScanStatus :: Lens' ImageDetail (Maybe ImageScanStatus)
- imageDetail_imageSizeInBytes :: Lens' ImageDetail (Maybe Integer)
- imageDetail_imageTags :: Lens' ImageDetail (Maybe [Text])
- imageDetail_lastRecordedPullTime :: Lens' ImageDetail (Maybe UTCTime)
- imageDetail_registryId :: Lens' ImageDetail (Maybe Text)
- imageDetail_repositoryName :: Lens' ImageDetail (Maybe Text)
- data ImageFailure = ImageFailure' {}
- newImageFailure :: ImageFailure
- imageFailure_failureCode :: Lens' ImageFailure (Maybe ImageFailureCode)
- imageFailure_failureReason :: Lens' ImageFailure (Maybe Text)
- imageFailure_imageId :: Lens' ImageFailure (Maybe ImageIdentifier)
- data ImageIdentifier = ImageIdentifier' {}
- newImageIdentifier :: ImageIdentifier
- imageIdentifier_imageDigest :: Lens' ImageIdentifier (Maybe Text)
- imageIdentifier_imageTag :: Lens' ImageIdentifier (Maybe Text)
- data ImageReplicationStatus = ImageReplicationStatus' {}
- newImageReplicationStatus :: ImageReplicationStatus
- imageReplicationStatus_failureCode :: Lens' ImageReplicationStatus (Maybe Text)
- imageReplicationStatus_region :: Lens' ImageReplicationStatus (Maybe Text)
- imageReplicationStatus_registryId :: Lens' ImageReplicationStatus (Maybe Text)
- imageReplicationStatus_status :: Lens' ImageReplicationStatus (Maybe ReplicationStatus)
- data ImageScanFinding = ImageScanFinding' {
- attributes :: Maybe [Attribute]
- description :: Maybe Text
- name :: Maybe Text
- severity :: Maybe FindingSeverity
- uri :: Maybe Text
- newImageScanFinding :: ImageScanFinding
- imageScanFinding_attributes :: Lens' ImageScanFinding (Maybe [Attribute])
- imageScanFinding_description :: Lens' ImageScanFinding (Maybe Text)
- imageScanFinding_name :: Lens' ImageScanFinding (Maybe Text)
- imageScanFinding_severity :: Lens' ImageScanFinding (Maybe FindingSeverity)
- imageScanFinding_uri :: Lens' ImageScanFinding (Maybe Text)
- data ImageScanFindings = ImageScanFindings' {}
- newImageScanFindings :: ImageScanFindings
- imageScanFindings_enhancedFindings :: Lens' ImageScanFindings (Maybe [EnhancedImageScanFinding])
- imageScanFindings_findingSeverityCounts :: Lens' ImageScanFindings (Maybe (HashMap FindingSeverity Natural))
- imageScanFindings_findings :: Lens' ImageScanFindings (Maybe [ImageScanFinding])
- imageScanFindings_imageScanCompletedAt :: Lens' ImageScanFindings (Maybe UTCTime)
- imageScanFindings_vulnerabilitySourceUpdatedAt :: Lens' ImageScanFindings (Maybe UTCTime)
- data ImageScanFindingsSummary = ImageScanFindingsSummary' {}
- newImageScanFindingsSummary :: ImageScanFindingsSummary
- imageScanFindingsSummary_findingSeverityCounts :: Lens' ImageScanFindingsSummary (Maybe (HashMap FindingSeverity Natural))
- imageScanFindingsSummary_imageScanCompletedAt :: Lens' ImageScanFindingsSummary (Maybe UTCTime)
- imageScanFindingsSummary_vulnerabilitySourceUpdatedAt :: Lens' ImageScanFindingsSummary (Maybe UTCTime)
- data ImageScanStatus = ImageScanStatus' {}
- newImageScanStatus :: ImageScanStatus
- imageScanStatus_description :: Lens' ImageScanStatus (Maybe Text)
- imageScanStatus_status :: Lens' ImageScanStatus (Maybe ScanStatus)
- data ImageScanningConfiguration = ImageScanningConfiguration' {
- scanOnPush :: Maybe Bool
- newImageScanningConfiguration :: ImageScanningConfiguration
- imageScanningConfiguration_scanOnPush :: Lens' ImageScanningConfiguration (Maybe Bool)
- data Layer = Layer' {}
- newLayer :: Layer
- layer_layerAvailability :: Lens' Layer (Maybe LayerAvailability)
- layer_layerDigest :: Lens' Layer (Maybe Text)
- layer_layerSize :: Lens' Layer (Maybe Integer)
- layer_mediaType :: Lens' Layer (Maybe Text)
- data LayerFailure = LayerFailure' {}
- newLayerFailure :: LayerFailure
- layerFailure_failureCode :: Lens' LayerFailure (Maybe LayerFailureCode)
- layerFailure_failureReason :: Lens' LayerFailure (Maybe Text)
- layerFailure_layerDigest :: Lens' LayerFailure (Maybe Text)
- data LifecyclePolicyPreviewFilter = LifecyclePolicyPreviewFilter' {}
- newLifecyclePolicyPreviewFilter :: LifecyclePolicyPreviewFilter
- lifecyclePolicyPreviewFilter_tagStatus :: Lens' LifecyclePolicyPreviewFilter (Maybe TagStatus)
- data LifecyclePolicyPreviewResult = LifecyclePolicyPreviewResult' {}
- newLifecyclePolicyPreviewResult :: LifecyclePolicyPreviewResult
- lifecyclePolicyPreviewResult_action :: Lens' LifecyclePolicyPreviewResult (Maybe LifecyclePolicyRuleAction)
- lifecyclePolicyPreviewResult_appliedRulePriority :: Lens' LifecyclePolicyPreviewResult (Maybe Natural)
- lifecyclePolicyPreviewResult_imageDigest :: Lens' LifecyclePolicyPreviewResult (Maybe Text)
- lifecyclePolicyPreviewResult_imagePushedAt :: Lens' LifecyclePolicyPreviewResult (Maybe UTCTime)
- lifecyclePolicyPreviewResult_imageTags :: Lens' LifecyclePolicyPreviewResult (Maybe [Text])
- data LifecyclePolicyPreviewSummary = LifecyclePolicyPreviewSummary' {}
- newLifecyclePolicyPreviewSummary :: LifecyclePolicyPreviewSummary
- lifecyclePolicyPreviewSummary_expiringImageTotalCount :: Lens' LifecyclePolicyPreviewSummary (Maybe Natural)
- data LifecyclePolicyRuleAction = LifecyclePolicyRuleAction' {}
- newLifecyclePolicyRuleAction :: LifecyclePolicyRuleAction
- lifecyclePolicyRuleAction_type :: Lens' LifecyclePolicyRuleAction (Maybe ImageActionType)
- data ListImagesFilter = ListImagesFilter' {}
- newListImagesFilter :: ListImagesFilter
- listImagesFilter_tagStatus :: Lens' ListImagesFilter (Maybe TagStatus)
- data PackageVulnerabilityDetails = PackageVulnerabilityDetails' {}
- newPackageVulnerabilityDetails :: PackageVulnerabilityDetails
- packageVulnerabilityDetails_cvss :: Lens' PackageVulnerabilityDetails (Maybe [CvssScore])
- packageVulnerabilityDetails_referenceUrls :: Lens' PackageVulnerabilityDetails (Maybe [Text])
- packageVulnerabilityDetails_relatedVulnerabilities :: Lens' PackageVulnerabilityDetails (Maybe [Text])
- packageVulnerabilityDetails_source :: Lens' PackageVulnerabilityDetails (Maybe Text)
- packageVulnerabilityDetails_sourceUrl :: Lens' PackageVulnerabilityDetails (Maybe Text)
- packageVulnerabilityDetails_vendorCreatedAt :: Lens' PackageVulnerabilityDetails (Maybe UTCTime)
- packageVulnerabilityDetails_vendorSeverity :: Lens' PackageVulnerabilityDetails (Maybe Text)
- packageVulnerabilityDetails_vendorUpdatedAt :: Lens' PackageVulnerabilityDetails (Maybe UTCTime)
- packageVulnerabilityDetails_vulnerabilityId :: Lens' PackageVulnerabilityDetails (Maybe Text)
- packageVulnerabilityDetails_vulnerablePackages :: Lens' PackageVulnerabilityDetails (Maybe [VulnerablePackage])
- data PullThroughCacheRule = PullThroughCacheRule' {}
- newPullThroughCacheRule :: PullThroughCacheRule
- pullThroughCacheRule_createdAt :: Lens' PullThroughCacheRule (Maybe UTCTime)
- pullThroughCacheRule_ecrRepositoryPrefix :: Lens' PullThroughCacheRule (Maybe Text)
- pullThroughCacheRule_registryId :: Lens' PullThroughCacheRule (Maybe Text)
- pullThroughCacheRule_upstreamRegistryUrl :: Lens' PullThroughCacheRule (Maybe Text)
- data Recommendation = Recommendation' {}
- newRecommendation :: Recommendation
- recommendation_text :: Lens' Recommendation (Maybe Text)
- recommendation_url :: Lens' Recommendation (Maybe Text)
- data RegistryScanningConfiguration = RegistryScanningConfiguration' {}
- newRegistryScanningConfiguration :: RegistryScanningConfiguration
- registryScanningConfiguration_rules :: Lens' RegistryScanningConfiguration (Maybe [RegistryScanningRule])
- registryScanningConfiguration_scanType :: Lens' RegistryScanningConfiguration (Maybe ScanType)
- data RegistryScanningRule = RegistryScanningRule' {}
- newRegistryScanningRule :: ScanFrequency -> RegistryScanningRule
- registryScanningRule_scanFrequency :: Lens' RegistryScanningRule ScanFrequency
- registryScanningRule_repositoryFilters :: Lens' RegistryScanningRule [ScanningRepositoryFilter]
- data Remediation = Remediation' {}
- newRemediation :: Remediation
- remediation_recommendation :: Lens' Remediation (Maybe Recommendation)
- data ReplicationConfiguration = ReplicationConfiguration' {
- rules :: [ReplicationRule]
- newReplicationConfiguration :: ReplicationConfiguration
- replicationConfiguration_rules :: Lens' ReplicationConfiguration [ReplicationRule]
- data ReplicationDestination = ReplicationDestination' {
- region :: Text
- registryId :: Text
- newReplicationDestination :: Text -> Text -> ReplicationDestination
- replicationDestination_region :: Lens' ReplicationDestination Text
- replicationDestination_registryId :: Lens' ReplicationDestination Text
- data ReplicationRule = ReplicationRule' {}
- newReplicationRule :: ReplicationRule
- replicationRule_repositoryFilters :: Lens' ReplicationRule (Maybe (NonEmpty RepositoryFilter))
- replicationRule_destinations :: Lens' ReplicationRule [ReplicationDestination]
- data Repository = Repository' {}
- newRepository :: Repository
- repository_createdAt :: Lens' Repository (Maybe UTCTime)
- repository_encryptionConfiguration :: Lens' Repository (Maybe EncryptionConfiguration)
- repository_imageScanningConfiguration :: Lens' Repository (Maybe ImageScanningConfiguration)
- repository_imageTagMutability :: Lens' Repository (Maybe ImageTagMutability)
- repository_registryId :: Lens' Repository (Maybe Text)
- repository_repositoryArn :: Lens' Repository (Maybe Text)
- repository_repositoryName :: Lens' Repository (Maybe Text)
- repository_repositoryUri :: Lens' Repository (Maybe Text)
- data RepositoryFilter = RepositoryFilter' {}
- newRepositoryFilter :: Text -> RepositoryFilterType -> RepositoryFilter
- repositoryFilter_filter :: Lens' RepositoryFilter Text
- repositoryFilter_filterType :: Lens' RepositoryFilter RepositoryFilterType
- data RepositoryScanningConfiguration = RepositoryScanningConfiguration' {}
- newRepositoryScanningConfiguration :: RepositoryScanningConfiguration
- repositoryScanningConfiguration_appliedScanFilters :: Lens' RepositoryScanningConfiguration (Maybe [ScanningRepositoryFilter])
- repositoryScanningConfiguration_repositoryArn :: Lens' RepositoryScanningConfiguration (Maybe Text)
- repositoryScanningConfiguration_repositoryName :: Lens' RepositoryScanningConfiguration (Maybe Text)
- repositoryScanningConfiguration_scanFrequency :: Lens' RepositoryScanningConfiguration (Maybe ScanFrequency)
- repositoryScanningConfiguration_scanOnPush :: Lens' RepositoryScanningConfiguration (Maybe Bool)
- data RepositoryScanningConfigurationFailure = RepositoryScanningConfigurationFailure' {}
- newRepositoryScanningConfigurationFailure :: RepositoryScanningConfigurationFailure
- repositoryScanningConfigurationFailure_failureCode :: Lens' RepositoryScanningConfigurationFailure (Maybe ScanningConfigurationFailureCode)
- repositoryScanningConfigurationFailure_failureReason :: Lens' RepositoryScanningConfigurationFailure (Maybe Text)
- repositoryScanningConfigurationFailure_repositoryName :: Lens' RepositoryScanningConfigurationFailure (Maybe Text)
- data Resource = Resource' {}
- newResource :: Resource
- resource_details :: Lens' Resource (Maybe ResourceDetails)
- resource_id :: Lens' Resource (Maybe Text)
- resource_tags :: Lens' Resource (Maybe (HashMap Text Text))
- resource_type :: Lens' Resource (Maybe Text)
- data ResourceDetails = ResourceDetails' {}
- newResourceDetails :: ResourceDetails
- resourceDetails_awsEcrContainerImage :: Lens' ResourceDetails (Maybe AwsEcrContainerImageDetails)
- data ScanningRepositoryFilter = ScanningRepositoryFilter' {}
- newScanningRepositoryFilter :: Text -> ScanningRepositoryFilterType -> ScanningRepositoryFilter
- scanningRepositoryFilter_filter :: Lens' ScanningRepositoryFilter Text
- scanningRepositoryFilter_filterType :: Lens' ScanningRepositoryFilter ScanningRepositoryFilterType
- data ScoreDetails = ScoreDetails' {}
- newScoreDetails :: ScoreDetails
- scoreDetails_cvss :: Lens' ScoreDetails (Maybe CvssScoreDetails)
- data Tag = Tag' {}
- newTag :: Tag
- tag_key :: Lens' Tag (Maybe Text)
- tag_value :: Lens' Tag (Maybe Text)
- data VulnerablePackage = VulnerablePackage' {}
- newVulnerablePackage :: VulnerablePackage
- vulnerablePackage_arch :: Lens' VulnerablePackage (Maybe Text)
- vulnerablePackage_epoch :: Lens' VulnerablePackage (Maybe Int)
- vulnerablePackage_filePath :: Lens' VulnerablePackage (Maybe Text)
- vulnerablePackage_name :: Lens' VulnerablePackage (Maybe Text)
- vulnerablePackage_packageManager :: Lens' VulnerablePackage (Maybe Text)
- vulnerablePackage_release :: Lens' VulnerablePackage (Maybe Text)
- vulnerablePackage_sourceLayerHash :: Lens' VulnerablePackage (Maybe Text)
- vulnerablePackage_version :: Lens' VulnerablePackage (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2015-09-21
of the Amazon EC2 Container Registry SDK configuration.
Errors
_EmptyUploadException :: AsError a => Fold a ServiceError Source #
The specified layer upload does not contain any layer parts.
_ImageAlreadyExistsException :: AsError a => Fold a ServiceError Source #
The specified image has already been pushed, and there were no changes to the manifest or image tag after the last push.
_ImageDigestDoesNotMatchException :: AsError a => Fold a ServiceError Source #
The specified image digest does not match the digest that Amazon ECR calculated for the image.
_ImageNotFoundException :: AsError a => Fold a ServiceError Source #
The image requested does not exist in the specified repository.
_ImageTagAlreadyExistsException :: AsError a => Fold a ServiceError Source #
The specified image is tagged with a tag that already exists. The repository is configured for tag immutability.
_InvalidLayerException :: AsError a => Fold a ServiceError Source #
The layer digest calculation performed by Amazon ECR upon receipt of the image layer does not match the digest specified.
_InvalidLayerPartException :: AsError a => Fold a ServiceError Source #
The layer part size is not valid, or the first byte specified is not consecutive to the last byte of a previous layer part upload.
_InvalidParameterException :: AsError a => Fold a ServiceError Source #
The specified parameter is invalid. Review the available parameters for the API request.
_InvalidTagParameterException :: AsError a => Fold a ServiceError Source #
An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
_KmsException :: AsError a => Fold a ServiceError Source #
The operation failed due to a KMS exception.
_LayerAlreadyExistsException :: AsError a => Fold a ServiceError Source #
The image layer already exists in the associated repository.
_LayerInaccessibleException :: AsError a => Fold a ServiceError Source #
The specified layer is not available because it is not associated with an image. Unassociated image layers may be cleaned up at any time.
_LayerPartTooSmallException :: AsError a => Fold a ServiceError Source #
Layer parts must be at least 5 MiB in size.
_LayersNotFoundException :: AsError a => Fold a ServiceError Source #
The specified layers could not be found, or the specified layer is not valid for this repository.
_LifecyclePolicyNotFoundException :: AsError a => Fold a ServiceError Source #
The lifecycle policy could not be found, and no policy is set to the repository.
_LifecyclePolicyPreviewInProgressException :: AsError a => Fold a ServiceError Source #
The previous lifecycle policy preview request has not completed. Wait and try again.
_LifecyclePolicyPreviewNotFoundException :: AsError a => Fold a ServiceError Source #
There is no dry run for this repository.
_LimitExceededException :: AsError a => Fold a ServiceError Source #
The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR service quotas in the Amazon Elastic Container Registry User Guide.
_PullThroughCacheRuleAlreadyExistsException :: AsError a => Fold a ServiceError Source #
A pull through cache rule with these settings already exists for the private registry.
_PullThroughCacheRuleNotFoundException :: AsError a => Fold a ServiceError Source #
The pull through cache rule was not found. Specify a valid pull through cache rule and try again.
_ReferencedImagesNotFoundException :: AsError a => Fold a ServiceError Source #
The manifest list is referencing an image that does not exist.
_RegistryPolicyNotFoundException :: AsError a => Fold a ServiceError Source #
The registry doesn't have an associated registry policy.
_RepositoryAlreadyExistsException :: AsError a => Fold a ServiceError Source #
The specified repository already exists in the specified registry.
_RepositoryNotEmptyException :: AsError a => Fold a ServiceError Source #
The specified repository contains images. To delete a repository that
contains images, you must force the deletion with the force
parameter.
_RepositoryNotFoundException :: AsError a => Fold a ServiceError Source #
The specified repository could not be found. Check the spelling of the specified repository and ensure that you are performing operations on the correct registry.
_RepositoryPolicyNotFoundException :: AsError a => Fold a ServiceError Source #
The specified repository and registry combination does not have an associated repository policy.
_ScanNotFoundException :: AsError a => Fold a ServiceError Source #
The specified image scan could not be found. Ensure that image scanning is enabled on the repository and try again.
_ServerException :: AsError a => Fold a ServiceError Source #
These errors are usually caused by a server-side issue.
_TooManyTagsException :: AsError a => Fold a ServiceError Source #
The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50.
_UnsupportedImageTypeException :: AsError a => Fold a ServiceError Source #
The image is of a type that cannot be scanned.
_UnsupportedUpstreamRegistryException :: AsError a => Fold a ServiceError Source #
The specified upstream registry isn't supported.
_UploadNotFoundException :: AsError a => Fold a ServiceError Source #
The upload could not be found, or the specified upload ID is not valid for this repository.
_ValidationException :: AsError a => Fold a ServiceError Source #
There was an exception validating this request.
EncryptionType
newtype EncryptionType Source #
pattern EncryptionType_AES256 :: EncryptionType | |
pattern EncryptionType_KMS :: EncryptionType |
Instances
FindingSeverity
newtype FindingSeverity Source #
pattern FindingSeverity_CRITICAL :: FindingSeverity | |
pattern FindingSeverity_HIGH :: FindingSeverity | |
pattern FindingSeverity_INFORMATIONAL :: FindingSeverity | |
pattern FindingSeverity_LOW :: FindingSeverity | |
pattern FindingSeverity_MEDIUM :: FindingSeverity | |
pattern FindingSeverity_UNDEFINED :: FindingSeverity |
Instances
ImageActionType
newtype ImageActionType Source #
pattern ImageActionType_EXPIRE :: ImageActionType |
Instances
ImageFailureCode
newtype ImageFailureCode Source #
pattern ImageFailureCode_ImageNotFound :: ImageFailureCode | |
pattern ImageFailureCode_ImageReferencedByManifestList :: ImageFailureCode | |
pattern ImageFailureCode_ImageTagDoesNotMatchDigest :: ImageFailureCode | |
pattern ImageFailureCode_InvalidImageDigest :: ImageFailureCode | |
pattern ImageFailureCode_InvalidImageTag :: ImageFailureCode | |
pattern ImageFailureCode_KmsError :: ImageFailureCode | |
pattern ImageFailureCode_MissingDigestAndTag :: ImageFailureCode |
Instances
ImageTagMutability
newtype ImageTagMutability Source #
pattern ImageTagMutability_IMMUTABLE :: ImageTagMutability | |
pattern ImageTagMutability_MUTABLE :: ImageTagMutability |
Instances
LayerAvailability
newtype LayerAvailability Source #
pattern LayerAvailability_AVAILABLE :: LayerAvailability | |
pattern LayerAvailability_UNAVAILABLE :: LayerAvailability |
Instances
LayerFailureCode
newtype LayerFailureCode Source #
pattern LayerFailureCode_InvalidLayerDigest :: LayerFailureCode | |
pattern LayerFailureCode_MissingLayerDigest :: LayerFailureCode |
Instances
LifecyclePolicyPreviewStatus
newtype LifecyclePolicyPreviewStatus Source #
Instances
ReplicationStatus
newtype ReplicationStatus Source #
pattern ReplicationStatus_COMPLETE :: ReplicationStatus | |
pattern ReplicationStatus_FAILED :: ReplicationStatus | |
pattern ReplicationStatus_IN_PROGRESS :: ReplicationStatus |
Instances
RepositoryFilterType
newtype RepositoryFilterType Source #
Instances
ScanFrequency
newtype ScanFrequency Source #
pattern ScanFrequency_CONTINUOUS_SCAN :: ScanFrequency | |
pattern ScanFrequency_MANUAL :: ScanFrequency | |
pattern ScanFrequency_SCAN_ON_PUSH :: ScanFrequency |
Instances
ScanStatus
newtype ScanStatus Source #
pattern ScanStatus_ACTIVE :: ScanStatus | |
pattern ScanStatus_COMPLETE :: ScanStatus | |
pattern ScanStatus_FAILED :: ScanStatus | |
pattern ScanStatus_FINDINGS_UNAVAILABLE :: ScanStatus | |
pattern ScanStatus_IN_PROGRESS :: ScanStatus | |
pattern ScanStatus_PENDING :: ScanStatus | |
pattern ScanStatus_SCAN_ELIGIBILITY_EXPIRED :: ScanStatus | |
pattern ScanStatus_UNSUPPORTED_IMAGE :: ScanStatus |
Instances
ScanType
pattern ScanType_BASIC :: ScanType | |
pattern ScanType_ENHANCED :: ScanType |
Instances
ScanningConfigurationFailureCode
newtype ScanningConfigurationFailureCode Source #
Instances
ScanningRepositoryFilterType
newtype ScanningRepositoryFilterType Source #
Instances
TagStatus
pattern TagStatus_ANY :: TagStatus | |
pattern TagStatus_TAGGED :: TagStatus | |
pattern TagStatus_UNTAGGED :: TagStatus |
Instances
Attribute
This data type is used in the ImageScanFinding data type.
See: newAttribute
smart constructor.
Instances
FromJSON Attribute Source # | |
Generic Attribute Source # | |
Read Attribute Source # | |
Show Attribute Source # | |
NFData Attribute Source # | |
Defined in Amazonka.ECR.Types.Attribute | |
Eq Attribute Source # | |
Hashable Attribute Source # | |
Defined in Amazonka.ECR.Types.Attribute | |
type Rep Attribute Source # | |
Defined in Amazonka.ECR.Types.Attribute type Rep Attribute = D1 ('MetaData "Attribute" "Amazonka.ECR.Types.Attribute" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "Attribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Attribute
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:Attribute'
, attribute_value
- The value assigned to the attribute key.
$sel:key:Attribute'
, attribute_key
- The attribute key.
AuthorizationData
data AuthorizationData Source #
An object representing authorization data for an Amazon ECR registry.
See: newAuthorizationData
smart constructor.
AuthorizationData' | |
|
Instances
newAuthorizationData :: AuthorizationData Source #
Create a value of AuthorizationData
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authorizationToken:AuthorizationData'
, authorizationData_authorizationToken
- 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
.
$sel:expiresAt:AuthorizationData'
, authorizationData_expiresAt
- The Unix time in seconds and milliseconds when the authorization token
expires. Authorization tokens are valid for 12 hours.
$sel:proxyEndpoint:AuthorizationData'
, authorizationData_proxyEndpoint
- 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
..
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
data AwsEcrContainerImageDetails Source #
The image details of the Amazon ECR container image.
See: newAwsEcrContainerImageDetails
smart constructor.
AwsEcrContainerImageDetails' | |
|
Instances
newAwsEcrContainerImageDetails :: AwsEcrContainerImageDetails Source #
Create a value of AwsEcrContainerImageDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:architecture:AwsEcrContainerImageDetails'
, awsEcrContainerImageDetails_architecture
- The architecture of the Amazon ECR container image.
$sel:author:AwsEcrContainerImageDetails'
, awsEcrContainerImageDetails_author
- The image author of the Amazon ECR container image.
$sel:imageHash:AwsEcrContainerImageDetails'
, awsEcrContainerImageDetails_imageHash
- The image hash of the Amazon ECR container image.
$sel:imageTags:AwsEcrContainerImageDetails'
, awsEcrContainerImageDetails_imageTags
- The image tags attached to the Amazon ECR container image.
$sel:platform:AwsEcrContainerImageDetails'
, awsEcrContainerImageDetails_platform
- The platform of the Amazon ECR container image.
$sel:pushedAt:AwsEcrContainerImageDetails'
, awsEcrContainerImageDetails_pushedAt
- The date and time the Amazon ECR container image was pushed.
$sel:registry:AwsEcrContainerImageDetails'
, awsEcrContainerImageDetails_registry
- The registry the Amazon ECR container image belongs to.
$sel:repositoryName:AwsEcrContainerImageDetails'
, awsEcrContainerImageDetails_repositoryName
- The name of the repository the Amazon ECR container image resides in.
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
The CVSS score for a finding.
See: newCvssScore
smart constructor.
Instances
FromJSON CvssScore Source # | |
Generic CvssScore Source # | |
Read CvssScore Source # | |
Show CvssScore Source # | |
NFData CvssScore Source # | |
Defined in Amazonka.ECR.Types.CvssScore | |
Eq CvssScore Source # | |
Hashable CvssScore Source # | |
Defined in Amazonka.ECR.Types.CvssScore | |
type Rep CvssScore Source # | |
Defined in Amazonka.ECR.Types.CvssScore type Rep CvssScore = D1 ('MetaData "CvssScore" "Amazonka.ECR.Types.CvssScore" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "CvssScore'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "baseScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "scoringVector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newCvssScore :: CvssScore Source #
Create a value of CvssScore
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:baseScore:CvssScore'
, cvssScore_baseScore
- The base CVSS score used for the finding.
$sel:scoringVector:CvssScore'
, cvssScore_scoringVector
- The vector string of the CVSS score.
$sel:source:CvssScore'
, cvssScore_source
- The source of the CVSS score.
$sel:version:CvssScore'
, cvssScore_version
- The version of CVSS used for the score.
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.
CvssScoreAdjustment
data CvssScoreAdjustment Source #
Details on adjustments Amazon Inspector made to the CVSS score for a finding.
See: newCvssScoreAdjustment
smart constructor.
Instances
newCvssScoreAdjustment :: CvssScoreAdjustment Source #
Create a value of CvssScoreAdjustment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:metric:CvssScoreAdjustment'
, cvssScoreAdjustment_metric
- The metric used to adjust the CVSS score.
$sel:reason:CvssScoreAdjustment'
, cvssScoreAdjustment_reason
- The reason the CVSS score has been adjustment.
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
data CvssScoreDetails Source #
Information about the CVSS score.
See: newCvssScoreDetails
smart constructor.
CvssScoreDetails' | |
|
Instances
newCvssScoreDetails :: CvssScoreDetails Source #
Create a value of CvssScoreDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:adjustments:CvssScoreDetails'
, cvssScoreDetails_adjustments
- An object that contains details about adjustment Amazon Inspector made
to the CVSS score.
$sel:score:CvssScoreDetails'
, cvssScoreDetails_score
- The CVSS score.
$sel:scoreSource:CvssScoreDetails'
, cvssScoreDetails_scoreSource
- The source for the CVSS score.
$sel:scoringVector:CvssScoreDetails'
, cvssScoreDetails_scoringVector
- The vector for the CVSS score.
$sel:version:CvssScoreDetails'
, cvssScoreDetails_version
- The CVSS version used in scoring.
cvssScoreDetails_adjustments :: Lens' CvssScoreDetails (Maybe [CvssScoreAdjustment]) Source #
An object that contains details about adjustment Amazon Inspector made to the CVSS score.
cvssScoreDetails_score :: Lens' CvssScoreDetails (Maybe Double) Source #
The CVSS score.
cvssScoreDetails_scoreSource :: Lens' CvssScoreDetails (Maybe Text) Source #
The source for the CVSS score.
cvssScoreDetails_scoringVector :: Lens' CvssScoreDetails (Maybe Text) Source #
The vector for the CVSS score.
cvssScoreDetails_version :: Lens' CvssScoreDetails (Maybe Text) Source #
The CVSS version used in scoring.
DescribeImagesFilter
data DescribeImagesFilter Source #
An object representing a filter on a DescribeImages operation.
See: newDescribeImagesFilter
smart constructor.
Instances
newDescribeImagesFilter :: DescribeImagesFilter Source #
Create a value of DescribeImagesFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tagStatus:DescribeImagesFilter'
, describeImagesFilter_tagStatus
- The tag status with which to filter your DescribeImages results. You can
filter results based on whether they are TAGGED
or UNTAGGED
.
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
data EncryptionConfiguration Source #
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
By default, when no encryption configuration is set or the AES256
encryption type is used, Amazon ECR uses server-side encryption with
Amazon S3-managed encryption keys which encrypts your data at rest using
an AES-256 encryption algorithm. This does not require any action on
your part.
For more control over the encryption of the contents of your repository, you can use server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your images. For more information, see Amazon ECR encryption at rest in the Amazon Elastic Container Registry User Guide.
See: newEncryptionConfiguration
smart constructor.
EncryptionConfiguration' | |
|
Instances
newEncryptionConfiguration Source #
Create a value of EncryptionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:kmsKey:EncryptionConfiguration'
, encryptionConfiguration_kmsKey
- 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.
$sel:encryptionType:EncryptionConfiguration'
, encryptionConfiguration_encryptionType
- 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.
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
data EnhancedImageScanFinding Source #
The details of an enhanced image scan. This is returned when enhanced scanning is enabled for your private registry.
See: newEnhancedImageScanFinding
smart constructor.
EnhancedImageScanFinding' | |
|
Instances
newEnhancedImageScanFinding :: EnhancedImageScanFinding Source #
Create a value of EnhancedImageScanFinding
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:awsAccountId:EnhancedImageScanFinding'
, enhancedImageScanFinding_awsAccountId
- The Amazon Web Services account ID associated with the image.
$sel:description:EnhancedImageScanFinding'
, enhancedImageScanFinding_description
- The description of the finding.
$sel:findingArn:EnhancedImageScanFinding'
, enhancedImageScanFinding_findingArn
- The Amazon Resource Number (ARN) of the finding.
$sel:firstObservedAt:EnhancedImageScanFinding'
, enhancedImageScanFinding_firstObservedAt
- The date and time that the finding was first observed.
$sel:lastObservedAt:EnhancedImageScanFinding'
, enhancedImageScanFinding_lastObservedAt
- The date and time that the finding was last observed.
$sel:packageVulnerabilityDetails:EnhancedImageScanFinding'
, enhancedImageScanFinding_packageVulnerabilityDetails
- An object that contains the details of a package vulnerability finding.
$sel:remediation:EnhancedImageScanFinding'
, enhancedImageScanFinding_remediation
- An object that contains the details about how to remediate a finding.
$sel:resources:EnhancedImageScanFinding'
, enhancedImageScanFinding_resources
- Contains information on the resources involved in a finding.
$sel:score:EnhancedImageScanFinding'
, enhancedImageScanFinding_score
- The Amazon Inspector score given to the finding.
$sel:scoreDetails:EnhancedImageScanFinding'
, enhancedImageScanFinding_scoreDetails
- An object that contains details of the Amazon Inspector score.
$sel:severity:EnhancedImageScanFinding'
, enhancedImageScanFinding_severity
- The severity of the finding.
$sel:status:EnhancedImageScanFinding'
, enhancedImageScanFinding_status
- The status of the finding.
$sel:title:EnhancedImageScanFinding'
, enhancedImageScanFinding_title
- The title of the finding.
EnhancedImageScanFinding
, enhancedImageScanFinding_type
- The type of the finding.
$sel:updatedAt:EnhancedImageScanFinding'
, enhancedImageScanFinding_updatedAt
- The date and time the finding was last updated at.
enhancedImageScanFinding_awsAccountId :: Lens' EnhancedImageScanFinding (Maybe Text) Source #
The Amazon Web Services account ID associated with the image.
enhancedImageScanFinding_description :: Lens' EnhancedImageScanFinding (Maybe Text) Source #
The description of the finding.
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_severity :: Lens' EnhancedImageScanFinding (Maybe Text) Source #
The severity of the finding.
enhancedImageScanFinding_status :: Lens' EnhancedImageScanFinding (Maybe Text) Source #
The status of the finding.
enhancedImageScanFinding_title :: Lens' EnhancedImageScanFinding (Maybe Text) Source #
The title of the finding.
enhancedImageScanFinding_type :: Lens' EnhancedImageScanFinding (Maybe Text) Source #
The type of the finding.
enhancedImageScanFinding_updatedAt :: Lens' EnhancedImageScanFinding (Maybe UTCTime) Source #
The date and time the finding was last updated at.
Image
An object representing an Amazon ECR image.
See: newImage
smart constructor.
Image' | |
|
Instances
Create a value of Image
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:imageId:Image'
, image_imageId
- An object containing the image tag and image digest associated with an
image.
$sel:imageManifest:Image'
, image_imageManifest
- The image manifest associated with the image.
$sel:imageManifestMediaType:Image'
, image_imageManifestMediaType
- The manifest media type of the image.
$sel:registryId:Image'
, image_registryId
- The Amazon Web Services account ID associated with the registry
containing the image.
$sel:repositoryName:Image'
, image_repositoryName
- The name of the repository associated with the 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
data ImageDetail Source #
An object that describes an image returned by a DescribeImages operation.
See: newImageDetail
smart constructor.
ImageDetail' | |
|
Instances
newImageDetail :: ImageDetail Source #
Create a value of ImageDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:artifactMediaType:ImageDetail'
, imageDetail_artifactMediaType
- The artifact media type of the image.
$sel:imageDigest:ImageDetail'
, imageDetail_imageDigest
- The sha256
digest of the image manifest.
$sel:imageManifestMediaType:ImageDetail'
, imageDetail_imageManifestMediaType
- The media type of the image manifest.
$sel:imagePushedAt:ImageDetail'
, imageDetail_imagePushedAt
- The date and time, expressed in standard JavaScript date format, at
which the current image was pushed to the repository.
$sel:imageScanFindingsSummary:ImageDetail'
, imageDetail_imageScanFindingsSummary
- A summary of the last completed image scan.
$sel:imageScanStatus:ImageDetail'
, imageDetail_imageScanStatus
- The current state of the scan.
$sel:imageSizeInBytes:ImageDetail'
, imageDetail_imageSizeInBytes
- 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.
$sel:imageTags:ImageDetail'
, imageDetail_imageTags
- The list of tags associated with this image.
$sel:lastRecordedPullTime:ImageDetail'
, imageDetail_lastRecordedPullTime
- 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.
$sel:registryId:ImageDetail'
, imageDetail_registryId
- The Amazon Web Services account ID associated with the registry to which
this image belongs.
$sel:repositoryName:ImageDetail'
, imageDetail_repositoryName
- The name of the repository to which this image belongs.
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_imageScanFindingsSummary :: Lens' ImageDetail (Maybe ImageScanFindingsSummary) Source #
A summary of the last completed image scan.
imageDetail_imageScanStatus :: Lens' ImageDetail (Maybe ImageScanStatus) Source #
The current state of the scan.
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
data ImageFailure Source #
An object representing an Amazon ECR image failure.
See: newImageFailure
smart constructor.
ImageFailure' | |
|
Instances
newImageFailure :: ImageFailure Source #
Create a value of ImageFailure
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failureCode:ImageFailure'
, imageFailure_failureCode
- The code associated with the failure.
$sel:failureReason:ImageFailure'
, imageFailure_failureReason
- The reason for the failure.
$sel:imageId:ImageFailure'
, imageFailure_imageId
- The image ID associated with the failure.
imageFailure_failureCode :: Lens' ImageFailure (Maybe ImageFailureCode) Source #
The code associated with the failure.
imageFailure_failureReason :: Lens' ImageFailure (Maybe Text) Source #
The reason for the failure.
imageFailure_imageId :: Lens' ImageFailure (Maybe ImageIdentifier) Source #
The image ID associated with the failure.
ImageIdentifier
data ImageIdentifier Source #
An object with identifying information for an image in an Amazon ECR repository.
See: newImageIdentifier
smart constructor.
Instances
newImageIdentifier :: ImageIdentifier Source #
Create a value of ImageIdentifier
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:imageDigest:ImageIdentifier'
, imageIdentifier_imageDigest
- The sha256
digest of the image manifest.
$sel:imageTag:ImageIdentifier'
, imageIdentifier_imageTag
- The tag used for the image.
imageIdentifier_imageDigest :: Lens' ImageIdentifier (Maybe Text) Source #
The sha256
digest of the image manifest.
imageIdentifier_imageTag :: Lens' ImageIdentifier (Maybe Text) Source #
The tag used for the image.
ImageReplicationStatus
data ImageReplicationStatus Source #
The status of the replication process for an image.
See: newImageReplicationStatus
smart constructor.
ImageReplicationStatus' | |
|
Instances
newImageReplicationStatus :: ImageReplicationStatus Source #
Create a value of ImageReplicationStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failureCode:ImageReplicationStatus'
, imageReplicationStatus_failureCode
- The failure code for a replication that has failed.
$sel:region:ImageReplicationStatus'
, imageReplicationStatus_region
- The destination Region for the image replication.
$sel:registryId:ImageReplicationStatus'
, imageReplicationStatus_registryId
- The Amazon Web Services account ID associated with the registry to which
the image belongs.
$sel:status:ImageReplicationStatus'
, imageReplicationStatus_status
- The image replication status.
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.
imageReplicationStatus_status :: Lens' ImageReplicationStatus (Maybe ReplicationStatus) Source #
The image replication status.
ImageScanFinding
data ImageScanFinding Source #
Contains information about an image scan finding.
See: newImageScanFinding
smart constructor.
ImageScanFinding' | |
|
Instances
newImageScanFinding :: ImageScanFinding Source #
Create a value of ImageScanFinding
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributes:ImageScanFinding'
, imageScanFinding_attributes
- A collection of attributes of the host from which the finding is
generated.
$sel:description:ImageScanFinding'
, imageScanFinding_description
- The description of the finding.
$sel:name:ImageScanFinding'
, imageScanFinding_name
- The name associated with the finding, usually a CVE number.
$sel:severity:ImageScanFinding'
, imageScanFinding_severity
- The finding severity.
$sel:uri:ImageScanFinding'
, imageScanFinding_uri
- A link containing additional details about the security vulnerability.
imageScanFinding_attributes :: Lens' ImageScanFinding (Maybe [Attribute]) Source #
A collection of attributes of the host from which the finding is generated.
imageScanFinding_description :: Lens' ImageScanFinding (Maybe Text) Source #
The description of the finding.
imageScanFinding_name :: Lens' ImageScanFinding (Maybe Text) Source #
The name associated with the finding, usually a CVE number.
imageScanFinding_severity :: Lens' ImageScanFinding (Maybe FindingSeverity) Source #
The finding severity.
imageScanFinding_uri :: Lens' ImageScanFinding (Maybe Text) Source #
A link containing additional details about the security vulnerability.
ImageScanFindings
data ImageScanFindings Source #
The details of an image scan.
See: newImageScanFindings
smart constructor.
ImageScanFindings' | |
|
Instances
newImageScanFindings :: ImageScanFindings Source #
Create a value of ImageScanFindings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enhancedFindings:ImageScanFindings'
, imageScanFindings_enhancedFindings
- Details about the enhanced scan findings from Amazon Inspector.
$sel:findingSeverityCounts:ImageScanFindings'
, imageScanFindings_findingSeverityCounts
- The image vulnerability counts, sorted by severity.
$sel:findings:ImageScanFindings'
, imageScanFindings_findings
- The findings from the image scan.
$sel:imageScanCompletedAt:ImageScanFindings'
, imageScanFindings_imageScanCompletedAt
- The time of the last completed image scan.
$sel:vulnerabilitySourceUpdatedAt:ImageScanFindings'
, imageScanFindings_vulnerabilitySourceUpdatedAt
- The time when the vulnerability data was last scanned.
imageScanFindings_enhancedFindings :: Lens' ImageScanFindings (Maybe [EnhancedImageScanFinding]) Source #
Details about the enhanced scan findings from Amazon Inspector.
imageScanFindings_findingSeverityCounts :: Lens' ImageScanFindings (Maybe (HashMap FindingSeverity Natural)) Source #
The image vulnerability counts, sorted by severity.
imageScanFindings_findings :: Lens' ImageScanFindings (Maybe [ImageScanFinding]) Source #
The findings from the image scan.
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
data ImageScanFindingsSummary Source #
A summary of the last completed image scan.
See: newImageScanFindingsSummary
smart constructor.
ImageScanFindingsSummary' | |
|
Instances
newImageScanFindingsSummary :: ImageScanFindingsSummary Source #
Create a value of ImageScanFindingsSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:findingSeverityCounts:ImageScanFindingsSummary'
, imageScanFindingsSummary_findingSeverityCounts
- The image vulnerability counts, sorted by severity.
$sel:imageScanCompletedAt:ImageScanFindingsSummary'
, imageScanFindingsSummary_imageScanCompletedAt
- The time of the last completed image scan.
$sel:vulnerabilitySourceUpdatedAt:ImageScanFindingsSummary'
, imageScanFindingsSummary_vulnerabilitySourceUpdatedAt
- The time when the vulnerability data was last scanned.
imageScanFindingsSummary_findingSeverityCounts :: Lens' ImageScanFindingsSummary (Maybe (HashMap FindingSeverity Natural)) Source #
The image vulnerability counts, sorted by severity.
imageScanFindingsSummary_imageScanCompletedAt :: Lens' ImageScanFindingsSummary (Maybe UTCTime) Source #
The time of the last completed image scan.
imageScanFindingsSummary_vulnerabilitySourceUpdatedAt :: Lens' ImageScanFindingsSummary (Maybe UTCTime) Source #
The time when the vulnerability data was last scanned.
ImageScanStatus
data ImageScanStatus Source #
The current status of an image scan.
See: newImageScanStatus
smart constructor.
ImageScanStatus' | |
|
Instances
newImageScanStatus :: ImageScanStatus Source #
Create a value of ImageScanStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:ImageScanStatus'
, imageScanStatus_description
- The description of the image scan status.
$sel:status:ImageScanStatus'
, imageScanStatus_status
- The current state of an image scan.
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
data ImageScanningConfiguration Source #
The image scanning configuration for a repository.
See: newImageScanningConfiguration
smart constructor.
ImageScanningConfiguration' | |
|
Instances
newImageScanningConfiguration :: ImageScanningConfiguration Source #
Create a value of ImageScanningConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:scanOnPush:ImageScanningConfiguration'
, imageScanningConfiguration_scanOnPush
- 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.
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
An object representing an Amazon ECR image layer.
See: newLayer
smart constructor.
Layer' | |
|
Instances
FromJSON Layer Source # | |
Generic Layer Source # | |
Read Layer Source # | |
Show Layer Source # | |
NFData Layer Source # | |
Defined in Amazonka.ECR.Types.Layer | |
Eq Layer Source # | |
Hashable Layer Source # | |
Defined in Amazonka.ECR.Types.Layer | |
type Rep Layer Source # | |
Defined in Amazonka.ECR.Types.Layer type Rep Layer = D1 ('MetaData "Layer" "Amazonka.ECR.Types.Layer" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "Layer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "layerAvailability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LayerAvailability)) :*: S1 ('MetaSel ('Just "layerDigest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "layerSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "mediaType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
Create a value of Layer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:layerAvailability:Layer'
, layer_layerAvailability
- The availability status of the image layer.
$sel:layerDigest:Layer'
, layer_layerDigest
- The sha256
digest of the image layer.
$sel:layerSize:Layer'
, layer_layerSize
- The size, in bytes, of the image layer.
$sel:mediaType:Layer'
, layer_mediaType
- 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
.
layer_layerAvailability :: Lens' Layer (Maybe LayerAvailability) Source #
The availability status 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
data LayerFailure Source #
An object representing an Amazon ECR image layer failure.
See: newLayerFailure
smart constructor.
LayerFailure' | |
|
Instances
newLayerFailure :: LayerFailure Source #
Create a value of LayerFailure
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failureCode:LayerFailure'
, layerFailure_failureCode
- The failure code associated with the failure.
$sel:failureReason:LayerFailure'
, layerFailure_failureReason
- The reason for the failure.
$sel:layerDigest:LayerFailure'
, layerFailure_layerDigest
- The layer digest associated with the failure.
layerFailure_failureCode :: Lens' LayerFailure (Maybe LayerFailureCode) Source #
The failure code associated with the failure.
layerFailure_failureReason :: Lens' LayerFailure (Maybe Text) Source #
The reason for the failure.
layerFailure_layerDigest :: Lens' LayerFailure (Maybe Text) Source #
The layer digest associated with the failure.
LifecyclePolicyPreviewFilter
data LifecyclePolicyPreviewFilter Source #
The filter for the lifecycle policy preview.
See: newLifecyclePolicyPreviewFilter
smart constructor.
Instances
newLifecyclePolicyPreviewFilter :: LifecyclePolicyPreviewFilter Source #
Create a value of LifecyclePolicyPreviewFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tagStatus:LifecyclePolicyPreviewFilter'
, lifecyclePolicyPreviewFilter_tagStatus
- The tag status of the image.
lifecyclePolicyPreviewFilter_tagStatus :: Lens' LifecyclePolicyPreviewFilter (Maybe TagStatus) Source #
The tag status of the image.
LifecyclePolicyPreviewResult
data LifecyclePolicyPreviewResult Source #
The result of the lifecycle policy preview.
See: newLifecyclePolicyPreviewResult
smart constructor.
LifecyclePolicyPreviewResult' | |
|
Instances
newLifecyclePolicyPreviewResult :: LifecyclePolicyPreviewResult Source #
Create a value of LifecyclePolicyPreviewResult
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:action:LifecyclePolicyPreviewResult'
, lifecyclePolicyPreviewResult_action
- The type of action to be taken.
$sel:appliedRulePriority:LifecyclePolicyPreviewResult'
, lifecyclePolicyPreviewResult_appliedRulePriority
- The priority of the applied rule.
$sel:imageDigest:LifecyclePolicyPreviewResult'
, lifecyclePolicyPreviewResult_imageDigest
- The sha256
digest of the image manifest.
$sel:imagePushedAt:LifecyclePolicyPreviewResult'
, lifecyclePolicyPreviewResult_imagePushedAt
- The date and time, expressed in standard JavaScript date format, at
which the current image was pushed to the repository.
$sel:imageTags:LifecyclePolicyPreviewResult'
, lifecyclePolicyPreviewResult_imageTags
- The list of tags associated with this image.
lifecyclePolicyPreviewResult_action :: Lens' LifecyclePolicyPreviewResult (Maybe LifecyclePolicyRuleAction) Source #
The type of action to be taken.
lifecyclePolicyPreviewResult_appliedRulePriority :: Lens' LifecyclePolicyPreviewResult (Maybe Natural) Source #
The priority of the applied rule.
lifecyclePolicyPreviewResult_imageDigest :: Lens' LifecyclePolicyPreviewResult (Maybe Text) Source #
The sha256
digest of the image manifest.
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.
lifecyclePolicyPreviewResult_imageTags :: Lens' LifecyclePolicyPreviewResult (Maybe [Text]) Source #
The list of tags associated with this image.
LifecyclePolicyPreviewSummary
data LifecyclePolicyPreviewSummary Source #
The summary of the lifecycle policy preview request.
See: newLifecyclePolicyPreviewSummary
smart constructor.
LifecyclePolicyPreviewSummary' | |
|
Instances
newLifecyclePolicyPreviewSummary :: LifecyclePolicyPreviewSummary Source #
Create a value of LifecyclePolicyPreviewSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:expiringImageTotalCount:LifecyclePolicyPreviewSummary'
, lifecyclePolicyPreviewSummary_expiringImageTotalCount
- The number of expiring images.
lifecyclePolicyPreviewSummary_expiringImageTotalCount :: Lens' LifecyclePolicyPreviewSummary (Maybe Natural) Source #
The number of expiring images.
LifecyclePolicyRuleAction
data LifecyclePolicyRuleAction Source #
The type of action to be taken.
See: newLifecyclePolicyRuleAction
smart constructor.
LifecyclePolicyRuleAction' | |
|
Instances
newLifecyclePolicyRuleAction :: LifecyclePolicyRuleAction Source #
Create a value of LifecyclePolicyRuleAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:type':LifecyclePolicyRuleAction'
, lifecyclePolicyRuleAction_type
- The type of action to be taken.
lifecyclePolicyRuleAction_type :: Lens' LifecyclePolicyRuleAction (Maybe ImageActionType) Source #
The type of action to be taken.
ListImagesFilter
data ListImagesFilter Source #
An object representing a filter on a ListImages operation.
See: newListImagesFilter
smart constructor.
Instances
newListImagesFilter :: ListImagesFilter Source #
Create a value of ListImagesFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tagStatus:ListImagesFilter'
, listImagesFilter_tagStatus
- The tag status with which to filter your ListImages results. You can
filter results based on whether they are TAGGED
or UNTAGGED
.
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
data PackageVulnerabilityDetails Source #
Information about a package vulnerability finding.
See: newPackageVulnerabilityDetails
smart constructor.
PackageVulnerabilityDetails' | |
|
Instances
newPackageVulnerabilityDetails :: PackageVulnerabilityDetails Source #
Create a value of PackageVulnerabilityDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cvss:PackageVulnerabilityDetails'
, packageVulnerabilityDetails_cvss
- An object that contains details about the CVSS score of a finding.
$sel:referenceUrls:PackageVulnerabilityDetails'
, packageVulnerabilityDetails_referenceUrls
- One or more URLs that contain details about this vulnerability type.
$sel:relatedVulnerabilities:PackageVulnerabilityDetails'
, packageVulnerabilityDetails_relatedVulnerabilities
- One or more vulnerabilities related to the one identified in this
finding.
PackageVulnerabilityDetails
, packageVulnerabilityDetails_source
- The source of the vulnerability information.
$sel:sourceUrl:PackageVulnerabilityDetails'
, packageVulnerabilityDetails_sourceUrl
- A URL to the source of the vulnerability information.
$sel:vendorCreatedAt:PackageVulnerabilityDetails'
, packageVulnerabilityDetails_vendorCreatedAt
- The date and time that this vulnerability was first added to the
vendor's database.
$sel:vendorSeverity:PackageVulnerabilityDetails'
, packageVulnerabilityDetails_vendorSeverity
- The severity the vendor has given to this vulnerability type.
$sel:vendorUpdatedAt:PackageVulnerabilityDetails'
, packageVulnerabilityDetails_vendorUpdatedAt
- The date and time the vendor last updated this vulnerability in their
database.
$sel:vulnerabilityId:PackageVulnerabilityDetails'
, packageVulnerabilityDetails_vulnerabilityId
- The ID given to this vulnerability.
$sel:vulnerablePackages:PackageVulnerabilityDetails'
, packageVulnerabilityDetails_vulnerablePackages
- The packages impacted by this vulnerability.
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.
packageVulnerabilityDetails_vulnerabilityId :: Lens' PackageVulnerabilityDetails (Maybe Text) Source #
The ID given to this vulnerability.
packageVulnerabilityDetails_vulnerablePackages :: Lens' PackageVulnerabilityDetails (Maybe [VulnerablePackage]) Source #
The packages impacted by this vulnerability.
PullThroughCacheRule
data PullThroughCacheRule Source #
The details of a pull through cache rule.
See: newPullThroughCacheRule
smart constructor.
PullThroughCacheRule' | |
|
Instances
newPullThroughCacheRule :: PullThroughCacheRule Source #
Create a value of PullThroughCacheRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:createdAt:PullThroughCacheRule'
, pullThroughCacheRule_createdAt
- The date and time the pull through cache was created.
$sel:ecrRepositoryPrefix:PullThroughCacheRule'
, pullThroughCacheRule_ecrRepositoryPrefix
- The Amazon ECR repository prefix associated with the pull through cache
rule.
$sel:registryId:PullThroughCacheRule'
, pullThroughCacheRule_registryId
- The Amazon Web Services account ID associated with the registry the pull
through cache rule is associated with.
$sel:upstreamRegistryUrl:PullThroughCacheRule'
, pullThroughCacheRule_upstreamRegistryUrl
- The upstream registry URL associated with the pull through cache rule.
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
data Recommendation Source #
Details about the recommended course of action to remediate the finding.
See: newRecommendation
smart constructor.
Instances
newRecommendation :: Recommendation Source #
Create a value of Recommendation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:text:Recommendation'
, recommendation_text
- The recommended course of action to remediate the finding.
$sel:url:Recommendation'
, recommendation_url
- The URL address to the CVE remediation recommendations.
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
data RegistryScanningConfiguration Source #
The scanning configuration for a private registry.
See: newRegistryScanningConfiguration
smart constructor.
Instances
newRegistryScanningConfiguration :: RegistryScanningConfiguration Source #
Create a value of RegistryScanningConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:rules:RegistryScanningConfiguration'
, registryScanningConfiguration_rules
- The scanning rules associated with the registry.
$sel:scanType:RegistryScanningConfiguration'
, registryScanningConfiguration_scanType
- The type of scanning configured for the registry.
registryScanningConfiguration_rules :: Lens' RegistryScanningConfiguration (Maybe [RegistryScanningRule]) Source #
The scanning rules associated with the registry.
registryScanningConfiguration_scanType :: Lens' RegistryScanningConfiguration (Maybe ScanType) Source #
The type of scanning configured for the registry.
RegistryScanningRule
data RegistryScanningRule Source #
The details of a scanning rule for a private registry.
See: newRegistryScanningRule
smart constructor.
RegistryScanningRule' | |
|
Instances
newRegistryScanningRule Source #
Create a value of RegistryScanningRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:scanFrequency:RegistryScanningRule'
, registryScanningRule_scanFrequency
- 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.
$sel:repositoryFilters:RegistryScanningRule'
, registryScanningRule_repositoryFilters
- The repository filters associated with the scanning configuration for a
private registry.
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
data Remediation Source #
Information on how to remediate a finding.
See: newRemediation
smart constructor.
Remediation' | |
|
Instances
newRemediation :: Remediation Source #
Create a value of Remediation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recommendation:Remediation'
, remediation_recommendation
- An object that contains information about the recommended course of
action to remediate the finding.
remediation_recommendation :: Lens' Remediation (Maybe Recommendation) Source #
An object that contains information about the recommended course of action to remediate the finding.
ReplicationConfiguration
data ReplicationConfiguration Source #
The replication configuration for a registry.
See: newReplicationConfiguration
smart constructor.
ReplicationConfiguration' | |
|
Instances
newReplicationConfiguration :: ReplicationConfiguration Source #
Create a value of ReplicationConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:rules:ReplicationConfiguration'
, replicationConfiguration_rules
- An array of objects representing the replication destinations and
repository filters for a replication configuration.
replicationConfiguration_rules :: Lens' ReplicationConfiguration [ReplicationRule] Source #
An array of objects representing the replication destinations and repository filters for a replication configuration.
ReplicationDestination
data ReplicationDestination Source #
An array of objects representing the destination for a replication rule.
See: newReplicationDestination
smart constructor.
ReplicationDestination' | |
|
Instances
newReplicationDestination Source #
:: Text | |
-> Text | |
-> ReplicationDestination |
Create a value of ReplicationDestination
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:region:ReplicationDestination'
, replicationDestination_region
- The Region to replicate to.
$sel:registryId:ReplicationDestination'
, replicationDestination_registryId
- 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.
replicationDestination_region :: Lens' ReplicationDestination Text Source #
The Region to replicate to.
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
data ReplicationRule Source #
An array of objects representing the replication destinations and repository filters for a replication configuration.
See: newReplicationRule
smart constructor.
ReplicationRule' | |
|
Instances
newReplicationRule :: ReplicationRule Source #
Create a value of ReplicationRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:repositoryFilters:ReplicationRule'
, replicationRule_repositoryFilters
- 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.
$sel:destinations:ReplicationRule'
, replicationRule_destinations
- An array of objects representing the destination for a replication rule.
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
data Repository Source #
An object representing a repository.
See: newRepository
smart constructor.
Repository' | |
|
Instances
newRepository :: Repository Source #
Create a value of Repository
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:createdAt:Repository'
, repository_createdAt
- The date and time, in JavaScript date format, when the repository was
created.
$sel:encryptionConfiguration:Repository'
, repository_encryptionConfiguration
- The encryption configuration for the repository. This determines how the
contents of your repository are encrypted at rest.
$sel:imageScanningConfiguration:Repository'
, repository_imageScanningConfiguration
- Undocumented member.
$sel:imageTagMutability:Repository'
, repository_imageTagMutability
- The tag mutability setting for the repository.
$sel:registryId:Repository'
, repository_registryId
- The Amazon Web Services account ID associated with the registry that
contains the repository.
$sel:repositoryArn:Repository'
, repository_repositoryArn
- 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
.
$sel:repositoryName:Repository'
, repository_repositoryName
- The name of the repository.
$sel:repositoryUri:Repository'
, repository_repositoryUri
- The URI for the repository. You can use this URI for container image
push
and pull
operations.
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_imageScanningConfiguration :: Lens' Repository (Maybe ImageScanningConfiguration) Source #
Undocumented member.
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
data RepositoryFilter Source #
The filter settings used with image replication. Specifying a repository filter to a replication rule provides a method for controlling which repositories in a private registry are replicated. If no repository filter is specified, all images in the repository are replicated.
See: newRepositoryFilter
smart constructor.
RepositoryFilter' | |
|
Instances
Create a value of RepositoryFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':RepositoryFilter'
, repositoryFilter_filter
- 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.
$sel:filterType:RepositoryFilter'
, repositoryFilter_filterType
- The repository filter type. The only supported value is PREFIX_MATCH
,
which is a repository name prefix specified with the filter
parameter.
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
data RepositoryScanningConfiguration Source #
The details of the scanning configuration for a repository.
See: newRepositoryScanningConfiguration
smart constructor.
RepositoryScanningConfiguration' | |
|
Instances
newRepositoryScanningConfiguration :: RepositoryScanningConfiguration Source #
Create a value of RepositoryScanningConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:appliedScanFilters:RepositoryScanningConfiguration'
, repositoryScanningConfiguration_appliedScanFilters
- The scan filters applied to the repository.
$sel:repositoryArn:RepositoryScanningConfiguration'
, repositoryScanningConfiguration_repositoryArn
- The ARN of the repository.
$sel:repositoryName:RepositoryScanningConfiguration'
, repositoryScanningConfiguration_repositoryName
- The name of the repository.
$sel:scanFrequency:RepositoryScanningConfiguration'
, repositoryScanningConfiguration_scanFrequency
- The scan frequency for the repository.
$sel:scanOnPush:RepositoryScanningConfiguration'
, repositoryScanningConfiguration_scanOnPush
- Whether or not scan on push is configured for the repository.
repositoryScanningConfiguration_appliedScanFilters :: Lens' RepositoryScanningConfiguration (Maybe [ScanningRepositoryFilter]) Source #
The scan filters applied to the repository.
repositoryScanningConfiguration_repositoryArn :: Lens' RepositoryScanningConfiguration (Maybe Text) Source #
The ARN of the repository.
repositoryScanningConfiguration_repositoryName :: Lens' RepositoryScanningConfiguration (Maybe Text) Source #
The name of the repository.
repositoryScanningConfiguration_scanFrequency :: Lens' RepositoryScanningConfiguration (Maybe ScanFrequency) Source #
The scan frequency for the repository.
repositoryScanningConfiguration_scanOnPush :: Lens' RepositoryScanningConfiguration (Maybe Bool) Source #
Whether or not scan on push is configured for the repository.
RepositoryScanningConfigurationFailure
data RepositoryScanningConfigurationFailure Source #
The details about any failures associated with the scanning configuration of a repository.
See: newRepositoryScanningConfigurationFailure
smart constructor.
RepositoryScanningConfigurationFailure' | |
|
Instances
newRepositoryScanningConfigurationFailure :: RepositoryScanningConfigurationFailure Source #
Create a value of RepositoryScanningConfigurationFailure
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failureCode:RepositoryScanningConfigurationFailure'
, repositoryScanningConfigurationFailure_failureCode
- The failure code.
$sel:failureReason:RepositoryScanningConfigurationFailure'
, repositoryScanningConfigurationFailure_failureReason
- The reason for the failure.
$sel:repositoryName:RepositoryScanningConfigurationFailure'
, repositoryScanningConfigurationFailure_repositoryName
- The name of the repository.
repositoryScanningConfigurationFailure_failureCode :: Lens' RepositoryScanningConfigurationFailure (Maybe ScanningConfigurationFailureCode) Source #
The failure code.
repositoryScanningConfigurationFailure_failureReason :: Lens' RepositoryScanningConfigurationFailure (Maybe Text) Source #
The reason for the failure.
repositoryScanningConfigurationFailure_repositoryName :: Lens' RepositoryScanningConfigurationFailure (Maybe Text) Source #
The name of the repository.
Resource
Details about the resource involved in a finding.
See: newResource
smart constructor.
Instances
FromJSON Resource Source # | |
Generic Resource Source # | |
Read Resource Source # | |
Show Resource Source # | |
NFData Resource Source # | |
Defined in Amazonka.ECR.Types.Resource | |
Eq Resource Source # | |
Hashable Resource Source # | |
Defined in Amazonka.ECR.Types.Resource | |
type Rep Resource Source # | |
Defined in Amazonka.ECR.Types.Resource type Rep Resource = D1 ('MetaData "Resource" "Amazonka.ECR.Types.Resource" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceDetails)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newResource :: Resource Source #
Create a value of Resource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:Resource'
, resource_details
- An object that contains details about the resource involved in a
finding.
$sel:id:Resource'
, resource_id
- The ID of the resource.
$sel:tags:Resource'
, resource_tags
- The tags attached to the resource.
$sel:type':Resource'
, resource_type
- The type of resource.
resource_details :: Lens' Resource (Maybe ResourceDetails) Source #
An object that contains details about the resource involved in a finding.
resource_tags :: Lens' Resource (Maybe (HashMap Text Text)) Source #
The tags attached to the resource.
ResourceDetails
data ResourceDetails Source #
Contains details about the resource involved in the finding.
See: newResourceDetails
smart constructor.
ResourceDetails' | |
|
Instances
newResourceDetails :: ResourceDetails Source #
Create a value of ResourceDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:awsEcrContainerImage:ResourceDetails'
, resourceDetails_awsEcrContainerImage
- An object that contains details about the Amazon ECR container image
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.
ScanningRepositoryFilter
data ScanningRepositoryFilter Source #
The details of a scanning repository filter. For more information on how to use filters, see Using filters in the Amazon Elastic Container Registry User Guide.
See: newScanningRepositoryFilter
smart constructor.
ScanningRepositoryFilter' | |
|
Instances
newScanningRepositoryFilter Source #
Create a value of ScanningRepositoryFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filter':ScanningRepositoryFilter'
, scanningRepositoryFilter_filter
- The filter to use when scanning.
$sel:filterType:ScanningRepositoryFilter'
, scanningRepositoryFilter_filterType
- The type associated with the filter.
scanningRepositoryFilter_filter :: Lens' ScanningRepositoryFilter Text Source #
The filter to use when scanning.
scanningRepositoryFilter_filterType :: Lens' ScanningRepositoryFilter ScanningRepositoryFilterType Source #
The type associated with the filter.
ScoreDetails
data ScoreDetails Source #
Information about the Amazon Inspector score given to a finding.
See: newScoreDetails
smart constructor.
ScoreDetails' | |
|
Instances
newScoreDetails :: ScoreDetails Source #
Create a value of ScoreDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cvss:ScoreDetails'
, scoreDetails_cvss
- An object that contains details about the CVSS score given to a finding.
scoreDetails_cvss :: Lens' ScoreDetails (Maybe CvssScoreDetails) Source #
An object that contains details about the CVSS score given to a finding.
Tag
The metadata to apply to a resource to help you categorize and organize them. Each tag consists of a key and a 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.
See: newTag
smart constructor.
Instances
FromJSON Tag Source # | |
ToJSON Tag Source # | |
Defined in Amazonka.ECR.Types.Tag | |
Generic Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.ECR.Types.Tag | |
Eq Tag Source # | |
Hashable Tag Source # | |
Defined in Amazonka.ECR.Types.Tag | |
type Rep Tag Source # | |
Defined in Amazonka.ECR.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.ECR.Types.Tag" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
Create a value of Tag
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:key:Tag'
, tag_key
- 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.
$sel:value:Tag'
, tag_value
- A value
acts as a descriptor within a tag category (key).
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
data VulnerablePackage Source #
Information on the vulnerable package identified by a finding.
See: newVulnerablePackage
smart constructor.
VulnerablePackage' | |
|
Instances
newVulnerablePackage :: VulnerablePackage Source #
Create a value of VulnerablePackage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arch:VulnerablePackage'
, vulnerablePackage_arch
- The architecture of the vulnerable package.
$sel:epoch:VulnerablePackage'
, vulnerablePackage_epoch
- The epoch of the vulnerable package.
$sel:filePath:VulnerablePackage'
, vulnerablePackage_filePath
- The file path of the vulnerable package.
$sel:name:VulnerablePackage'
, vulnerablePackage_name
- The name of the vulnerable package.
$sel:packageManager:VulnerablePackage'
, vulnerablePackage_packageManager
- The package manager of the vulnerable package.
$sel:release:VulnerablePackage'
, vulnerablePackage_release
- The release of the vulnerable package.
$sel:sourceLayerHash:VulnerablePackage'
, vulnerablePackage_sourceLayerHash
- The source layer hash of the vulnerable package.
$sel:version:VulnerablePackage'
, vulnerablePackage_version
- The version of the vulnerable package.
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.