Skip to content

Conversation

@michaelkedar
Copy link
Member

Make related vulns be regularly recomputed, so when A updates to related to B, B will get updated to relate to A.

A withdrawn vuln will have non-withdrawn vulns added to its related field, but it will not add it's ID to the related fields of its own related vulns.
(i.e. if A is withdrawn and has related: ["C"], C will not get A added to its related field. If non-withdrawn B has related: ["A"], A will end up with related: ["B", "C"])

@google google deleted a comment from gemini-code-assist bot Jan 29, 2026
Comment on lines 20 to 21
// We want to prevent withdrawn vulns from being added to related groups.
// But if a non-withdrawn vuln has a withdrawn vuln as a related id, we want to add it.
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be worded a bit differently

We want to prevent withdrawn vulns IDs from being added to related groups, if the withdrawn vuln itself references other non-withdrawn vulns.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe give some examples here as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

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.

2 participants