Skip to content

Commit cfd326b

Browse files
authored
[DNM] scout: create exceptions in docker desktop (#20797)
Docker Desktop part of #20581, for 4.35 Signed-off-by: David Karlsson <[email protected]>
1 parent aa805b4 commit cfd326b

File tree

2 files changed

+51
-17
lines changed

2 files changed

+51
-17
lines changed

content/manuals/scout/explore/exceptions.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,14 @@ then that CVE is excluded from analysis results.
2525
To create an exception for an image, you can:
2626

2727
- Create an exception in the [GUI](/manuals/scout/how-tos/create-exceptions-gui.md) of
28-
Docker Scout Dashboard.
29-
28+
Docker Scout Dashboard or Docker Desktop.
3029
- Create a [VEX](/manuals/scout/how-tos/create-exceptions-vex.md) document and attach
3130
it to the image.
3231

33-
The recommended way to create exceptions is to use Docker Scout Dashboard. The
34-
GUI provides a user-friendly interface for creating exceptions. It also lets
35-
you create exceptions for multiple images, or your entire organization, all at
36-
once.
32+
The recommended way to create exceptions is to use Docker Scout Dashboard or
33+
Docker Desktop. The GUI provides a user-friendly interface for creating
34+
exceptions. It also lets you create exceptions for multiple images, or your
35+
entire organization, all at once.
3736

3837
## View exceptions
3938

@@ -46,7 +45,7 @@ To view exceptions for images, you need to have the appropriate permissions.
4645
are visible to anyone who can pull the image, since the VEX document is
4746
stored in the image manifest or on filesystem of the image.
4847

49-
### View exceptions in Docker Scout Dashboard
48+
### View exceptions in Docker Scout Dashboard or Docker Desktop
5049

5150
The [**Exceptions** tab](https://scout.docker.com/reports/vulnerabilities/exceptions)
5251
of the Vulnerabilities page in Docker Scout Dashboard lists all exceptions for
@@ -59,10 +58,24 @@ selecting the action menu lets you edit or remove the exception.
5958

6059
To view all exceptions for a specific image tag:
6160

61+
{{< tabs >}}
62+
{{< tab name="Docker Scout Dashboard" >}}
63+
6264
1. Go to the [Images page](https://scout.docker.com/reports/images).
6365
2. Select the tag that you want to inspect.
6466
3. Open the **Exceptions** tab.
6567

68+
{{< /tab >}}
69+
{{< tab name="Docker Desktop" >}}
70+
71+
1. Open the **Images** view in Docker Desktop.
72+
2. Open the **Hub** tab.
73+
3. Select the tag you want to inspect.
74+
4. Open the **Exceptions** tab.
75+
76+
{{< /tab >}}
77+
{{< /tabs >}}
78+
6679
### View exceptions in the CLI
6780

6881
{{% experimental %}}

content/manuals/scout/how-tos/create-exceptions-gui.md

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
---
22
title: Create an exception using the GUI
3-
description: Create an exception for a vulnerability in an image using the Docker Scout Dashboard.
4-
keywords: Docker, Docker Scout, vulnerability, exception, create, GUI
3+
description: Create an exception for a vulnerability in an image using the Docker Scout Dashboard or Docker Desktop.
4+
keywords: Docker, Docker Scout, Docker Desktop, vulnerability, exception, create, GUI
55
---
66

7-
The Docker Scout Dashboard provides a user-friendly interface for creating
8-
[exceptions](/manuals/scout/explore/exceptions.md) for vulnerabilities found in
9-
container images. Exceptions let you acknowledge accepted risks or address
10-
false positives in image analysis.
7+
The Docker Scout Dashboard and Docker Desktop provide a user-friendly interface
8+
for creating [exceptions](/manuals/scout/explore/exceptions.md) for
9+
vulnerabilities found in container images. Exceptions let you acknowledge
10+
accepted risks or address false positives in image analysis.
1111

1212
## Prerequisites
1313

14-
To create an in the Docker Scout Dashboard, you need a Docker account with
15-
**Editor** or **Owner** permissions for the Docker organization that owns the
16-
image.
14+
To create an in the Docker Scout Dashboard or Docker Desktop, you need a Docker
15+
account with **Editor** or **Owner** permissions for the Docker organization
16+
that owns the image.
1717

1818
## Steps
1919

2020
To create an exception for a vulnerability in an image using the Docker Scout
21-
Dashboard:
21+
Dashboard or Docker Desktop:
22+
23+
{{< tabs >}}
24+
{{< tab name="Docker Scout Dashboard" >}}
2225

2326
1. Go to the [Images page](https://scout.docker.com/reports/images).
2427
2. Select the image tag that contains the vulnerability you want to create an
@@ -76,3 +79,21 @@ tab of the [Vulnerabilities page](https://scout.docker.com/reports/vulnerabiliti
7679
in the Docker Scout Dashboard.
7780

7881
{{% /create_panel.inline %}}
82+
83+
{{< /tab >}}
84+
{{< tab name="Docker Desktop" >}}
85+
86+
1. Open the **Images** view in Docker Desktop.
87+
2. Open the **Hub** tab.
88+
3. Select the image tag that contains the vulnerability you want to create an
89+
exception for.
90+
4. Select the layer that contains the vulnerability you want to create an
91+
exception for.
92+
5. In the **Vulnerabilities** tab, find the vulnerability you want to create an
93+
exception for.
94+
6. Select the **Create exception** button next to the vulnerability.
95+
96+
{{% create_panel.inline / %}}
97+
98+
{{< /tab >}}
99+
{{< /tabs >}}

0 commit comments

Comments
 (0)