-
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
feat: add cvss v4 score and vector in scan response #7968
feat: add cvss v4 score and vector in scan response #7968
Conversation
return cvssv4 score, vector when returning scan response in trivy.
add cvssv4 score, vector in cvss map protobuf
rpc/common/service.pb.go
Outdated
// protoc-gen-go v1.34.0 | ||
// protoc v3.19.4 | ||
// protoc-gen-go v1.34.2 | ||
// protoc v3.17.3 |
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.
How did you generate it? Did you run mage protoc
?
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.
I used a local protoc. If needed, I can run mage protoc
.
can you please tell me, how it needs to be run.
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.
We should use the same version unless we explicitly change the protoc version to avoid unexpected problems.
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.
fixed , please review.
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.
Thanks
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.
LGTM
Description
NVD (NIST) has started publishing cvss v4 for CVE.
eg. CVE-2024-7450,CVE-2024-7451,CVE-2024-7452
Currently trivy doesnot return cvssv4 score, vector in scan response.
This PR handles it.
Related issues
Checklist