mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-12 11:56:56 +01:00
5caf31c57d
* Add vulnerability manual case
795 B
795 B
Test 10-02 Clair scan a image with vulnerability
Purpose:
To verify that clair can scan a image with vulnerability.
References:
User guide
Environment:
- This test requires that a Harbor instance is running and available.
- Harbor is installed with clair enable.
- A linux host with Docker CLI installed.
- Clair has been updated to the latest.
Test Step
- Login Harbor as admin.
- Push an image with vulnerability.
- Scan the image.
- Click tag link enter detail page.
- Rescan the image.
Expected Outcome:
- Step3 should exist result summary chart.
- Step4 should see cve link and detail is match with summary in step3.
- Step4 cve link should clickable.
- Step5 rescan should successful.
Possible Problems:
None