Skip to content

Commit

Permalink
🐛 Fix vuln report for debian origin packages
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Zunker <christian@mondoo.com>
  • Loading branch information
czunker committed Dec 19, 2023
1 parent 7ef64ff commit 46b190b
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ require (
github.com/aws/aws-sdk-go-v2/service/sns v1.26.5
github.com/aws/aws-sdk-go-v2/service/ssm v1.44.5
github.com/aws/aws-sdk-go-v2/service/sts v1.26.5
github.com/aws/aws-sdk-go-v2/service/wafv2 v1.43.5
github.com/aws/smithy-go v1.19.0
github.com/cockroachdb/errors v1.11.1
github.com/google/uuid v1.4.0
github.com/rs/zerolog v1.31.0
github.com/spf13/afero v1.11.0
github.com/stretchr/testify v1.8.4
Expand Down Expand Up @@ -90,7 +92,6 @@ require (
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 // indirect
github.com/aws/aws-sdk-go-v2/service/wafv2 v1.43.5 // indirect
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20231121224113-b6714ac5eb13 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
Expand Down Expand Up @@ -122,7 +123,6 @@ require (
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-containerregistry v0.17.0 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/uuid v1.4.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
Expand Down
2 changes: 1 addition & 1 deletion providers/github/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ require (
github.com/ykadowak/zerologlint v0.1.5 // indirect
gitlab.com/bosi/decorder v0.4.1 // indirect
go-simpler.org/sloglint v0.3.0 // indirect
go.mondoo.com/mondoo-go v0.0.0-20231208095824-90b6fcd58afb // indirect
go.mondoo.com/mondoo-go v0.0.0-20231219150337-47ab9e2aa496 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/otel v1.21.0 // indirect
go.opentelemetry.io/otel/metric v1.21.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions providers/github/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1013,8 +1013,8 @@ go-simpler.org/sloglint v0.3.0/go.mod h1:/RQr0TeTf89IyRjLJ9ogUbIp1Zs5zJJAj02pwQo
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=
Expand Down
2 changes: 1 addition & 1 deletion providers/google-workspace/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ require (
github.com/ykadowak/zerologlint v0.1.5 // indirect
gitlab.com/bosi/decorder v0.4.1 // indirect
go-simpler.org/sloglint v0.3.0 // indirect
go.mondoo.com/mondoo-go v0.0.0-20231208095824-90b6fcd58afb // indirect
go.mondoo.com/mondoo-go v0.0.0-20231219150337-47ab9e2aa496 // indirect
go.mondoo.com/ranger-rpc v0.5.3 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/otel v1.21.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions providers/google-workspace/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1009,8 +1009,8 @@ go-simpler.org/sloglint v0.3.0/go.mod h1:/RQr0TeTf89IyRjLJ9ogUbIp1Zs5zJJAj02pwQo
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=
Expand Down
2 changes: 1 addition & 1 deletion providers/k8s/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ require (
github.com/ykadowak/zerologlint v0.1.5 // indirect
gitlab.com/bosi/decorder v0.4.1 // indirect
go-simpler.org/sloglint v0.3.0 // indirect
go.mondoo.com/mondoo-go v0.0.0-20231208095824-90b6fcd58afb // indirect
go.mondoo.com/mondoo-go v0.0.0-20231219150337-47ab9e2aa496 // indirect
go.mondoo.com/ranger-rpc v0.5.3 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/otel v1.21.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions providers/k8s/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1045,8 +1045,8 @@ go-simpler.org/sloglint v0.3.0/go.mod h1:/RQr0TeTf89IyRjLJ9ogUbIp1Zs5zJJAj02pwQo
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=
Expand Down
1 change: 1 addition & 0 deletions providers/os/resources/vulnmgmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
}
}

Expand Down
2 changes: 1 addition & 1 deletion providers/slack/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ go 1.21
toolchain go1.21.3

require (
github.com/hashicorp/go-retryablehttp v0.7.5
github.com/rs/zerolog v1.31.0
github.com/slack-go/slack v0.12.3
go.mondoo.com/cnquery/v9 v9.10.0
Expand Down Expand Up @@ -69,7 +70,6 @@ require (
github.com/hashicorp/go-hclog v1.6.1 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.6.0 // indirect
github.com/hashicorp/go-retryablehttp v0.7.5 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 // indirect
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
Expand Down
2 changes: 1 addition & 1 deletion providers/vsphere/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/stretchr/testify v1.8.4
github.com/vmware/govmomi v0.33.1
go.mondoo.com/cnquery/v9 v9.10.0
go.mondoo.com/mondoo-go v0.0.0-20231208095824-90b6fcd58afb
go.mondoo.com/mondoo-go v0.0.0-20231219150337-47ab9e2aa496
)

require (
Expand Down
4 changes: 2 additions & 2 deletions providers/vsphere/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,8 @@ github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5t
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=
Expand Down

0 comments on commit 46b190b

Please sign in to comment.