Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable NuGet Audit in the VMR orchestrator, normalize and update dependencies #45830

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ViktorHofer
Copy link
Member

  • We were recently contacted because the VMR orchestrator was restoring vulnerable assets. To prevent this going forward, enable NuGetAudit which is currently disabled in the product.

  • Update dependencies to avoid transitive vulnerabilities (this requires an SBRP update)

  • Remove direct Reference items that resolved assemblies from within the .NET SDK in favor of PackageReference items with the IncludeAssets="compile" metadata. This indicates that the packages are only used for targeting and not at run time. With that, remove hacks (NoWarn ResolveAssemblyReference warnings) in Microsoft.DotNet.Tests that were necessary because of the mix of Reference and PackageReference dependencies.

…ndencies


- We recently were contacted because the VMR orchestrator was restoring vulnerable assets. To prevent this going forward, enable NuGetAudit which currently is disabled in the product explicitly.

- Update dependencies to avoid transitive vulnerabilities

- Remove direct Reference items that resolved assemblies from within the .NET SDK in favor of PackageReference items with the IncludeAssets="compile" metadata. This indicates that the packages are only used for targeting and not at run time. With that, remove hacks (NoWarn ResolveAssemblyReference warnings) in Microsoft.DotNet.Tests that were necessary because of the mix of Reference and PackageReference dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants