harbor/tests/testcases/Group10-Vulnerability/10-09-User-can-pull-scaned-images.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

727 B

10-09

Purpose:

To test normal user can pull scaned images.

Reference:

User guide.

Environment:

  • This test requires that one Harbor instance is running and availiable.
  • Harbor is installed with trivy enable.
  • A Linux host with Docker client installed.
  • Trivy has been updated to the latest.
  • Vulnerability severity limit is disabled.

Test Step:

Note:
In below test, user A is a non-admin user. User A should be replaced by meaningful names.

  1. Login as user A.
  2. Create a project and push an image.
  3. Login as admin and scan the image.
  4. On a Docker client, user A pull the scaned image.

Expect Outcome:

  • Step 4 user can pull the image.

Possible Problems:

None