-
Notifications
You must be signed in to change notification settings - Fork 76
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
feat: [SUP-2192] Adding manifest file to vuln card if scanning multi-project #170
feat: [SUP-2192] Adding manifest file to vuln card if scanning multi-project #170
Conversation
a985e82
to
9f13587
Compare
9f13587
to
f741b90
Compare
52e38e4
to
d816d27
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: if the nuget
conditional is removed, this will just add the full manifest path to all results? I don't see this as an issue, is there any reason for the caution?
Asking as, having specific branching logic like the one we're introducing can be a pain to understand without prior context.
Yes, should I swap the logic? I can add a story in comments about why. I have seen other conditionals in the code related to ecosystem oddities so I figured it was an ok way to go. I was not comfortable just adding this logic for all ecosystems.. was not sure if it would cause regression or angry users of other ecosystems. I can do it if you think it would be OK - for sure |
@dotkas Although I tried a quick test with a Node project and it looks like a bit more work is required on top of just omitting the conditionals in the |
@j-luong i'll ping you on Slack, need to understand more. |
fce9323
to
854f3df
Compare
854f3df
to
ce935fb
Compare
🎉 This PR is included in version 2.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What this does
Before
A while back there was a change done to the CLI which altered the way we did naming for certain projects. It had a lot of regression errors introduced and this change is one of the remediations for fixing this, as rolling back was no longer an option.
For nuget packages, when scanning multiple projects, the overview would not adequately give a user an overview of what exact projects has been scanned:
Further, the list of vulnerabilities would also not give the user an idea about which project contains the vulnerability:
This change
This change adds a manifest path to all vulnerabilities when multiple projects are scanned:
As well as a more details list of paths if
nuget
is scanned specifically:.. but I've limited this last change to
nuget
only, as this does not seem to be an issue for other ecosystems. Should that change, we can alter the conditional logic pretty quickly.More information
Screenshots
See inline.