Integrate Harbor to realize image security scanning¶
This article will introduce how to integrate Harbor in the pipeline and implement image security scanning.
Enable automatic scanning of images in Harbor¶
-
Log in to Harbor and click on a specific project.
-
Select the
Configuration Management
tab, and checkAutomatically scan images
.
Configure the pipeline in the application workbench¶
-
In the application workbench, create a pipeline, refer to Quickly create a pipeline, and click
Execute Now
after the configuration is complete. -
In the pop-up dialog box, enter the address of the container registry in the above Harbor configuration project.
-
Wait for the pipeline to execute successfully.
View image security scan information in Harbor¶
Visit Project
→ container registry
in turn in Harbor to view the vulnerability information of the image.