Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧹 update go dependencies #1745

Merged
merged 2 commits into from
Sep 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
273 changes: 135 additions & 138 deletions go.mod

Large diffs are not rendered by default.

752 changes: 273 additions & 479 deletions go.sum

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions providers-sdk/v1/lr/cli/cmd/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ var docsYamlCmd = &cobra.Command{
log.Fatal().Err(err).Msg("could not marshal docs")
}

// add license header
data = append([]byte("# Copyright (c) Mondoo, Inc.\n# SPDX-License-Identifier: BUSL-1.1\n\n"), data...)

log.Info().Str("file", filepath).Msg("write file")
err = os.WriteFile(filepath, data, 0o700)
if err != nil {
Expand Down
41 changes: 22 additions & 19 deletions providers/arista/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,53 +7,56 @@ go 1.20
require (
github.com/aristanetworks/goeapi v1.0.0
github.com/stretchr/testify v1.8.4
go.mondoo.com/cnquery v0.0.0-00010101000000-000000000000
go.mondoo.com/cnquery v0.0.0-20230915180754-c5f61bc705cf
)

require (
github.com/Masterminds/semver v1.5.0 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/cockroachdb/errors v1.9.1 // indirect
github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f // indirect
github.com/cockroachdb/redact v1.1.3 // indirect
github.com/cockroachdb/errors v1.11.1 // indirect
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
github.com/cockroachdb/redact v1.1.5 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/getsentry/sentry-go v0.13.0 // indirect
github.com/gofrs/uuid v4.3.1+incompatible // indirect
github.com/getsentry/sentry-go v0.24.1 // indirect
github.com/gofrs/uuid v4.4.0+incompatible // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/hashicorp/go-hclog v1.5.0 // indirect
github.com/hashicorp/go-plugin v1.4.8 // indirect
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
github.com/hashicorp/go-plugin v1.5.1 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f // indirect
github.com/jtolds/gls v4.20.0+incompatible // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/mitchellh/go-testing-interface v1.0.0 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/muesli/termenv v0.15.2 // indirect
github.com/oklog/run v1.0.0 // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/rs/zerolog v1.30.0 // indirect
github.com/segmentio/fasthash v1.0.3 // indirect
github.com/segmentio/ksuid v1.0.4 // indirect
github.com/smarty/assertions v1.15.1 // indirect
github.com/spf13/afero v1.9.5 // indirect
github.com/vaughan0/go-ini v0.0.0-20130923145212-a98ad7ee00ec // indirect
go.mondoo.com/ranger-rpc v0.0.0-20230328135530-12135c17095f // indirect
golang.org/x/crypto v0.12.0 // indirect
golang.org/x/net v0.14.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/grpc v1.55.0 // indirect
go.mondoo.com/ranger-rpc v0.5.1 // indirect
golang.org/x/crypto v0.13.0 // indirect
golang.org/x/net v0.15.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230913181813-007df8e322eb // indirect
google.golang.org/grpc v1.58.1 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down
269 changes: 49 additions & 220 deletions providers/arista/go.sum

Large diffs are not rendered by default.

111 changes: 57 additions & 54 deletions providers/aws/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,57 +5,57 @@ replace go.mondoo.com/cnquery => ../..
go 1.20

require (
github.com/aws/aws-sdk-go v1.44.137
github.com/aws/aws-sdk-go v1.45.11
github.com/aws/aws-sdk-go-v2 v1.21.0
github.com/aws/aws-sdk-go-v2/config v1.18.37
github.com/aws/aws-sdk-go-v2/credentials v1.13.35
github.com/aws/aws-sdk-go-v2/config v1.18.39
github.com/aws/aws-sdk-go-v2/credentials v1.13.37
github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.20.5
github.com/aws/aws-sdk-go-v2/service/acm v1.18.5
github.com/aws/aws-sdk-go-v2/service/apigateway v1.18.0
github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.22.5
github.com/aws/aws-sdk-go-v2/service/autoscaling v1.30.6
github.com/aws/aws-sdk-go-v2/service/backup v1.24.4
github.com/aws/aws-sdk-go-v2/service/backup v1.25.0
github.com/aws/aws-sdk-go-v2/service/cloudfront v1.28.5
github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.28.6
github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.27.6
github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.29.0
github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.27.7
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.23.5
github.com/aws/aws-sdk-go-v2/service/codebuild v1.21.5
github.com/aws/aws-sdk-go-v2/service/configservice v1.36.3
github.com/aws/aws-sdk-go-v2/service/databasemigrationservice v1.30.4
github.com/aws/aws-sdk-go-v2/service/dynamodb v1.21.5
github.com/aws/aws-sdk-go-v2/service/ec2 v1.92.1
github.com/aws/aws-sdk-go-v2/service/ecr v1.19.5
github.com/aws/aws-sdk-go-v2/service/ec2 v1.118.0
github.com/aws/aws-sdk-go-v2/service/ecr v1.20.0
github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.17.5
github.com/aws/aws-sdk-go-v2/service/ecs v1.29.6
github.com/aws/aws-sdk-go-v2/service/ecs v1.30.1
github.com/aws/aws-sdk-go-v2/service/efs v1.21.6
github.com/aws/aws-sdk-go-v2/service/eks v1.29.5
github.com/aws/aws-sdk-go-v2/service/elasticache v1.29.3
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.16.5
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.21.3
github.com/aws/aws-sdk-go-v2/service/elasticsearchservice v1.20.5
github.com/aws/aws-sdk-go-v2/service/emr v1.28.5
github.com/aws/aws-sdk-go-v2/service/guardduty v1.26.3
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.21.4
github.com/aws/aws-sdk-go-v2/service/elasticsearchservice v1.20.6
github.com/aws/aws-sdk-go-v2/service/emr v1.28.6
github.com/aws/aws-sdk-go-v2/service/guardduty v1.27.0
github.com/aws/aws-sdk-go-v2/service/iam v1.22.5
github.com/aws/aws-sdk-go-v2/service/kms v1.24.5
github.com/aws/aws-sdk-go-v2/service/lambda v1.39.5
github.com/aws/aws-sdk-go-v2/service/organizations v1.20.5
github.com/aws/aws-sdk-go-v2/service/rds v1.52.0
github.com/aws/aws-sdk-go-v2/service/organizations v1.20.6
github.com/aws/aws-sdk-go-v2/service/rds v1.54.0
github.com/aws/aws-sdk-go-v2/service/redshift v1.29.5
github.com/aws/aws-sdk-go-v2/service/s3 v1.38.5
github.com/aws/aws-sdk-go-v2/service/s3control v1.32.5
github.com/aws/aws-sdk-go-v2/service/sagemaker v1.102.3
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.19.1
github.com/aws/aws-sdk-go-v2/service/securityhub v1.36.1
github.com/aws/aws-sdk-go-v2/service/s3control v1.33.0
github.com/aws/aws-sdk-go-v2/service/sagemaker v1.106.0
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.21.3
github.com/aws/aws-sdk-go-v2/service/securityhub v1.36.2
github.com/aws/aws-sdk-go-v2/service/sns v1.21.5
github.com/aws/aws-sdk-go-v2/service/ssm v1.36.0
github.com/aws/aws-sdk-go-v2/service/ssm v1.37.5
github.com/aws/aws-sdk-go-v2/service/sts v1.21.5
github.com/aws/smithy-go v1.14.2
github.com/cockroachdb/errors v1.9.1
github.com/cockroachdb/errors v1.11.1
github.com/rs/zerolog v1.30.0
github.com/spf13/afero v1.9.5
github.com/stretchr/testify v1.8.4
go.mondoo.com/cnquery v0.0.0-20230822120357-4b3c486e0c35
k8s.io/client-go v0.28.0
go.mondoo.com/cnquery v0.0.0-20230915180754-c5f61bc705cf
k8s.io/client-go v0.28.2
)

require (
Expand All @@ -70,83 +70,86 @@ require (
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.35 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.42 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.1.4 // indirect
github.com/aws/aws-sdk-go-v2/service/ec2instanceconnect v1.15.6 // indirect
github.com/aws/aws-sdk-go-v2/service/ec2instanceconnect v1.16.5 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.14 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.36 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.35 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.35 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.15.4 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.13.5 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.15.5 // indirect
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20230823232655-ce48fc331ac7 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.13.6 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.15.6 // indirect
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20230906235100-ae4cac8b496c // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f // indirect
github.com/cockroachdb/redact v1.1.3 // indirect
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
github.com/cockroachdb/redact v1.1.5 // indirect
github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docker/cli v24.0.0+incompatible // indirect
github.com/docker/cli v24.0.6+incompatible // indirect
github.com/docker/distribution v2.8.2+incompatible // indirect
github.com/docker/docker v24.0.5+incompatible // indirect
github.com/docker/docker v24.0.6+incompatible // indirect
github.com/docker/docker-credential-helpers v0.8.0 // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/getsentry/sentry-go v0.13.0 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/getsentry/sentry-go v0.24.1 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/gofrs/uuid v4.3.1+incompatible // indirect
github.com/gofrs/uuid v4.4.0+incompatible // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-containerregistry v0.16.1 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/hashicorp/go-hclog v1.5.0 // indirect
github.com/hashicorp/go-plugin v1.4.8 // indirect
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
github.com/hashicorp/go-plugin v1.5.1 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/hnakamur/go-scp v1.0.2 // indirect
github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/jtolds/gls v4.20.0+incompatible // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/klauspost/compress v1.16.5 // indirect
github.com/klauspost/compress v1.16.7 // indirect
github.com/kr/fs v0.1.0 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/go-testing-interface v1.0.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/muesli/termenv v0.15.2 // indirect
github.com/oklog/run v1.0.0 // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.0-rc3 // indirect
github.com/opencontainers/image-spec v1.1.0-rc5 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pkg/sftp v1.13.5 // indirect
github.com/pkg/sftp v1.13.6 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/segmentio/fasthash v1.0.3 // indirect
github.com/segmentio/ksuid v1.0.4 // indirect
github.com/sethvargo/go-password v0.2.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/vbatts/tar-split v0.11.3 // indirect
go.mondoo.com/ranger-rpc v0.0.0-20230328135530-12135c17095f // indirect
golang.org/x/crypto v0.12.0 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/net v0.14.0 // indirect
github.com/smarty/assertions v1.15.1 // indirect
github.com/vbatts/tar-split v0.11.5 // indirect
go.mondoo.com/ranger-rpc v0.5.1 // indirect
golang.org/x/crypto v0.13.0 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.15.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
golang.org/x/tools v0.9.3 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/grpc v1.55.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/tools v0.13.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230913181813-007df8e322eb // indirect
google.golang.org/grpc v1.58.1 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
moul.io/http2curl v1.0.0 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)
Loading