1
0
mirror of https://github.com/goharbor/harbor.git synced 2024-12-27 11:07:46 +01:00
harbor/tests/testcases/Group10-Vulnerability/10-01-Cliar-can-not-scan-some-images.md
sigsbee 5caf31c57d
add vulnerability case ()
* Add vulnerability manual case
2017-12-14 10:53:42 +08:00

759 B

Test 10-01 Clair can not scan some images

Purpose:

To verify that clair can not scan some image.

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 project and push an image clair 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