Skip to content

Conversation

@another-rex
Copy link
Collaborator

Fork of #1208

@google-cla
Copy link

google-cla bot commented Nov 21, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

EnricherOrder = []string{
"reachability/java",
"vulnmatch/osvdev",
"reachability/govcsource",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how we order the enrichers in this list?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The govcsoruce needs the output from the initial vulnerability match in osvdev, so it has to happen after vulnerability matching.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a comment with this reason? and does that mean we need to specify vulnmatch/osvdev as one of the required plugins?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could also get vulns from our internal matcher plugin (plus theoretically detectors that might find specific vulns in Go binaries, though we don't have any atm) so I'd rather not specify vulnmatch/osvdev

Comment on lines 139 to 140
// If there is symbol information, then analysis has been performed, and
// code does not import the vulnerable package, so definitely not called
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel this comment is a bit hard to understand - can you rephrase it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rephrased it, PTAL!

@another-rex another-rex requested a review from cuixq November 24, 2025 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants