-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(sbom): don't overwrite srcEpoch
when decoding SBOM files
#6866
fix(sbom): don't overwrite srcEpoch
when decoding SBOM files
#6866
Conversation
srcEpoch
when decoding the BOMsrcEpoch
when decoding SBOM files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if returning boolean from parseSrcVersion
? It returns true if we update the source package.
we can't use Lines 210 to 219 in e8d8af4
|
@aqua-bot backport release/v0.52 |
Backport PR created: #6881 |
Description
Trivy stores source information in
properties
.So, we only need to overwrite the source information if
srcName
andsrcVersion
are not found (it means that we decoding third-party SBOMs).Related issues
epoch
if srcEpoch is 0 #6865Checklist