: Scan Images in IBM Cloud Container Registry
Focus
Focus

Scan Images in IBM Cloud Container Registry

Table of Contents

Scan Images in IBM Cloud Container Registry

To scan a repository on IBM Cloud Container Registry, create a new registry scan setting.

Create a new registry scan

Prerequisites:
  1. Go to
    Defend > Vulnerabilities > Images > Registry settings
    .
  2. Select
    Add registry
    .
  3. In the dialog, enter the following information:
    1. From the
      Version
      drop-down list, select
      IBM Cloud Container Registry
      .
    2. In
      Registry
      , enter the registry address for your region.
      For example, if you use the us-south registry, enter
      us.icr.io
      .
    3. In
      Namespace
      , enter the namespace for your image.
      For images in private registries, this field is mandatory. For images in IBM’s public registry, leave this field blank. Wildcards are not supported for this field.
      IBM provides namespaces to help you organize your registries. Namespaces are appended to the registry URL as follows: registry.<REGION>.icr.io/<NAMESPACE>
    4. In
      Repository
      , enter the repository to scan.
      If you leave this field blank or enter a wildcard, Prisma Cloud finds and scans all repositories in the registry.
      If you specify a partial string that ends with a wildcard, Prisma Cloud finds and scans all repositories that start with the partial string.
      If you specify an exact match, Prisma Cloud scans just the specified repository.
    5. In
      Tag
      , enter an image tag.
      If you leave this field blank or enter a wildcard, Prisma Cloud finds and scans all images in the repository.
      If you specify a partial string that ends with a wildcard, Prisma Cloud finds and scans all images that match the partial tag.
      If you specify an exact match, Prisma Cloud scans just the specified image with specified tag.
    6. In
      Credential
      , select the credential you created for IBM Cloud.
    7. In
      OS type
      , specify whether the repo holds
      Linux
      or
      Windows
      images.
    8. In
      Scanners scope
      , specify the collections of defenders to use for the scan.
      Console selects the available Defenders from the scope to execute the scan job according to the
      Number of scanners
      setting. For more information, see deployment patterns.
    9. In
      Number of scanners
      , enter the number of Defenders across which scan jobs can be distributed.
    10. Cap
      the number of images to scan.
      Specify the maximum number of images to scan in the given repository, sorted according to last modified date. To scan all images in a repository, set
      Cap
      to 0. For a complete explanation of
      Cap
      , see the table in registry scan settings.
    11. Select
      Add and scan
      .
      Verify that the images in the repository are being scanned under
      Monitor > Vulnerabilities > Images > Registries
      .

Recommended For You