Add missing fields to SecurityAdvisoryEvent and rename others#2889
Add missing fields to SecurityAdvisoryEvent and rename others#2889gmlewis merged 2 commits intogoogle:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2889 +/- ##
=======================================
Coverage 98.06% 98.06%
=======================================
Files 140 140
Lines 12269 12269
=======================================
Hits 12031 12031
Misses 162 162
Partials 76 76
|
github/event_types.go
Outdated
| // | ||
| // GitHub API docs: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#security_advisory | ||
| type SecurityAdvisory struct { | ||
| CVSs *AdvisoryCVSs `json:"cvss,omitempty"` |
There was a problem hiding this comment.
I can't do a full review right now, but I noticed that cvss is singular (not plural) and is an acronym for "CVS Score" so its capitalization should be "CVSS" .
The same is true for AdvisoryCVSS.
|
Ah! I see that you are fixing some legacy naming mistakes. Thank you, @nikpivkin ! |
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @nikpivkin !
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
|
Thank you, @WillAbides ! |
Add missing fields to SecurityAdvisoryEvent