From e6dd42bda78f2f166457731f2efa363bc6feb3d0 Mon Sep 17 00:00:00 2001 From: Christian Zunker <827818+czunker@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:38:37 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Add=20missing=20data=20to=20vuln?= =?UTF-8?q?.cve=20fields=20(#3235)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit state and sumaary weren't populated. Signed-off-by: Christian Zunker --- providers/os/resources/vulnmgmt.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/os/resources/vulnmgmt.go b/providers/os/resources/vulnmgmt.go index 3dcb0e844..1038dba74 100644 --- a/providers/os/resources/vulnmgmt.go +++ b/providers/os/resources/vulnmgmt.go @@ -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), })