Skip to content

Commit

Permalink
feat: add Components to Vulnerability struct (#12)
Browse files Browse the repository at this point in the history
Signed-off-by: Duane May <mduane@vmware.com>
  • Loading branch information
duanemay committed Jul 14, 2023
1 parent bf2f1d8 commit 27c8a62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vulnerability.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 27c8a62

Please sign in to comment.