harbor/tests/testcases/Group10-Vulnerability/10-03-Clair-scan-0-package-image.md
DQ 590212b485 Remove clair related code
- clair code in harbor core
- clair code in frontend
- clair code in robotcase

Signed-off-by: DQ <dengq@vmware.com>
2020-11-27 14:01:04 +08:00

624 B

Test 10-03 Trivy scan 0 package image

Purpose:

To verify trivy scan result of a 0 package image.

References:

User guide

Environment:

  • This test requires that a Harbor instance is running and available.
  • Harbor is installed with trivy enable.
  • A linux host with Docker CLI installed.
  • Trivy has been updated to the latest.

Test Step

  1. Login Harbor as admin.
  2. Create a project.
  3. Push a helloworld or busybox image to the created project.
  4. Scan the image.

Expected Outcome:

  • Step 4 result should be Severity:Unknown.

Possible Problems:

None