Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the addition of KEV details to the CVE API.
No open issues 🎉
1 file not reviewed
internal/graph/gengql/vulnerability.generated.go: Generated file
What changed in this PR
Adds known exploited vulnerability (KEV) details to the CVE API and updates vulnerability transformations to use the upstream KEV entry.
Changes:
- Exposes optional catalog descriptions, reference URLs, and description sources through
CVE.kevEntry. - Derives exploitation and ransomware signals from the upstream KEV object.
- Updates dependencies, generated GraphQL code, fixtures, and tests.
| File | Description |
|---|---|
| internal/vulnerability/transform.go | Maps KEV details and exploitation signals. |
| internal/vulnerability/transform_test.go | Updates fixtures to use KEV objects. |
| internal/vulnerability/models.go | Adds the KEV model and CVE field. |
| internal/vulnerability/fake/fakedata.go | Generates nested KEV data. |
| internal/graph/vulnerability.resolvers_test.go | Tests catalog details, absent entries, and partial data. |
| internal/graph/schema/vulnerability.graphqls | Defines KEVEntry and exposes CVE.kevEntry. |
| internal/graph/gengql/vulnerability.generated.go | Adds generated KEV field handling. |
| internal/graph/gengql/root_.generated.go | Updates generated schema and complexity handling. |
| go.sum | Updates upstream API dependency checksums. |
| go.mod | Updates the upstream vulnerability API dependency. |
| eslint.config.js | Exempts KEVEntry from the ID requirement. |
Review effort: Balanced
ybelMekk
force-pushed
the
feat/kev-guidance
branch
from
November 1, 2026 18:16
a99fb71 to
fada73a
Compare
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.
Uh oh!
There was an error while loading. Please reload this page.