From 27c8a62d0ee164fc513b74c38fd7542a61a815cf Mon Sep 17 00:00:00 2001 From: Duane May Date: Fri, 14 Jul 2023 07:06:23 -0400 Subject: [PATCH] feat: add `Components` to `Vulnerability` struct (#12) Signed-off-by: Duane May --- vulnerability.go | 1 + 1 file changed, 1 insertion(+) diff --git a/vulnerability.go b/vulnerability.go index 4ba374c..6e4ea2a 100644 --- a/vulnerability.go +++ b/vulnerability.go @@ -41,6 +41,7 @@ type Vulnerability struct { EPSSPercentile float64 `json:"epssPercentile"` VulnerableVersions string `json:"vulnerableVersions"` PatchedVersions string `json:"patchedVersions"` + Components *[]Component `json:"components,omitempty"` } type VulnerabilityAlias struct {