From 0bb4de1e3fccdac43d142c92b0d6468b0223b577 Mon Sep 17 00:00:00 2001 From: Christian Zunker Date: Tue, 19 Dec 2023 12:51:08 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20vuln=20report=20for=20debi?= =?UTF-8?q?an=20origin=20packages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian Zunker --- go.mod | 2 +- go.sum | 4 ++-- providers/os/resources/vulnmgmt.go | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index d30fa21cb5..a74395e552 100644 --- a/go.mod +++ b/go.mod @@ -370,7 +370,7 @@ require ( github.com/yeya24/promlinter v0.2.0 // indirect github.com/ykadowak/zerologlint v0.1.3 // indirect gitlab.com/bosi/decorder v0.4.1 // indirect - go.mondoo.com/mondoo-go v0.0.0-20231208095824-90b6fcd58afb + go.mondoo.com/mondoo-go v0.0.0-20231219150337-47ab9e2aa496 go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/otel/trace v1.21.0 // indirect go.tmz.dev/musttag v0.7.2 // indirect diff --git a/go.sum b/go.sum index 5129efbdcc..9c74077746 100644 --- a/go.sum +++ b/go.sum @@ -1113,8 +1113,8 @@ go-simpler.org/sloglint v0.1.2/go.mod h1:2LL+QImPfTslD5muNPydAEYmpXIj6o/WYcqnJjL go.etcd.io/etcd/api/v3 v3.5.1/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= go.etcd.io/etcd/client/pkg/v3 v3.5.1/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= go.etcd.io/etcd/client/v2 v2.305.1/go.mod h1:pMEacxZW7o8pg4CrFE7pquyCJJzZvkvdD2RibOCCCGs= -go.mondoo.com/mondoo-go v0.0.0-20231208095824-90b6fcd58afb h1:M32tLS8NVmDbfG7pw/cH2aqUZiFE6lcBJDTJ++wTCSg= -go.mondoo.com/mondoo-go v0.0.0-20231208095824-90b6fcd58afb/go.mod h1:elugDWMp6Tnk1tSpTf/7HHewkb0ORjMA2ubeFLI+FwQ= +go.mondoo.com/mondoo-go v0.0.0-20231219150337-47ab9e2aa496 h1:1/ygmRQZwmCBpj80QJj0TFr0F/+iT2EmfMyMAfSI5bU= +go.mondoo.com/mondoo-go v0.0.0-20231219150337-47ab9e2aa496/go.mod h1:elugDWMp6Tnk1tSpTf/7HHewkb0ORjMA2ubeFLI+FwQ= go.mondoo.com/ranger-rpc v0.5.3 h1:914JOFTrxWFtBu1qrvuTyTyMibuT7g1GAX3HaUcbFqI= go.mondoo.com/ranger-rpc v0.5.3/go.mod h1:p+aaD7IpfhlnjeZ/uJ9ytS1655kaAyspWAzNYUZJHZw= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= diff --git a/providers/os/resources/vulnmgmt.go b/providers/os/resources/vulnmgmt.go index 9301258732..6f785615da 100644 --- a/providers/os/resources/vulnmgmt.go +++ b/providers/os/resources/vulnmgmt.go @@ -243,6 +243,7 @@ func (v *mqlVulnmgmt) getIncognitoReport(mondooClient *gql.MondooClient) (*gql.V Name: mondoogql.String(mqlPkg.Name.Data), Version: mondoogql.String(mqlPkg.Version.Data), Arch: mondoogql.NewStringPtr(mondoogql.String(mqlPkg.Arch.Data)), + Origin: mondoogql.NewStringPtr(mondoogql.String(mqlPkg.Origin.Data)), } }