mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01:00
5caf31c57d
* Add vulnerability manual case
896 B
896 B
Test 10-05 Schedule daily scan
Purpose:
To verify daily scan work correctly
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 Step
- Login Harbor as admin.
- Create at least 3 projects.
- Push at least 2 images to each project.
- Schedule a daily scan that time is before current time.
- Wait one day.
- Check the timestamp of scan.
- Schedule a daily scan that time is after current time.
- Wait until time is after the scheduled time.
- Check the timestamp of scan.
Expected Outcome:
- Step6 the timestamp should be the same as scheduled.
- Step9 the timestamp should be the same as scheduled.
Posssible Problems:
None