harbor/docs/1.10/administration/vulnerability-scanning/configure-system-whitelist.md

27 lines
1.6 KiB
Markdown
Raw Normal View History

---
title: Configure System-Wide CVE Whitelists
2020-02-11 16:24:43 +01:00
weight: 50
---
2019-10-18 15:42:48 +02:00
2019-12-13 15:08:40 +01:00
When you run vulnerability scans, images that are subject to Common Vulnerabilities and Exposures (CVE) are identified. According to the severity of the CVE and your security settings, these images might not be permitted to run. As a Harbor system administrator, you can create whitelists of CVEs to ignore during vulnerability scanning.
2019-10-18 15:42:48 +02:00
You can set a system-wide CVE whitelist or you can set CVE whitelists on a per-project basis. For information about per-project CVE whitelists, see [Configure a Per-Project CVE Whitelist](../../working-with-projects/configure-project-whitelist.md).
2019-10-18 15:42:48 +02:00
System-wide CVE whitelists apply to all of the projects in a Harbor instance.
1. Go to **Configuration** > **System Settings**.
1. Under **Deployment security**, click **Add**.
2019-12-13 15:08:40 +01:00
![System-wide CVE whitelist](../../img/cve-whitelist1.png)
2019-10-18 15:42:48 +02:00
1. Enter the list of CVE IDs to ignore during vulnerability scanning.
2019-12-13 15:08:40 +01:00
![Add system CVE whitelist](../../img/cve-whitelist2.png)
2019-10-18 15:42:48 +02:00
Either use a comma-separated list or newlines to add multiple CVE IDs to the list.
1. Click **Add** at the bottom of the window to add the list.
1. Optionally uncheck the **Never expires** checkbox and use the calendar selector to set an expiry date for the whitelist.
2019-12-13 15:08:40 +01:00
![Add system CVEs](../../img/cve-whitelist3.png)
2019-10-18 15:42:48 +02:00
1. Click **Save** at the bottom of the page to save your settings.
After you have created a system whitelist, you can remove CVE IDs from the list by clicking the delete button next to it in the list. You can click **Add** to add more CVE IDs to the system whitelist.
2019-12-13 15:08:40 +01:00
![Add and remove system CVEs](../../img/cve-whitelist4.png)