-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 Support #681
Comments
It sounds nice.
|
I'll gladly take a look at this. Will set up a PR draft in Edit: |
@knqyf263 , I have a question: NuGet does not create a lock file by default, it's more of an opt-in thing. The default dependency file is basically the csproj file, with the Should the parser only look for the |
Hi @Johannestegner, thank you for the quick action! I'm not familiar with NuGet yet. Does |
Hi there! Well, the Worth noting is that the .csproj file is a XML file, hehe. |
I see. Let's start with |
Aye, was basically what I was thinking too. And honestly, I would think that if someone scans their code for vulnerabilities, it's quite likely that they lock their versions anyway :) |
Or, does NuGet have a metadata file for an installed package like *.gemspec in RubyGems? If so, we can look for all files with such a suffix and parse those files. |
When it is compiled, is have a @sean-redmond, which file would you expect that the scanner scanned in a netcore project? |
Hey @Johannestegner - Thanks for taking a look at this feature request. The .csproj file is XML but can be useful if trivy is used maybe with a flag such as
Its worth pointing out however the Version can be set to a value of In a compiled project (maybe when
From what I can tell the @davidfowl Would anyone from Microsoft be able to offer any further input on the above? |
Hi @sean-redmond ! Thanks for the response, and happy to have the chance to work on trivy, I use it a lot and have wanted to contribute for some time now, hehee. Looking at the other analyzers in the project, most (if not all) of them uses the The My general thought when it comes to this is that it would be a good idea to search for What do you think about this @knqyf263? |
There is another discussion going on in one of the PR's, that I just wanted to add a reference to here so (to make it easier to navigate between the different problems with the implementation! hehe): #686 (comment) In short: Legacy packages can have a versioning which looks like: |
I'm sorry for the late reply. I agree with you. |
#686 supported NuGet. |
I am using trivy and really like the tool, I would love to see support for checking NuGet packages for .net core containers.
The text was updated successfully, but these errors were encountered: