Update NuGet audit config and package versions#3720
Open
Thieum wants to merge 2 commits intodotnet:mainfrom
Open
Update NuGet audit config and package versions#3720Thieum wants to merge 2 commits intodotnet:mainfrom
Thieum wants to merge 2 commits intodotnet:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Enables NuGet package auditing (including auditing against nuget.org without using it as a restore source) and updates a few package version pins to address recent vulnerability/governance alerts.
Changes:
- Enable NuGet auditing via MSBuild properties and configure nuget.org as an audit source.
- Bump NuGet-related package versions (Protocol/Packaging/ProjectModel).
- Add a central version pin for
System.Security.Cryptography.Xml.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
Directory.Build.props |
Enables NuGet auditing (mode/level) for restores. |
NuGet.config |
Adds auditSources entry for nuget.org. |
eng/Versions.props |
Updates NuGet package versions and introduces SystemSecurityCryptographyXmlVersion. |
Directory.Packages.props |
Adds central package version entry for System.Security.Cryptography.Xml. |
src/dotnet-scaffolding/Directory.Packages.props |
Mirrors the System.Security.Cryptography.Xml version pin for scaffolding projects. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Author
|
fixes #3724 (if translated in the release branches?) |
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.
The code builds and tests pass (verified by our automated build checks)
Commit messages follow this format
Summary of the changes
- Detail 1
- Detail 2
[ N/A ] Tests for the changes have been added (for bug fixes / features)
[ N/A ] Code meets the expectations our engineering guidelines.
https://github.com/dotnet/aspnetcore/wiki/Engineering-guidelines
Adding NuGet Auditing from Nuget.org (without adding it as a source for nugets, just audit), and fixing the recent alerts for NuGet and Cryptography packages.