Skip to content

Commit f1bc755

Browse files
committed
human edits
1 parent f5885d5 commit f1bc755

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

docs/core/compatibility/8.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ If you're migrating an app to .NET 8, the breaking changes listed here might aff
141141
| [Runtime-specific apps not self-contained](sdk/8.0/runtimespecific-app-default.md) | Source/binary incompatible |
142142
| [--arch option doesn't imply self-contained](sdk/8.0/arch-option.md) | Behavioral change |
143143
| ['dotnet restore' produces security vulnerability warnings](sdk/8.0/dotnet-restore-audit.md) | Behavioral change |
144-
| [New warning introduced in dotnet list package command](sdk/8.0/dotnet-list-package-audit-source-warning.md) | Behavioral change |
144+
| ['dotnet list package' warns if source doesn't provide vulnerability data](sdk/8.0/dotnet-list-package-audit-source-warning.md) | Behavioral change |
145145
| [SDK uses a smaller RID graph](sdk/8.0/rid-graph.md) | Behavioral change/Source incompatible |
146146
| [Setting DebugSymbols to false disables PDB generation](sdk/8.0/debugsymbols.md) | Behavioral change |
147147
| [Source Link included in the .NET SDK](sdk/8.0/source-link.md) | Source incompatible |

docs/core/compatibility/sdk/8.0/dotnet-list-package-audit-source-warning.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,41 @@
11
---
2-
title: "Breaking change: New warning introduced in dotnet list package command"
3-
description: "Learn about the breaking change in .NET 8 where dotnet list package --vulnerable emits a warning when audit sources don't support the VulnerabilityInfoResource."
4-
ms.date: 01/18/2025
2+
title: "Breaking change: 'dotnet list package' warns if source doesn't provide vulnerability data"
3+
description: "Learn about the breaking change in .NET 8 where 'dotnet list package --vulnerable' emits a warning when audit sources don't support VulnerabilityInfoResource."
4+
ms.date: 09/29/2025
55
ai-usage: ai-assisted
66
ms.custom: https://github.com/dotnet/docs/issues/42608
77
---
8-
# New warning introduced in dotnet list package command
8+
# 'dotnet list package' warns if source doesn't provide vulnerability data
99

10-
When using `dotnet list package --vulnerable`, if a configured `auditsources` does not support the `VulnerabilityInfoResource`, a warning is now shown to inform the user that the source does not provide vulnerability data.
10+
When using `dotnet list package --vulnerable`, if a configured `auditsources` does not support `VulnerabilityInfoResource`, a warning is now shown to inform the user that the source doesn't provide vulnerability data.
1111

1212
## Version introduced
1313

1414
.NET 8
1515

1616
## Previous behavior
1717

18-
The command would silently skip `auditsource`s that lacked vulnerability information, because the command did not use `auditsources` as a source of vulnerability data.
18+
Previously, the command silently skipped `auditsource` sources that lacked vulnerability information.
1919

2020
## New behavior
2121

22-
The command now emits a warning:
23-
**`Audit source '{0}' did not provide any vulnerability data.`**
24-
This helps users understand why certain sources may not influence the reported vulnerabilities.
22+
Starting in .NET 8, the command emits a warning:
23+
24+
> Audit source '{0}' did not provide any vulnerability data.
25+
26+
This warning helps users understand why certain sources may not influence the reported vulnerabilities.
2527

2628
## Type of breaking change
2729

2830
This is a [behavioral change](../../categories.md#behavioral-change).
2931

3032
## Reason for change
3133

32-
This warning came as part of the work to allow customers to use `auditsources` when running the `dotnet list package` command. The warning helps users understand when configured audit sources are not providing the expected vulnerability information.
34+
This warning came as part of the work to allow customers to use `auditsources` when running the `dotnet list package` command. The warning helps users understand when configured audit sources don't provide the expected vulnerability information.
3335

3436
## Recommended action
3537

36-
Check the specified `auditsources` to ensure it supports the `VulnerabilityInfoResource`. If it doesn't, either update the source or replace it with one that provides vulnerability data.
38+
Check the specified `auditsources` to ensure it supports `VulnerabilityInfoResource`. If it doesn't, either update the source or replace it with one that provides vulnerability data.
3739

3840
## Affected APIs
3941

docs/core/compatibility/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ items:
484484
href: sdk/8.0/dotnet-publish-config.md
485485
- name: "'dotnet restore' produces security vulnerability warnings"
486486
href: sdk/8.0/dotnet-restore-audit.md
487-
- name: New warning introduced in dotnet list package command
487+
- name: "'dotnet list package' warns if source doesn't provide vulnerability data"
488488
href: sdk/8.0/dotnet-list-package-audit-source-warning.md
489489
- name: Duplicate output for -getItem, -getProperty, and -getTargetResult
490490
href: sdk/8.0/getx-duplicate-output.md

0 commit comments

Comments
 (0)