docs(adr): describe how vuln correlation works today - #2540
Open
rh-jfuller wants to merge 1 commit into
Open
Conversation
Contributor
Reviewer's GuideAdds ADR 00020 documenting the current design, behavior, and limitations of the vulnerability correlation engine for both SBOM-centric (Direction A) and vulnerability-centric (Direction B) queries, including shared foundations, ingestion constraints, directional asymmetries, limitation index, and future direction notes. This PR is documentation-only with no code changes. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
There was a problem hiding this comment.
Hey - I've found 1 issue, and left some high level feedback:
- The "Leverage graph cache ?" subsection under Future Direction is a dangling heading with no content; either add a short description of what is being considered or remove the heading to avoid confusion.
- In Part 5 and Future Direction, some TODOs and limitation descriptions reference code comments verbatim; consider tightening these to focus on the current behavior and intended change, so the ADR remains useful even if inline comments later drift.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The "Leverage graph cache ?" subsection under Future Direction is a dangling heading with no content; either add a short description of what is being considered or remove the heading to avoid confusion.
- In Part 5 and Future Direction, some TODOs and limitation descriptions reference code comments verbatim; consider tightening these to focus on the current behavior and intended change, so the ADR remains useful even if inline comments later drift.
## Individual Comments
### Comment 1
<location path="docs/adrs/00020-vulnerability-correlation-engine.md" line_range="614-616" />
<code_context>
+
+**F9. Unify version scheme assignment across loaders.** Extend `From<&str> for VersionScheme`
+to cover every PURL type with a comparator, or move scheme derivation into a single shared
+function used by all loaders, so ingestion path no longer determines match quality.
+
+### Other
</code_context>
<issue_to_address>
**suggestion (typo):** The phrase "ingestion path" may be clearer as "ingestion paths" given the context.
This sentence refers to multiple loaders and ingestion paths, so pluralizing "ingestion path" to "ingestion paths" would better match the context and surrounding text.
```suggestion
**F9. Unify version scheme assignment across loaders.** Extend `From<&str> for VersionScheme`
to cover every PURL type with a comparator, or move scheme derivation into a single shared
function used by all loaders, so ingestion paths no longer determine match quality.
```
</issue_to_address>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
…iscuss where to go next.
rh-jfuller
force-pushed
the
adr/vuln_correlation
branch
from
July 29, 2026 12:40
8e664ad to
8690815
Compare
rh-jfuller
marked this pull request as ready for review
July 29, 2026 12:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
view
Summary by Sourcery
Documentation:
Summary by Sourcery
Add an architectural decision record documenting the current design and known limitations of the vulnerability correlation engine for SBOMs and advisories.
Documentation: