Skip to content

Commit

Permalink
🐛 Add missing data to vuln.cve fields (#3235)
Browse files Browse the repository at this point in the history
state and sumaary weren't populated.

Signed-off-by: Christian Zunker <[email protected]>
  • Loading branch information
czunker authored Feb 27, 2024
1 parent 5c3ae3a commit e6dd42b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/os/resources/vulnmgmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ func (v *mqlVulnmgmt) populateData() error {
mqlVulnCve, err := CreateResource(v.MqlRuntime, "vuln.cve", map[string]*llx.RawData{
"id": llx.StringData(c.Id),
"worstScore": llx.ResourceData(cvssScore, "audit.cvss"),
"state": llx.StringData(c.State),
"summary": llx.StringData(c.Summary),
"published": llx.TimeDataPtr(parsedPublished),
"modified": llx.TimeDataPtr(parsedModified),
})
Expand Down

0 comments on commit e6dd42b

Please sign in to comment.