harbor/tests/testcases/Group10-Vulnerability/Test-10-12-Scan-image-on-push.md
sigsbee 4ccd7e7cdf
Add vulneraibility case and add a testcase doc. (#4378)
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
2018-03-12 14:20:37 +08:00

26 lines
656 B
Markdown

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:
1. Login Harbor as admin.
2. Create a new project.
3. Goto project configuration page.
4. Enable automatically scan.
5. Push an image not scanned before to the project.
# Expected Outcome:
* Step5 image should be scaned automatically.