nvd: fix the name of a field

The xml's field "availability-impact" wasn't collected due to a typo.
This commit is contained in:
Grégoire Unbekandt 2017-10-23 15:45:23 +02:00
parent db91b91f38
commit e953a259b0

View File

@ -41,7 +41,7 @@ type nvdCVSSBaseMetrics struct {
Authentication string `xml:"authentication"` Authentication string `xml:"authentication"`
ConfImpact string `xml:"confidentiality-impact"` ConfImpact string `xml:"confidentiality-impact"`
IntegImpact string `xml:"integrity-impact"` IntegImpact string `xml:"integrity-impact"`
AvailImpact string `xml:"avaibility-impact"` AvailImpact string `xml:"availability-impact"`
} }
var vectorValuesToLetters map[string]string var vectorValuesToLetters map[string]string