Skip to content

Integrate Harbor to Scan Image Security

This page will introduce how to integrate Harbor in the pipeline and implement image security scanning.

Enable automatic image scanning in Harbor

  1. Log in to Harbor and click a specific project.

    Choose Project

  2. Choose the Configuration tab, and check Automatically scan images on push .

    Automatically Scan

Configure the pipeline in Workbench

  1. In Workbench, create a pipeline, refer to Quickly create a pipeline, and click Run Now after the configuration is complete.

    Run Now

  2. In the pop-up dialog box, enter the address of the mirror warehouse in the above Harbor configuration project.

  3. Wait for the pipeline to run successfully.

View image security scanning in Harbor

Visit Project -> Image Repository in turn in Harbor to view the vulnerability information of the mirror.

harbor

Comments