-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
NuGet vulnerability warnings: Warn in non-Release mode, Error in non-Release mode #17244
base: contrib
Are you sure you want to change the base?
Conversation
…errored, to change to ignore the four specific Nuget vulnerability warnings in Debug mode (but not Release) as per https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu1901-nu1904 (NU1901,NU1902,NU1903,NU1904)
Hi there @emmagarland, thank you for this contribution! 👍 While we wait for one of the Core Collaborators team to have a look at your work, we wanted to let you know about that we have a checklist for some of the things we will consider during review:
Don't worry if you got something wrong. We like to think of a pull request as the start of a conversation, we're happy to provide guidance on improving your contribution. If you realize that you might want to make some changes then you can do that by adding new commits to the branch you created for this work and pushing new commits. They should then automatically show up as updates to this pull request. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
src/Umbraco.Cms.Persistence.EFCore.SqlServer/Umbraco.Cms.Persistence.EFCore.SqlServer.csproj
Outdated
Show resolved
Hide resolved
…d.props, combine WarningsNotAsErrors and fix minor issues
I've slightly changed the way the Testing was as easy as downgrading one on the package versions, for example:
And running We might want to change the condition to only emit the error when building a public version (without the |
I had a quick look into this and although Nerdbank.GitVersioning does set the Maybe a better solution is to simply disable the auditing (using |
Ah ok, so if that works for the build process that's a cool idea. I'm happy to go with you and the HQ team's preferences on that! It's definitely a good shout to have more urgent behaviour for the more severe warnings. |
@ronaldbarendse is there anything else needed for this or can we progress it to be merged? Would that be HQ or Core Collage? Just aware that I didn't want it to get out of date with all the pushes and then have the same issue for everyone again. |
Hi there @emmagarland! First of all: A big #H5YR for making an Umbraco related contribution during Hacktoberfest! We are very thankful for the huge amount of PRs submitted, and all the amazing work you've been doing 🥇 Due to the amazing work you and others in the community have been doing, we've had a bit of a hard time keeping up. 😅 While all of the PRs for Hacktoberfest might not have been merged yet, you still qualify for receiving some Umbraco swag, congratulations! 🎉 In the spirit of Hacktoberfest we've prepared some exclusive Umbraco swag for all our contributors - including you! As an alternative choice, you can opt-out of receiving anything and ask us to help improve the planet instead by planting a tree on your behalf. 🌳 Receive your swag or plant a tree! 👈 Please follow this link to fill out and submit the form, before December 25nd, 2024, 23:59:00 UTC. Following this date we'll be sending out all the swag, but please note that it might not reach your doorstep for a few weeks/months, so please bear with us and be patient 🙏 The only thing left to say is thank you so much for participating in Hacktoberfest! We really appreciate the help! Kind regards, |
Initial adjustment of the projects with package vulnerabilities that errored due to GHSA-qj66-m88j-hmgj 09/10/24.
Changed to ignore the four specific NuGet vulnerability warnings in Debug mode (but not Release) as per Microsoft docs (
NU1901,NU1902,NU1903,NU1904
)Relates to #17235.
Also updated some formatting errors in tests.
Prerequisites
Description
NU1901,NU1902,NU1903,NU1904
Next steps
If this approach is confirmed to work, I will add the configuration to all projects in case they get any future vulnerabilities.