mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-04 01:30:15 +01:00
590212b485
- clair code in harbor core - clair code in frontend - clair code in robotcase Signed-off-by: DQ <dengq@vmware.com>
710 B
710 B
10-07 user fix vulnerability
Purpose:
To test trivy scan image vulnerablity correct after user fix it.
Reference:
User guide.
Environment:
- This test requires that one Harbor instance is running and availiable.
- Harbor is installed with trivy enable.
- A Linux host with Docker client installed.
- Trivy has been updated to the latest.
Test Steps:
- Login Harbor as admin.
- Push some images with vulnerability.
- Scan an image with vulnerability and record the result.
- Upgrade the image to fix vulnearbility.
- Rescan the same image and check the result.
Expect Outcome:
- Step5 number of vulnerability should less than step3.
Possible Problem:
None