Integrate Harbor to realize image security scanning¶
This page 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 Workbench¶
-
In 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 mirror warehouse in the above Harbor configuration project.
-
Wait for the pipeline to run successfully.
View image security scan information in Harbor¶
Visit Project
→ Mirror Warehouse
in turn in Harbor to view the vulnerability information of the mirror.