mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-07 03:28:07 +02:00
- clair code in harbor core - clair code in frontend - clair code in robotcase Signed-off-by: DQ <dengq@vmware.com>
29 lines
716 B
Markdown
29 lines
716 B
Markdown
Test 10-01 Trivy can not scan some images
|
|
=======
|
|
|
|
# Purpose:
|
|
To verify that trivy can not scan some image.
|
|
|
|
# References:
|
|
User guide
|
|
|
|
# Environment:
|
|
* This test requires that a Harbor instance is running and available.
|
|
* A linux host with Docker CLI installed.
|
|
* Trivy has been updated to the latest.
|
|
|
|
# Test Steps:
|
|
1. Login Harbor as admin.
|
|
2. Create a project and push an image trivy does not recognize(for example: photon).
|
|
3. Scan the pushed image.
|
|
4. View the scan result.
|
|
5. Rescan it.
|
|
|
|
# Expected Outcome:
|
|
* Step3 should show view log link.
|
|
* Step4 the scan log should be can not scan.
|
|
* Step5 should be the same as step3.
|
|
|
|
# Possible Problems:
|
|
None
|