Repository navigation
Alternative: suppress NuGet audit advisories for OpenTelemetry + System.Security.Cryptography.Xml (compile-time-only) - #7858
Merged
ViktorHofer merged 1 commit intoJul 21, 2026
Conversation
Add scoped NuGetAuditSuppress items for the OpenTelemetry.Api and System.Security.Cryptography.Xml advisories affecting MSBuild restore. This keeps the release branch dependency graph unchanged as a third alternative to upgrading OpenTelemetry or dropping net472. The affected dependency paths are compile-time-only VS telemetry and signing helper references marked private, so the advisories are not representative of the actually deployed packages. Co-authored-by: Copilot <[email protected]> Copilot-Session: bc63fc57-da4d-4945-bcfd-7a438341ffc7
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
vseanreesermsft
approved these changes
Jul 20, 2026
ViktorHofer
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is a third alternative for the MSBuild NuGet audit failures. Instead of upgrading the dependency graph like #7766 or dropping net472 like #7821, this PR adds scoped NuGetAuditSuppress items under src\msbuild for exactly the affected advisories.
Suppressed advisories:
Rationale
These are compile-time-only dependency paths, not representative of the packages actually deployed or shipped by the product:
Because the audit hits are not representative of the shipped package surface, suppressing the specific advisories is appropriate here and keeps this alternative smaller than an OpenTelemetry upgrade cascade (#7766) or removing the net472 target (#7821).
cc @rainersigwald