docs/ee/dtr/user/manage-images/override-a-vulnerability.md

37 lines
1.3 KiB
Markdown

---
title: Override a vulnerability
description: Learn how to dismiss a vulnerability reported by the security
scanner, when you know it has been addressed
keywords: registry, security scanner
---
DTR scans your images for vulnerabilities but sometimes it can report that
your image has vulnerabilities you know have been fixed. If that happens you
can dismiss the warning.
In the **DTR web interface**, navigate to the repository that has been scanned.
![](../../images/scan-images-for-vulns-3.png){: .with-border}
Click **View details** to review the image scan results, and
choose **Components** to see the vulnerabilities for each component packaged
in the image.
Select the component with the vulnerability you want to ignore, navigate to the
vulnerability, and click **hide**.
![Vulnerability list](../../images/override-vulnerability-2.png){: .with-border}
The vulnerability is hidden system-wide and will no longer be reported as a vulnerability
on affected images with the same layer IDs or digests.
After dismissing a vulnerability, DTR will not reevaluate the promotion policies
you have set up for the repository.
If you want the promotion policy to be reevaluated for the image after hiding
a particular vulnerability, click **Promote**.
## Where to go next
* [Scan images for vulnerabilities](scan-images-for-vulnerabilities.md)