Skip to main content

Amazon ECR Private Repository

Overview

The Amazon ECR Private Repository integration with Motadata AIOps collects inventory, configuration, and security telemetry from Amazon Elastic Container Registry (ECR) private repositories. It monitors repository identity, image tag mutability, encryption settings, vulnerability scan results, image pull activity, and lifecycle policy rules.

These metrics help administrators enforce container image security standards, track vulnerability exposure across container images, monitor retention policy compliance, and maintain full visibility over private container registry activity.

Prerequisites

  • The AWS account has private ECR repositories configured.
  • The IAM role or user used for integration has read access to ECR private repository resources including ecr:DescribeRepositories, ecr:DescribeImages, and ecr:GetLifecyclePolicy.
  • Required ECR API endpoints are reachable from Motadata AIOps.
  • The AWS account is added in discovery with correct credentials and region configuration.

List of Supported KPIs

Repository Identity & Configuration

MetricDescriptionType
aws.ecr.nameName of the ECR private repository.String
aws.ecr.arnAmazon Resource Name of the ECR private repository.String
aws.ecr.uriURI used to pull images from this private repository.String
aws.ecr.registry.idID of the private registry hosting this repository.String
aws.ecr.image.tag.mutabilityTag mutability setting — MUTABLE or IMMUTABLE.String
aws.ecr.vulnerability.scan.on.pushIndicates whether vulnerability scanning runs automatically on image push.Boolean
aws.ecr.vulnerability.scan.frequencyFrequency at which vulnerability scans are performed on images.String
aws.ecr.encryption.typeEncryption type applied to images in this repository.String
aws.ecr.creation.timeTimestamp when the repository was created.Timestamp

Images

MetricDescriptionType
aws.ecr.imagesTotal number of images stored in this repository.Count
aws.ecr.imageIdentifier of an individual container image.String
aws.ecr.image.uriFull URI to pull this specific image.String
aws.ecr.image.size.bytesSize of the container image in bytes.Bytes
aws.ecr.image.push.timeTimestamp when the image was pushed to the repository.Timestamp
aws.ecr.image.last.pull.timeTimestamp of the most recent pull of this image.Timestamp
aws.ecr.image.tagsTags assigned to this container image.String
aws.ecr.image.artifact.typeArtifact type of the image, for example container or Helm chart.String
aws.ecr.image.pullsTotal number of times this image has been pulled.Count

Image Vulnerability Scanning

MetricDescriptionType
aws.ecr.image.vulnerability.scan.statusCurrent status of the vulnerability scan for this image.String
aws.ecr.image.critical.vulnerabilitiesNumber of critical severity vulnerabilities found in this image.Count
aws.ecr.image.high.vulnerabilitiesNumber of high severity vulnerabilities found in this image.Count
aws.ecr.image.medium.vulnerabilitiesNumber of medium severity vulnerabilities found in this image.Count
aws.ecr.image.low.vulnerabilitiesNumber of low severity vulnerabilities found in this image.Count
aws.ecr.image.info.vulnerabilitiesNumber of informational findings from the vulnerability scan.Count
aws.ecr.image.last.vulnerability.scan.completion.timeTimestamp when the most recent vulnerability scan completed.Timestamp
aws.ecr.image.last.vulnerability.source.update.timeTimestamp when the vulnerability data source was last updated.Timestamp

Lifecycle Rules

MetricDescriptionType
aws.ecr.lifecycle.rulesTotal number of lifecycle rules configured for this repository.Count
aws.ecr.lifecycle.ruleIdentifier of an individual lifecycle rule.String
aws.ecr.lifecycle.rule.descriptionDescription of the lifecycle rule.String
aws.ecr.lifecycle.rule.tag.statusTag status filter applied by the lifecycle rule — tagged, untagged, or any.String
aws.ecr.lifecycle.rule.tagSpecific image tag targeted by this lifecycle rule.String
aws.ecr.lifecycle.rule.prefix.tagTag prefix used to match images for this lifecycle rule.String
aws.ecr.lifecycle.rule.thresholdThreshold value that triggers this lifecycle rule.Count
aws.ecr.lifecycle.rule.threshold.typeType of threshold used — imageCountMoreThan or sinceImagePushed.String
aws.ecr.lifecycle.rule.match.criteriaAction taken when images match this lifecycle rule, for example expire.String