diff --git a/go.mod b/go.mod index 80e8b5bc36..0cb25e8a4b 100644 --- a/go.mod +++ b/go.mod @@ -106,7 +106,7 @@ require ( golang.org/x/lint v0.0.0-20241112194109-818c5a804067 golang.org/x/oauth2 v0.36.0 google.golang.org/api v0.287.0 - gopkg.in/yaml.v3 v3.0.1 // indirect + gopkg.in/yaml.v3 v3.0.1 gotest.tools/gotestsum v1.13.0 k8s.io/api v0.36.2 k8s.io/apimachinery v0.36.2 @@ -115,7 +115,7 @@ require ( modernc.org/sqlite v1.54.0 ) -require gopkg.in/yaml.v2 v2.4.0 +require gopkg.in/yaml.v2 v2.4.0 // indirect require ( cel.dev/expr v0.25.2 // indirect diff --git a/internal/resources/fetching/fetchers/k8s/process_fetcher_test.go b/internal/resources/fetching/fetchers/k8s/process_fetcher_test.go index bca2e759f2..a336015d8e 100644 --- a/internal/resources/fetching/fetchers/k8s/process_fetcher_test.go +++ b/internal/resources/fetching/fetchers/k8s/process_fetcher_test.go @@ -29,7 +29,7 @@ import ( "github.com/go-viper/mapstructure/v2" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" "k8s.io/apimachinery/pkg/util/json" "github.com/elastic/cloudbeat/internal/resources/fetching"