mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
590212b485
- clair code in harbor core - clair code in frontend - clair code in robotcase Signed-off-by: DQ <dengq@vmware.com>
766 B
766 B
10-08 user can not pull image exceed vulnerability severity
Purpose:
To verify user can not pull image exceed vulnerability severity setting.
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 Step:
- Login harbor as admin.
- Go to configuration.
- Set vulnerability severity limit to medium and save configuration.
- Push some images with vulnerability and scan them.
- On a docker client, user pull an image with high vulneability severity.
Expect outcome:
- Step5 pull request should be refused.
Possible problem:
None