-
Notifications
You must be signed in to change notification settings - Fork 380
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
Invoke MavenResolverExtrator
when scanning pom.xml
#1028
Conversation
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.
this is to avoid import cycle :(
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.
I think this makes sense also. the OSV-Scanner ErrAPIFailed seems like it should be kept just to OSV-specific API calls.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1028 +/- ##
==========================================
+ Coverage 65.28% 65.30% +0.01%
==========================================
Files 150 150
Lines 12498 12525 +27
==========================================
+ Hits 8159 8179 +20
- Misses 3879 3882 +3
- Partials 460 464 +4 ☔ View full report in Codecov by Sentry. |
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.
AWESOME!
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.
I think this makes sense also. the OSV-Scanner ErrAPIFailed seems like it should be kept just to OSV-specific API calls.
sorry, after posting my review and seeing all my comments together it's very clear they're all just a single comment 😅:
|
@another-rex @G-Rath PTAL- thanks! |
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.
LGTM, but are your concerns addressed @G-Rath ?
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.
LGTM, though the test packages seem to have a lot of vulnerabilities though, can we pick one with only a few vulns?
I updated the fixtures with the example in the blog post. |
#35
In this PR,
MavenResolverExtrator
is invoked when scanning pom.xml to report vulnerabilities in transitive dependencies.However, the default Maven extractor is still being used with offline mode.