mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-30 06:03:45 +01:00
dfe360040b
* addition * attribute * auditing * availability * available * bandwidth * browser * business * cadence * chartmuseum * client * column * content * demonstrate * described * endpoints * facilitate * github * harbor * information * instance * manual * meaningful * operation * overridden * password * possible * project * refactor * replication * requires * running * scanned * settings * signup * those * unsigned * vulnerability -- Also removes trailing space from a filename Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
657 B
657 B
Test 10-12 Scan Image on Push
Purpose:
To verify that trivy 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 trivy enable.
- A linux host with Docker CLI installed.
- Trivy has been updated to the latest.
Test Steps:
- Login Harbor as admin.
- Create a new project.
- Goto project configuration page.
- Enable automatically scan.
- Push an image not scanned before to the project.
Expected Outcome:
- Step5 image should be scanned automatically.