diff --git a/providers/gitlab/connection/connection.go b/providers/gitlab/connection/connection.go index 7daa9bafe4..a6576c1cb4 100644 --- a/providers/gitlab/connection/connection.go +++ b/providers/gitlab/connection/connection.go @@ -12,7 +12,7 @@ import ( "strings" "github.com/rs/zerolog/log" - "github.com/xanzy/go-gitlab" + "gitlab.com/gitlab-org/api/client-go" "go.mondoo.com/cnquery/v11/providers-sdk/v1/inventory" "go.mondoo.com/cnquery/v11/providers-sdk/v1/plugin" "go.mondoo.com/cnquery/v11/providers-sdk/v1/vault" diff --git a/providers/gitlab/go.mod b/providers/gitlab/go.mod index fdc022ae46..e549dbf01d 100644 --- a/providers/gitlab/go.mod +++ b/providers/gitlab/go.mod @@ -7,7 +7,7 @@ go 1.23.0 require ( github.com/rs/zerolog v1.33.0 github.com/stretchr/testify v1.10.0 - github.com/xanzy/go-gitlab v0.114.0 + gitlab.com/gitlab-org/api/client-go v0.116.0 go.mondoo.com/cnquery/v11 v11.33.1 golang.org/x/exp v0.0.0-20241204233417-43b7b7cde48d google.golang.org/protobuf v1.35.2 diff --git a/providers/gitlab/go.sum b/providers/gitlab/go.sum index b20da104e6..cc93144c7f 100644 --- a/providers/gitlab/go.sum +++ b/providers/gitlab/go.sum @@ -348,13 +348,13 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/xanzy/go-gitlab v0.114.0 h1:0wQr/KBckwrZPfEMjRqpUz0HmsKKON9UhCYv9KDy19M= -github.com/xanzy/go-gitlab v0.114.0/go.mod h1:wKNKh3GkYDMOsGmnfuX+ITCmDuSDWFO0G+C4AygL9RY= github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +gitlab.com/gitlab-org/api/client-go v0.116.0 h1:Dy534gtZPMrnm3fAcmQRMadrcoUyFO4FQ4rXlSAdHAw= +gitlab.com/gitlab-org/api/client-go v0.116.0/go.mod h1:B29OfnZklmaoiR7uHANh9jTyfWEgmXvZLVEnosw2Dx0= go.mondoo.com/ranger-rpc v0.6.4 h1:q01kjESvF2HSnbFO+TjpUQSiI2IM8JWGJLH3u0vNxZA= go.mondoo.com/ranger-rpc v0.6.4/go.mod h1:XltLDrmTYlEzStXa0+8vGS5/Cik4OKS5DY/o/qOG8SU= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= diff --git a/providers/gitlab/provider/discovery.go b/providers/gitlab/provider/discovery.go index ab5198633b..143d9f0d22 100644 --- a/providers/gitlab/provider/discovery.go +++ b/providers/gitlab/provider/discovery.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/rs/zerolog/log" - "github.com/xanzy/go-gitlab" + "gitlab.com/gitlab-org/api/client-go" "go.mondoo.com/cnquery/v11/providers-sdk/v1/inventory" "go.mondoo.com/cnquery/v11/providers-sdk/v1/vault" "go.mondoo.com/cnquery/v11/providers/gitlab/connection" diff --git a/providers/gitlab/provider/provider.go b/providers/gitlab/provider/provider.go index 77c059573f..c411472aa3 100644 --- a/providers/gitlab/provider/provider.go +++ b/providers/gitlab/provider/provider.go @@ -9,7 +9,7 @@ import ( "os" "strconv" - "github.com/xanzy/go-gitlab" + "gitlab.com/gitlab-org/api/client-go" "go.mondoo.com/cnquery/v11/llx" "go.mondoo.com/cnquery/v11/providers-sdk/v1/inventory" "go.mondoo.com/cnquery/v11/providers-sdk/v1/plugin" diff --git a/providers/gitlab/resources/gitlab.go b/providers/gitlab/resources/gitlab.go index b887da68d1..5abe62e98f 100644 --- a/providers/gitlab/resources/gitlab.go +++ b/providers/gitlab/resources/gitlab.go @@ -8,7 +8,7 @@ import ( "fmt" "strconv" - "github.com/xanzy/go-gitlab" + "gitlab.com/gitlab-org/api/client-go" "go.mondoo.com/cnquery/v11/llx" "go.mondoo.com/cnquery/v11/providers-sdk/v1/plugin" "go.mondoo.com/cnquery/v11/providers/gitlab/connection"