Skip to content

Commit

Permalink
🌟 v10 bump
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Richter <[email protected]>
  • Loading branch information
arlimus committed Jan 12, 2024
1 parent e2d6dfd commit c676dde
Show file tree
Hide file tree
Showing 944 changed files with 2,806 additions and 2,806 deletions.
12 changes: 6 additions & 6 deletions apps/cnquery/cmd/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"go.mondoo.com/cnquery/v9/cli/config"
cli_errors "go.mondoo.com/cnquery/v9/cli/errors"
"go.mondoo.com/cnquery/v9/explorer"
"go.mondoo.com/cnquery/v9/providers"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream"
"go.mondoo.com/cnquery/v9/utils/stringx"
"go.mondoo.com/cnquery/v10/cli/config"
cli_errors "go.mondoo.com/cnquery/v10/cli/errors"
"go.mondoo.com/cnquery/v10/explorer"
"go.mondoo.com/cnquery/v10/providers"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream"
"go.mondoo.com/cnquery/v10/utils/stringx"
)

func init() {
Expand Down
12 changes: 6 additions & 6 deletions apps/cnquery/cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"go.mondoo.com/cnquery/v9"
"go.mondoo.com/cnquery/v9/cli/config"
cli_errors "go.mondoo.com/cnquery/v9/cli/errors"
cnquery_providers "go.mondoo.com/cnquery/v9/providers"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/sysinfo"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream"
"go.mondoo.com/cnquery/v10"
"go.mondoo.com/cnquery/v10/cli/config"
cli_errors "go.mondoo.com/cnquery/v10/cli/errors"
cnquery_providers "go.mondoo.com/cnquery/v10/providers"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/sysinfo"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream"
"go.mondoo.com/ranger-rpc"
"go.mondoo.com/ranger-rpc/plugins/authentication/statictoken"
)
Expand Down
10 changes: 5 additions & 5 deletions apps/cnquery/cmd/logout.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"go.mondoo.com/cnquery/v9/cli/config"
cli_errors "go.mondoo.com/cnquery/v9/cli/errors"
cnquery_providers "go.mondoo.com/cnquery/v9/providers"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/sysinfo"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream"
"go.mondoo.com/cnquery/v10/cli/config"
cli_errors "go.mondoo.com/cnquery/v10/cli/errors"
cnquery_providers "go.mondoo.com/cnquery/v10/providers"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/sysinfo"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream"
"sigs.k8s.io/yaml"
)

Expand Down
26 changes: 13 additions & 13 deletions apps/cnquery/cmd/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ import (
"github.com/hashicorp/go-plugin"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"go.mondoo.com/cnquery/v9/cli/config"
"go.mondoo.com/cnquery/v9/cli/printer"
"go.mondoo.com/cnquery/v9/cli/reporter"
"go.mondoo.com/cnquery/v9/cli/shell"
"go.mondoo.com/cnquery/v9/llx"
"go.mondoo.com/cnquery/v9/logger"
"go.mondoo.com/cnquery/v9/mqlc"
"go.mondoo.com/cnquery/v9/mqlc/parser"
"go.mondoo.com/cnquery/v9/providers"
pp "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream"
"go.mondoo.com/cnquery/v9/shared"
run "go.mondoo.com/cnquery/v9/shared/proto"
"go.mondoo.com/cnquery/v10/cli/config"
"go.mondoo.com/cnquery/v10/cli/printer"
"go.mondoo.com/cnquery/v10/cli/reporter"
"go.mondoo.com/cnquery/v10/cli/shell"
"go.mondoo.com/cnquery/v10/llx"
"go.mondoo.com/cnquery/v10/logger"
"go.mondoo.com/cnquery/v10/mqlc"
"go.mondoo.com/cnquery/v10/mqlc/parser"
"go.mondoo.com/cnquery/v10/providers"
pp "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream"
"go.mondoo.com/cnquery/v10/shared"
run "go.mondoo.com/cnquery/v10/shared/proto"
"google.golang.org/protobuf/proto"
)

Expand Down
6 changes: 3 additions & 3 deletions apps/cnquery/cmd/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (

"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"go.mondoo.com/cnquery/v9/cli/theme"
"go.mondoo.com/cnquery/v9/providers"
"go.mondoo.com/cnquery/v9/utils/sortx"
"go.mondoo.com/cnquery/v10/cli/theme"
"go.mondoo.com/cnquery/v10/providers"
"go.mondoo.com/cnquery/v10/utils/sortx"
)

