From e953a259b008042d733a4c0aadc9b85d1bedf251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Unbekandt?= Date: Mon, 23 Oct 2017 15:45:23 +0200 Subject: [PATCH] nvd: fix the name of a field The xml's field "availability-impact" wasn't collected due to a typo. --- ext/vulnmdsrc/nvd/xml.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/vulnmdsrc/nvd/xml.go b/ext/vulnmdsrc/nvd/xml.go index 9c6ffd98..99e1420d 100644 --- a/ext/vulnmdsrc/nvd/xml.go +++ b/ext/vulnmdsrc/nvd/xml.go @@ -41,7 +41,7 @@ type nvdCVSSBaseMetrics struct { Authentication string `xml:"authentication"` ConfImpact string `xml:"confidentiality-impact"` IntegImpact string `xml:"integrity-impact"` - AvailImpact string `xml:"avaibility-impact"` + AvailImpact string `xml:"availability-impact"` } var vectorValuesToLetters map[string]string