Scan images on Harbor

Configure Prisma Cloud to scan your Harbor registry. To scan a repository in Harbor, create a new registry scan setting.
  1. Open Console
  2. Go to
    Defend > Vulnerabilities > Registry
    .
  3. Click
    Add registry settings
    .
  4. In the dialog, enter the following information:
    1. In the
      Version
      drop-down list, select
      Harbor
      .
    2. Leave the
      Registry
      field blank.
    3. In
      Repository name
      , enter the name of the repo to scan.
    4. In
      Credential
      , select the credentials to use.
      If Console doesn’t have a copy of your credentials yet, click
      Add New
      . Select either
      Basic authentication
      , and fill out the rest of the fields.
    5. In
      OS type
      , specify whether the repo holds
      Linux
      or
      Windows
      images.
    6. In
      Scanner
      , select
      Automatic
      .
      Console automatically selects an available Defender to execute the scan job. Alternatively, you can explicitly select a Defender from the drop-down list. Defenders are listed according to the hosts where they run. For more information, see deployment patterns.
    7. In
      Number of scanners
      , enter the number of Defenders across which scan jobs can be distributed.
    8. Set
      Cap
      to the number of most recent images to scan. Leaving
      Cap
      set to the default value of
      5
      will scan the most recent 5 images. Setting this field to
      0
      will scan all images.
    9. Click
      Add
      .
  5. Click the yellow save button.
  6. Verify that the images in the repository are being scanned.
    1. Go to
      Monitor > Vulnerabilities > Registry
      .
      A progress bar shows the status of the current scan. As the scan of each image is completed, its findings are added to the results table.
    2. To get details about the vulnerabilities in an image, click on it.
      To force a specific repository to be scanned again, select it from the drop-down menu on the top right of the results table, then click the
      Scan
      button.

Recommended For You