From fbcf3c21bf8a42e5be89adb000d2df2e99b2f0b7 Mon Sep 17 00:00:00 2001 From: Simarpreet Singh Date: Tue, 30 Jun 2020 16:49:57 -0700 Subject: [PATCH] types: Switch CVSS JSON tags to CamelCase Signed-off-by: Simarpreet Singh --- pkg/types/types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/types/types.go b/pkg/types/types.go index 752f8ef2..ca475625 100644 --- a/pkg/types/types.go +++ b/pkg/types/types.go @@ -12,10 +12,10 @@ type Severity int type VendorSeverity map[string]Severity type CVSS struct { - V2Vector string `json:"v2_vector,omitempty"` - V3Vector string `json:"v3_vector,omitempty"` - V2Score float64 `json:"v2_score,omitempty"` - V3Score float64 `json:"v3_score,omitempty"` + V2Vector string `json:"V2Vector,omitempty"` + V3Vector string `json:"V3Vector,omitempty"` + V2Score float64 `json:"V2Score,omitempty"` + V3Score float64 `json:"V3Score,omitempty"` } type CVSSVector struct {