harbor/docs/1.10/administration/vulnerability-scanning/schedule-scans.md

21 lines
781 B
Markdown
Raw Normal View History

---
title: Schedule Scans
2020-02-11 16:24:43 +01:00
weight: 40
---
2019-10-17 19:00:00 +02:00
2019-12-13 15:08:40 +01:00
You can set policies to control when vulnerability scanning should run.
2019-10-17 19:00:00 +02:00
2019-12-13 15:08:40 +01:00
1. Log in to the Harbor interface with an account that has Harbor system administrator privileges.
1. Expand **Administration**, and select **Interrogation Services**.
1. Select the **Vulnerability** tab and click the **Edit** button next to **Schedule to scan all**.
1. Use the drop down-menu to select how often to run scans.
![browse project](../../../img/scan-policy.png)
2019-12-13 15:08:40 +01:00
* **None**: No scans are scheduled.
* **Hourly**: Run a scan at the beginning of every hour.
* **Daily**: Run a scan at midnight every day.
* **Weekly**: Run a scan at midnight every Saturday.
* **Custom**: Run a scan according to a `cron` job.
1. Click **Save**.