diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-02-19 16:22:58 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-02-19 16:22:58 -0500 |
commit | 609953a652699e15d0c66e954825bd6aee138798 (patch) | |
tree | 6ed4b8dc4863bb4a940b8f23cd34c7b160b92025 /feed | |
parent | 5eaa03b404b574a7a2719c60eef09dfa48553094 (diff) | |
download | cvez-609953a652699e15d0c66e954825bd6aee138798.tar.bz2 cvez-609953a652699e15d0c66e954825bd6aee138798.zip |
feed/feed.go: make basemetrics optional
Diffstat (limited to 'feed')
-rw-r--r-- | feed/feed.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/feed/feed.go b/feed/feed.go index bdf260c..7f1f9e0 100644 --- a/feed/feed.go +++ b/feed/feed.go @@ -209,10 +209,10 @@ type BaseMetricV2 struct { // Item impact type Impact struct { // CVSS V3 base metrics - BaseMetricV3 BaseMetricV3 `json:"baseMetricV3"` + BaseMetricV3 *BaseMetricV3 `json:"baseMetricV3"` // CVSS V2 base metrics - BaseMetricV2 BaseMetricV2 `json:"baseMetricV2"` + BaseMetricV2 *BaseMetricV2 `json:"baseMetricV2"` } // CVE feed item |