Align CvssScore handling with Cve and update dependencies#438
Merged
Conversation
- transform.go: CvssScore leses nå fra v.GetCve().CvssScore - workload_v13s.go og test: test-fixtures setter CvssScore på Cve i tillegg til wrapper for konsistens med ny proto-semantikk
cf0a01a to
8ec9ac0
Compare
Contributor
Author
|
må vente på: nais/v13s#291 men er klar til review |
thokra-nav
approved these changes
May 13, 2026
Contributor
thokra-nav
left a comment
There was a problem hiding this comment.
Kjør på når det er klart :)
…nment SHA - Legg til SuppressVulnerabilities i fake-klienten (ny metode i Client-interface) - go mod tidy
8ec9ac0 to
81dd04c
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.
Vulnerability Data Handling:
CvssScorefield in thetoImageVulnerabilityfunction to use the value fromv.GetCve().CvssScoreinstead of the top-levelv.CvssScore, ensuring the score is sourced from the correct place.CvssScoreon both the vulnerability and its nestedCvestruct, improving test accuracy and alignment with production data.Testing and Fakes:
SuppressVulnerabilitiesto thefakeVulnerabilitiesClientfor use in tests, supporting future test scenarios that require this method.