mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-17 15:55:26 +01:00
4ccd7e7cdf
Add disable schedule vulnerability data not ready can as an unprivileged user scan image with empty vul manual scan all project level image serverity policy scan on push
656 B
656 B
Test 10-12 Scan Image on Push
Purpose:
To verify that clair can automatic scan image when image is pushed.
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 Steps:
- Login Harbor as admin.
- Create a new project.
- Goto project configuration page.
- Enable automatically scan.
- Push an image not scanned before to the project.
Expected Outcome:
- Step5 image should be scaned automatically.