mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-02 00:29:50 +01:00
27 lines
710 B
Markdown
27 lines
710 B
Markdown
|
10-07 user fix vulnerability
|
||
|
=======
|
||
|
# Purpose:
|
||
|
To test clair 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 clair enable.
|
||
|
* A Linux host with Docker client installed.
|
||
|
* Clair has been updated to the latest.
|
||
|
|
||
|
# Test Steps:
|
||
|
1. Login Harbor as admin.
|
||
|
2. Push some images with vulnerability.
|
||
|
3. Scan an image with vulnerability and record the result.
|
||
|
4. Upgrade the image to fix vulnearbility.
|
||
|
5. Rescan the same image and check the result.
|
||
|
|
||
|
# Expect Outcome:
|
||
|
* Step5 number of vulnerability should less than step3.
|
||
|
|
||
|
# Possible Problem:
|
||
|
None
|