func init() {
Expand Down
14 changes: 7 additions & 7 deletions apps/cnquery/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
"github.com/spf13/viper"
"go.mondoo.com/cnquery/v9"
"go.mondoo.com/cnquery/v9/cli/config"
cli_errors "go.mondoo.com/cnquery/v9/cli/errors"
"go.mondoo.com/cnquery/v9/cli/providers"
"go.mondoo.com/cnquery/v9/cli/theme"
"go.mondoo.com/cnquery/v9/logger"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/sysinfo"
"go.mondoo.com/cnquery/v10"
"go.mondoo.com/cnquery/v10/cli/config"
cli_errors "go.mondoo.com/cnquery/v10/cli/errors"
"go.mondoo.com/cnquery/v10/cli/providers"
"go.mondoo.com/cnquery/v10/cli/theme"
"go.mondoo.com/cnquery/v10/logger"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/sysinfo"
"go.mondoo.com/ranger-rpc"
"go.mondoo.com/ranger-rpc/plugins/scope"
)
Expand Down
10 changes: 5 additions & 5 deletions apps/cnquery/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"go.mondoo.com/cnquery/v9/providers"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v9/shared"
"go.mondoo.com/cnquery/v9/shared/proto"
"go.mondoo.com/cnquery/v10/providers"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v10/shared"
"go.mondoo.com/cnquery/v10/shared/proto"
)

func init() {
Expand Down
22 changes: 11 additions & 11 deletions apps/cnquery/cmd/sbom.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"go.mondoo.com/cnquery/v9/cli/config"
"go.mondoo.com/cnquery/v9/cli/execruntime"
"go.mondoo.com/cnquery/v9/cli/inventoryloader"
"go.mondoo.com/cnquery/v9/cli/reporter"
"go.mondoo.com/cnquery/v9/logger"
"go.mondoo.com/cnquery/v9/providers"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream"
sbom "go.mondoo.com/cnquery/v9/sbom"
"go.mondoo.com/cnquery/v9/shared"
"go.mondoo.com/cnquery/v10/cli/config"
"go.mondoo.com/cnquery/v10/cli/execruntime"
"go.mondoo.com/cnquery/v10/cli/inventoryloader"
"go.mondoo.com/cnquery/v10/cli/reporter"
"go.mondoo.com/cnquery/v10/logger"
"go.mondoo.com/cnquery/v10/providers"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream"
sbom "go.mondoo.com/cnquery/v10/sbom"
"go.mondoo.com/cnquery/v10/shared"
)

func init() {
Expand Down
26 changes: 13 additions & 13 deletions apps/cnquery/cmd/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"go.mondoo.com/cnquery/v9"
"go.mondoo.com/cnquery/v9/cli/config"
"go.mondoo.com/cnquery/v9/cli/execruntime"
"go.mondoo.com/cnquery/v9/cli/inventoryloader"
"go.mondoo.com/cnquery/v9/cli/reporter"
"go.mondoo.com/cnquery/v9/cli/theme"
"go.mondoo.com/cnquery/v9/explorer"
"go.mondoo.com/cnquery/v9/explorer/scan"
"go.mondoo.com/cnquery/v9/mqlc"
"go.mondoo.com/cnquery/v9/providers"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream"
"go.mondoo.com/cnquery/v10"
"go.mondoo.com/cnquery/v10/cli/config"
"go.mondoo.com/cnquery/v10/cli/execruntime"
"go.mondoo.com/cnquery/v10/cli/inventoryloader"
"go.mondoo.com/cnquery/v10/cli/reporter"
"go.mondoo.com/cnquery/v10/cli/theme"
"go.mondoo.com/cnquery/v10/explorer"
"go.mondoo.com/cnquery/v10/explorer/scan"
"go.mondoo.com/cnquery/v10/mqlc"
"go.mondoo.com/cnquery/v10/providers"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream"
)

func init() {
Expand Down
20 changes: 10 additions & 10 deletions apps/cnquery/cmd/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"go.mondoo.com/cnquery/v9"
"go.mondoo.com/cnquery/v9/cli/components"
"go.mondoo.com/cnquery/v9/cli/config"
"go.mondoo.com/cnquery/v9/cli/shell"
"go.mondoo.com/cnquery/v9/cli/theme"
"go.mondoo.com/cnquery/v9/providers"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory/manager"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream"
"go.mondoo.com/cnquery/v10"
"go.mondoo.com/cnquery/v10/cli/components"
"go.mondoo.com/cnquery/v10/cli/config"
"go.mondoo.com/cnquery/v10/cli/shell"
"go.mondoo.com/cnquery/v10/cli/theme"
"go.mondoo.com/cnquery/v10/providers"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory/manager"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream"
)

func init() {
Expand Down
18 changes: 9 additions & 9 deletions apps/cnquery/cmd/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"go.mondoo.com/cnquery/v9"
"go.mondoo.com/cnquery/v9/cli/config"
cli_errors "go.mondoo.com/cnquery/v9/cli/errors"
"go.mondoo.com/cnquery/v9/cli/theme"
"go.mondoo.com/cnquery/v9/providers"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/sysinfo"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/health"
"go.mondoo.com/cnquery/v10"
"go.mondoo.com/cnquery/v10/cli/config"
cli_errors "go.mondoo.com/cnquery/v10/cli/errors"
"go.mondoo.com/cnquery/v10/cli/theme"
"go.mondoo.com/cnquery/v10/providers"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/sysinfo"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/health"
"go.mondoo.com/ranger-rpc"
"sigs.k8s.io/yaml"
)
Expand Down
4 changes: 2 additions & 2 deletions apps/cnquery/cmd/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/vault"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/vault"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion apps/cnquery/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"

"github.com/spf13/cobra"
"go.mondoo.com/cnquery/v9"
"go.mondoo.com/cnquery/v10"
)

// versionCmd represents the version command
Expand Down
6 changes: 3 additions & 3 deletions apps/cnquery/cnquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
package main

import (
"go.mondoo.com/cnquery/v9"
"go.mondoo.com/cnquery/v9/apps/cnquery/cmd"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/health"
"go.mondoo.com/cnquery/v10"
"go.mondoo.com/cnquery/v10/apps/cnquery/cmd"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/health"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion apps/gen-docs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/rs/zerolog/log"
"github.com/spf13/pflag"
"go.mondoo.com/cnquery/v9/apps/cnquery/cmd"
"go.mondoo.com/cnquery/v10/apps/cnquery/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion apps/provider-scaffold/provider-scaffold_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func TestGenerator(t *testing.T) {
Path: "../../cnquery/providers/oci",
ProviderID: "oci",
ProviderName: "Oracle Cloud Infrastructure",
GoPackage: "go.mondoo.com/cnquery/v9/providers/oci",
GoPackage: "go.mondoo.com/cnquery/v10/providers/oci",
CamelcaseProviderID: "Oci",
}

Expand Down
2 changes: 1 addition & 1 deletion apps/provider-scaffold/template/config/config.go.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package config

import (
"go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin"
"{{ .GoPackage }}/provider"
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package connection

import (
"go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory"
)

type {{ .CamelcaseProviderID }}Connection struct {
Expand Down
2 changes: 1 addition & 1 deletion apps/provider-scaffold/template/gen/main.go.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen"
"{{ .GoPackage }}/config"
)

Expand Down
4 changes: 2 additions & 2 deletions apps/provider-scaffold/template/main.go.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import (
"os"

"go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v9/providers/{{ .ProviderID }}/provider"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v10/providers/{{ .ProviderID }}/provider"
)

func main() {
Expand Down
8 changes: 4 additions & 4 deletions apps/provider-scaffold/template/provider/provider.go.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"errors"
"strconv"

"go.mondoo.com/cnquery/v9/llx"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream"
"go.mondoo.com/cnquery/v10/llx"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream"
"{{ .GoPackage }}/connection"
"{{ .GoPackage }}/resources"
)
Expand Down
2 changes: 1 addition & 1 deletion checksums/bench/checksum_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"

"github.com/segmentio/fasthash/fnv1a"
"go.mondoo.com/cnquery/v9/checksums"
"go.mondoo.com/cnquery/v10/checksums"
)

var result string
Expand Down
4 changes: 2 additions & 2 deletions cli/components/assetlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"strings"

"github.com/rs/zerolog/log"
"go.mondoo.com/cnquery/v9/cli/theme"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v10/cli/theme"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory"
)

func AssetList(theme *theme.Theme, assetList []*inventory.Asset) string {
Expand Down
2 changes: 1 addition & 1 deletion cli/components/assetselect.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

tea "github.com/charmbracelet/bubbletea"
"github.com/rs/zerolog/log"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory"
)

func AssetSelect(assetList []*inventory.Asset) *inventory.Asset {
Expand Down
6 changes: 3 additions & 3 deletions cli/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"go.mondoo.com/cnquery/v9"
"go.mondoo.com/cnquery/v9/logger"
"go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream"
"go.mondoo.com/cnquery/v10"
"go.mondoo.com/cnquery/v10/logger"
"go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream"
)

/*
Expand Down
Loading

0 comments on commit c676dde

Please sign in to comment.