From c676dde956513f3715d1d43b4e0ce37c7a8c818b Mon Sep 17 00:00:00 2001 From: Dominik Richter Date: Fri, 12 Jan 2024 09:47:49 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=9F=20v10=20bump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dominik Richter --- apps/cnquery/cmd/bundle.go | 12 +++---- apps/cnquery/cmd/login.go | 12 +++---- apps/cnquery/cmd/logout.go | 10 +++--- apps/cnquery/cmd/plugin.go | 26 +++++++-------- apps/cnquery/cmd/providers.go | 6 ++-- apps/cnquery/cmd/root.go | 14 ++++---- apps/cnquery/cmd/run.go | 10 +++--- apps/cnquery/cmd/sbom.go | 22 ++++++------- apps/cnquery/cmd/scan.go | 26 +++++++-------- apps/cnquery/cmd/shell.go | 20 ++++++------ apps/cnquery/cmd/status.go | 18 +++++------ apps/cnquery/cmd/vault.go | 4 +-- apps/cnquery/cmd/version.go | 2 +- apps/cnquery/cnquery.go | 6 ++-- apps/gen-docs/main.go | 2 +- .../provider-scaffold_test.go | 2 +- .../template/config/config.go.template | 2 +- .../connection/connection.go.template | 2 +- .../template/gen/main.go.template | 2 +- .../template/main.go.template | 4 +-- .../template/provider/provider.go.template | 8 ++--- checksums/bench/checksum_test.go | 2 +- cli/components/assetlist.go | 4 +-- cli/components/assetselect.go | 2 +- cli/config/config.go | 6 ++-- cli/inventoryloader/inventory.go | 6 ++-- cli/printer/mql.go | 8 ++--- cli/printer/printer.go | 4 +-- cli/printer/printer_test.go | 8 ++--- cli/progress/multiprogress.go | 6 ++-- cli/progress/progress.go | 4 +-- cli/progress/renderer.go | 2 +- cli/providers/providers.go | 12 +++---- cli/reporter/cli.go | 8 ++--- cli/reporter/csv.go | 8 ++--- cli/reporter/csv_test.go | 4 +-- cli/reporter/json.go | 6 ++-- cli/reporter/json_test.go | 6 ++-- cli/reporter/reporter.go | 10 +++--- cli/shell/completer.go | 6 ++-- cli/shell/shell.go | 24 +++++++------- cli/shell/shell_test.go | 4 +-- cli/theme/os_colors.go | 4 +-- cli/theme/os_colors_windows.go | 4 +-- cli/theme/theme.go | 4 +-- explorer/bundle.go | 12 +++---- explorer/bundle_test.go | 6 ++-- explorer/cnquery_explorer.pb.go | 4 +-- explorer/cnquery_explorer.proto | 2 +- explorer/datalake.go | 4 +-- explorer/executor/executor.go | 12 +++---- explorer/executor/mustcompile.go | 8 ++--- explorer/filters.go | 6 ++-- explorer/filters_test.go | 4 +-- explorer/impact.go | 2 +- explorer/mquery.go | 14 ++++---- explorer/mquery_test.go | 6 ++-- explorer/property.go | 12 +++---- explorer/query_conductor.go | 10 +++--- explorer/query_conductor_test.go | 6 ++-- explorer/query_hub.go | 6 ++-- explorer/querypack.go | 6 ++-- explorer/report.go | 2 +- explorer/scan/cnquery_explorer_scan.pb.go | 4 +-- explorer/scan/cnquery_explorer_scan.proto | 2 +- explorer/scan/fetcher.go | 8 ++--- explorer/scan/local_scanner.go | 32 +++++++++---------- explorer/scan/reporter.go | 6 ++-- explorer/scan/scan.go | 10 +++--- explorer/services.go | 2 +- go.mod | 2 +- internal/datalakes/inmemory/assets.go | 2 +- internal/datalakes/inmemory/inmemory.go | 4 +-- .../datalakes/inmemory/query_conductor.go | 8 ++--- internal/datalakes/inmemory/query_hub.go | 4 +-- llx/builtin.go | 4 +-- llx/builtin_array.go | 4 +-- llx/builtin_global.go | 2 +- llx/builtin_map.go | 2 +- llx/builtin_resource.go | 2 +- llx/builtin_semver.go | 2 +- llx/builtin_simple.go | 2 +- llx/chunk.go | 4 +-- llx/code.go | 4 +-- llx/data_conversions.go | 2 +- llx/llx.go | 6 ++-- llx/llx.proto | 2 +- llx/primitives.go | 2 +- llx/primitives_test.go | 4 +-- llx/rawdata.go | 2 +- llx/rawdata_deref.go | 2 +- llx/rawdata_json.go | 4 +-- llx/rawdata_json_test.go | 2 +- llx/rawdata_test.go | 2 +- llx/runtime.go | 2 +- llx/types.go | 2 +- logger/cliwriter.go | 2 +- mql/internal/builder.go | 4 +-- mql/internal/builder_test.go | 4 +-- mql/internal/collector.go | 2 +- mql/internal/execution_manager.go | 2 +- mql/internal/graph.go | 2 +- mql/internal/nodes.go | 4 +-- mql/internal/nodes_test.go | 4 +-- mql/mql.go | 8 ++--- mql/mql_test.go | 10 +++--- mqlc/assertion.go | 6 ++-- mqlc/builtin.go | 8 ++--- mqlc/builtin_array.go | 6 ++-- mqlc/builtin_map.go | 6 ++-- mqlc/builtin_resource.go | 10 +++--- mqlc/builtin_simple.go | 6 ++-- mqlc/checksum_test.go | 2 +- mqlc/invariants.go | 4 +-- mqlc/labels.go | 4 +-- mqlc/labels_test.go | 4 +-- mqlc/mqlc.go | 12 +++---- mqlc/mqlc_stats.go | 4 +-- mqlc/mqlc_test.go | 12 +++---- mqlc/operators.go | 6 ++-- mqlc/parser/parser_test.go | 2 +- .../inventory/ansibleinventory/inventory.go | 4 +-- .../ansibleinventory/inventory_test.go | 6 ++-- .../v1/inventory/domainlist/domainlist.go | 2 +- providers-sdk/v1/inventory/inventory.go | 4 +-- providers-sdk/v1/inventory/inventory.pb.go | 4 +-- providers-sdk/v1/inventory/inventory.proto | 2 +- providers-sdk/v1/inventory/inventory_test.go | 2 +- .../v1/inventory/manager/credentials_query.go | 12 +++---- .../manager/credentials_query_test.go | 10 +++--- providers-sdk/v1/inventory/manager/manager.go | 14 ++++---- providers-sdk/v1/lr/cli/cmd/docs.go | 4 +-- providers-sdk/v1/lr/cli/cmd/docs_test.go | 2 +- providers-sdk/v1/lr/cli/cmd/go.go | 4 +-- providers-sdk/v1/lr/cli/cmd/markdown.go | 6 ++-- providers-sdk/v1/lr/cli/cmd/parse.go | 2 +- providers-sdk/v1/lr/cli/main.go | 4 +-- providers-sdk/v1/lr/collector.go | 2 +- providers-sdk/v1/lr/docs/docs.go | 2 +- providers-sdk/v1/lr/go.go | 10 +++--- providers-sdk/v1/lr/schema.go | 4 +-- providers-sdk/v1/lr/schema_test.go | 4 +-- providers-sdk/v1/plugin/gen/gen.go | 2 +- providers-sdk/v1/plugin/plugin.go | 2 +- providers-sdk/v1/plugin/plugin.pb.go | 6 ++-- providers-sdk/v1/plugin/plugin.proto | 2 +- providers-sdk/v1/plugin/runtime.go | 8 ++--- providers-sdk/v1/plugin/start.go | 2 +- providers-sdk/v1/resources/resources.proto | 2 +- providers-sdk/v1/sysinfo/sysinfo.go | 16 +++++----- .../v1/testutils/mockprovider/mockprovider.go | 8 ++--- .../testutils/mockprovider/resources/all.go | 4 +-- .../mockprovider/resources/mockprovider.lr | 4 +-- .../mockprovider/resources/mockprovider.lr.go | 6 ++-- providers-sdk/v1/testutils/testdata/arch.json | 2 +- .../v1/testutils/testdata/kubelet-aks.json | 2 +- .../v1/testutils/testdata/kubelet-eks.json | 2 +- .../v1/testutils/testdata/kubelet.json | 2 +- providers-sdk/v1/testutils/testutils.go | 30 ++++++++--------- providers-sdk/v1/upstream/gql/client.go | 2 +- providers-sdk/v1/upstream/gql/conversion.go | 2 +- providers-sdk/v1/upstream/health/errors.go | 4 +-- providers-sdk/v1/upstream/health/health.proto | 2 +- providers-sdk/v1/upstream/mvd/cvss/cvss.proto | 2 +- providers-sdk/v1/upstream/mvd/mvd.go | 2 +- providers-sdk/v1/upstream/mvd/mvd.pb.go | 2 +- providers-sdk/v1/upstream/mvd/mvd.proto | 2 +- providers-sdk/v1/upstream/sts.go | 2 +- providers-sdk/v1/upstream/upstream.go | 2 +- providers-sdk/v1/upstream/upstream.proto | 2 +- providers-sdk/v1/util/configure/configure.go | 20 ++++++------ providers-sdk/v1/util/defaults/defaults.go | 6 ++-- providers-sdk/v1/util/version/version.go | 8 ++--- .../vault/awsparameterstore/parameterstore.go | 2 +- .../awsparameterstore/parameterstore_test.go | 2 +- .../vault/awssecretsmanager/secretsmanager.go | 2 +- .../awssecretsmanager/secretsmanager_test.go | 2 +- providers-sdk/v1/vault/cache/cached_vault.go | 2 +- .../v1/vault/config/vaultconfigstore.go | 16 +++++----- .../v1/vault/config/vaultconfigstore_test.go | 2 +- .../credentials_resolver.go | 4 +-- providers-sdk/v1/vault/gcpberglas/berglas.go | 4 +-- .../v1/vault/gcpberglas/berglas_test.go | 2 +- .../vault/gcpsecretmanager/secretmanager.go | 4 +-- .../gcpsecretmanager/secretmanager_test.go | 2 +- .../v1/vault/hashivault/hashivault.go | 2 +- .../v1/vault/hashivault/hashivault_test.go | 2 +- providers-sdk/v1/vault/inmemory/inmemory.go | 2 +- .../v1/vault/inmemory/inmemory_test.go | 2 +- providers-sdk/v1/vault/keyring/keyring.go | 2 +- .../v1/vault/keyring/keyring_test.go | 2 +- providers-sdk/v1/vault/mock/mock_vault.go | 2 +- .../v1/vault/multivault/multivault.go | 2 +- .../v1/vault/multivault/multivault_test.go | 4 +-- providers-sdk/v1/vault/vault.proto | 2 +- providers/arista/config/config.go | 4 +-- providers/arista/connection/connection.go | 4 +-- providers/arista/gen/main.go | 4 +-- providers/arista/go.mod | 6 ++-- providers/arista/main.go | 4 +-- providers/arista/provider/provider.go | 16 +++++----- providers/arista/resources/arista.lr | 2 +- providers/arista/resources/arista.lr.go | 6 ++-- providers/arista/resources/arista_eos.go | 12 +++---- providers/assets.go | 10 +++--- providers/atlassian/config/config.go | 4 +-- .../atlassian/connection/admin/connection.go | 4 +-- .../atlassian/connection/admin/platform.go | 2 +- .../connection/confluence/connection.go | 4 +-- .../connection/confluence/platform.go | 2 +- providers/atlassian/connection/connection.go | 12 +++---- .../atlassian/connection/jira/connection.go | 4 +-- .../atlassian/connection/jira/platform.go | 2 +- .../atlassian/connection/scim/connection.go | 4 +-- .../atlassian/connection/scim/platform.go | 2 +- .../atlassian/connection/shared/shared.go | 2 +- providers/atlassian/gen/main.go | 4 +-- providers/atlassian/go.mod | 6 ++-- providers/atlassian/main.go | 4 +-- providers/atlassian/provider/provider.go | 14 ++++---- providers/atlassian/resources/atlassian.lr.go | 6 ++-- .../atlassian/resources/atlassian_admin.go | 10 +++--- .../resources/atlassian_confluence.go | 4 +-- .../atlassian/resources/atlassian_jira.go | 4 +-- .../atlassian/resources/atlassian_scim.go | 4 +-- providers/aws/config/config.go | 8 ++--- .../aws/connection/awsec2ebsconn/destroy.go | 2 +- .../aws/connection/awsec2ebsconn/provider.go | 18 +++++------ .../aws/connection/awsec2ebsconn/setup.go | 2 +- providers/aws/connection/connection.go | 4 +-- providers/aws/connection/platform.go | 2 +- providers/aws/gen/main.go | 4 +-- providers/aws/go.mod | 6 ++-- providers/aws/main.go | 4 +-- providers/aws/provider/provider.go | 16 +++++----- providers/aws/resources/aws.lr | 2 +- providers/aws/resources/aws.lr.go | 6 ++-- providers/aws/resources/aws_accessanalyzer.go | 8 ++--- providers/aws/resources/aws_account.go | 4 +-- providers/aws/resources/aws_acm.go | 10 +++--- providers/aws/resources/aws_apigateway.go | 12 +++---- .../resources/aws_applicationautoscaling.go | 10 +++--- providers/aws/resources/aws_autoscaling.go | 10 +++--- providers/aws/resources/aws_backups.go | 10 +++--- providers/aws/resources/aws_cloudfront.go | 8 ++--- providers/aws/resources/aws_cloudtrail.go | 10 +++--- providers/aws/resources/aws_cloudwatch.go | 12 +++---- providers/aws/resources/aws_codebuild.go | 12 +++---- providers/aws/resources/aws_config.go | 10 +++--- providers/aws/resources/aws_dms.go | 6 ++-- providers/aws/resources/aws_dynamodb.go | 12 +++---- providers/aws/resources/aws_ec2.go | 12 +++---- providers/aws/resources/aws_ecr.go | 12 +++---- providers/aws/resources/aws_ecs.go | 16 +++++----- providers/aws/resources/aws_efs.go | 10 +++--- providers/aws/resources/aws_eks.go | 10 +++--- providers/aws/resources/aws_elasticache.go | 10 +++--- providers/aws/resources/aws_elb.go | 10 +++--- providers/aws/resources/aws_emr.go | 10 +++--- providers/aws/resources/aws_es.go | 12 +++---- providers/aws/resources/aws_guardduty.go | 10 +++--- providers/aws/resources/aws_iam.go | 14 ++++---- providers/aws/resources/aws_kms.go | 10 +++--- providers/aws/resources/aws_lambda.go | 16 +++++----- providers/aws/resources/aws_rds.go | 12 +++---- providers/aws/resources/aws_redshift.go | 12 +++---- providers/aws/resources/aws_s3.go | 12 +++---- providers/aws/resources/aws_sagemaker.go | 12 +++---- providers/aws/resources/aws_secretsmanager.go | 10 +++--- providers/aws/resources/aws_securityhub.go | 6 ++-- providers/aws/resources/aws_sns.go | 10 +++--- providers/aws/resources/aws_ssm.go | 10 +++--- providers/aws/resources/aws_vpc.go | 12 +++---- providers/aws/resources/aws_waf.go | 10 +++--- providers/aws/resources/discovery.go | 10 +++--- .../aws/resources/discovery_conversion.go | 16 +++++----- providers/aws/resources/discovery_test.go | 6 ++-- providers/aws/resources/shared.go | 12 +++---- providers/azure/config/config.go | 8 ++--- providers/azure/connection/auth/auth.go | 2 +- .../connection/azureinstancesnapshot/lun.go | 2 +- .../azureinstancesnapshot/provider.go | 22 ++++++------- .../azureinstancesnapshot/provider_test.go | 2 +- providers/azure/connection/connection.go | 8 ++--- providers/azure/connection/shared/shared.go | 2 +- providers/azure/gen/main.go | 4 +-- providers/azure/go.mod | 6 ++-- providers/azure/main.go | 4 +-- providers/azure/provider/provider.go | 18 +++++------ providers/azure/resources/advisor.go | 10 +++--- providers/azure/resources/aks.go | 10 +++--- providers/azure/resources/authorization.go | 10 +++--- providers/azure/resources/azure.lr | 2 +- providers/azure/resources/azure.lr.go | 6 ++-- providers/azure/resources/cloud_defender.go | 10 +++--- providers/azure/resources/compute.go | 10 +++--- providers/azure/resources/cosmosdb.go | 10 +++--- providers/azure/resources/discovery.go | 10 +++--- providers/azure/resources/keyvault.go | 10 +++--- providers/azure/resources/mariadb.go | 10 +++--- providers/azure/resources/monitor.go | 10 +++--- providers/azure/resources/mysql.go | 10 +++--- providers/azure/resources/network.go | 12 +++---- providers/azure/resources/postgresql.go | 10 +++--- providers/azure/resources/resource_groups.go | 8 ++--- providers/azure/resources/resources.go | 8 ++--- providers/azure/resources/shared.go | 4 +-- providers/azure/resources/sql.go | 10 +++--- providers/azure/resources/storage.go | 10 +++--- providers/azure/resources/subscription.go | 10 +++--- providers/azure/resources/web.go | 10 +++--- providers/builtin.go | 4 +-- providers/builtin_dev.go | 4 +-- providers/coordinator.go | 10 +++--- providers/core/config/config.go | 2 +- providers/core/gen/main.go | 4 +-- providers/core/main.go | 4 +-- providers/core/provider/provider.go | 10 +++--- providers/core/resources/asset_eol.go | 10 +++--- providers/core/resources/core.lr | 2 +- providers/core/resources/core.lr.go | 6 ++-- providers/core/resources/core.resources.json | 2 +- providers/core/resources/core_test.go | 2 +- providers/core/resources/cpe.go | 4 +-- providers/core/resources/mondoo.go | 4 +-- providers/core/resources/mql_test.go | 4 +-- providers/core/resources/parse_test.go | 4 +-- providers/core/resources/regex.go | 2 +- providers/core/resources/regex_test.go | 2 +- providers/core/resources/time.go | 2 +- providers/core/resources/time_test.go | 4 +-- providers/core/resources/time_unit_test.go | 2 +- providers/core/resources/uuid.go | 4 +-- providers/core/resources/uuid_test.go | 2 +- .../resources/versions/apk/version_test.go | 4 +-- .../resources/versions/generic/compare.go | 8 ++--- providers/defaults.go | 2 +- providers/defaults_shared.go | 2 +- providers/equinix/config/config.go | 4 +-- providers/equinix/connection/connection.go | 6 ++-- providers/equinix/gen/main.go | 4 +-- providers/equinix/go.mod | 6 ++-- providers/equinix/main.go | 4 +-- providers/equinix/provider/provider.go | 14 ++++---- providers/equinix/resources/equinix.lr | 2 +- providers/equinix/resources/equinix.lr.go | 6 ++-- providers/equinix/resources/organization.go | 8 ++--- providers/equinix/resources/project.go | 8 ++--- providers/equinix/resources/user.go | 4 +-- providers/extensible_schema.go | 2 +- providers/extensible_schema_test.go | 2 +- providers/gcp/config/config.go | 8 ++--- providers/gcp/connection/clients.go | 2 +- providers/gcp/connection/connection.go | 8 ++--- providers/gcp/connection/connection_test.go | 2 +- .../gcp/connection/gcloud_config_test.go | 2 +- .../gcpinstancesnapshot/provider.go | 16 +++++----- .../gcpinstancesnapshot/snapshot.go | 2 +- providers/gcp/connection/platform.go | 2 +- providers/gcp/connection/shared/shared.go | 2 +- providers/gcp/gen/main.go | 4 +-- providers/gcp/go.mod | 6 ++-- providers/gcp/main.go | 4 +-- providers/gcp/provider/provider.go | 20 ++++++------ providers/gcp/resources/access_approval.go | 10 +++--- providers/gcp/resources/apikeys.go | 10 +++--- providers/gcp/resources/bigquery.go | 10 +++--- providers/gcp/resources/cloud_functions.go | 8 ++--- providers/gcp/resources/cloudrun.go | 10 +++--- providers/gcp/resources/common.go | 6 ++-- providers/gcp/resources/compute.go | 10 +++--- providers/gcp/resources/dataproc.go | 10 +++--- providers/gcp/resources/discovery.go | 8 ++--- providers/gcp/resources/dns.go | 10 +++--- providers/gcp/resources/essential_contacts.go | 8 ++--- providers/gcp/resources/folder.go | 6 ++-- providers/gcp/resources/gcp.lr | 2 +- providers/gcp/resources/gcp.lr.go | 6 ++-- providers/gcp/resources/gke.go | 10 +++--- providers/gcp/resources/iam.go | 6 ++-- providers/gcp/resources/kms.go | 10 +++--- providers/gcp/resources/logging.go | 10 +++--- providers/gcp/resources/monitoring.go | 10 +++--- providers/gcp/resources/organization.go | 10 +++--- providers/gcp/resources/project.go | 10 +++--- providers/gcp/resources/pubsub.go | 10 +++--- providers/gcp/resources/recommendations.go | 8 ++--- providers/gcp/resources/services.go | 6 ++-- providers/gcp/resources/sql.go | 10 +++--- providers/gcp/resources/storage.go | 10 +++--- providers/github/config/config.go | 4 +-- providers/github/connection/connection.go | 4 +-- .../github/connection/connection_test.go | 2 +- providers/github/connection/platform.go | 2 +- providers/github/gen/main.go | 4 +-- providers/github/go.mod | 6 ++-- providers/github/main.go | 4 +-- providers/github/provider/provider.go | 14 ++++---- providers/github/resources/discovery.go | 10 +++--- providers/github/resources/git.go | 4 +-- providers/github/resources/github.lr | 2 +- providers/github/resources/github.lr.go | 6 ++-- providers/github/resources/github_org.go | 10 +++--- providers/github/resources/github_repo.go | 10 +++--- providers/github/resources/github_team.go | 4 +-- providers/github/resources/github_test.go | 6 ++-- providers/github/resources/github_user.go | 10 +++--- providers/github/resources/github_workflow.go | 4 +-- providers/gitlab/config/config.go | 4 +-- providers/gitlab/connection/connection.go | 4 +-- .../gitlab/connection/connection_test.go | 2 +- providers/gitlab/gen/main.go | 4 +-- providers/gitlab/go.mod | 6 ++-- providers/gitlab/main.go | 4 +-- providers/gitlab/provider/discovery.go | 6 ++-- providers/gitlab/provider/provider.go | 14 ++++---- providers/gitlab/resources/gitlab.go | 6 ++-- providers/gitlab/resources/gitlab.lr | 2 +- providers/gitlab/resources/gitlab.lr.go | 6 ++-- providers/google-workspace/config/config.go | 4 +-- .../google-workspace/connection/connection.go | 4 +-- .../google-workspace/connection/workspace.go | 2 +- providers/google-workspace/gen/main.go | 4 +-- providers/google-workspace/go.mod | 6 ++-- providers/google-workspace/main.go | 4 +-- .../google-workspace/provider/provider.go | 14 ++++---- .../resources/connected_apps.go | 8 ++--- .../google-workspace/resources/domain.go | 6 ++-- .../resources/google-workspace.go | 2 +- .../resources/google-workspace.lr | 2 +- .../resources/google-workspace.lr.go | 6 ++-- .../resources/googleworkspace_test.go | 4 +-- providers/google-workspace/resources/group.go | 10 +++--- .../google-workspace/resources/orgunit.go | 6 ++-- .../google-workspace/resources/reports.go | 10 +++--- providers/google-workspace/resources/role.go | 10 +++--- providers/google-workspace/resources/users.go | 10 +++--- providers/ipmi/config/config.go | 4 +-- providers/ipmi/connection/connection.go | 6 ++-- providers/ipmi/gen/main.go | 4 +-- providers/ipmi/go.mod | 6 ++-- providers/ipmi/main.go | 4 +-- providers/ipmi/provider/provider.go | 16 +++++----- providers/ipmi/resources/ipmi.go | 4 +-- providers/ipmi/resources/ipmi.lr | 2 +- providers/ipmi/resources/ipmi.lr.go | 6 ++-- providers/k8s/config/config.go | 6 ++-- .../k8s/connection/admission/connection.go | 6 ++-- .../connection/admission/connection_test.go | 2 +- providers/k8s/connection/api/connection.go | 6 ++-- .../k8s/connection/manifest/connection.go | 6 ++-- .../connection/manifest/connection_test.go | 20 ++++++------ providers/k8s/connection/shared/connection.go | 4 +-- .../k8s/connection/shared/manifest_parser.go | 2 +- .../shared/resources/manifest_file_test.go | 2 +- providers/k8s/gen/main.go | 4 +-- providers/k8s/go.mod | 6 ++-- providers/k8s/main.go | 4 +-- providers/k8s/provider/detector.go | 4 +-- providers/k8s/provider/provider.go | 22 ++++++------- providers/k8s/provider/provider_test.go | 8 ++--- providers/k8s/resources/admission.go | 6 ++-- providers/k8s/resources/apiresource.go | 6 ++-- providers/k8s/resources/clusterrole.go | 8 ++--- providers/k8s/resources/clusterrolebinding.go | 8 ++--- providers/k8s/resources/common.go | 6 ++-- providers/k8s/resources/configmap.go | 8 ++--- providers/k8s/resources/container.go | 10 +++--- providers/k8s/resources/container_utils.go | 6 ++-- providers/k8s/resources/cronjob.go | 8 ++--- providers/k8s/resources/customresource.go | 4 +-- providers/k8s/resources/daemonset.go | 8 ++--- providers/k8s/resources/deployment.go | 8 ++--- providers/k8s/resources/discovery.go | 16 +++++----- providers/k8s/resources/discovery_test.go | 2 +- providers/k8s/resources/ingress.go | 8 ++--- providers/k8s/resources/job.go | 8 ++--- providers/k8s/resources/k8s.go | 2 +- providers/k8s/resources/k8s.lr | 2 +- providers/k8s/resources/k8s.lr.go | 6 ++-- providers/k8s/resources/namespace.go | 6 ++-- providers/k8s/resources/networkpolicy.go | 6 ++-- providers/k8s/resources/node.go | 8 ++--- providers/k8s/resources/platform_ownership.go | 2 +- providers/k8s/resources/pod.go | 8 ++--- providers/k8s/resources/podsecuritypolicy.go | 4 +-- providers/k8s/resources/replicaset.go | 8 ++--- providers/k8s/resources/resources_test.go | 12 +++---- providers/k8s/resources/role.go | 8 ++--- providers/k8s/resources/rolebinding.go | 8 ++--- providers/k8s/resources/secret.go | 6 ++-- providers/k8s/resources/service.go | 6 ++-- providers/k8s/resources/serviceaccount.go | 6 ++-- providers/k8s/resources/statefulset.go | 8 ++--- providers/k8s/resources/unsupported_test.go | 8 ++--- providers/mock.go | 6 ++-- providers/ms365/config/config.go | 4 +-- providers/ms365/connection/auth.go | 2 +- providers/ms365/connection/connection.go | 10 +++--- providers/ms365/connection/exchange_report.go | 2 +- .../ms365/connection/sharepoint_report.go | 2 +- providers/ms365/connection/teams_report.go | 2 +- providers/ms365/gen/main.go | 4 +-- providers/ms365/go.mod | 6 ++-- providers/ms365/main.go | 4 +-- providers/ms365/provider/provider.go | 14 ++++---- providers/ms365/resources/adapter.go | 2 +- providers/ms365/resources/applications.go | 8 ++--- providers/ms365/resources/devicemanagement.go | 8 ++--- providers/ms365/resources/domains.go | 8 ++--- providers/ms365/resources/groups.go | 6 ++-- providers/ms365/resources/microsoft.go | 2 +- providers/ms365/resources/ms365.go | 10 +++--- providers/ms365/resources/ms365.lr | 2 +- providers/ms365/resources/ms365.lr.go | 6 ++-- providers/ms365/resources/organizations.go | 8 ++--- providers/ms365/resources/policies.go | 4 +-- providers/ms365/resources/rolemanagement.go | 8 ++--- providers/ms365/resources/securescores.go | 10 +++--- .../ms365/resources/serviceprincipals.go | 12 +++---- providers/ms365/resources/settings.go | 4 +-- providers/ms365/resources/structs.go | 2 +- providers/ms365/resources/users.go | 8 ++--- providers/network/config/config.go | 4 +-- providers/network/connection/connection.go | 2 +- providers/network/gen/main.go | 4 +-- providers/network/main.go | 4 +-- providers/network/provider/provider.go | 14 ++++---- providers/network/resources/certificates.go | 12 +++---- providers/network/resources/dns.go | 16 +++++----- providers/network/resources/dns_test.go | 10 +++--- .../network/resources/dnsshake/dnsshake.go | 2 +- providers/network/resources/http.go | 12 +++---- providers/network/resources/network.lr | 2 +- providers/network/resources/network.lr.go | 6 ++-- providers/network/resources/network_test.go | 2 +- providers/network/resources/openpgp.go | 4 +-- providers/network/resources/tls.go | 14 ++++---- providers/network/resources/tls_test.go | 10 +++--- .../network/resources/tlsshake/tlsshake.go | 2 +- providers/network/resources/url.go | 4 +-- providers/oci/config/config.go | 4 +-- providers/oci/connection/connection.go | 4 +-- providers/oci/gen/main.go | 4 +-- providers/oci/go.mod | 6 ++-- providers/oci/main.go | 4 +-- providers/oci/provider/provider.go | 16 +++++----- providers/oci/provider/provider_test.go | 4 +-- providers/oci/resources/buckets.go | 6 ++-- providers/oci/resources/compute.go | 6 ++-- providers/oci/resources/conversion.go | 2 +- providers/oci/resources/identity.go | 10 +++--- providers/oci/resources/network.go | 10 +++--- providers/oci/resources/oci.go | 6 ++-- providers/oci/resources/oci.lr | 2 +- providers/oci/resources/oci.lr.go | 6 ++-- providers/okta/config/config.go | 4 +-- providers/okta/connection/connection.go | 4 +-- providers/okta/gen/main.go | 4 +-- providers/okta/go.mod | 6 ++-- providers/okta/main.go | 4 +-- providers/okta/provider/provider.go | 14 ++++---- providers/okta/resources/applications.go | 10 +++--- providers/okta/resources/customRoles.go | 12 +++---- providers/okta/resources/domains.go | 8 ++--- providers/okta/resources/groups.go | 8 ++--- providers/okta/resources/network.go | 10 +++--- providers/okta/resources/okta.lr | 2 +- providers/okta/resources/okta.lr.go | 6 ++-- providers/okta/resources/organization.go | 12 +++---- providers/okta/resources/policies.go | 10 +++--- providers/okta/resources/trustedorigin.go | 10 +++--- providers/okta/resources/users.go | 8 ++--- providers/opcua/config/config.go | 4 +-- providers/opcua/connection/connection.go | 4 +-- providers/opcua/gen/main.go | 4 +-- providers/opcua/go.mod | 6 ++-- providers/opcua/main.go | 4 +-- providers/opcua/provider/provider.go | 12 +++---- providers/opcua/resources/namespace.go | 6 ++-- providers/opcua/resources/node.go | 4 +-- providers/opcua/resources/opcua.go | 2 +- providers/opcua/resources/opcua.lr | 2 +- providers/opcua/resources/opcua.lr.go | 6 ++-- providers/opcua/resources/server.go | 8 ++--- providers/os/config/config.go | 6 ++-- .../os/connection/container/auth/auth.go | 6 ++-- .../container/docker_engine/command.go | 2 +- .../os/connection/container/image/docker.go | 2 +- providers/os/connection/docker_container.go | 16 +++++----- .../os/connection/docker_container_test.go | 2 +- providers/os/connection/docker_file.go | 4 +-- providers/os/connection/docker_fs.go | 2 +- providers/os/connection/docker_snapshot.go | 6 ++-- providers/os/connection/fs/filesystem.go | 8 ++--- providers/os/connection/fs/filesystem_test.go | 8 ++--- .../os/connection/fs/fsutil/hash_test.go | 4 +-- providers/os/connection/local/local.go | 6 ++-- providers/os/connection/local/local_unix.go | 2 +- .../os/connection/local/statutil/stat.go | 2 +- .../os/connection/local/statutil/stat_test.go | 4 +-- providers/os/connection/mock/mock.go | 4 +-- providers/os/connection/shared/shared.go | 4 +-- providers/os/connection/snapshot/localcmd.go | 4 +-- .../os/connection/snapshot/volumemounter.go | 2 +- providers/os/connection/ssh.go | 20 ++++++------ .../awsinstanceconnect/ec2instanceconnect.go | 2 +- .../ssh/awsssmsession/session_manager.go | 2 +- providers/os/connection/ssh/cat/cat.go | 4 +-- providers/os/connection/ssh/cat/cat_test.go | 10 +++--- providers/os/connection/ssh/scp/fs.go | 4 +-- providers/os/connection/ssh/sftp/sftp.go | 2 +- providers/os/connection/ssh_test.go | 2 +- providers/os/connection/tar.go | 12 +++---- providers/os/connection/tar/fs.go | 2 +- providers/os/connection/tar_test.go | 6 ++-- providers/os/connection/vagrant.go | 12 +++---- providers/os/connection/vagrant/cli_test.go | 4 +-- providers/os/detector/detector.go | 4 +-- providers/os/detector/detector_all.go | 6 ++-- .../os/detector/detector_platform_test.go | 4 +-- providers/os/detector/detector_test.go | 2 +- providers/os/detector/os_release.go | 2 +- .../os/detector/parser_esxi_version_test.go | 2 +- .../os/detector/parser_linux_version_test.go | 2 +- .../os/detector/parser_macos_version_test.go | 2 +- providers/os/detector/parser_sol_test.go | 2 +- providers/os/detector/platform_resolver.go | 6 ++-- .../os/detector/windows/build_version.go | 4 +-- .../os/detector/windows/build_version_unix.go | 2 +- .../detector/windows/build_version_windows.go | 2 +- providers/os/detector/windows/wmi.go | 4 +-- providers/os/detector/windows/wmi_unix.go | 2 +- providers/os/detector/windows/wmi_windows.go | 2 +- providers/os/fsutil/hash_test.go | 6 ++-- providers/os/gen/main.go | 4 +-- providers/os/id/aws/aws.go | 10 +++--- providers/os/id/aws/aws_test.go | 4 +-- providers/os/id/awsec2/awsec2.go | 6 ++-- providers/os/id/awsec2/metadata_cmd.go | 6 ++-- providers/os/id/awsec2/metadata_cmd_test.go | 4 +-- providers/os/id/awsecs/awsecs.go | 6 ++-- providers/os/id/awsecs/awsecs_test.go | 4 +-- providers/os/id/azcompute/azcompute.go | 8 ++--- providers/os/id/azcompute/azcompute_test.go | 4 +-- providers/os/id/azure/azure.go | 8 ++--- providers/os/id/clouddetect/clouddetect.go | 10 +++--- providers/os/id/gce/gce.go | 6 ++-- providers/os/id/gce/gce_test.go | 6 ++-- providers/os/id/gcp/gcp.go | 8 ++--- providers/os/id/gcp/gcp_test.go | 4 +-- providers/os/id/hostname/hostname.go | 4 +-- providers/os/id/hostname/hostname_test.go | 6 ++-- providers/os/id/machineid/guid.go | 6 ++-- providers/os/id/platform.go | 20 ++++++------ providers/os/id/platformid/linux.go | 2 +- providers/os/id/platformid/linux_test.go | 2 +- providers/os/id/platformid/manager.go | 4 +-- providers/os/id/platformid/osx.go | 2 +- providers/os/id/platformid/osx_test.go | 2 +- providers/os/id/platformid/win.go | 2 +- providers/os/id/platformid/win_guid_unix.go | 2 +- .../os/id/platformid/win_guid_windows.go | 2 +- providers/os/id/platformid/win_test.go | 2 +- providers/os/id/sshhostkey/sshhostkey.go | 6 ++-- providers/os/main.go | 4 +-- providers/os/provider/detector.go | 20 ++++++------ providers/os/provider/provider.go | 30 ++++++++--------- providers/os/provider/provider_test.go | 10 +++--- providers/os/resources/asset_cpe.go | 6 ++-- providers/os/resources/asset_eol.go | 10 +++--- providers/os/resources/asset_vuln.go | 18 +++++------ providers/os/resources/auditpol.go | 4 +-- providers/os/resources/authorizedkeys.go | 6 ++-- providers/os/resources/command.go | 6 ++-- providers/os/resources/container.go | 6 ++-- providers/os/resources/cpe/platforms.go | 2 +- .../discovery/container_registry/registry.go | 10 +++--- .../discovery/container_registry/resolver.go | 6 ++-- .../discovery/docker_engine/client_test.go | 2 +- .../discovery/docker_engine/container.go | 4 +-- .../discovery/docker_engine/images.go | 2 +- .../discovery/docker_engine/platform.go | 4 +-- .../discovery/docker_engine/resolver.go | 8 ++--- providers/os/resources/docker.go | 4 +-- providers/os/resources/file.go | 8 ++--- providers/os/resources/file_test.go | 8 ++--- providers/os/resources/files.go | 6 ++-- providers/os/resources/files_test.go | 2 +- providers/os/resources/group.go | 8 ++--- providers/os/resources/groups/dscache.go | 2 +- providers/os/resources/groups/dscache_test.go | 4 +-- providers/os/resources/groups/etcgroups.go | 2 +- .../os/resources/groups/etcgroups_test.go | 4 +-- providers/os/resources/groups/manager.go | 2 +- providers/os/resources/groups/manager_test.go | 6 ++-- .../os/resources/groups/ps1getlocalgroup.go | 4 +-- .../resources/groups/ps1getlocalgroup_test.go | 4 +-- providers/os/resources/iptables.go | 4 +-- providers/os/resources/kernel.go | 12 +++---- providers/os/resources/kernel/manager.go | 2 +- providers/os/resources/kernel/manager_test.go | 4 +-- providers/os/resources/kernel/modules_test.go | 2 +- providers/os/resources/kernel/sysctl_test.go | 2 +- providers/os/resources/kubelet.go | 6 ++-- providers/os/resources/kubelet_flags.go | 2 +- providers/os/resources/kubelet_test.go | 2 +- providers/os/resources/logindefs.go | 6 ++-- .../os/resources/logindefs/logindefs_test.go | 4 +-- providers/os/resources/lsblk.go | 4 +-- providers/os/resources/machine.go | 8 ++--- providers/os/resources/macos.go | 6 ++-- providers/os/resources/macos/preferences.go | 2 +- .../os/resources/macos/preferences_test.go | 4 +-- .../os/resources/macos/systemsetup_test.go | 6 ++-- providers/os/resources/macos_alf.go | 8 ++--- providers/os/resources/mount.go | 10 +++--- providers/os/resources/mount/manager.go | 2 +- providers/os/resources/mount/manager_test.go | 6 ++-- providers/os/resources/mount/mount_test.go | 6 ++-- providers/os/resources/mql_test.go | 4 +-- .../resources/networkinterface/interface.go | 6 ++-- .../networkinterface/interface_test.go | 6 ++-- providers/os/resources/npm/packagejson.go | 2 +- .../os/resources/npm/packagejson_test.go | 4 +-- providers/os/resources/npm/yarn.go | 2 +- providers/os/resources/npm/yarn_test.go | 4 +-- providers/os/resources/ntp.go | 4 +-- providers/os/resources/os.go | 22 ++++++------- providers/os/resources/os.lr | 2 +- providers/os/resources/os.lr.go | 6 ++-- providers/os/resources/os_rootcertificates.go | 8 ++--- providers/os/resources/os_test.go | 4 +-- providers/os/resources/packages.go | 12 +++---- .../os/resources/packages/aix_packages.go | 8 ++--- .../resources/packages/aix_packages_test.go | 2 +- .../os/resources/packages/apk_packages.go | 8 ++--- .../resources/packages/apk_packages_test.go | 6 ++-- .../os/resources/packages/cos_packages.go | 2 +- providers/os/resources/packages/detect.go | 4 +-- .../os/resources/packages/dpkg_packages.go | 8 ++--- .../resources/packages/dpkg_packages_test.go | 6 ++-- .../os/resources/packages/freebsd_packages.go | 2 +- .../os/resources/packages/macos_packages.go | 2 +- .../resources/packages/macos_packages_test.go | 4 +-- .../os/resources/packages/opkg_packages.go | 2 +- .../resources/packages/opkg_packages_test.go | 6 ++-- providers/os/resources/packages/packages.go | 2 +- .../os/resources/packages/pacman_packages.go | 6 ++-- .../packages/pacman_packages_test.go | 4 +-- .../os/resources/packages/rpm_packages.go | 8 ++--- .../resources/packages/rpm_packages_test.go | 6 ++-- .../os/resources/packages/rpm_updates_test.go | 2 +- providers/os/resources/packages/scratch.go | 2 +- .../os/resources/packages/solaris_packages.go | 2 +- .../packages/solaris_packages_test.go | 6 ++-- .../os/resources/packages/windows_packages.go | 8 ++--- .../packages/windows_packages_test.go | 6 ++-- providers/os/resources/pam.go | 12 +++---- providers/os/resources/parse.go | 10 +++--- providers/os/resources/parse_test.go | 2 +- providers/os/resources/port.go | 12 +++---- providers/os/resources/powershell.go | 6 ++-- .../os/resources/powershell/encode_test.go | 2 +- providers/os/resources/privatekey.go | 4 +-- providers/os/resources/processes.go | 8 ++--- .../os/resources/processes/docker_test.go | 2 +- providers/os/resources/processes/dockertop.go | 6 ++-- providers/os/resources/processes/linuxproc.go | 6 ++-- providers/os/resources/processes/manager.go | 8 ++--- .../os/resources/processes/manager_test.go | 6 ++-- .../os/resources/processes/ps1getprocess.go | 6 ++-- .../resources/processes/ps1getprocess_test.go | 2 +- providers/os/resources/processes/unixps.go | 6 ++-- .../os/resources/processes/unixps_test.go | 6 ++-- providers/os/resources/processes_test.go | 4 +-- .../os/resources/procfs/cpu_info_test.go | 2 +- .../os/resources/procfs/processes_test.go | 2 +- providers/os/resources/purl/purl.go | 4 +-- providers/os/resources/python.go | 8 ++--- providers/os/resources/python/mime.go | 2 +- .../os/resources/python/testdata/rhel.json | 2 +- providers/os/resources/python_package.go | 10 +++--- providers/os/resources/python_test.go | 2 +- providers/os/resources/reboot/debian.go | 2 +- providers/os/resources/reboot/debian_test.go | 4 +-- providers/os/resources/reboot/reboot.go | 4 +-- providers/os/resources/reboot/reboot_test.go | 4 +-- providers/os/resources/reboot/rhel.go | 8 ++--- providers/os/resources/reboot/rhel_test.go | 4 +-- providers/os/resources/reboot/windows.go | 4 +-- providers/os/resources/registrykey.go | 12 +++---- providers/os/resources/registrykey_test.go | 4 +-- providers/os/resources/rsyslog.go | 6 ++-- providers/os/resources/secpol.go | 6 ++-- providers/os/resources/services.go | 8 ++--- providers/os/resources/services/aixlssrc.go | 2 +- .../os/resources/services/alpine_openrc.go | 2 +- .../resources/services/alpine_openrc_test.go | 4 +-- providers/os/resources/services/bsdinit.go | 2 +- .../os/resources/services/bsdinit_test.go | 6 ++-- providers/os/resources/services/launchd.go | 2 +- .../os/resources/services/launchd_test.go | 6 ++-- providers/os/resources/services/manager.go | 4 +-- .../os/resources/services/manager_test.go | 6 ++-- .../os/resources/services/openbsdrcctl.go | 2 +- .../resources/services/openbsdrcctl_test.go | 4 +-- .../os/resources/services/ps1getservice.go | 4 +-- .../resources/services/ps1getservice_test.go | 2 +- providers/os/resources/services/systemd.go | 2 +- .../os/resources/services/systemd_test.go | 6 ++-- providers/os/resources/services/sysv.go | 4 +-- providers/os/resources/services/sysv_test.go | 4 +-- .../os/resources/services/upstart_test.go | 4 +-- providers/os/resources/shadow.go | 4 +-- providers/os/resources/shadow/shadow_test.go | 4 +-- providers/os/resources/smbios/linux.go | 2 +- providers/os/resources/smbios/osx.go | 4 +-- providers/os/resources/smbios/smbios.go | 4 +-- providers/os/resources/smbios/smbios_test.go | 4 +-- providers/os/resources/smbios/win.go | 4 +-- providers/os/resources/sshd.go | 8 ++--- providers/os/resources/sshd/include.go | 2 +- providers/os/resources/sshd_test.go | 2 +- providers/os/resources/updates/mac_updates.go | 2 +- .../os/resources/updates/suse_updates.go | 4 +-- .../os/resources/updates/suse_updates_test.go | 4 +-- providers/os/resources/updates/updates.go | 2 +- providers/os/resources/updates/win_updates.go | 4 +-- .../os/resources/updates/win_updates_test.go | 6 ++-- providers/os/resources/uptime/unix.go | 2 +- providers/os/resources/uptime/unix_test.go | 2 +- providers/os/resources/uptime/uptime.go | 4 +-- providers/os/resources/uptime/uptime_test.go | 6 ++-- providers/os/resources/uptime/windows.go | 4 +-- providers/os/resources/uptime/windows_test.go | 2 +- providers/os/resources/user.go | 8 ++--- providers/os/resources/users/dscl.go | 2 +- providers/os/resources/users/dscl_test.go | 4 +-- providers/os/resources/users/etcpasswd.go | 2 +- .../os/resources/users/etcpasswd_test.go | 4 +-- providers/os/resources/users/manager.go | 2 +- providers/os/resources/users/manager_test.go | 6 ++-- .../os/resources/users/ps1getlocalusers.go | 4 +-- .../resources/users/ps1getlocalusers_test.go | 2 +- providers/os/resources/vulnmgmt.go | 10 +++--- providers/os/resources/windows.go | 12 +++---- .../os/resources/windows/auditpol_test.go | 4 +-- providers/os/resources/windows/bitlocker.go | 4 +-- providers/os/resources/windows/registrykey.go | 2 +- providers/os/resources/windows/secpol_test.go | 4 +-- .../os/resources/windows/security_health.go | 4 +-- .../os/resources/windows/security_products.go | 4 +-- providers/os/resources/windows_bitlocker.go | 8 ++--- providers/os/resources/windows_firewall.go | 10 +++--- providers/os/resources/windows_security.go | 10 +++--- providers/os/resources/yum.go | 12 +++---- providers/os/resources/yum/yum_test.go | 2 +- providers/providers.go | 8 ++--- providers/providers_test.go | 2 +- providers/recording.go | 8 ++--- providers/runtime.go | 14 ++++---- providers/slack/config/config.go | 4 +-- providers/slack/connection/connection.go | 4 +-- providers/slack/gen/main.go | 4 +-- providers/slack/go.mod | 6 ++-- providers/slack/main.go | 4 +-- providers/slack/provider/provider.go | 14 ++++---- providers/slack/resources/accesslogs.go | 6 ++-- providers/slack/resources/conversations.go | 8 ++--- providers/slack/resources/slack.lr | 2 +- providers/slack/resources/slack.lr.go | 6 ++-- providers/slack/resources/team.go | 6 ++-- providers/slack/resources/usergroups.go | 6 ++-- providers/slack/resources/users.go | 8 ++--- providers/terraform/config/config.go | 4 +-- providers/terraform/connection/connection.go | 2 +- .../terraform/connection/hcl_manifest.go | 4 +-- .../terraform/connection/hcl_manifest_test.go | 2 +- .../terraform/connection/hcl_parser_test.go | 2 +- providers/terraform/connection/tfplan.go | 2 +- providers/terraform/connection/tfstate.go | 2 +- providers/terraform/gen/main.go | 4 +-- providers/terraform/go.mod | 6 ++-- providers/terraform/main.go | 4 +-- providers/terraform/provider/detector.go | 4 +-- providers/terraform/provider/hcl_test.go | 4 +-- providers/terraform/provider/provider.go | 12 +++---- .../terraform/provider/terraform_test.go | 4 +-- providers/terraform/provider/tfplan_test.go | 6 ++-- providers/terraform/provider/tfstate_test.go | 2 +- providers/terraform/resources/hcl.go | 8 ++--- providers/terraform/resources/terraform.lr | 2 +- providers/terraform/resources/terraform.lr.go | 6 ++-- providers/terraform/resources/tfplan.go | 10 +++--- providers/terraform/resources/tfstate.go | 10 +++--- providers/vcd/config/config.go | 4 +-- providers/vcd/connection/connection.go | 4 +-- providers/vcd/connection/connection_test.go | 4 +-- providers/vcd/gen/main.go | 4 +-- providers/vcd/go.mod | 6 ++-- providers/vcd/main.go | 4 +-- providers/vcd/provider/provider.go | 14 ++++---- providers/vcd/resources/externalnetworks.go | 8 ++--- providers/vcd/resources/networkpools.go | 6 ++-- providers/vcd/resources/organization.go | 8 ++--- providers/vcd/resources/provider.go | 6 ++-- providers/vcd/resources/serverinstance.go | 6 ++-- providers/vcd/resources/vcd.lr | 2 +- providers/vcd/resources/vcd.lr.go | 6 ++-- providers/vsphere/config/config.go | 6 ++-- providers/vsphere/connection/connection.go | 4 +-- .../vsphere/connection/connection_test.go | 6 ++-- providers/vsphere/connection/platform.go | 2 +- providers/vsphere/gen/main.go | 4 +-- providers/vsphere/go.mod | 6 ++-- providers/vsphere/main.go | 4 +-- providers/vsphere/provider/provider.go | 14 ++++---- providers/vsphere/provider/provider_test.go | 8 ++--- .../vsphere/resources/asset_advisories.go | 8 ++--- providers/vsphere/resources/asset_cpe.go | 4 +-- providers/vsphere/resources/datacenter.go | 8 ++--- providers/vsphere/resources/discovery.go | 10 +++--- providers/vsphere/resources/host.go | 12 +++---- providers/vsphere/resources/network.go | 4 +-- .../vsphere/resources/resourceclient/esxi.go | 2 +- .../resources/resourceclient/vsphere_test.go | 2 +- providers/vsphere/resources/vm.go | 8 ++--- providers/vsphere/resources/vsphere.go | 8 ++--- providers/vsphere/resources/vsphere.lr | 2 +- providers/vsphere/resources/vsphere.lr.go | 6 ++-- providers/vsphere/resources/vulnmgmt.go | 10 +++--- sbom/list.go | 2 +- sbom/sbom.go | 6 ++-- shared/grpc.go | 4 +-- shared/interface.go | 4 +-- shared/proto/cnquery.pb.go | 2 +- shared/proto/cnquery.proto | 2 +- test/cli/cli_test.go | 2 +- utils/multierr/errors_test.go | 2 +- utils/stringx/contains_test.go | 2 +- utils/stringx/dedup_test.go | 2 +- utils/stringx/intersection_test.go | 2 +- utils/stringx/merge_test.go | 2 +- 944 files changed, 2806 insertions(+), 2806 deletions(-) diff --git a/apps/cnquery/cmd/bundle.go b/apps/cnquery/cmd/bundle.go index 4d202113c1..b9b148dc93 100644 --- a/apps/cnquery/cmd/bundle.go +++ b/apps/cnquery/cmd/bundle.go @@ -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() { diff --git a/apps/cnquery/cmd/login.go b/apps/cnquery/cmd/login.go index 7346c00260..c4fc08a0db 100644 --- a/apps/cnquery/cmd/login.go +++ b/apps/cnquery/cmd/login.go @@ -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" ) diff --git a/apps/cnquery/cmd/logout.go b/apps/cnquery/cmd/logout.go index 968e9ed160..fe1e13d25a 100644 --- a/apps/cnquery/cmd/logout.go +++ b/apps/cnquery/cmd/logout.go @@ -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" ) diff --git a/apps/cnquery/cmd/plugin.go b/apps/cnquery/cmd/plugin.go index 9ecc9020f7..e82042dcc9 100644 --- a/apps/cnquery/cmd/plugin.go +++ b/apps/cnquery/cmd/plugin.go @@ -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" ) diff --git a/apps/cnquery/cmd/providers.go b/apps/cnquery/cmd/providers.go index a8a2d3d52f..04fbb4847f 100644 --- a/apps/cnquery/cmd/providers.go +++ b/apps/cnquery/cmd/providers.go @@ -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() { diff --git a/apps/cnquery/cmd/root.go b/apps/cnquery/cmd/root.go index 478a606a93..9fd05756f0 100644 --- a/apps/cnquery/cmd/root.go +++ b/apps/cnquery/cmd/root.go @@ -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" ) diff --git a/apps/cnquery/cmd/run.go b/apps/cnquery/cmd/run.go index b1f8274864..c9940d25c1 100644 --- a/apps/cnquery/cmd/run.go +++ b/apps/cnquery/cmd/run.go @@ -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() { diff --git a/apps/cnquery/cmd/sbom.go b/apps/cnquery/cmd/sbom.go index 43b7f44e60..fc96a2b03b 100644 --- a/apps/cnquery/cmd/sbom.go +++ b/apps/cnquery/cmd/sbom.go @@ -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() { diff --git a/apps/cnquery/cmd/scan.go b/apps/cnquery/cmd/scan.go index 81d388231b..fdbb374a46 100644 --- a/apps/cnquery/cmd/scan.go +++ b/apps/cnquery/cmd/scan.go @@ -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() { diff --git a/apps/cnquery/cmd/shell.go b/apps/cnquery/cmd/shell.go index 22c7a875ed..226a862f37 100644 --- a/apps/cnquery/cmd/shell.go +++ b/apps/cnquery/cmd/shell.go @@ -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() { diff --git a/apps/cnquery/cmd/status.go b/apps/cnquery/cmd/status.go index aef64a0846..82b7e404ee 100644 --- a/apps/cnquery/cmd/status.go +++ b/apps/cnquery/cmd/status.go @@ -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" ) diff --git a/apps/cnquery/cmd/vault.go b/apps/cnquery/cmd/vault.go index 337cb5e305..0ad500e92d 100644 --- a/apps/cnquery/cmd/vault.go +++ b/apps/cnquery/cmd/vault.go @@ -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() { diff --git a/apps/cnquery/cmd/version.go b/apps/cnquery/cmd/version.go index a37c4f0dfa..eccb9194f1 100644 --- a/apps/cnquery/cmd/version.go +++ b/apps/cnquery/cmd/version.go @@ -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 diff --git a/apps/cnquery/cnquery.go b/apps/cnquery/cnquery.go index 57ebb63d2f..13f5c514bc 100644 --- a/apps/cnquery/cnquery.go +++ b/apps/cnquery/cnquery.go @@ -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() { diff --git a/apps/gen-docs/main.go b/apps/gen-docs/main.go index 9df00f626c..d50f748252 100644 --- a/apps/gen-docs/main.go +++ b/apps/gen-docs/main.go @@ -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() { diff --git a/apps/provider-scaffold/provider-scaffold_test.go b/apps/provider-scaffold/provider-scaffold_test.go index 2a1f36d47e..84bd45fd8f 100644 --- a/apps/provider-scaffold/provider-scaffold_test.go +++ b/apps/provider-scaffold/provider-scaffold_test.go @@ -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", } diff --git a/apps/provider-scaffold/template/config/config.go.template b/apps/provider-scaffold/template/config/config.go.template index 6700aabcd8..e47b7ba6d4 100644 --- a/apps/provider-scaffold/template/config/config.go.template +++ b/apps/provider-scaffold/template/config/config.go.template @@ -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" ) diff --git a/apps/provider-scaffold/template/connection/connection.go.template b/apps/provider-scaffold/template/connection/connection.go.template index 2087f779b2..17f5b62389 100644 --- a/apps/provider-scaffold/template/connection/connection.go.template +++ b/apps/provider-scaffold/template/connection/connection.go.template @@ -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 { diff --git a/apps/provider-scaffold/template/gen/main.go.template b/apps/provider-scaffold/template/gen/main.go.template index 5516ec5c5c..00092d07d9 100644 --- a/apps/provider-scaffold/template/gen/main.go.template +++ b/apps/provider-scaffold/template/gen/main.go.template @@ -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" ) diff --git a/apps/provider-scaffold/template/main.go.template b/apps/provider-scaffold/template/main.go.template index 49406691ac..56c96cf26d 100644 --- a/apps/provider-scaffold/template/main.go.template +++ b/apps/provider-scaffold/template/main.go.template @@ -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() { diff --git a/apps/provider-scaffold/template/provider/provider.go.template b/apps/provider-scaffold/template/provider/provider.go.template index 4169d45dae..bcb8574711 100644 --- a/apps/provider-scaffold/template/provider/provider.go.template +++ b/apps/provider-scaffold/template/provider/provider.go.template @@ -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" ) diff --git a/checksums/bench/checksum_test.go b/checksums/bench/checksum_test.go index de01d89fb8..dcaa59b883 100644 --- a/checksums/bench/checksum_test.go +++ b/checksums/bench/checksum_test.go @@ -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 diff --git a/cli/components/assetlist.go b/cli/components/assetlist.go index a048805987..763bb688a4 100644 --- a/cli/components/assetlist.go +++ b/cli/components/assetlist.go @@ -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 { diff --git a/cli/components/assetselect.go b/cli/components/assetselect.go index 0af326779a..fd5180e6aa 100644 --- a/cli/components/assetselect.go +++ b/cli/components/assetselect.go @@ -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 { diff --git a/cli/config/config.go b/cli/config/config.go index a97d1201aa..f1849529b7 100644 --- a/cli/config/config.go +++ b/cli/config/config.go @@ -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" ) /* diff --git a/cli/inventoryloader/inventory.go b/cli/inventoryloader/inventory.go index c1d3d1e807..4e6181a2bf 100644 --- a/cli/inventoryloader/inventory.go +++ b/cli/inventoryloader/inventory.go @@ -12,9 +12,9 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" "github.com/spf13/viper" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory/ansibleinventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory/domainlist" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory/ansibleinventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory/domainlist" ) func loadDataPipe() ([]byte, bool) { diff --git a/cli/printer/mql.go b/cli/printer/mql.go index 0bec80072d..495739c633 100644 --- a/cli/printer/mql.go +++ b/cli/printer/mql.go @@ -10,10 +10,10 @@ import ( "strings" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/sortx" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/sortx" "golang.org/x/exp/slices" ) diff --git a/cli/printer/printer.go b/cli/printer/printer.go index b8a771e359..22898d7356 100644 --- a/cli/printer/printer.go +++ b/cli/printer/printer.go @@ -9,8 +9,8 @@ import ( "strings" "github.com/muesli/termenv" - "go.mondoo.com/cnquery/v9/cli/theme/colors" - "go.mondoo.com/cnquery/v9/llx" + "go.mondoo.com/cnquery/v10/cli/theme/colors" + "go.mondoo.com/cnquery/v10/llx" ) // Printer turns code into human-readable strings diff --git a/cli/printer/printer_test.go b/cli/printer/printer_test.go index 313bbe4049..651fd2b8cc 100644 --- a/cli/printer/printer_test.go +++ b/cli/printer/printer_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" - "go.mondoo.com/cnquery/v9/utils/sortx" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/utils/sortx" ) var x = testutils.InitTester(testutils.LinuxMock()) diff --git a/cli/progress/multiprogress.go b/cli/progress/multiprogress.go index e01a2ba043..779436186b 100644 --- a/cli/progress/multiprogress.go +++ b/cli/progress/multiprogress.go @@ -13,9 +13,9 @@ import ( "github.com/charmbracelet/bubbles/progress" tea "github.com/charmbracelet/bubbletea" "github.com/muesli/reflow/ansi" - "go.mondoo.com/cnquery/v9/cli/components" - "go.mondoo.com/cnquery/v9/cli/theme" - "go.mondoo.com/cnquery/v9/logger" + "go.mondoo.com/cnquery/v10/cli/components" + "go.mondoo.com/cnquery/v10/cli/theme" + "go.mondoo.com/cnquery/v10/logger" ) type ProgressOption = func(*modelMultiProgress) diff --git a/cli/progress/progress.go b/cli/progress/progress.go index 5df5c3363d..22b92f9c72 100644 --- a/cli/progress/progress.go +++ b/cli/progress/progress.go @@ -13,8 +13,8 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/mattn/go-isatty" "github.com/muesli/termenv" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/utils/multierr" ) type Progress interface { diff --git a/cli/progress/renderer.go b/cli/progress/renderer.go index ef6f8305d0..469b1fabb3 100644 --- a/cli/progress/renderer.go +++ b/cli/progress/renderer.go @@ -11,7 +11,7 @@ import ( "github.com/lucasb-eyer/go-colorful" "github.com/muesli/ansi" "github.com/muesli/termenv" - "go.mondoo.com/cnquery/v9/cli/theme/colors" + "go.mondoo.com/cnquery/v10/cli/theme/colors" ) var color func(string) termenv.Color = colors.Profile.Color diff --git a/cli/providers/providers.go b/cli/providers/providers.go index a847be4555..2e4fea5289 100644 --- a/cli/providers/providers.go +++ b/cli/providers/providers.go @@ -12,12 +12,12 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" "github.com/spf13/viper" - "go.mondoo.com/cnquery/v9/cli/components" - "go.mondoo.com/cnquery/v9/cli/config" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/cli/components" + "go.mondoo.com/cnquery/v10/cli/config" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) type Command struct { diff --git a/cli/reporter/cli.go b/cli/reporter/cli.go index 610ec45d88..af624a0cc5 100644 --- a/cli/reporter/cli.go +++ b/cli/reporter/cli.go @@ -10,10 +10,10 @@ import ( "strconv" "github.com/muesli/termenv" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mrn" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mrn" + "go.mondoo.com/cnquery/v10/utils/stringx" ) type cliReporter struct { diff --git a/cli/reporter/csv.go b/cli/reporter/csv.go index ef6b6ba724..a527f5c75b 100644 --- a/cli/reporter/csv.go +++ b/cli/reporter/csv.go @@ -7,10 +7,10 @@ import ( "bytes" "encoding/csv" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mrn" - "go.mondoo.com/cnquery/v9/shared" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mrn" + "go.mondoo.com/cnquery/v10/shared" ) type csvStruct struct { diff --git a/cli/reporter/csv_test.go b/cli/reporter/csv_test.go index 8fc6f7b2f1..bc9055d966 100644 --- a/cli/reporter/csv_test.go +++ b/cli/reporter/csv_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/shared" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/shared" "sigs.k8s.io/yaml" ) diff --git a/cli/reporter/json.go b/cli/reporter/json.go index 054e689969..4f76a4905d 100644 --- a/cli/reporter/json.go +++ b/cli/reporter/json.go @@ -7,9 +7,9 @@ import ( "encoding/json" "errors" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/shared" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/shared" ) func BundleResultsToJSON(code *llx.CodeBundle, results map[string]*llx.RawResult, out shared.OutputHelper) error { diff --git a/cli/reporter/json_test.go b/cli/reporter/json_test.go index 1b33ab4140..5ce10d3d91 100644 --- a/cli/reporter/json_test.go +++ b/cli/reporter/json_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" - "go.mondoo.com/cnquery/v9/shared" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/shared" ) var x = testutils.InitTester(testutils.LinuxMock()) diff --git a/cli/reporter/reporter.go b/cli/reporter/reporter.go index f14152186c..b0f7507787 100644 --- a/cli/reporter/reporter.go +++ b/cli/reporter/reporter.go @@ -10,13 +10,13 @@ import ( "sort" "strings" - "go.mondoo.com/cnquery/v9/logger" + "go.mondoo.com/cnquery/v10/logger" "sigs.k8s.io/yaml" - "go.mondoo.com/cnquery/v9/cli/printer" - "go.mondoo.com/cnquery/v9/cli/theme/colors" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/shared" + "go.mondoo.com/cnquery/v10/cli/printer" + "go.mondoo.com/cnquery/v10/cli/theme/colors" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/shared" ) type Format byte diff --git a/cli/shell/completer.go b/cli/shell/completer.go index d35cf04061..29afb9fb68 100644 --- a/cli/shell/completer.go +++ b/cli/shell/completer.go @@ -5,9 +5,9 @@ package shell import ( "github.com/c-bata/go-prompt" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc" ) var completerSeparator = string([]byte{'.', ' '}) diff --git a/cli/shell/shell.go b/cli/shell/shell.go index 31518623b2..d89612d96b 100644 --- a/cli/shell/shell.go +++ b/cli/shell/shell.go @@ -18,18 +18,18 @@ import ( prompt "github.com/c-bata/go-prompt" "github.com/mitchellh/go-homedir" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/cli/theme" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mql" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/mqlc/parser" - "go.mondoo.com/cnquery/v9/providers" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/sortx" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/cli/theme" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mql" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/mqlc/parser" + "go.mondoo.com/cnquery/v10/providers" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/sortx" + "go.mondoo.com/cnquery/v10/utils/stringx" ) type ShellOption func(c *Shell) diff --git a/cli/shell/shell_test.go b/cli/shell/shell_test.go index 22803e1b75..50ffa92b64 100644 --- a/cli/shell/shell_test.go +++ b/cli/shell/shell_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/cli/shell" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/cli/shell" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) func localShell() *shell.Shell { diff --git a/cli/theme/os_colors.go b/cli/theme/os_colors.go index f1156fae6e..081e44101d 100644 --- a/cli/theme/os_colors.go +++ b/cli/theme/os_colors.go @@ -10,8 +10,8 @@ import ( prompt "github.com/c-bata/go-prompt" "github.com/muesli/termenv" - "go.mondoo.com/cnquery/v9/cli/printer" - "go.mondoo.com/cnquery/v9/cli/theme/colors" + "go.mondoo.com/cnquery/v10/cli/printer" + "go.mondoo.com/cnquery/v10/cli/theme/colors" ) // OperatingSystemTheme for unix shell diff --git a/cli/theme/os_colors_windows.go b/cli/theme/os_colors_windows.go index 6b97685315..64835e4a67 100644 --- a/cli/theme/os_colors_windows.go +++ b/cli/theme/os_colors_windows.go @@ -8,8 +8,8 @@ import ( prompt "github.com/c-bata/go-prompt" "github.com/muesli/termenv" - "go.mondoo.com/cnquery/v9/cli/printer" - "go.mondoo.com/cnquery/v9/cli/theme/colors" + "go.mondoo.com/cnquery/v10/cli/printer" + "go.mondoo.com/cnquery/v10/cli/theme/colors" ) // OperatingSystemTheme for windows shell diff --git a/cli/theme/theme.go b/cli/theme/theme.go index eb9bc92a79..e9509e663a 100644 --- a/cli/theme/theme.go +++ b/cli/theme/theme.go @@ -8,8 +8,8 @@ import ( "github.com/c-bata/go-prompt" "github.com/muesli/termenv" - "go.mondoo.com/cnquery/v9/cli/printer" - "go.mondoo.com/cnquery/v9/cli/theme/colors" + "go.mondoo.com/cnquery/v10/cli/printer" + "go.mondoo.com/cnquery/v10/cli/theme/colors" ) type PromptColors struct { diff --git a/explorer/bundle.go b/explorer/bundle.go index 92886a0ee2..68e0069bb0 100644 --- a/explorer/bundle.go +++ b/explorer/bundle.go @@ -13,12 +13,12 @@ import ( "github.com/rs/zerolog/log" "github.com/segmentio/ksuid" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/checksums" - llx "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/mrn" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/checksums" + llx "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/mrn" + "go.mondoo.com/cnquery/v10/utils/multierr" "sigs.k8s.io/yaml" ) diff --git a/explorer/bundle_test.go b/explorer/bundle_test.go index f04017d98c..8b5396e70f 100644 --- a/explorer/bundle_test.go +++ b/explorer/bundle_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) var ( diff --git a/explorer/cnquery_explorer.pb.go b/explorer/cnquery_explorer.pb.go index 66780e7561..df855670b2 100644 --- a/explorer/cnquery_explorer.pb.go +++ b/explorer/cnquery_explorer.pb.go @@ -10,8 +10,8 @@ package explorer import ( - llx "go.mondoo.com/cnquery/v9/llx" - inventory "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + llx "go.mondoo.com/cnquery/v10/llx" + inventory "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" diff --git a/explorer/cnquery_explorer.proto b/explorer/cnquery_explorer.proto index 6bdce268ce..2e3dae9e27 100644 --- a/explorer/cnquery_explorer.proto +++ b/explorer/cnquery_explorer.proto @@ -9,7 +9,7 @@ import "google/protobuf/any.proto"; import "llx/llx.proto"; import "providers-sdk/v1/inventory/inventory.proto"; -option go_package = "go.mondoo.com/cnquery/v9/explorer"; +option go_package = "go.mondoo.com/cnquery/v10/explorer"; message Bundle { string owner_mrn = 1; diff --git a/explorer/datalake.go b/explorer/datalake.go index acad0c810f..13532562ab 100644 --- a/explorer/datalake.go +++ b/explorer/datalake.go @@ -6,8 +6,8 @@ package explorer import ( "context" - llx "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/types" + llx "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/types" ) // DataLake provides a shared database access layer diff --git a/explorer/executor/executor.go b/explorer/executor/executor.go index ffe979c98c..c1c33b9ef7 100644 --- a/explorer/executor/executor.go +++ b/explorer/executor/executor.go @@ -10,12 +10,12 @@ import ( "time" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/cli/progress" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/cli/progress" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/utils/multierr" ) func RunExecutionJob( diff --git a/explorer/executor/mustcompile.go b/explorer/executor/mustcompile.go index a6f420a9ac..fef3ec37a4 100644 --- a/explorer/executor/mustcompile.go +++ b/explorer/executor/mustcompile.go @@ -4,10 +4,10 @@ package executor import ( - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/providers" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/providers" ) func MustCompile(code string) *llx.CodeBundle { diff --git a/explorer/filters.go b/explorer/filters.go index 9dee5f9a2b..08e1158a53 100644 --- a/explorer/filters.go +++ b/explorer/filters.go @@ -11,9 +11,9 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/checksums" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/checksums" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/utils/multierr" ) // NewFilters creates a Filters object from a simple list of MQL snippets diff --git a/explorer/filters_test.go b/explorer/filters_test.go index 45d99a2a42..dd11ac4841 100644 --- a/explorer/filters_test.go +++ b/explorer/filters_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) func TestNewFilters(t *testing.T) { diff --git a/explorer/impact.go b/explorer/impact.go index d53f512a4d..09ee99c75a 100644 --- a/explorer/impact.go +++ b/explorer/impact.go @@ -7,7 +7,7 @@ import ( "encoding/json" "errors" - "go.mondoo.com/cnquery/v9/checksums" + "go.mondoo.com/cnquery/v10/checksums" "gopkg.in/yaml.v3" ) diff --git a/explorer/mquery.go b/explorer/mquery.go index b6df648a10..ed9416ee3f 100644 --- a/explorer/mquery.go +++ b/explorer/mquery.go @@ -11,13 +11,13 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/checksums" - llx "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/mrn" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/multierr" - "go.mondoo.com/cnquery/v9/utils/sortx" + "go.mondoo.com/cnquery/v10/checksums" + llx "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/mrn" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/multierr" + "go.mondoo.com/cnquery/v10/utils/sortx" "google.golang.org/protobuf/proto" ) diff --git a/explorer/mquery_test.go b/explorer/mquery_test.go index 04a1a43347..9179b360aa 100644 --- a/explorer/mquery_test.go +++ b/explorer/mquery_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) func TestMquery_RefreshAsAssetFilterStableChecksum(t *testing.T) { diff --git a/explorer/property.go b/explorer/property.go index 4f4e477d7d..7aa7c05212 100644 --- a/explorer/property.go +++ b/explorer/property.go @@ -7,12 +7,12 @@ import ( "errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/checksums" - llx "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/mrn" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/checksums" + llx "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/mrn" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/multierr" "google.golang.org/protobuf/proto" ) diff --git a/explorer/query_conductor.go b/explorer/query_conductor.go index 6829d7f736..19c7968ec5 100644 --- a/explorer/query_conductor.go +++ b/explorer/query_conductor.go @@ -10,11 +10,11 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9" - llx "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/mrn" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10" + llx "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/mrn" + "go.mondoo.com/cnquery/v10/utils/multierr" "go.mondoo.com/ranger-rpc/codes" "go.mondoo.com/ranger-rpc/status" "google.golang.org/genproto/googleapis/rpc/errdetails" diff --git a/explorer/query_conductor_test.go b/explorer/query_conductor_test.go index 2e5bf4c598..9a0a313bf2 100644 --- a/explorer/query_conductor_test.go +++ b/explorer/query_conductor_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/providers" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/providers" ) func TestMatchFilters(t *testing.T) { diff --git a/explorer/query_hub.go b/explorer/query_hub.go index a7ea0e2f4d..7075dfc29b 100644 --- a/explorer/query_hub.go +++ b/explorer/query_hub.go @@ -9,11 +9,11 @@ import ( "os" "path" - "go.mondoo.com/cnquery/v9/mrn" + "go.mondoo.com/cnquery/v10/mrn" "go.mondoo.com/ranger-rpc" - "go.mondoo.com/cnquery/v9/logger" + "go.mondoo.com/cnquery/v10/logger" "go.mondoo.com/ranger-rpc/codes" "go.mondoo.com/ranger-rpc/status" "go.opentelemetry.io/otel" @@ -26,7 +26,7 @@ const ( CollectionIDQueryPacks = "querypacks" ) -var tracer = otel.Tracer("go.mondoo.com/cnquery/v9/explorer") +var tracer = otel.Tracer("go.mondoo.com/cnquery/v10/explorer") func NewQueryPackMrn(namespace string, uid string) string { m := &mrn.MRN{ diff --git a/explorer/querypack.go b/explorer/querypack.go index c0948ef011..78298aa867 100644 --- a/explorer/querypack.go +++ b/explorer/querypack.go @@ -9,9 +9,9 @@ import ( "sort" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/checksums" - "go.mondoo.com/cnquery/v9/utils/multierr" - "go.mondoo.com/cnquery/v9/utils/sortx" + "go.mondoo.com/cnquery/v10/checksums" + "go.mondoo.com/cnquery/v10/utils/multierr" + "go.mondoo.com/cnquery/v10/utils/sortx" ) func (p *QueryPack) InvalidateAllChecksums() { diff --git a/explorer/report.go b/explorer/report.go index b6fd2119b8..27ea4a1632 100644 --- a/explorer/report.go +++ b/explorer/report.go @@ -3,7 +3,7 @@ package explorer -import llx "go.mondoo.com/cnquery/v9/llx" +import llx "go.mondoo.com/cnquery/v10/llx" func (r *Report) RawResults() map[string]*llx.RawResult { results := map[string]*llx.RawResult{} diff --git a/explorer/scan/cnquery_explorer_scan.pb.go b/explorer/scan/cnquery_explorer_scan.pb.go index abfbb64d84..15b7d5c18d 100644 --- a/explorer/scan/cnquery_explorer_scan.pb.go +++ b/explorer/scan/cnquery_explorer_scan.pb.go @@ -10,8 +10,8 @@ package scan import ( - explorer "go.mondoo.com/cnquery/v9/explorer" - inventory "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + explorer "go.mondoo.com/cnquery/v10/explorer" + inventory "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/explorer/scan/cnquery_explorer_scan.proto b/explorer/scan/cnquery_explorer_scan.proto index c0683c2a0c..2e0ec95280 100644 --- a/explorer/scan/cnquery_explorer_scan.proto +++ b/explorer/scan/cnquery_explorer_scan.proto @@ -8,7 +8,7 @@ package cnquery.explorer.scan; import "explorer/cnquery_explorer.proto"; import "providers-sdk/v1/inventory/inventory.proto"; -option go_package = "go.mondoo.com/cnquery/v9/explorer/scan"; +option go_package = "go.mondoo.com/cnquery/v10/explorer/scan"; message Job { cnquery.providers.v1.Inventory inventory = 1; diff --git a/explorer/scan/fetcher.go b/explorer/scan/fetcher.go index 1550931480..529b35ea54 100644 --- a/explorer/scan/fetcher.go +++ b/explorer/scan/fetcher.go @@ -9,10 +9,10 @@ import ( "io" "net/http" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/utils/multierr" ) type fetcher struct { diff --git a/explorer/scan/local_scanner.go b/explorer/scan/local_scanner.go index 67a01133b4..aad1bdc69f 100644 --- a/explorer/scan/local_scanner.go +++ b/explorer/scan/local_scanner.go @@ -12,27 +12,27 @@ import ( sync "sync" "time" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory/manager" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory/manager" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" "github.com/mattn/go-isatty" "github.com/rs/zerolog/log" "github.com/segmentio/ksuid" "github.com/spf13/viper" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/cli/config" - "go.mondoo.com/cnquery/v9/cli/progress" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/explorer/executor" - "go.mondoo.com/cnquery/v9/internal/datalakes/inmemory" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/mql" - "go.mondoo.com/cnquery/v9/mrn" - "go.mondoo.com/cnquery/v9/providers" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/cli/config" + "go.mondoo.com/cnquery/v10/cli/progress" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/explorer/executor" + "go.mondoo.com/cnquery/v10/internal/datalakes/inmemory" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/mql" + "go.mondoo.com/cnquery/v10/mrn" + "go.mondoo.com/cnquery/v10/providers" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream" + "go.mondoo.com/cnquery/v10/utils/multierr" "go.mondoo.com/ranger-rpc/codes" "go.mondoo.com/ranger-rpc/status" "google.golang.org/protobuf/proto" diff --git a/explorer/scan/reporter.go b/explorer/scan/reporter.go index a590917645..f53df398e1 100644 --- a/explorer/scan/reporter.go +++ b/explorer/scan/reporter.go @@ -4,9 +4,9 @@ package scan import ( - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/utils/multierr" ) type Reporter interface { diff --git a/explorer/scan/scan.go b/explorer/scan/scan.go index 72d687855b..2ffc9de4a0 100644 --- a/explorer/scan/scan.go +++ b/explorer/scan/scan.go @@ -8,11 +8,11 @@ import ( "math/rand" "time" - "go.mondoo.com/cnquery/v9/cli/progress" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/providers" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream" + "go.mondoo.com/cnquery/v10/cli/progress" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/providers" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream" ) //go:generate protoc --proto_path=../../:. --go_out=. --go_opt=paths=source_relative --rangerrpc_out=. cnquery_explorer_scan.proto diff --git a/explorer/services.go b/explorer/services.go index 0e29b5849c..f852332291 100644 --- a/explorer/services.go +++ b/explorer/services.go @@ -6,7 +6,7 @@ package explorer import ( "net/http" - llx "go.mondoo.com/cnquery/v9/llx" + llx "go.mondoo.com/cnquery/v10/llx" "go.mondoo.com/ranger-rpc" "golang.org/x/sync/semaphore" ) diff --git a/go.mod b/go.mod index b78f5ef395..e7c00f46b3 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.mondoo.com/cnquery/v9 +module go.mondoo.com/cnquery/v10 go 1.21 diff --git a/internal/datalakes/inmemory/assets.go b/internal/datalakes/inmemory/assets.go index e976ffcf39..92b91e7fe8 100644 --- a/internal/datalakes/inmemory/assets.go +++ b/internal/datalakes/inmemory/assets.go @@ -8,7 +8,7 @@ import ( "errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/explorer" + "go.mondoo.com/cnquery/v10/explorer" ) type wrapAsset struct { diff --git a/internal/datalakes/inmemory/inmemory.go b/internal/datalakes/inmemory/inmemory.go index 21dcf02e8e..0041382729 100644 --- a/internal/datalakes/inmemory/inmemory.go +++ b/internal/datalakes/inmemory/inmemory.go @@ -7,8 +7,8 @@ import ( "time" "github.com/google/uuid" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/llx" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/llx" ) // Db is the database backend, it allows the interaction with the underlying data. diff --git a/internal/datalakes/inmemory/query_conductor.go b/internal/datalakes/inmemory/query_conductor.go index 79c92cec84..3ac9d23990 100644 --- a/internal/datalakes/inmemory/query_conductor.go +++ b/internal/datalakes/inmemory/query_conductor.go @@ -9,10 +9,10 @@ import ( "fmt" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/multierr" ) type wrapResolved struct { diff --git a/internal/datalakes/inmemory/query_hub.go b/internal/datalakes/inmemory/query_hub.go index 40984b3ebe..3d1bfec837 100644 --- a/internal/datalakes/inmemory/query_hub.go +++ b/internal/datalakes/inmemory/query_hub.go @@ -8,8 +8,8 @@ import ( "errors" "strings" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/mrn" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/mrn" ) type wrapQuery struct { diff --git a/llx/builtin.go b/llx/builtin.go index 9105915f6e..02353cc94c 100644 --- a/llx/builtin.go +++ b/llx/builtin.go @@ -8,8 +8,8 @@ import ( "fmt" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/types" ) type chunkHandlerV2 struct { diff --git a/llx/builtin_array.go b/llx/builtin_array.go index 044f9934f5..9280900885 100644 --- a/llx/builtin_array.go +++ b/llx/builtin_array.go @@ -7,8 +7,8 @@ import ( "errors" "strconv" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/multierr" ) var arrayBlockType = types.Array(types.Block) diff --git a/llx/builtin_global.go b/llx/builtin_global.go index 37280bc6a2..36b9b169dd 100644 --- a/llx/builtin_global.go +++ b/llx/builtin_global.go @@ -7,7 +7,7 @@ import ( "errors" "strconv" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) // handleGlobal takes a global function and returns a handler if found. diff --git a/llx/builtin_map.go b/llx/builtin_map.go index acf909e278..712e1ef61d 100644 --- a/llx/builtin_map.go +++ b/llx/builtin_map.go @@ -10,7 +10,7 @@ import ( "strings" "sync" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) // mapFunctions are all the handlers for builtin array methods diff --git a/llx/builtin_resource.go b/llx/builtin_resource.go index 3a9933825f..6558a07acf 100644 --- a/llx/builtin_resource.go +++ b/llx/builtin_resource.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) type Resource interface { diff --git a/llx/builtin_semver.go b/llx/builtin_semver.go index 1b42a783dd..b7da7fcbaf 100644 --- a/llx/builtin_semver.go +++ b/llx/builtin_semver.go @@ -5,7 +5,7 @@ package llx import ( "github.com/Masterminds/semver" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func semverLT(left interface{}, right interface{}) *RawData { diff --git a/llx/builtin_simple.go b/llx/builtin_simple.go index afb953b2bf..b50dd907e4 100644 --- a/llx/builtin_simple.go +++ b/llx/builtin_simple.go @@ -12,7 +12,7 @@ import ( "time" "unicode" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) // run an operation that returns true/false on a bind data vs a chunk call. diff --git a/llx/chunk.go b/llx/chunk.go index b7ac898c0f..116fcd9e7e 100644 --- a/llx/chunk.go +++ b/llx/chunk.go @@ -7,8 +7,8 @@ import ( "encoding/base64" "encoding/binary" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/sortx" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/sortx" "golang.org/x/crypto/blake2b" ) diff --git a/llx/code.go b/llx/code.go index 6a89cc6fb5..4daa2ba31c 100644 --- a/llx/code.go +++ b/llx/code.go @@ -7,8 +7,8 @@ import ( "bytes" "sort" - "go.mondoo.com/cnquery/v9/checksums" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/checksums" + "go.mondoo.com/cnquery/v10/types" ) func (b *Block) ChunkIndex() uint32 { diff --git a/llx/data_conversions.go b/llx/data_conversions.go index 1d4cd8a07d..c8331296ab 100644 --- a/llx/data_conversions.go +++ b/llx/data_conversions.go @@ -11,7 +11,7 @@ import ( "strconv" "time" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" "google.golang.org/protobuf/proto" ) diff --git a/llx/llx.go b/llx/llx.go index 98e29fe0c4..b76a9a0fe8 100644 --- a/llx/llx.go +++ b/llx/llx.go @@ -13,9 +13,9 @@ import ( uuid "github.com/gofrs/uuid" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/multierr" ) // ResultCallback function type diff --git a/llx/llx.proto b/llx/llx.proto index fb622b0649..d421d8b84f 100644 --- a/llx/llx.proto +++ b/llx/llx.proto @@ -5,7 +5,7 @@ syntax = "proto3"; package cnquery.llx; -option go_package = "go.mondoo.com/cnquery/v9/llx"; +option go_package = "go.mondoo.com/cnquery/v10/llx"; message Primitive { string type = 1; diff --git a/llx/primitives.go b/llx/primitives.go index 2293e60404..3432f4ce1b 100644 --- a/llx/primitives.go +++ b/llx/primitives.go @@ -12,7 +12,7 @@ import ( "time" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) // UnsetPrimitive is the unset primitive diff --git a/llx/primitives_test.go b/llx/primitives_test.go index 528082983c..284af3a527 100644 --- a/llx/primitives_test.go +++ b/llx/primitives_test.go @@ -8,8 +8,8 @@ import ( "time" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/types" ) func init() { diff --git a/llx/rawdata.go b/llx/rawdata.go index d5b906562f..9b5f4cedf1 100644 --- a/llx/rawdata.go +++ b/llx/rawdata.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) // RawData is an internal track of raw data that can be cast to the appropriate types diff --git a/llx/rawdata_deref.go b/llx/rawdata_deref.go index 1361222ab9..dd6b3c8a38 100644 --- a/llx/rawdata_deref.go +++ b/llx/rawdata_deref.go @@ -8,7 +8,7 @@ import ( "fmt" "time" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func dereferenceDict(raw interface{}) (*RawData, error) { diff --git a/llx/rawdata_json.go b/llx/rawdata_json.go index 09304aef1a..d12e5e4956 100644 --- a/llx/rawdata_json.go +++ b/llx/rawdata_json.go @@ -13,8 +13,8 @@ import ( "strconv" "time" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/sortx" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/sortx" ) func intKeys(m map[int]interface{}) []int { diff --git a/llx/rawdata_json_test.go b/llx/rawdata_json_test.go index eff23cd5d8..c1d7c4d129 100644 --- a/llx/rawdata_json_test.go +++ b/llx/rawdata_json_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func TestRawDataJson_removeUnderscoreKeys(t *testing.T) { diff --git a/llx/rawdata_test.go b/llx/rawdata_test.go index b6ed91191e..c19ed74648 100644 --- a/llx/rawdata_test.go +++ b/llx/rawdata_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) var now = time.Now() diff --git a/llx/runtime.go b/llx/runtime.go index 44952dce86..3d27bc11bd 100644 --- a/llx/runtime.go +++ b/llx/runtime.go @@ -3,7 +3,7 @@ package llx -import "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" +import "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" type Runtime interface { AssetMRN() string diff --git a/llx/types.go b/llx/types.go index cf9cffe508..b751380ca2 100644 --- a/llx/types.go +++ b/llx/types.go @@ -4,7 +4,7 @@ package llx import ( - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) // Type of this chunk, by looking at either the primitive or function. diff --git a/logger/cliwriter.go b/logger/cliwriter.go index 5dd331e707..9fde69911c 100644 --- a/logger/cliwriter.go +++ b/logger/cliwriter.go @@ -11,7 +11,7 @@ import ( "strings" "github.com/muesli/termenv" - "go.mondoo.com/cnquery/v9/cli/theme/colors" + "go.mondoo.com/cnquery/v10/cli/theme/colors" "github.com/rs/zerolog" "github.com/rs/zerolog/log" diff --git a/mql/internal/builder.go b/mql/internal/builder.go index ba9e73844b..b0c6c3ae68 100644 --- a/mql/internal/builder.go +++ b/mql/internal/builder.go @@ -11,8 +11,8 @@ import ( vrs "github.com/hashicorp/go-version" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/llx" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/llx" ) type query struct { diff --git a/mql/internal/builder_test.go b/mql/internal/builder_test.go index f5944175ba..7d6b0b1e21 100644 --- a/mql/internal/builder_test.go +++ b/mql/internal/builder_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/types" ) func TestPrioritizeNode(t *testing.T) { diff --git a/mql/internal/collector.go b/mql/internal/collector.go index 3b34a6dc17..3f51b05b08 100644 --- a/mql/internal/collector.go +++ b/mql/internal/collector.go @@ -8,7 +8,7 @@ import ( "time" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" + "go.mondoo.com/cnquery/v10/llx" ) const ( diff --git a/mql/internal/execution_manager.go b/mql/internal/execution_manager.go index 0a58d7cd45..c01eab36a5 100644 --- a/mql/internal/execution_manager.go +++ b/mql/internal/execution_manager.go @@ -9,7 +9,7 @@ import ( "time" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" + "go.mondoo.com/cnquery/v10/llx" ) type executionManager struct { diff --git a/mql/internal/graph.go b/mql/internal/graph.go index 0f246a8ebe..3ce99d8d6f 100644 --- a/mql/internal/graph.go +++ b/mql/internal/graph.go @@ -11,7 +11,7 @@ import ( vrs "github.com/hashicorp/go-version" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" + "go.mondoo.com/cnquery/v10/llx" ) type ( diff --git a/mql/internal/nodes.go b/mql/internal/nodes.go index 6a4a5b5653..a5c4fe7b65 100644 --- a/mql/internal/nodes.go +++ b/mql/internal/nodes.go @@ -5,8 +5,8 @@ package internal import ( "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/types" ) const ( diff --git a/mql/internal/nodes_test.go b/mql/internal/nodes_test.go index ccbe654c03..b804720e55 100644 --- a/mql/internal/nodes_test.go +++ b/mql/internal/nodes_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/types" ) func TestDatapointNode(t *testing.T) { diff --git a/mql/mql.go b/mql/mql.go index c7a122eb45..61035fad30 100644 --- a/mql/mql.go +++ b/mql/mql.go @@ -7,10 +7,10 @@ import ( "errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mql/internal" - "go.mondoo.com/cnquery/v9/mqlc" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mql/internal" + "go.mondoo.com/cnquery/v10/mqlc" ) // New creates a new MQL executor instance. It allows you to easily run multiple queries against the diff --git a/mql/mql_test.go b/mql/mql_test.go index 93c7150f16..3b53856efe 100644 --- a/mql/mql_test.go +++ b/mql/mql_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mql" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mql" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/types" ) var features cnquery.Features diff --git a/mqlc/assertion.go b/mqlc/assertion.go index 73985004f7..164c60ed87 100644 --- a/mqlc/assertion.go +++ b/mqlc/assertion.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc/parser" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc/parser" + "go.mondoo.com/cnquery/v10/types" ) func extractComments(c *parser.Expression) string { diff --git a/mqlc/builtin.go b/mqlc/builtin.go index 02110ef0b7..efc4532f41 100644 --- a/mqlc/builtin.go +++ b/mqlc/builtin.go @@ -6,10 +6,10 @@ package mqlc import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc/parser" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc/parser" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/types" ) type compileHandler struct { diff --git a/mqlc/builtin_array.go b/mqlc/builtin_array.go index 4261d3f8fe..d1c363d8d4 100644 --- a/mqlc/builtin_array.go +++ b/mqlc/builtin_array.go @@ -6,9 +6,9 @@ package mqlc import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc/parser" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc/parser" + "go.mondoo.com/cnquery/v10/types" ) func compileArrayWhere(c *compiler, typ types.Type, ref uint64, id string, call *parser.Call) (types.Type, error) { diff --git a/mqlc/builtin_map.go b/mqlc/builtin_map.go index 095a716cd7..9f32476881 100644 --- a/mqlc/builtin_map.go +++ b/mqlc/builtin_map.go @@ -6,9 +6,9 @@ package mqlc import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc/parser" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc/parser" + "go.mondoo.com/cnquery/v10/types" ) func compileDictWhere(c *compiler, typ types.Type, ref uint64, id string, call *parser.Call) (types.Type, error) { diff --git a/mqlc/builtin_resource.go b/mqlc/builtin_resource.go index bd6a5abe81..c80cfeda6c 100644 --- a/mqlc/builtin_resource.go +++ b/mqlc/builtin_resource.go @@ -7,11 +7,11 @@ import ( "errors" "strconv" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc/parser" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc/parser" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/multierr" ) func compileResourceDefault(c *compiler, typ types.Type, ref uint64, id string, call *parser.Call) (types.Type, error) { diff --git a/mqlc/builtin_simple.go b/mqlc/builtin_simple.go index f63c0b5b2a..19e448c484 100644 --- a/mqlc/builtin_simple.go +++ b/mqlc/builtin_simple.go @@ -7,9 +7,9 @@ import ( "errors" "strconv" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc/parser" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc/parser" + "go.mondoo.com/cnquery/v10/types" ) func callArgTypeIs(c *compiler, call *parser.Call, id string, argName string, idx int, types ...types.Type) (*llx.Primitive, error) { diff --git a/mqlc/checksum_test.go b/mqlc/checksum_test.go index 0650ed483e..2bbd381801 100644 --- a/mqlc/checksum_test.go +++ b/mqlc/checksum_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/mqlc" + "go.mondoo.com/cnquery/v10/mqlc" ) func TestIfChecksumming(t *testing.T) { diff --git a/mqlc/invariants.go b/mqlc/invariants.go index aa8eef947a..1a45d01518 100644 --- a/mqlc/invariants.go +++ b/mqlc/invariants.go @@ -6,8 +6,8 @@ package mqlc import ( "fmt" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/utils/multierr" ) // An Invariant is a condition that we expect compiled code to hold. diff --git a/mqlc/labels.go b/mqlc/labels.go index 776bc76303..4bf45da317 100644 --- a/mqlc/labels.go +++ b/mqlc/labels.go @@ -8,8 +8,8 @@ import ( "regexp" "strconv" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/types" "golang.org/x/text/transform" "golang.org/x/text/unicode/norm" ) diff --git a/mqlc/labels_test.go b/mqlc/labels_test.go index 26efe817ac..bfbf910402 100644 --- a/mqlc/labels_test.go +++ b/mqlc/labels_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc" ) func label(t *testing.T, s string, f func(res *llx.Labels)) { diff --git a/mqlc/mqlc.go b/mqlc/mqlc.go index 6841c0899b..c9c180f68b 100644 --- a/mqlc/mqlc.go +++ b/mqlc/mqlc.go @@ -14,12 +14,12 @@ import ( "github.com/hashicorp/go-version" "github.com/lithammer/fuzzysearch/fuzzy" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc/parser" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/sortx" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc/parser" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/sortx" ) type ErrIdentifierNotFound struct { diff --git a/mqlc/mqlc_stats.go b/mqlc/mqlc_stats.go index 21b420831a..9664cb5a83 100644 --- a/mqlc/mqlc_stats.go +++ b/mqlc/mqlc_stats.go @@ -9,8 +9,8 @@ import ( "time" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/types" ) type CompilerStats interface { diff --git a/mqlc/mqlc_test.go b/mqlc/mqlc_test.go index 9b0425fcee..065a38dd50 100644 --- a/mqlc/mqlc_test.go +++ b/mqlc/mqlc_test.go @@ -11,13 +11,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/mqlc" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/mqlc" + "go.mondoo.com/cnquery/v10/types" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) var ( diff --git a/mqlc/operators.go b/mqlc/operators.go index fa2b1d7c40..ea344d3a12 100644 --- a/mqlc/operators.go +++ b/mqlc/operators.go @@ -7,9 +7,9 @@ import ( "errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mqlc/parser" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mqlc/parser" + "go.mondoo.com/cnquery/v10/types" ) type fieldCompiler func(*compiler, string, *parser.Call) (types.Type, error) diff --git a/mqlc/parser/parser_test.go b/mqlc/parser/parser_test.go index 78b49e6423..a13b53b593 100644 --- a/mqlc/parser/parser_test.go +++ b/mqlc/parser/parser_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/logger" + "go.mondoo.com/cnquery/v10/logger" ) func init() { diff --git a/providers-sdk/v1/inventory/ansibleinventory/inventory.go b/providers-sdk/v1/inventory/ansibleinventory/inventory.go index 9952f20293..7a851fe296 100644 --- a/providers-sdk/v1/inventory/ansibleinventory/inventory.go +++ b/providers-sdk/v1/inventory/ansibleinventory/inventory.go @@ -10,8 +10,8 @@ import ( "github.com/mitchellh/mapstructure" "github.com/rs/zerolog/log" - "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" "sigs.k8s.io/yaml" ) diff --git a/providers-sdk/v1/inventory/ansibleinventory/inventory_test.go b/providers-sdk/v1/inventory/ansibleinventory/inventory_test.go index 239cad6399..b451315ee9 100644 --- a/providers-sdk/v1/inventory/ansibleinventory/inventory_test.go +++ b/providers-sdk/v1/inventory/ansibleinventory/inventory_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory/ansibleinventory" - "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/inventory/ansibleinventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) func TestValidInventory(t *testing.T) { diff --git a/providers-sdk/v1/inventory/domainlist/domainlist.go b/providers-sdk/v1/inventory/domainlist/domainlist.go index f76e4371dc..a71258e15b 100644 --- a/providers-sdk/v1/inventory/domainlist/domainlist.go +++ b/providers-sdk/v1/inventory/domainlist/domainlist.go @@ -12,7 +12,7 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func Parse(input io.Reader) (*Inventory, error) { diff --git a/providers-sdk/v1/inventory/inventory.go b/providers-sdk/v1/inventory/inventory.go index d8a52484d3..0ac96bb14b 100644 --- a/providers-sdk/v1/inventory/inventory.go +++ b/providers-sdk/v1/inventory/inventory.go @@ -11,8 +11,8 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" "github.com/segmentio/ksuid" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/config" "google.golang.org/protobuf/proto" "sigs.k8s.io/yaml" ) diff --git a/providers-sdk/v1/inventory/inventory.pb.go b/providers-sdk/v1/inventory/inventory.pb.go index abcb4abdb3..758dcdae64 100644 --- a/providers-sdk/v1/inventory/inventory.pb.go +++ b/providers-sdk/v1/inventory/inventory.pb.go @@ -10,8 +10,8 @@ package inventory import ( - upstream "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream" - vault "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + upstream "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream" + vault "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/providers-sdk/v1/inventory/inventory.proto b/providers-sdk/v1/inventory/inventory.proto index 0c22c1d91a..815a9a59c9 100644 --- a/providers-sdk/v1/inventory/inventory.proto +++ b/providers-sdk/v1/inventory/inventory.proto @@ -7,7 +7,7 @@ package cnquery.providers.v1; import "providers-sdk/v1/upstream/upstream.proto"; import "providers-sdk/v1/vault/vault.proto"; -option go_package = "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory"; +option go_package = "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory"; enum State { // protolint:disable:next ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH diff --git a/providers-sdk/v1/inventory/inventory_test.go b/providers-sdk/v1/inventory/inventory_test.go index 1591f4cc3d..cd605ece7a 100644 --- a/providers-sdk/v1/inventory/inventory_test.go +++ b/providers-sdk/v1/inventory/inventory_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) func TestInventoryParser(t *testing.T) { diff --git a/providers-sdk/v1/inventory/manager/credentials_query.go b/providers-sdk/v1/inventory/manager/credentials_query.go index 046a3658a4..b27b96ab2a 100644 --- a/providers-sdk/v1/inventory/manager/credentials_query.go +++ b/providers-sdk/v1/inventory/manager/credentials_query.go @@ -9,12 +9,12 @@ import ( "github.com/cockroachdb/errors" "github.com/mitchellh/mapstructure" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/mql" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/mql" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/types" ) type CredentialQueryResponse struct { diff --git a/providers-sdk/v1/inventory/manager/credentials_query_test.go b/providers-sdk/v1/inventory/manager/credentials_query_test.go index ac776cef3b..5b95cc3119 100644 --- a/providers-sdk/v1/inventory/manager/credentials_query_test.go +++ b/providers-sdk/v1/inventory/manager/credentials_query_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/llx" - "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/testutils" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/llx" + "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/testutils" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) var runtime llx.Runtime diff --git a/providers-sdk/v1/inventory/manager/manager.go b/providers-sdk/v1/inventory/manager/manager.go index 6904691155..9fb6703414 100644 --- a/providers-sdk/v1/inventory/manager/manager.go +++ b/providers-sdk/v1/inventory/manager/manager.go @@ -7,13 +7,13 @@ import ( "context" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/credentials_resolver" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/inmemory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/multivault" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/credentials_resolver" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/inmemory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/multivault" protobuf "google.golang.org/protobuf/proto" ) diff --git a/providers-sdk/v1/lr/cli/cmd/docs.go b/providers-sdk/v1/lr/cli/cmd/docs.go index d6cb96b787..09ac869ea9 100644 --- a/providers-sdk/v1/lr/cli/cmd/docs.go +++ b/providers-sdk/v1/lr/cli/cmd/docs.go @@ -14,8 +14,8 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/lr" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/lr/docs" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/lr" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/lr/docs" "sigs.k8s.io/yaml" ) diff --git a/providers-sdk/v1/lr/cli/cmd/docs_test.go b/providers-sdk/v1/lr/cli/cmd/docs_test.go index 809df9b029..ebb4dcfcb3 100644 --- a/providers-sdk/v1/lr/cli/cmd/docs_test.go +++ b/providers-sdk/v1/lr/cli/cmd/docs_test.go @@ -5,7 +5,7 @@ package cmd import ( "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/lr/docs" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/lr/docs" "testing" ) diff --git a/providers-sdk/v1/lr/cli/cmd/go.go b/providers-sdk/v1/lr/cli/cmd/go.go index bdf853c8a0..67fb669950 100644 --- a/providers-sdk/v1/lr/cli/cmd/go.go +++ b/providers-sdk/v1/lr/cli/cmd/go.go @@ -11,8 +11,8 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/lr" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/lr/docs" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/lr" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/lr/docs" "sigs.k8s.io/yaml" ) diff --git a/providers-sdk/v1/lr/cli/cmd/markdown.go b/providers-sdk/v1/lr/cli/cmd/markdown.go index f3eac29483..09dcef00c1 100644 --- a/providers-sdk/v1/lr/cli/cmd/markdown.go +++ b/providers-sdk/v1/lr/cli/cmd/markdown.go @@ -17,9 +17,9 @@ import ( "github.com/olekukonko/tablewriter" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/lr" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/lr/docs" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/lr" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/lr/docs" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" "sigs.k8s.io/yaml" ) diff --git a/providers-sdk/v1/lr/cli/cmd/parse.go b/providers-sdk/v1/lr/cli/cmd/parse.go index 5e314d48db..29513e2ac3 100644 --- a/providers-sdk/v1/lr/cli/cmd/parse.go +++ b/providers-sdk/v1/lr/cli/cmd/parse.go @@ -10,7 +10,7 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/lr" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/lr" ) var parseCmd = &cobra.Command{ diff --git a/providers-sdk/v1/lr/cli/main.go b/providers-sdk/v1/lr/cli/main.go index 464e389f8d..b9d1ac6c95 100644 --- a/providers-sdk/v1/lr/cli/main.go +++ b/providers-sdk/v1/lr/cli/main.go @@ -5,8 +5,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/lr/cli/cmd" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/lr/cli/cmd" ) func init() { diff --git a/providers-sdk/v1/lr/collector.go b/providers-sdk/v1/lr/collector.go index 5f6b4228b5..d7a1cac937 100644 --- a/providers-sdk/v1/lr/collector.go +++ b/providers-sdk/v1/lr/collector.go @@ -10,7 +10,7 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) // Collector provides helpers for go files inside a context diff --git a/providers-sdk/v1/lr/docs/docs.go b/providers-sdk/v1/lr/docs/docs.go index 756857bb21..ef5b975a4b 100644 --- a/providers-sdk/v1/lr/docs/docs.go +++ b/providers-sdk/v1/lr/docs/docs.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" ) type LrDocs struct { diff --git a/providers-sdk/v1/lr/go.go b/providers-sdk/v1/lr/go.go index 0857660023..ddc22e0c3b 100644 --- a/providers-sdk/v1/lr/go.go +++ b/providers-sdk/v1/lr/go.go @@ -12,8 +12,8 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/multierr" ) // Go produced go code for the LR file @@ -117,9 +117,9 @@ package resources import ( "errors"%s - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types"%s + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types"%s ) ` diff --git a/providers-sdk/v1/lr/schema.go b/providers-sdk/v1/lr/schema.go index ed1b2f9d58..e61ce6ee29 100644 --- a/providers-sdk/v1/lr/schema.go +++ b/providers-sdk/v1/lr/schema.go @@ -7,8 +7,8 @@ import ( "errors" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/types" ) func Schema(ast *LR) (*resources.Schema, error) { diff --git a/providers-sdk/v1/lr/schema_test.go b/providers-sdk/v1/lr/schema_test.go index 0b81a68195..4b094b774a 100644 --- a/providers-sdk/v1/lr/schema_test.go +++ b/providers-sdk/v1/lr/schema_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/types" ) const provider = "🐱" diff --git a/providers-sdk/v1/plugin/gen/gen.go b/providers-sdk/v1/plugin/gen/gen.go index c5e2574fc2..3962c4b8f5 100644 --- a/providers-sdk/v1/plugin/gen/gen.go +++ b/providers-sdk/v1/plugin/gen/gen.go @@ -12,7 +12,7 @@ import ( "github.com/Masterminds/semver" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) // This package contains shared components for plugin generation. diff --git a/providers-sdk/v1/plugin/plugin.go b/providers-sdk/v1/plugin/plugin.go index 3a07d6859a..8a4b596a7c 100644 --- a/providers-sdk/v1/plugin/plugin.go +++ b/providers-sdk/v1/plugin/plugin.go @@ -3,7 +3,7 @@ package plugin -import llx "go.mondoo.com/cnquery/v9/llx" +import llx "go.mondoo.com/cnquery/v10/llx" //go:generate protoc --proto_path=../../../:. --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative plugin.proto diff --git a/providers-sdk/v1/plugin/plugin.pb.go b/providers-sdk/v1/plugin/plugin.pb.go index 913100f3f2..4f18d947f3 100644 --- a/providers-sdk/v1/plugin/plugin.pb.go +++ b/providers-sdk/v1/plugin/plugin.pb.go @@ -10,9 +10,9 @@ package plugin import ( - llx "go.mondoo.com/cnquery/v9/llx" - inventory "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - upstream "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream" + llx "go.mondoo.com/cnquery/v10/llx" + inventory "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + upstream "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/providers-sdk/v1/plugin/plugin.proto b/providers-sdk/v1/plugin/plugin.proto index de737d8b3d..c59cf45158 100644 --- a/providers-sdk/v1/plugin/plugin.proto +++ b/providers-sdk/v1/plugin/plugin.proto @@ -8,7 +8,7 @@ import "llx/llx.proto"; import "providers-sdk/v1/inventory/inventory.proto"; import "providers-sdk/v1/upstream/upstream.proto"; -option go_package = "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin"; +option go_package = "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin"; message ParseCLIReq { string connector = 1; diff --git a/providers-sdk/v1/plugin/runtime.go b/providers-sdk/v1/plugin/runtime.go index 144cb601b2..094b09099a 100644 --- a/providers-sdk/v1/plugin/runtime.go +++ b/providers-sdk/v1/plugin/runtime.go @@ -6,10 +6,10 @@ package plugin import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/syncx" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/syncx" ) type Runtime struct { diff --git a/providers-sdk/v1/plugin/start.go b/providers-sdk/v1/plugin/start.go index 833539274d..1ac0eed46d 100644 --- a/providers-sdk/v1/plugin/start.go +++ b/providers-sdk/v1/plugin/start.go @@ -11,7 +11,7 @@ import ( "github.com/rs/zerolog" "github.com/rs/zerolog/log" "github.com/spf13/pflag" - "go.mondoo.com/cnquery/v9/logger" + "go.mondoo.com/cnquery/v10/logger" ) type Provider struct { diff --git a/providers-sdk/v1/resources/resources.proto b/providers-sdk/v1/resources/resources.proto index 726f49b41a..77bd7d3547 100644 --- a/providers-sdk/v1/resources/resources.proto +++ b/providers-sdk/v1/resources/resources.proto @@ -4,7 +4,7 @@ syntax = "proto3"; package mondoo.resources; -option go_package = "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources"; +option go_package = "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources"; // BASIC DATATYPES diff --git a/providers-sdk/v1/sysinfo/sysinfo.go b/providers-sdk/v1/sysinfo/sysinfo.go index a7e9617f67..981e9fc954 100644 --- a/providers-sdk/v1/sysinfo/sysinfo.go +++ b/providers-sdk/v1/sysinfo/sysinfo.go @@ -8,14 +8,14 @@ import ( "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/cli/execruntime" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/local" - "go.mondoo.com/cnquery/v9/providers/os/detector" - "go.mondoo.com/cnquery/v9/providers/os/id" - "go.mondoo.com/cnquery/v9/providers/os/id/hostname" - "go.mondoo.com/cnquery/v9/providers/os/resources/networkinterface" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/cli/execruntime" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/local" + "go.mondoo.com/cnquery/v10/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/id" + "go.mondoo.com/cnquery/v10/providers/os/id/hostname" + "go.mondoo.com/cnquery/v10/providers/os/resources/networkinterface" ) type SystemInfo struct { diff --git a/providers-sdk/v1/testutils/mockprovider/mockprovider.go b/providers-sdk/v1/testutils/mockprovider/mockprovider.go index 7771c37f86..e05af8030e 100644 --- a/providers-sdk/v1/testutils/mockprovider/mockprovider.go +++ b/providers-sdk/v1/testutils/mockprovider/mockprovider.go @@ -8,14 +8,14 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils/mockprovider/resources" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils/mockprovider/resources" ) var Config = plugin.Provider{ Name: "mock", - ID: "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils/mockprovider", + ID: "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils/mockprovider", Version: "0.0.0", Connectors: []plugin.Connector{}, } diff --git a/providers-sdk/v1/testutils/mockprovider/resources/all.go b/providers-sdk/v1/testutils/mockprovider/resources/all.go index 04026d554c..12d9f1cca5 100644 --- a/providers-sdk/v1/testutils/mockprovider/resources/all.go +++ b/providers-sdk/v1/testutils/mockprovider/resources/all.go @@ -4,8 +4,8 @@ package resources import ( - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) func (c *mqlMuser) id() (string, error) { diff --git a/providers-sdk/v1/testutils/mockprovider/resources/mockprovider.lr b/providers-sdk/v1/testutils/mockprovider/resources/mockprovider.lr index 391f7a1df8..12c56f1954 100644 --- a/providers-sdk/v1/testutils/mockprovider/resources/mockprovider.lr +++ b/providers-sdk/v1/testutils/mockprovider/resources/mockprovider.lr @@ -1,8 +1,8 @@ // Copyright (c) Mondoo, Inc. // SPDX-License-Identifier: BUSL-1.1 -option provider = "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils/mockprovider" -option go_package = "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils/mockprovider" +option provider = "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils/mockprovider" +option go_package = "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils/mockprovider" muser { name string diff --git a/providers-sdk/v1/testutils/mockprovider/resources/mockprovider.lr.go b/providers-sdk/v1/testutils/mockprovider/resources/mockprovider.lr.go index d6c4e96d54..25334694c3 100644 --- a/providers-sdk/v1/testutils/mockprovider/resources/mockprovider.lr.go +++ b/providers-sdk/v1/testutils/mockprovider/resources/mockprovider.lr.go @@ -8,9 +8,9 @@ package resources import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers-sdk/v1/testutils/testdata/arch.json b/providers-sdk/v1/testutils/testdata/arch.json index 4afec784a7..32c7662ca3 100644 --- a/providers-sdk/v1/testutils/testdata/arch.json +++ b/providers-sdk/v1/testutils/testdata/arch.json @@ -21,7 +21,7 @@ "connections": [ { "url": "local://", - "provider": "go.mondoo.com/cnquery/v9/providers/os", + "provider": "go.mondoo.com/cnquery/v10/providers/os", "connector": "local", "version": "" }, diff --git a/providers-sdk/v1/testutils/testdata/kubelet-aks.json b/providers-sdk/v1/testutils/testdata/kubelet-aks.json index f321fb6cae..e28d0a422c 100644 --- a/providers-sdk/v1/testutils/testdata/kubelet-aks.json +++ b/providers-sdk/v1/testutils/testdata/kubelet-aks.json @@ -1 +1 @@ -{"assets":[{"asset":{"id":"Buildroot 2021.02.12","platformIDs":["//platformid.api.mondoo.app/hostname/minikube","//platformid.api.mondoo.app/runtime/ssh/hostkey/SHA256-9GHnVr3zGaRkwyvFET6LOu0zq3k3j89XH/Xwb6r/vlI"],"name":"buildroot","arch":"x86_64","title":"Buildroot 2021.02.12","family":["linux","unix","os"],"version":"2021.02.12","kind":"baremetal","labels":{"distro-id":"buildroot"}},"connections":[{"url":"ssh://192.168.39.137","provider":"go.mondoo.com/cnquery/v9/providers/os","connector":"ssh","version":""}],"resources":[{"Resource":"file","ID":"/var/lib/kubelet/config.yaml","Fields":{"exists":{"type":"\u0004","value":false},"path":{"type":"\u0007","value":"/var/lib/kubelet/config.yaml"}}},{"Resource":"kubelet","ID":"","Fields":{"process":{"type":"\u001bprocess","value":{"Name":"process","ID":"107838"}}}},{"Resource":"process","ID":"1","Fields":{"executable":{"type":"\u0007","value":"/sbin/init"},"pid":{"type":"\u0005","value":1},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"10","Fields":{"executable":{"type":"\u0007","value":"[rcu_tasks_rude_]"},"pid":{"type":"\u0005","value":10},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1011","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/cri-dockerd"},"pid":{"type":"\u0005","value":1011},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"102330","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:12-events_power_efficient]"},"pid":{"type":"\u0005","value":102330},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"104490","Fields":{"executable":{"type":"\u0007","value":"[kworker/u4:1-events_unbound]"},"pid":{"type":"\u0005","value":104490},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"104499","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:0-cgroup_destroy]"},"pid":{"type":"\u0005","value":104499},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"104500","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:1-mm_percpu_wq]"},"pid":{"type":"\u0005","value":104500},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"105573","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:0-cgroup_pidlist_destroy]"},"pid":{"type":"\u0005","value":105573},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"107838","Fields":{"command":{"type":"\u0007","value":"/var/lib/minikube/binaries/v1.28.3/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --container-runtime-endpoint=unix:///var/run/cri-dockerd.sock --hostname-override=minikube --kubeconfig=/etc/kubernetes/kubelet.conf --node-ip=192.168.39.137 --anonymous-auth=false --tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_GCM_SHA256 --eviction-hard=memory.available\u003c750Mi,nodefs.available\u003c10%,nodefs.inodesFree\u003c5% --read-only-port=0"},"executable":{"type":"\u0007","value":"/var/lib/minikube/binaries/v1.28.3/kubelet"},"flags":{"type":"\u001a\u0007\u0007","value":{"anonymous-auth":"false","bootstrap-kubeconfig":"/etc/kubernetes/bootstrap-kubelet.conf","container-runtime-endpoint":"unix:///var/run/cri-dockerd.sock","eviction-hard":"memory.available\u003c750Mi,nodefs.available\u003c10%,nodefs.inodesFree\u003c5%","hostname-override":"minikube","kubeconfig":"/etc/kubernetes/kubelet.conf","node-ip":"192.168.39.137","read-only-port":"0","tls-cipher-suites":"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_GCM_SHA256"}},"pid":{"type":"\u0005","value":107838},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"11","Fields":{"executable":{"type":"\u0007","value":"[rcu_tasks_trace]"},"pid":{"type":"\u0005","value":11},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1116","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/dockerd"},"pid":{"type":"\u0005","value":1116},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1122","Fields":{"executable":{"type":"\u0007","value":"containerd"},"pid":{"type":"\u0005","value":1122},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116801","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":116801},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116803","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":116803},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116807","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":116807},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116814","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":116814},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116816","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":116816},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116819","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":116819},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116820","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":116820},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116821","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":116821},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116905","Fields":{"executable":{"type":"\u0007","value":"ps"},"pid":{"type":"\u0005","value":116905},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"12","Fields":{"executable":{"type":"\u0007","value":"[ksoftirqd/0]"},"pid":{"type":"\u0005","value":12},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"13","Fields":{"executable":{"type":"\u0007","value":"[rcu_sched]"},"pid":{"type":"\u0005","value":13},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"14","Fields":{"executable":{"type":"\u0007","value":"[migration/0]"},"pid":{"type":"\u0005","value":14},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"15","Fields":{"executable":{"type":"\u0007","value":"[cpuhp/0]"},"pid":{"type":"\u0005","value":15},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16","Fields":{"executable":{"type":"\u0007","value":"[cpuhp/1]"},"pid":{"type":"\u0005","value":16},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16211","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-timesyncd"},"pid":{"type":"\u0005","value":16211},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16220","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-udevd"},"pid":{"type":"\u0005","value":16220},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16229","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-journald"},"pid":{"type":"\u0005","value":16229},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16233","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-logind"},"pid":{"type":"\u0005","value":16233},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16314","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-networkd"},"pid":{"type":"\u0005","value":16314},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16317","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-resolved"},"pid":{"type":"\u0005","value":16317},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"17","Fields":{"executable":{"type":"\u0007","value":"[migration/1]"},"pid":{"type":"\u0005","value":17},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"18","Fields":{"executable":{"type":"\u0007","value":"[ksoftirqd/1]"},"pid":{"type":"\u0005","value":18},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"2","Fields":{"executable":{"type":"\u0007","value":"[kthreadd]"},"pid":{"type":"\u0005","value":2},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"20","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:0H-events_highpri]"},"pid":{"type":"\u0005","value":20},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"21","Fields":{"executable":{"type":"\u0007","value":"[kdevtmpfs]"},"pid":{"type":"\u0005","value":21},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"22","Fields":{"executable":{"type":"\u0007","value":"[netns]"},"pid":{"type":"\u0005","value":22},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"221","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/acpid"},"pid":{"type":"\u0005","value":221},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"222","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/dbus-daemon"},"pid":{"type":"\u0005","value":222},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"224","Fields":{"executable":{"type":"\u0007","value":"/sbin/agetty"},"pid":{"type":"\u0005","value":224},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"23","Fields":{"executable":{"type":"\u0007","value":"[kauditd]"},"pid":{"type":"\u0005","value":23},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"232","Fields":{"executable":{"type":"\u0007","value":"/sbin/agetty"},"pid":{"type":"\u0005","value":232},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"24","Fields":{"executable":{"type":"\u0007","value":"[oom_reaper]"},"pid":{"type":"\u0005","value":24},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"25","Fields":{"executable":{"type":"\u0007","value":"[writeback]"},"pid":{"type":"\u0005","value":25},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"26","Fields":{"executable":{"type":"\u0007","value":"[kcompactd0]"},"pid":{"type":"\u0005","value":26},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"27","Fields":{"executable":{"type":"\u0007","value":"[khugepaged]"},"pid":{"type":"\u0005","value":27},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"292","Fields":{"executable":{"type":"\u0007","value":"[jbd2/vda1-8]"},"pid":{"type":"\u0005","value":292},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"293","Fields":{"executable":{"type":"\u0007","value":"[ext4-rsv-conver]"},"pid":{"type":"\u0005","value":293},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3","Fields":{"executable":{"type":"\u0007","value":"[rcu_gp]"},"pid":{"type":"\u0005","value":3},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3166","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3166},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3186","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3186},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3208","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3208},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3228","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3228},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3242","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3242},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3264","Fields":{"executable":{"type":"\u0007","value":"/usr/local/bin/kube-proxy"},"pid":{"type":"\u0005","value":3264},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"341","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":341},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3438","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3438},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3459","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3459},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3529","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3529},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3551","Fields":{"executable":{"type":"\u0007","value":"/coredns"},"pid":{"type":"\u0005","value":3551},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"380","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpc.statd"},"pid":{"type":"\u0005","value":380},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"386","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpcbind"},"pid":{"type":"\u0005","value":386},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"387","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpc.mountd"},"pid":{"type":"\u0005","value":387},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"393","Fields":{"executable":{"type":"\u0007","value":"[kworker/u5:1-xprtiod]"},"pid":{"type":"\u0005","value":393},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"394","Fields":{"executable":{"type":"\u0007","value":"[lockd]"},"pid":{"type":"\u0005","value":394},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"4","Fields":{"executable":{"type":"\u0007","value":"[rcu_par_gp]"},"pid":{"type":"\u0005","value":4},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"41","Fields":{"executable":{"type":"\u0007","value":"[cryptd]"},"pid":{"type":"\u0005","value":41},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"434","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":434},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"435","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":435},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"436","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":436},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"437","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":437},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"438","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":438},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"439","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":439},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"440","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":440},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"441","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":441},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"53","Fields":{"executable":{"type":"\u0007","value":"[kblockd]"},"pid":{"type":"\u0005","value":53},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"54","Fields":{"executable":{"type":"\u0007","value":"[blkcg_punt_bio]"},"pid":{"type":"\u0005","value":54},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"55","Fields":{"executable":{"type":"\u0007","value":"[ata_sff]"},"pid":{"type":"\u0005","value":55},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"55460","Fields":{"executable":{"type":"\u0007","value":"[kworker/u4:0-events_unbound]"},"pid":{"type":"\u0005","value":55460},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"56","Fields":{"executable":{"type":"\u0007","value":"[md]"},"pid":{"type":"\u0005","value":56},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"57","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:1H-kblockd]"},"pid":{"type":"\u0005","value":57},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"58","Fields":{"executable":{"type":"\u0007","value":"[rpciod]"},"pid":{"type":"\u0005","value":58},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"59","Fields":{"executable":{"type":"\u0007","value":"[kworker/u5:0-xprtiod]"},"pid":{"type":"\u0005","value":59},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"6","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:0H-events_highpri]"},"pid":{"type":"\u0005","value":6},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"60","Fields":{"executable":{"type":"\u0007","value":"[xprtiod]"},"pid":{"type":"\u0005","value":60},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61","Fields":{"executable":{"type":"\u0007","value":"[cfg80211]"},"pid":{"type":"\u0005","value":61},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"63","Fields":{"executable":{"type":"\u0007","value":"[kswapd0]"},"pid":{"type":"\u0005","value":63},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"64","Fields":{"executable":{"type":"\u0007","value":"[nfsiod]"},"pid":{"type":"\u0005","value":64},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"65","Fields":{"executable":{"type":"\u0007","value":"[cifsiod]"},"pid":{"type":"\u0005","value":65},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"66","Fields":{"executable":{"type":"\u0007","value":"[smb3decryptd]"},"pid":{"type":"\u0005","value":66},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"67","Fields":{"executable":{"type":"\u0007","value":"[cifsfileinfoput]"},"pid":{"type":"\u0005","value":67},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"68","Fields":{"executable":{"type":"\u0007","value":"[cifsoplockd]"},"pid":{"type":"\u0005","value":68},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"69","Fields":{"executable":{"type":"\u0007","value":"[xfsalloc]"},"pid":{"type":"\u0005","value":69},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"70","Fields":{"executable":{"type":"\u0007","value":"[xfs_mru_cache]"},"pid":{"type":"\u0005","value":70},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"72","Fields":{"executable":{"type":"\u0007","value":"[acpi_thermal_pm]"},"pid":{"type":"\u0005","value":72},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"74","Fields":{"executable":{"type":"\u0007","value":"[hwrng]"},"pid":{"type":"\u0005","value":74},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"75","Fields":{"executable":{"type":"\u0007","value":"[scsi_eh_0]"},"pid":{"type":"\u0005","value":75},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"76","Fields":{"executable":{"type":"\u0007","value":"[scsi_tmf_0]"},"pid":{"type":"\u0005","value":76},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"77","Fields":{"executable":{"type":"\u0007","value":"[scsi_eh_1]"},"pid":{"type":"\u0005","value":77},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"78","Fields":{"executable":{"type":"\u0007","value":"[scsi_tmf_1]"},"pid":{"type":"\u0005","value":78},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"81","Fields":{"executable":{"type":"\u0007","value":"[dm_bufio_cache]"},"pid":{"type":"\u0005","value":81},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"82","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:1H-kblockd]"},"pid":{"type":"\u0005","value":82},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"83","Fields":{"executable":{"type":"\u0007","value":"[ipv6_addrconf]"},"pid":{"type":"\u0005","value":83},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"84","Fields":{"executable":{"type":"\u0007","value":"[ceph-msgr]"},"pid":{"type":"\u0005","value":84},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"9","Fields":{"executable":{"type":"\u0007","value":"[mm_percpu_wq]"},"pid":{"type":"\u0005","value":9},"state":{"type":"\u0007","value":""}}},{"Resource":"processes","ID":"","Fields":{"list":{"type":"\u0019\u001bprocess","value":[{"Name":"process","ID":"1"},{"Name":"process","ID":"2"},{"Name":"process","ID":"3"},{"Name":"process","ID":"4"},{"Name":"process","ID":"6"},{"Name":"process","ID":"9"},{"Name":"process","ID":"10"},{"Name":"process","ID":"11"},{"Name":"process","ID":"12"},{"Name":"process","ID":"13"},{"Name":"process","ID":"14"},{"Name":"process","ID":"15"},{"Name":"process","ID":"16"},{"Name":"process","ID":"17"},{"Name":"process","ID":"18"},{"Name":"process","ID":"20"},{"Name":"process","ID":"21"},{"Name":"process","ID":"22"},{"Name":"process","ID":"23"},{"Name":"process","ID":"24"},{"Name":"process","ID":"25"},{"Name":"process","ID":"26"},{"Name":"process","ID":"27"},{"Name":"process","ID":"41"},{"Name":"process","ID":"53"},{"Name":"process","ID":"54"},{"Name":"process","ID":"55"},{"Name":"process","ID":"56"},{"Name":"process","ID":"57"},{"Name":"process","ID":"58"},{"Name":"process","ID":"59"},{"Name":"process","ID":"60"},{"Name":"process","ID":"61"},{"Name":"process","ID":"63"},{"Name":"process","ID":"64"},{"Name":"process","ID":"65"},{"Name":"process","ID":"66"},{"Name":"process","ID":"67"},{"Name":"process","ID":"68"},{"Name":"process","ID":"69"},{"Name":"process","ID":"70"},{"Name":"process","ID":"72"},{"Name":"process","ID":"74"},{"Name":"process","ID":"75"},{"Name":"process","ID":"76"},{"Name":"process","ID":"77"},{"Name":"process","ID":"78"},{"Name":"process","ID":"81"},{"Name":"process","ID":"82"},{"Name":"process","ID":"83"},{"Name":"process","ID":"84"},{"Name":"process","ID":"221"},{"Name":"process","ID":"222"},{"Name":"process","ID":"224"},{"Name":"process","ID":"232"},{"Name":"process","ID":"292"},{"Name":"process","ID":"293"},{"Name":"process","ID":"341"},{"Name":"process","ID":"380"},{"Name":"process","ID":"386"},{"Name":"process","ID":"387"},{"Name":"process","ID":"393"},{"Name":"process","ID":"394"},{"Name":"process","ID":"434"},{"Name":"process","ID":"435"},{"Name":"process","ID":"436"},{"Name":"process","ID":"437"},{"Name":"process","ID":"438"},{"Name":"process","ID":"439"},{"Name":"process","ID":"440"},{"Name":"process","ID":"441"},{"Name":"process","ID":"1011"},{"Name":"process","ID":"1116"},{"Name":"process","ID":"1122"},{"Name":"process","ID":"3166"},{"Name":"process","ID":"3186"},{"Name":"process","ID":"3208"},{"Name":"process","ID":"3228"},{"Name":"process","ID":"3242"},{"Name":"process","ID":"3264"},{"Name":"process","ID":"3438"},{"Name":"process","ID":"3459"},{"Name":"process","ID":"3529"},{"Name":"process","ID":"3551"},{"Name":"process","ID":"16211"},{"Name":"process","ID":"16220"},{"Name":"process","ID":"16229"},{"Name":"process","ID":"16233"},{"Name":"process","ID":"16314"},{"Name":"process","ID":"16317"},{"Name":"process","ID":"55460"},{"Name":"process","ID":"102330"},{"Name":"process","ID":"104490"},{"Name":"process","ID":"104499"},{"Name":"process","ID":"104500"},{"Name":"process","ID":"105573"},{"Name":"process","ID":"107838"},{"Name":"process","ID":"116801"},{"Name":"process","ID":"116803"},{"Name":"process","ID":"116807"},{"Name":"process","ID":"116814"},{"Name":"process","ID":"116816"},{"Name":"process","ID":"116819"},{"Name":"process","ID":"116820"},{"Name":"process","ID":"116821"},{"Name":"process","ID":"116905"}]}}}]}]} \ No newline at end of file +{"assets":[{"asset":{"id":"Buildroot 2021.02.12","platformIDs":["//platformid.api.mondoo.app/hostname/minikube","//platformid.api.mondoo.app/runtime/ssh/hostkey/SHA256-9GHnVr3zGaRkwyvFET6LOu0zq3k3j89XH/Xwb6r/vlI"],"name":"buildroot","arch":"x86_64","title":"Buildroot 2021.02.12","family":["linux","unix","os"],"version":"2021.02.12","kind":"baremetal","labels":{"distro-id":"buildroot"}},"connections":[{"url":"ssh://192.168.39.137","provider":"go.mondoo.com/cnquery/v10/providers/os","connector":"ssh","version":""}],"resources":[{"Resource":"file","ID":"/var/lib/kubelet/config.yaml","Fields":{"exists":{"type":"\u0004","value":false},"path":{"type":"\u0007","value":"/var/lib/kubelet/config.yaml"}}},{"Resource":"kubelet","ID":"","Fields":{"process":{"type":"\u001bprocess","value":{"Name":"process","ID":"107838"}}}},{"Resource":"process","ID":"1","Fields":{"executable":{"type":"\u0007","value":"/sbin/init"},"pid":{"type":"\u0005","value":1},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"10","Fields":{"executable":{"type":"\u0007","value":"[rcu_tasks_rude_]"},"pid":{"type":"\u0005","value":10},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1011","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/cri-dockerd"},"pid":{"type":"\u0005","value":1011},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"102330","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:12-events_power_efficient]"},"pid":{"type":"\u0005","value":102330},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"104490","Fields":{"executable":{"type":"\u0007","value":"[kworker/u4:1-events_unbound]"},"pid":{"type":"\u0005","value":104490},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"104499","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:0-cgroup_destroy]"},"pid":{"type":"\u0005","value":104499},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"104500","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:1-mm_percpu_wq]"},"pid":{"type":"\u0005","value":104500},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"105573","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:0-cgroup_pidlist_destroy]"},"pid":{"type":"\u0005","value":105573},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"107838","Fields":{"command":{"type":"\u0007","value":"/var/lib/minikube/binaries/v1.28.3/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --container-runtime-endpoint=unix:///var/run/cri-dockerd.sock --hostname-override=minikube --kubeconfig=/etc/kubernetes/kubelet.conf --node-ip=192.168.39.137 --anonymous-auth=false --tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_GCM_SHA256 --eviction-hard=memory.available\u003c750Mi,nodefs.available\u003c10%,nodefs.inodesFree\u003c5% --read-only-port=0"},"executable":{"type":"\u0007","value":"/var/lib/minikube/binaries/v1.28.3/kubelet"},"flags":{"type":"\u001a\u0007\u0007","value":{"anonymous-auth":"false","bootstrap-kubeconfig":"/etc/kubernetes/bootstrap-kubelet.conf","container-runtime-endpoint":"unix:///var/run/cri-dockerd.sock","eviction-hard":"memory.available\u003c750Mi,nodefs.available\u003c10%,nodefs.inodesFree\u003c5%","hostname-override":"minikube","kubeconfig":"/etc/kubernetes/kubelet.conf","node-ip":"192.168.39.137","read-only-port":"0","tls-cipher-suites":"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_GCM_SHA256"}},"pid":{"type":"\u0005","value":107838},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"11","Fields":{"executable":{"type":"\u0007","value":"[rcu_tasks_trace]"},"pid":{"type":"\u0005","value":11},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1116","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/dockerd"},"pid":{"type":"\u0005","value":1116},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1122","Fields":{"executable":{"type":"\u0007","value":"containerd"},"pid":{"type":"\u0005","value":1122},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116801","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":116801},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116803","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":116803},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116807","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":116807},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116814","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":116814},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116816","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":116816},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116819","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":116819},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116820","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":116820},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116821","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":116821},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"116905","Fields":{"executable":{"type":"\u0007","value":"ps"},"pid":{"type":"\u0005","value":116905},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"12","Fields":{"executable":{"type":"\u0007","value":"[ksoftirqd/0]"},"pid":{"type":"\u0005","value":12},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"13","Fields":{"executable":{"type":"\u0007","value":"[rcu_sched]"},"pid":{"type":"\u0005","value":13},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"14","Fields":{"executable":{"type":"\u0007","value":"[migration/0]"},"pid":{"type":"\u0005","value":14},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"15","Fields":{"executable":{"type":"\u0007","value":"[cpuhp/0]"},"pid":{"type":"\u0005","value":15},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16","Fields":{"executable":{"type":"\u0007","value":"[cpuhp/1]"},"pid":{"type":"\u0005","value":16},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16211","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-timesyncd"},"pid":{"type":"\u0005","value":16211},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16220","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-udevd"},"pid":{"type":"\u0005","value":16220},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16229","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-journald"},"pid":{"type":"\u0005","value":16229},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16233","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-logind"},"pid":{"type":"\u0005","value":16233},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16314","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-networkd"},"pid":{"type":"\u0005","value":16314},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16317","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-resolved"},"pid":{"type":"\u0005","value":16317},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"17","Fields":{"executable":{"type":"\u0007","value":"[migration/1]"},"pid":{"type":"\u0005","value":17},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"18","Fields":{"executable":{"type":"\u0007","value":"[ksoftirqd/1]"},"pid":{"type":"\u0005","value":18},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"2","Fields":{"executable":{"type":"\u0007","value":"[kthreadd]"},"pid":{"type":"\u0005","value":2},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"20","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:0H-events_highpri]"},"pid":{"type":"\u0005","value":20},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"21","Fields":{"executable":{"type":"\u0007","value":"[kdevtmpfs]"},"pid":{"type":"\u0005","value":21},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"22","Fields":{"executable":{"type":"\u0007","value":"[netns]"},"pid":{"type":"\u0005","value":22},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"221","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/acpid"},"pid":{"type":"\u0005","value":221},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"222","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/dbus-daemon"},"pid":{"type":"\u0005","value":222},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"224","Fields":{"executable":{"type":"\u0007","value":"/sbin/agetty"},"pid":{"type":"\u0005","value":224},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"23","Fields":{"executable":{"type":"\u0007","value":"[kauditd]"},"pid":{"type":"\u0005","value":23},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"232","Fields":{"executable":{"type":"\u0007","value":"/sbin/agetty"},"pid":{"type":"\u0005","value":232},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"24","Fields":{"executable":{"type":"\u0007","value":"[oom_reaper]"},"pid":{"type":"\u0005","value":24},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"25","Fields":{"executable":{"type":"\u0007","value":"[writeback]"},"pid":{"type":"\u0005","value":25},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"26","Fields":{"executable":{"type":"\u0007","value":"[kcompactd0]"},"pid":{"type":"\u0005","value":26},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"27","Fields":{"executable":{"type":"\u0007","value":"[khugepaged]"},"pid":{"type":"\u0005","value":27},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"292","Fields":{"executable":{"type":"\u0007","value":"[jbd2/vda1-8]"},"pid":{"type":"\u0005","value":292},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"293","Fields":{"executable":{"type":"\u0007","value":"[ext4-rsv-conver]"},"pid":{"type":"\u0005","value":293},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3","Fields":{"executable":{"type":"\u0007","value":"[rcu_gp]"},"pid":{"type":"\u0005","value":3},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3166","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3166},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3186","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3186},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3208","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3208},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3228","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3228},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3242","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3242},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3264","Fields":{"executable":{"type":"\u0007","value":"/usr/local/bin/kube-proxy"},"pid":{"type":"\u0005","value":3264},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"341","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":341},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3438","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3438},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3459","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3459},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3529","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3529},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3551","Fields":{"executable":{"type":"\u0007","value":"/coredns"},"pid":{"type":"\u0005","value":3551},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"380","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpc.statd"},"pid":{"type":"\u0005","value":380},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"386","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpcbind"},"pid":{"type":"\u0005","value":386},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"387","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpc.mountd"},"pid":{"type":"\u0005","value":387},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"393","Fields":{"executable":{"type":"\u0007","value":"[kworker/u5:1-xprtiod]"},"pid":{"type":"\u0005","value":393},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"394","Fields":{"executable":{"type":"\u0007","value":"[lockd]"},"pid":{"type":"\u0005","value":394},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"4","Fields":{"executable":{"type":"\u0007","value":"[rcu_par_gp]"},"pid":{"type":"\u0005","value":4},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"41","Fields":{"executable":{"type":"\u0007","value":"[cryptd]"},"pid":{"type":"\u0005","value":41},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"434","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":434},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"435","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":435},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"436","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":436},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"437","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":437},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"438","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":438},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"439","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":439},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"440","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":440},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"441","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":441},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"53","Fields":{"executable":{"type":"\u0007","value":"[kblockd]"},"pid":{"type":"\u0005","value":53},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"54","Fields":{"executable":{"type":"\u0007","value":"[blkcg_punt_bio]"},"pid":{"type":"\u0005","value":54},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"55","Fields":{"executable":{"type":"\u0007","value":"[ata_sff]"},"pid":{"type":"\u0005","value":55},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"55460","Fields":{"executable":{"type":"\u0007","value":"[kworker/u4:0-events_unbound]"},"pid":{"type":"\u0005","value":55460},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"56","Fields":{"executable":{"type":"\u0007","value":"[md]"},"pid":{"type":"\u0005","value":56},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"57","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:1H-kblockd]"},"pid":{"type":"\u0005","value":57},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"58","Fields":{"executable":{"type":"\u0007","value":"[rpciod]"},"pid":{"type":"\u0005","value":58},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"59","Fields":{"executable":{"type":"\u0007","value":"[kworker/u5:0-xprtiod]"},"pid":{"type":"\u0005","value":59},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"6","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:0H-events_highpri]"},"pid":{"type":"\u0005","value":6},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"60","Fields":{"executable":{"type":"\u0007","value":"[xprtiod]"},"pid":{"type":"\u0005","value":60},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61","Fields":{"executable":{"type":"\u0007","value":"[cfg80211]"},"pid":{"type":"\u0005","value":61},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"63","Fields":{"executable":{"type":"\u0007","value":"[kswapd0]"},"pid":{"type":"\u0005","value":63},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"64","Fields":{"executable":{"type":"\u0007","value":"[nfsiod]"},"pid":{"type":"\u0005","value":64},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"65","Fields":{"executable":{"type":"\u0007","value":"[cifsiod]"},"pid":{"type":"\u0005","value":65},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"66","Fields":{"executable":{"type":"\u0007","value":"[smb3decryptd]"},"pid":{"type":"\u0005","value":66},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"67","Fields":{"executable":{"type":"\u0007","value":"[cifsfileinfoput]"},"pid":{"type":"\u0005","value":67},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"68","Fields":{"executable":{"type":"\u0007","value":"[cifsoplockd]"},"pid":{"type":"\u0005","value":68},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"69","Fields":{"executable":{"type":"\u0007","value":"[xfsalloc]"},"pid":{"type":"\u0005","value":69},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"70","Fields":{"executable":{"type":"\u0007","value":"[xfs_mru_cache]"},"pid":{"type":"\u0005","value":70},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"72","Fields":{"executable":{"type":"\u0007","value":"[acpi_thermal_pm]"},"pid":{"type":"\u0005","value":72},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"74","Fields":{"executable":{"type":"\u0007","value":"[hwrng]"},"pid":{"type":"\u0005","value":74},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"75","Fields":{"executable":{"type":"\u0007","value":"[scsi_eh_0]"},"pid":{"type":"\u0005","value":75},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"76","Fields":{"executable":{"type":"\u0007","value":"[scsi_tmf_0]"},"pid":{"type":"\u0005","value":76},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"77","Fields":{"executable":{"type":"\u0007","value":"[scsi_eh_1]"},"pid":{"type":"\u0005","value":77},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"78","Fields":{"executable":{"type":"\u0007","value":"[scsi_tmf_1]"},"pid":{"type":"\u0005","value":78},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"81","Fields":{"executable":{"type":"\u0007","value":"[dm_bufio_cache]"},"pid":{"type":"\u0005","value":81},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"82","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:1H-kblockd]"},"pid":{"type":"\u0005","value":82},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"83","Fields":{"executable":{"type":"\u0007","value":"[ipv6_addrconf]"},"pid":{"type":"\u0005","value":83},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"84","Fields":{"executable":{"type":"\u0007","value":"[ceph-msgr]"},"pid":{"type":"\u0005","value":84},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"9","Fields":{"executable":{"type":"\u0007","value":"[mm_percpu_wq]"},"pid":{"type":"\u0005","value":9},"state":{"type":"\u0007","value":""}}},{"Resource":"processes","ID":"","Fields":{"list":{"type":"\u0019\u001bprocess","value":[{"Name":"process","ID":"1"},{"Name":"process","ID":"2"},{"Name":"process","ID":"3"},{"Name":"process","ID":"4"},{"Name":"process","ID":"6"},{"Name":"process","ID":"9"},{"Name":"process","ID":"10"},{"Name":"process","ID":"11"},{"Name":"process","ID":"12"},{"Name":"process","ID":"13"},{"Name":"process","ID":"14"},{"Name":"process","ID":"15"},{"Name":"process","ID":"16"},{"Name":"process","ID":"17"},{"Name":"process","ID":"18"},{"Name":"process","ID":"20"},{"Name":"process","ID":"21"},{"Name":"process","ID":"22"},{"Name":"process","ID":"23"},{"Name":"process","ID":"24"},{"Name":"process","ID":"25"},{"Name":"process","ID":"26"},{"Name":"process","ID":"27"},{"Name":"process","ID":"41"},{"Name":"process","ID":"53"},{"Name":"process","ID":"54"},{"Name":"process","ID":"55"},{"Name":"process","ID":"56"},{"Name":"process","ID":"57"},{"Name":"process","ID":"58"},{"Name":"process","ID":"59"},{"Name":"process","ID":"60"},{"Name":"process","ID":"61"},{"Name":"process","ID":"63"},{"Name":"process","ID":"64"},{"Name":"process","ID":"65"},{"Name":"process","ID":"66"},{"Name":"process","ID":"67"},{"Name":"process","ID":"68"},{"Name":"process","ID":"69"},{"Name":"process","ID":"70"},{"Name":"process","ID":"72"},{"Name":"process","ID":"74"},{"Name":"process","ID":"75"},{"Name":"process","ID":"76"},{"Name":"process","ID":"77"},{"Name":"process","ID":"78"},{"Name":"process","ID":"81"},{"Name":"process","ID":"82"},{"Name":"process","ID":"83"},{"Name":"process","ID":"84"},{"Name":"process","ID":"221"},{"Name":"process","ID":"222"},{"Name":"process","ID":"224"},{"Name":"process","ID":"232"},{"Name":"process","ID":"292"},{"Name":"process","ID":"293"},{"Name":"process","ID":"341"},{"Name":"process","ID":"380"},{"Name":"process","ID":"386"},{"Name":"process","ID":"387"},{"Name":"process","ID":"393"},{"Name":"process","ID":"394"},{"Name":"process","ID":"434"},{"Name":"process","ID":"435"},{"Name":"process","ID":"436"},{"Name":"process","ID":"437"},{"Name":"process","ID":"438"},{"Name":"process","ID":"439"},{"Name":"process","ID":"440"},{"Name":"process","ID":"441"},{"Name":"process","ID":"1011"},{"Name":"process","ID":"1116"},{"Name":"process","ID":"1122"},{"Name":"process","ID":"3166"},{"Name":"process","ID":"3186"},{"Name":"process","ID":"3208"},{"Name":"process","ID":"3228"},{"Name":"process","ID":"3242"},{"Name":"process","ID":"3264"},{"Name":"process","ID":"3438"},{"Name":"process","ID":"3459"},{"Name":"process","ID":"3529"},{"Name":"process","ID":"3551"},{"Name":"process","ID":"16211"},{"Name":"process","ID":"16220"},{"Name":"process","ID":"16229"},{"Name":"process","ID":"16233"},{"Name":"process","ID":"16314"},{"Name":"process","ID":"16317"},{"Name":"process","ID":"55460"},{"Name":"process","ID":"102330"},{"Name":"process","ID":"104490"},{"Name":"process","ID":"104499"},{"Name":"process","ID":"104500"},{"Name":"process","ID":"105573"},{"Name":"process","ID":"107838"},{"Name":"process","ID":"116801"},{"Name":"process","ID":"116803"},{"Name":"process","ID":"116807"},{"Name":"process","ID":"116814"},{"Name":"process","ID":"116816"},{"Name":"process","ID":"116819"},{"Name":"process","ID":"116820"},{"Name":"process","ID":"116821"},{"Name":"process","ID":"116905"}]}}}]}]} \ No newline at end of file diff --git a/providers-sdk/v1/testutils/testdata/kubelet-eks.json b/providers-sdk/v1/testutils/testdata/kubelet-eks.json index 9dd6ab1f63..bb85e53505 100644 --- a/providers-sdk/v1/testutils/testdata/kubelet-eks.json +++ b/providers-sdk/v1/testutils/testdata/kubelet-eks.json @@ -1 +1 @@ -{"assets":[{"asset":{"id":"Buildroot 2021.02.12","platformIDs":["//platformid.api.mondoo.app/hostname/minikube","//platformid.api.mondoo.app/runtime/ssh/hostkey/SHA256-9GHnVr3zGaRkwyvFET6LOu0zq3k3j89XH/Xwb6r/vlI"],"name":"buildroot","arch":"x86_64","title":"Buildroot 2021.02.12","family":["linux","unix","os"],"version":"2021.02.12","kind":"baremetal","labels":{"distro-id":"buildroot"}},"connections":[{"url":"ssh://192.168.39.137","provider":"go.mondoo.com/cnquery/v9/providers/os","connector":"ssh","version":""}],"resources":[{"Resource":"file","ID":"/etc/kubernetes/kubelet/kubelet-config.json","Fields":{"basename":{"type":"\u0007","value":"kubelet-config.json"},"content":{"type":"\u0007","value":"{\n \"kind\": \"KubeletConfiguration\",\n \"apiVersion\": \"kubelet.config.k8s.io/v1beta1\",\n \"address\": \"0.0.0.0\",\n \"authentication\": {\n \"anonymous\": {\n \"enabled\": false\n },\n \"webhook\": {\n \"cacheTTL\": \"2m0s\",\n \"enabled\": true\n },\n \"x509\": {\n \"clientCAFile\": \"/var/lib/minikube/certs/ca.crt\"\n }\n },\n \"authorization\": {\n \"mode\": \"Webhook\",\n \"webhook\": {\n \"cacheAuthorizedTTL\": \"5m0s\",\n \"cacheUnauthorizedTTL\": \"30s\"\n }\n },\n \"clusterDomain\": \"cluster.local\",\n \"hairpinMode\": \"hairpin-veth\",\n \"readOnlyPort\": 0,\n \"cgroupDriver\": \"cgroupfs\",\n \"cgroupRoot\": \"/\",\n \"featureGates\": {\n \"RotateKubeletServerCertificate\": true\n },\n \"protectKernelDefaults\": true,\n \"serializeImagePulls\": false,\n \"serverTLSBootstrap\": true,\n \"tlsCipherSuites\": [\"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256\", \"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\", \"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305\", \"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\", \"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305\", \"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384\", \"TLS_RSA_WITH_AES_256_GCM_SHA384\", \"TLS_RSA_WITH_AES_128_GCM_SHA256\"]\n}\n"},"dirname":{"type":"\u0007","value":"/etc/kubernetes/kubelet"},"empty":{"type":"\u0004","value":false},"exists":{"type":"\u0004","value":true},"group":{"type":"\u001bgroup","value":{"Name":"group","ID":"group/0/root"}},"path":{"type":"\u0007","value":"/etc/kubernetes/kubelet/kubelet-config.json"},"permissions":{"type":"\u001bfile.permissions","value":{"Name":"file.permissions","ID":"-rw-r--r--"}},"size":{"type":"\u0005","value":1124},"user":{"type":"\u001buser","value":{"Name":"user","ID":"user/0/root"}}}},{"Resource":"file.permissions","ID":"-rw-r--r--","Fields":{"string":{"type":"\u0007","value":"-rw-r--r--"}}},{"Resource":"group","ID":"group/0/root","Fields":{"gid":{"type":"\u0005","value":0},"name":{"type":"\u0007","value":"root"}}},{"Resource":"kubelet","ID":"","Fields":{"configFile":{"type":"\u001bfile","value":{"Name":"file","ID":"/etc/kubernetes/kubelet/kubelet-config.json"}},"process":{"type":"\u001bprocess","value":{"Name":"process","ID":"153347"}}}},{"Resource":"process","ID":"1","Fields":{"executable":{"type":"\u0007","value":"/sbin/init"},"pid":{"type":"\u0005","value":1},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"10","Fields":{"executable":{"type":"\u0007","value":"[rcu_tasks_rude_]"},"pid":{"type":"\u0005","value":10},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1011","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/cri-dockerd"},"pid":{"type":"\u0005","value":1011},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"102330","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:12-events_power_efficient]"},"pid":{"type":"\u0005","value":102330},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"104490","Fields":{"executable":{"type":"\u0007","value":"[kworker/u4:1-events_unbound]"},"pid":{"type":"\u0005","value":104490},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"104500","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:1-events_power_efficient]"},"pid":{"type":"\u0005","value":104500},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"11","Fields":{"executable":{"type":"\u0007","value":"[rcu_tasks_trace]"},"pid":{"type":"\u0005","value":11},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1116","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/dockerd"},"pid":{"type":"\u0005","value":1116},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1122","Fields":{"executable":{"type":"\u0007","value":"containerd"},"pid":{"type":"\u0005","value":1122},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"12","Fields":{"executable":{"type":"\u0007","value":"[ksoftirqd/0]"},"pid":{"type":"\u0005","value":12},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"13","Fields":{"executable":{"type":"\u0007","value":"[rcu_sched]"},"pid":{"type":"\u0005","value":13},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"14","Fields":{"executable":{"type":"\u0007","value":"[migration/0]"},"pid":{"type":"\u0005","value":14},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"15","Fields":{"executable":{"type":"\u0007","value":"[cpuhp/0]"},"pid":{"type":"\u0005","value":15},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"151749","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":151749},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"151751","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":151751},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"151756","Fields":{"executable":{"type":"\u0007","value":"-bash"},"pid":{"type":"\u0005","value":151756},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"152409","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:3-cgroup_destroy]"},"pid":{"type":"\u0005","value":152409},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"152412","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:1-cgroup_destroy]"},"pid":{"type":"\u0005","value":152412},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"153347","Fields":{"command":{"type":"\u0007","value":"/var/lib/minikube/binaries/v1.28.3/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --config /etc/kubernetes/kubelet/kubelet-config.json --container-runtime-endpoint=unix:///var/run/cri-dockerd.sock --hostname-override=minikube --kubeconfig=/etc/kubernetes/kubelet.conf --node-ip=192.168.39.137 --runtime-request-timeout=7m"},"executable":{"type":"\u0007","value":"/var/lib/minikube/binaries/v1.28.3/kubelet"},"flags":{"type":"\u001a\u0007\u0007","value":{"bootstrap-kubeconfig":"/etc/kubernetes/bootstrap-kubelet.conf","config":"/etc/kubernetes/kubelet/kubelet-config.json","container-runtime-endpoint":"unix:///var/run/cri-dockerd.sock","hostname-override":"minikube","kubeconfig":"/etc/kubernetes/kubelet.conf","node-ip":"192.168.39.137","runtime-request-timeout":"7m"}},"pid":{"type":"\u0005","value":153347},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16","Fields":{"executable":{"type":"\u0007","value":"[cpuhp/1]"},"pid":{"type":"\u0005","value":16},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16211","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-timesyncd"},"pid":{"type":"\u0005","value":16211},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16220","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-udevd"},"pid":{"type":"\u0005","value":16220},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16229","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-journald"},"pid":{"type":"\u0005","value":16229},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16233","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-logind"},"pid":{"type":"\u0005","value":16233},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162687","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":162687},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162689","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":162689},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162693","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":162693},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162700","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":162700},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162702","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":162702},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162705","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":162705},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162706","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":162706},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162707","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":162707},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162723","Fields":{"executable":{"type":"\u0007","value":"ps"},"pid":{"type":"\u0005","value":162723},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16314","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-networkd"},"pid":{"type":"\u0005","value":16314},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16317","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-resolved"},"pid":{"type":"\u0005","value":16317},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"17","Fields":{"executable":{"type":"\u0007","value":"[migration/1]"},"pid":{"type":"\u0005","value":17},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"18","Fields":{"executable":{"type":"\u0007","value":"[ksoftirqd/1]"},"pid":{"type":"\u0005","value":18},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"2","Fields":{"executable":{"type":"\u0007","value":"[kthreadd]"},"pid":{"type":"\u0005","value":2},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"20","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:0H-events_highpri]"},"pid":{"type":"\u0005","value":20},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"21","Fields":{"executable":{"type":"\u0007","value":"[kdevtmpfs]"},"pid":{"type":"\u0005","value":21},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"22","Fields":{"executable":{"type":"\u0007","value":"[netns]"},"pid":{"type":"\u0005","value":22},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"221","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/acpid"},"pid":{"type":"\u0005","value":221},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"222","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/dbus-daemon"},"pid":{"type":"\u0005","value":222},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"224","Fields":{"executable":{"type":"\u0007","value":"/sbin/agetty"},"pid":{"type":"\u0005","value":224},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"23","Fields":{"executable":{"type":"\u0007","value":"[kauditd]"},"pid":{"type":"\u0005","value":23},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"232","Fields":{"executable":{"type":"\u0007","value":"/sbin/agetty"},"pid":{"type":"\u0005","value":232},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"24","Fields":{"executable":{"type":"\u0007","value":"[oom_reaper]"},"pid":{"type":"\u0005","value":24},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"25","Fields":{"executable":{"type":"\u0007","value":"[writeback]"},"pid":{"type":"\u0005","value":25},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"26","Fields":{"executable":{"type":"\u0007","value":"[kcompactd0]"},"pid":{"type":"\u0005","value":26},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"27","Fields":{"executable":{"type":"\u0007","value":"[khugepaged]"},"pid":{"type":"\u0005","value":27},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"292","Fields":{"executable":{"type":"\u0007","value":"[jbd2/vda1-8]"},"pid":{"type":"\u0005","value":292},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"293","Fields":{"executable":{"type":"\u0007","value":"[ext4-rsv-conver]"},"pid":{"type":"\u0005","value":293},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3","Fields":{"executable":{"type":"\u0007","value":"[rcu_gp]"},"pid":{"type":"\u0005","value":3},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3166","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3166},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3186","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3186},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3208","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3208},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3228","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3228},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3242","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3242},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3264","Fields":{"executable":{"type":"\u0007","value":"/usr/local/bin/kube-proxy"},"pid":{"type":"\u0005","value":3264},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"341","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":341},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3438","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3438},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3459","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3459},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3529","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3529},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3551","Fields":{"executable":{"type":"\u0007","value":"/coredns"},"pid":{"type":"\u0005","value":3551},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"380","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpc.statd"},"pid":{"type":"\u0005","value":380},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"386","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpcbind"},"pid":{"type":"\u0005","value":386},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"387","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpc.mountd"},"pid":{"type":"\u0005","value":387},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"393","Fields":{"executable":{"type":"\u0007","value":"[kworker/u5:1-xprtiod]"},"pid":{"type":"\u0005","value":393},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"394","Fields":{"executable":{"type":"\u0007","value":"[lockd]"},"pid":{"type":"\u0005","value":394},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"4","Fields":{"executable":{"type":"\u0007","value":"[rcu_par_gp]"},"pid":{"type":"\u0005","value":4},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"41","Fields":{"executable":{"type":"\u0007","value":"[cryptd]"},"pid":{"type":"\u0005","value":41},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"434","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":434},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"435","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":435},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"436","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":436},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"437","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":437},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"438","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":438},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"439","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":439},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"440","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":440},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"441","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":441},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"53","Fields":{"executable":{"type":"\u0007","value":"[kblockd]"},"pid":{"type":"\u0005","value":53},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"54","Fields":{"executable":{"type":"\u0007","value":"[blkcg_punt_bio]"},"pid":{"type":"\u0005","value":54},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"55","Fields":{"executable":{"type":"\u0007","value":"[ata_sff]"},"pid":{"type":"\u0005","value":55},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"55460","Fields":{"executable":{"type":"\u0007","value":"[kworker/u4:0-events_unbound]"},"pid":{"type":"\u0005","value":55460},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"56","Fields":{"executable":{"type":"\u0007","value":"[md]"},"pid":{"type":"\u0005","value":56},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"57","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:1H-kblockd]"},"pid":{"type":"\u0005","value":57},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"58","Fields":{"executable":{"type":"\u0007","value":"[rpciod]"},"pid":{"type":"\u0005","value":58},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"59","Fields":{"executable":{"type":"\u0007","value":"[kworker/u5:0-xprtiod]"},"pid":{"type":"\u0005","value":59},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"6","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:0H-events_highpri]"},"pid":{"type":"\u0005","value":6},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"60","Fields":{"executable":{"type":"\u0007","value":"[xprtiod]"},"pid":{"type":"\u0005","value":60},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61","Fields":{"executable":{"type":"\u0007","value":"[cfg80211]"},"pid":{"type":"\u0005","value":61},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"63","Fields":{"executable":{"type":"\u0007","value":"[kswapd0]"},"pid":{"type":"\u0005","value":63},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"64","Fields":{"executable":{"type":"\u0007","value":"[nfsiod]"},"pid":{"type":"\u0005","value":64},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"65","Fields":{"executable":{"type":"\u0007","value":"[cifsiod]"},"pid":{"type":"\u0005","value":65},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"66","Fields":{"executable":{"type":"\u0007","value":"[smb3decryptd]"},"pid":{"type":"\u0005","value":66},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"67","Fields":{"executable":{"type":"\u0007","value":"[cifsfileinfoput]"},"pid":{"type":"\u0005","value":67},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"68","Fields":{"executable":{"type":"\u0007","value":"[cifsoplockd]"},"pid":{"type":"\u0005","value":68},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"69","Fields":{"executable":{"type":"\u0007","value":"[xfsalloc]"},"pid":{"type":"\u0005","value":69},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"70","Fields":{"executable":{"type":"\u0007","value":"[xfs_mru_cache]"},"pid":{"type":"\u0005","value":70},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"72","Fields":{"executable":{"type":"\u0007","value":"[acpi_thermal_pm]"},"pid":{"type":"\u0005","value":72},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"74","Fields":{"executable":{"type":"\u0007","value":"[hwrng]"},"pid":{"type":"\u0005","value":74},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"75","Fields":{"executable":{"type":"\u0007","value":"[scsi_eh_0]"},"pid":{"type":"\u0005","value":75},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"76","Fields":{"executable":{"type":"\u0007","value":"[scsi_tmf_0]"},"pid":{"type":"\u0005","value":76},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"77","Fields":{"executable":{"type":"\u0007","value":"[scsi_eh_1]"},"pid":{"type":"\u0005","value":77},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"78","Fields":{"executable":{"type":"\u0007","value":"[scsi_tmf_1]"},"pid":{"type":"\u0005","value":78},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"81","Fields":{"executable":{"type":"\u0007","value":"[dm_bufio_cache]"},"pid":{"type":"\u0005","value":81},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"82","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:1H-kblockd]"},"pid":{"type":"\u0005","value":82},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"83","Fields":{"executable":{"type":"\u0007","value":"[ipv6_addrconf]"},"pid":{"type":"\u0005","value":83},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"84","Fields":{"executable":{"type":"\u0007","value":"[ceph-msgr]"},"pid":{"type":"\u0005","value":84},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"9","Fields":{"executable":{"type":"\u0007","value":"[mm_percpu_wq]"},"pid":{"type":"\u0005","value":9},"state":{"type":"\u0007","value":""}}},{"Resource":"processes","ID":"","Fields":{"list":{"type":"\u0019\u001bprocess","value":[{"Name":"process","ID":"1"},{"Name":"process","ID":"2"},{"Name":"process","ID":"3"},{"Name":"process","ID":"4"},{"Name":"process","ID":"6"},{"Name":"process","ID":"9"},{"Name":"process","ID":"10"},{"Name":"process","ID":"11"},{"Name":"process","ID":"12"},{"Name":"process","ID":"13"},{"Name":"process","ID":"14"},{"Name":"process","ID":"15"},{"Name":"process","ID":"16"},{"Name":"process","ID":"17"},{"Name":"process","ID":"18"},{"Name":"process","ID":"20"},{"Name":"process","ID":"21"},{"Name":"process","ID":"22"},{"Name":"process","ID":"23"},{"Name":"process","ID":"24"},{"Name":"process","ID":"25"},{"Name":"process","ID":"26"},{"Name":"process","ID":"27"},{"Name":"process","ID":"41"},{"Name":"process","ID":"53"},{"Name":"process","ID":"54"},{"Name":"process","ID":"55"},{"Name":"process","ID":"56"},{"Name":"process","ID":"57"},{"Name":"process","ID":"58"},{"Name":"process","ID":"59"},{"Name":"process","ID":"60"},{"Name":"process","ID":"61"},{"Name":"process","ID":"63"},{"Name":"process","ID":"64"},{"Name":"process","ID":"65"},{"Name":"process","ID":"66"},{"Name":"process","ID":"67"},{"Name":"process","ID":"68"},{"Name":"process","ID":"69"},{"Name":"process","ID":"70"},{"Name":"process","ID":"72"},{"Name":"process","ID":"74"},{"Name":"process","ID":"75"},{"Name":"process","ID":"76"},{"Name":"process","ID":"77"},{"Name":"process","ID":"78"},{"Name":"process","ID":"81"},{"Name":"process","ID":"82"},{"Name":"process","ID":"83"},{"Name":"process","ID":"84"},{"Name":"process","ID":"221"},{"Name":"process","ID":"222"},{"Name":"process","ID":"224"},{"Name":"process","ID":"232"},{"Name":"process","ID":"292"},{"Name":"process","ID":"293"},{"Name":"process","ID":"341"},{"Name":"process","ID":"380"},{"Name":"process","ID":"386"},{"Name":"process","ID":"387"},{"Name":"process","ID":"393"},{"Name":"process","ID":"394"},{"Name":"process","ID":"434"},{"Name":"process","ID":"435"},{"Name":"process","ID":"436"},{"Name":"process","ID":"437"},{"Name":"process","ID":"438"},{"Name":"process","ID":"439"},{"Name":"process","ID":"440"},{"Name":"process","ID":"441"},{"Name":"process","ID":"1011"},{"Name":"process","ID":"1116"},{"Name":"process","ID":"1122"},{"Name":"process","ID":"3166"},{"Name":"process","ID":"3186"},{"Name":"process","ID":"3208"},{"Name":"process","ID":"3228"},{"Name":"process","ID":"3242"},{"Name":"process","ID":"3264"},{"Name":"process","ID":"3438"},{"Name":"process","ID":"3459"},{"Name":"process","ID":"3529"},{"Name":"process","ID":"3551"},{"Name":"process","ID":"16211"},{"Name":"process","ID":"16220"},{"Name":"process","ID":"16229"},{"Name":"process","ID":"16233"},{"Name":"process","ID":"16314"},{"Name":"process","ID":"16317"},{"Name":"process","ID":"55460"},{"Name":"process","ID":"102330"},{"Name":"process","ID":"104490"},{"Name":"process","ID":"104500"},{"Name":"process","ID":"151749"},{"Name":"process","ID":"151751"},{"Name":"process","ID":"151756"},{"Name":"process","ID":"152409"},{"Name":"process","ID":"152412"},{"Name":"process","ID":"153347"},{"Name":"process","ID":"162687"},{"Name":"process","ID":"162689"},{"Name":"process","ID":"162693"},{"Name":"process","ID":"162700"},{"Name":"process","ID":"162702"},{"Name":"process","ID":"162705"},{"Name":"process","ID":"162706"},{"Name":"process","ID":"162707"},{"Name":"process","ID":"162723"}]}}},{"Resource":"user","ID":"user/0/root","Fields":{"gid":{"type":"\u0005","value":0},"name":{"type":"\u0007","value":"root"},"uid":{"type":"\u0005","value":0}}}]}]} \ No newline at end of file +{"assets":[{"asset":{"id":"Buildroot 2021.02.12","platformIDs":["//platformid.api.mondoo.app/hostname/minikube","//platformid.api.mondoo.app/runtime/ssh/hostkey/SHA256-9GHnVr3zGaRkwyvFET6LOu0zq3k3j89XH/Xwb6r/vlI"],"name":"buildroot","arch":"x86_64","title":"Buildroot 2021.02.12","family":["linux","unix","os"],"version":"2021.02.12","kind":"baremetal","labels":{"distro-id":"buildroot"}},"connections":[{"url":"ssh://192.168.39.137","provider":"go.mondoo.com/cnquery/v10/providers/os","connector":"ssh","version":""}],"resources":[{"Resource":"file","ID":"/etc/kubernetes/kubelet/kubelet-config.json","Fields":{"basename":{"type":"\u0007","value":"kubelet-config.json"},"content":{"type":"\u0007","value":"{\n \"kind\": \"KubeletConfiguration\",\n \"apiVersion\": \"kubelet.config.k8s.io/v1beta1\",\n \"address\": \"0.0.0.0\",\n \"authentication\": {\n \"anonymous\": {\n \"enabled\": false\n },\n \"webhook\": {\n \"cacheTTL\": \"2m0s\",\n \"enabled\": true\n },\n \"x509\": {\n \"clientCAFile\": \"/var/lib/minikube/certs/ca.crt\"\n }\n },\n \"authorization\": {\n \"mode\": \"Webhook\",\n \"webhook\": {\n \"cacheAuthorizedTTL\": \"5m0s\",\n \"cacheUnauthorizedTTL\": \"30s\"\n }\n },\n \"clusterDomain\": \"cluster.local\",\n \"hairpinMode\": \"hairpin-veth\",\n \"readOnlyPort\": 0,\n \"cgroupDriver\": \"cgroupfs\",\n \"cgroupRoot\": \"/\",\n \"featureGates\": {\n \"RotateKubeletServerCertificate\": true\n },\n \"protectKernelDefaults\": true,\n \"serializeImagePulls\": false,\n \"serverTLSBootstrap\": true,\n \"tlsCipherSuites\": [\"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256\", \"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\", \"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305\", \"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\", \"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305\", \"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384\", \"TLS_RSA_WITH_AES_256_GCM_SHA384\", \"TLS_RSA_WITH_AES_128_GCM_SHA256\"]\n}\n"},"dirname":{"type":"\u0007","value":"/etc/kubernetes/kubelet"},"empty":{"type":"\u0004","value":false},"exists":{"type":"\u0004","value":true},"group":{"type":"\u001bgroup","value":{"Name":"group","ID":"group/0/root"}},"path":{"type":"\u0007","value":"/etc/kubernetes/kubelet/kubelet-config.json"},"permissions":{"type":"\u001bfile.permissions","value":{"Name":"file.permissions","ID":"-rw-r--r--"}},"size":{"type":"\u0005","value":1124},"user":{"type":"\u001buser","value":{"Name":"user","ID":"user/0/root"}}}},{"Resource":"file.permissions","ID":"-rw-r--r--","Fields":{"string":{"type":"\u0007","value":"-rw-r--r--"}}},{"Resource":"group","ID":"group/0/root","Fields":{"gid":{"type":"\u0005","value":0},"name":{"type":"\u0007","value":"root"}}},{"Resource":"kubelet","ID":"","Fields":{"configFile":{"type":"\u001bfile","value":{"Name":"file","ID":"/etc/kubernetes/kubelet/kubelet-config.json"}},"process":{"type":"\u001bprocess","value":{"Name":"process","ID":"153347"}}}},{"Resource":"process","ID":"1","Fields":{"executable":{"type":"\u0007","value":"/sbin/init"},"pid":{"type":"\u0005","value":1},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"10","Fields":{"executable":{"type":"\u0007","value":"[rcu_tasks_rude_]"},"pid":{"type":"\u0005","value":10},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1011","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/cri-dockerd"},"pid":{"type":"\u0005","value":1011},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"102330","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:12-events_power_efficient]"},"pid":{"type":"\u0005","value":102330},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"104490","Fields":{"executable":{"type":"\u0007","value":"[kworker/u4:1-events_unbound]"},"pid":{"type":"\u0005","value":104490},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"104500","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:1-events_power_efficient]"},"pid":{"type":"\u0005","value":104500},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"11","Fields":{"executable":{"type":"\u0007","value":"[rcu_tasks_trace]"},"pid":{"type":"\u0005","value":11},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1116","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/dockerd"},"pid":{"type":"\u0005","value":1116},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1122","Fields":{"executable":{"type":"\u0007","value":"containerd"},"pid":{"type":"\u0005","value":1122},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"12","Fields":{"executable":{"type":"\u0007","value":"[ksoftirqd/0]"},"pid":{"type":"\u0005","value":12},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"13","Fields":{"executable":{"type":"\u0007","value":"[rcu_sched]"},"pid":{"type":"\u0005","value":13},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"14","Fields":{"executable":{"type":"\u0007","value":"[migration/0]"},"pid":{"type":"\u0005","value":14},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"15","Fields":{"executable":{"type":"\u0007","value":"[cpuhp/0]"},"pid":{"type":"\u0005","value":15},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"151749","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":151749},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"151751","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":151751},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"151756","Fields":{"executable":{"type":"\u0007","value":"-bash"},"pid":{"type":"\u0005","value":151756},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"152409","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:3-cgroup_destroy]"},"pid":{"type":"\u0005","value":152409},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"152412","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:1-cgroup_destroy]"},"pid":{"type":"\u0005","value":152412},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"153347","Fields":{"command":{"type":"\u0007","value":"/var/lib/minikube/binaries/v1.28.3/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --config /etc/kubernetes/kubelet/kubelet-config.json --container-runtime-endpoint=unix:///var/run/cri-dockerd.sock --hostname-override=minikube --kubeconfig=/etc/kubernetes/kubelet.conf --node-ip=192.168.39.137 --runtime-request-timeout=7m"},"executable":{"type":"\u0007","value":"/var/lib/minikube/binaries/v1.28.3/kubelet"},"flags":{"type":"\u001a\u0007\u0007","value":{"bootstrap-kubeconfig":"/etc/kubernetes/bootstrap-kubelet.conf","config":"/etc/kubernetes/kubelet/kubelet-config.json","container-runtime-endpoint":"unix:///var/run/cri-dockerd.sock","hostname-override":"minikube","kubeconfig":"/etc/kubernetes/kubelet.conf","node-ip":"192.168.39.137","runtime-request-timeout":"7m"}},"pid":{"type":"\u0005","value":153347},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16","Fields":{"executable":{"type":"\u0007","value":"[cpuhp/1]"},"pid":{"type":"\u0005","value":16},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16211","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-timesyncd"},"pid":{"type":"\u0005","value":16211},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16220","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-udevd"},"pid":{"type":"\u0005","value":16220},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16229","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-journald"},"pid":{"type":"\u0005","value":16229},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16233","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-logind"},"pid":{"type":"\u0005","value":16233},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162687","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":162687},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162689","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":162689},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162693","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":162693},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162700","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":162700},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162702","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":162702},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162705","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":162705},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162706","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":162706},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162707","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":162707},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"162723","Fields":{"executable":{"type":"\u0007","value":"ps"},"pid":{"type":"\u0005","value":162723},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16314","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-networkd"},"pid":{"type":"\u0005","value":16314},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16317","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-resolved"},"pid":{"type":"\u0005","value":16317},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"17","Fields":{"executable":{"type":"\u0007","value":"[migration/1]"},"pid":{"type":"\u0005","value":17},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"18","Fields":{"executable":{"type":"\u0007","value":"[ksoftirqd/1]"},"pid":{"type":"\u0005","value":18},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"2","Fields":{"executable":{"type":"\u0007","value":"[kthreadd]"},"pid":{"type":"\u0005","value":2},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"20","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:0H-events_highpri]"},"pid":{"type":"\u0005","value":20},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"21","Fields":{"executable":{"type":"\u0007","value":"[kdevtmpfs]"},"pid":{"type":"\u0005","value":21},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"22","Fields":{"executable":{"type":"\u0007","value":"[netns]"},"pid":{"type":"\u0005","value":22},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"221","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/acpid"},"pid":{"type":"\u0005","value":221},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"222","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/dbus-daemon"},"pid":{"type":"\u0005","value":222},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"224","Fields":{"executable":{"type":"\u0007","value":"/sbin/agetty"},"pid":{"type":"\u0005","value":224},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"23","Fields":{"executable":{"type":"\u0007","value":"[kauditd]"},"pid":{"type":"\u0005","value":23},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"232","Fields":{"executable":{"type":"\u0007","value":"/sbin/agetty"},"pid":{"type":"\u0005","value":232},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"24","Fields":{"executable":{"type":"\u0007","value":"[oom_reaper]"},"pid":{"type":"\u0005","value":24},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"25","Fields":{"executable":{"type":"\u0007","value":"[writeback]"},"pid":{"type":"\u0005","value":25},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"26","Fields":{"executable":{"type":"\u0007","value":"[kcompactd0]"},"pid":{"type":"\u0005","value":26},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"27","Fields":{"executable":{"type":"\u0007","value":"[khugepaged]"},"pid":{"type":"\u0005","value":27},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"292","Fields":{"executable":{"type":"\u0007","value":"[jbd2/vda1-8]"},"pid":{"type":"\u0005","value":292},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"293","Fields":{"executable":{"type":"\u0007","value":"[ext4-rsv-conver]"},"pid":{"type":"\u0005","value":293},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3","Fields":{"executable":{"type":"\u0007","value":"[rcu_gp]"},"pid":{"type":"\u0005","value":3},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3166","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3166},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3186","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3186},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3208","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3208},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3228","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3228},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3242","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3242},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3264","Fields":{"executable":{"type":"\u0007","value":"/usr/local/bin/kube-proxy"},"pid":{"type":"\u0005","value":3264},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"341","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":341},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3438","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3438},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3459","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3459},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3529","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3529},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3551","Fields":{"executable":{"type":"\u0007","value":"/coredns"},"pid":{"type":"\u0005","value":3551},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"380","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpc.statd"},"pid":{"type":"\u0005","value":380},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"386","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpcbind"},"pid":{"type":"\u0005","value":386},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"387","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpc.mountd"},"pid":{"type":"\u0005","value":387},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"393","Fields":{"executable":{"type":"\u0007","value":"[kworker/u5:1-xprtiod]"},"pid":{"type":"\u0005","value":393},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"394","Fields":{"executable":{"type":"\u0007","value":"[lockd]"},"pid":{"type":"\u0005","value":394},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"4","Fields":{"executable":{"type":"\u0007","value":"[rcu_par_gp]"},"pid":{"type":"\u0005","value":4},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"41","Fields":{"executable":{"type":"\u0007","value":"[cryptd]"},"pid":{"type":"\u0005","value":41},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"434","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":434},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"435","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":435},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"436","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":436},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"437","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":437},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"438","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":438},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"439","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":439},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"440","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":440},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"441","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":441},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"53","Fields":{"executable":{"type":"\u0007","value":"[kblockd]"},"pid":{"type":"\u0005","value":53},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"54","Fields":{"executable":{"type":"\u0007","value":"[blkcg_punt_bio]"},"pid":{"type":"\u0005","value":54},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"55","Fields":{"executable":{"type":"\u0007","value":"[ata_sff]"},"pid":{"type":"\u0005","value":55},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"55460","Fields":{"executable":{"type":"\u0007","value":"[kworker/u4:0-events_unbound]"},"pid":{"type":"\u0005","value":55460},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"56","Fields":{"executable":{"type":"\u0007","value":"[md]"},"pid":{"type":"\u0005","value":56},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"57","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:1H-kblockd]"},"pid":{"type":"\u0005","value":57},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"58","Fields":{"executable":{"type":"\u0007","value":"[rpciod]"},"pid":{"type":"\u0005","value":58},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"59","Fields":{"executable":{"type":"\u0007","value":"[kworker/u5:0-xprtiod]"},"pid":{"type":"\u0005","value":59},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"6","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:0H-events_highpri]"},"pid":{"type":"\u0005","value":6},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"60","Fields":{"executable":{"type":"\u0007","value":"[xprtiod]"},"pid":{"type":"\u0005","value":60},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61","Fields":{"executable":{"type":"\u0007","value":"[cfg80211]"},"pid":{"type":"\u0005","value":61},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"63","Fields":{"executable":{"type":"\u0007","value":"[kswapd0]"},"pid":{"type":"\u0005","value":63},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"64","Fields":{"executable":{"type":"\u0007","value":"[nfsiod]"},"pid":{"type":"\u0005","value":64},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"65","Fields":{"executable":{"type":"\u0007","value":"[cifsiod]"},"pid":{"type":"\u0005","value":65},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"66","Fields":{"executable":{"type":"\u0007","value":"[smb3decryptd]"},"pid":{"type":"\u0005","value":66},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"67","Fields":{"executable":{"type":"\u0007","value":"[cifsfileinfoput]"},"pid":{"type":"\u0005","value":67},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"68","Fields":{"executable":{"type":"\u0007","value":"[cifsoplockd]"},"pid":{"type":"\u0005","value":68},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"69","Fields":{"executable":{"type":"\u0007","value":"[xfsalloc]"},"pid":{"type":"\u0005","value":69},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"70","Fields":{"executable":{"type":"\u0007","value":"[xfs_mru_cache]"},"pid":{"type":"\u0005","value":70},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"72","Fields":{"executable":{"type":"\u0007","value":"[acpi_thermal_pm]"},"pid":{"type":"\u0005","value":72},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"74","Fields":{"executable":{"type":"\u0007","value":"[hwrng]"},"pid":{"type":"\u0005","value":74},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"75","Fields":{"executable":{"type":"\u0007","value":"[scsi_eh_0]"},"pid":{"type":"\u0005","value":75},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"76","Fields":{"executable":{"type":"\u0007","value":"[scsi_tmf_0]"},"pid":{"type":"\u0005","value":76},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"77","Fields":{"executable":{"type":"\u0007","value":"[scsi_eh_1]"},"pid":{"type":"\u0005","value":77},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"78","Fields":{"executable":{"type":"\u0007","value":"[scsi_tmf_1]"},"pid":{"type":"\u0005","value":78},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"81","Fields":{"executable":{"type":"\u0007","value":"[dm_bufio_cache]"},"pid":{"type":"\u0005","value":81},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"82","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:1H-kblockd]"},"pid":{"type":"\u0005","value":82},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"83","Fields":{"executable":{"type":"\u0007","value":"[ipv6_addrconf]"},"pid":{"type":"\u0005","value":83},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"84","Fields":{"executable":{"type":"\u0007","value":"[ceph-msgr]"},"pid":{"type":"\u0005","value":84},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"9","Fields":{"executable":{"type":"\u0007","value":"[mm_percpu_wq]"},"pid":{"type":"\u0005","value":9},"state":{"type":"\u0007","value":""}}},{"Resource":"processes","ID":"","Fields":{"list":{"type":"\u0019\u001bprocess","value":[{"Name":"process","ID":"1"},{"Name":"process","ID":"2"},{"Name":"process","ID":"3"},{"Name":"process","ID":"4"},{"Name":"process","ID":"6"},{"Name":"process","ID":"9"},{"Name":"process","ID":"10"},{"Name":"process","ID":"11"},{"Name":"process","ID":"12"},{"Name":"process","ID":"13"},{"Name":"process","ID":"14"},{"Name":"process","ID":"15"},{"Name":"process","ID":"16"},{"Name":"process","ID":"17"},{"Name":"process","ID":"18"},{"Name":"process","ID":"20"},{"Name":"process","ID":"21"},{"Name":"process","ID":"22"},{"Name":"process","ID":"23"},{"Name":"process","ID":"24"},{"Name":"process","ID":"25"},{"Name":"process","ID":"26"},{"Name":"process","ID":"27"},{"Name":"process","ID":"41"},{"Name":"process","ID":"53"},{"Name":"process","ID":"54"},{"Name":"process","ID":"55"},{"Name":"process","ID":"56"},{"Name":"process","ID":"57"},{"Name":"process","ID":"58"},{"Name":"process","ID":"59"},{"Name":"process","ID":"60"},{"Name":"process","ID":"61"},{"Name":"process","ID":"63"},{"Name":"process","ID":"64"},{"Name":"process","ID":"65"},{"Name":"process","ID":"66"},{"Name":"process","ID":"67"},{"Name":"process","ID":"68"},{"Name":"process","ID":"69"},{"Name":"process","ID":"70"},{"Name":"process","ID":"72"},{"Name":"process","ID":"74"},{"Name":"process","ID":"75"},{"Name":"process","ID":"76"},{"Name":"process","ID":"77"},{"Name":"process","ID":"78"},{"Name":"process","ID":"81"},{"Name":"process","ID":"82"},{"Name":"process","ID":"83"},{"Name":"process","ID":"84"},{"Name":"process","ID":"221"},{"Name":"process","ID":"222"},{"Name":"process","ID":"224"},{"Name":"process","ID":"232"},{"Name":"process","ID":"292"},{"Name":"process","ID":"293"},{"Name":"process","ID":"341"},{"Name":"process","ID":"380"},{"Name":"process","ID":"386"},{"Name":"process","ID":"387"},{"Name":"process","ID":"393"},{"Name":"process","ID":"394"},{"Name":"process","ID":"434"},{"Name":"process","ID":"435"},{"Name":"process","ID":"436"},{"Name":"process","ID":"437"},{"Name":"process","ID":"438"},{"Name":"process","ID":"439"},{"Name":"process","ID":"440"},{"Name":"process","ID":"441"},{"Name":"process","ID":"1011"},{"Name":"process","ID":"1116"},{"Name":"process","ID":"1122"},{"Name":"process","ID":"3166"},{"Name":"process","ID":"3186"},{"Name":"process","ID":"3208"},{"Name":"process","ID":"3228"},{"Name":"process","ID":"3242"},{"Name":"process","ID":"3264"},{"Name":"process","ID":"3438"},{"Name":"process","ID":"3459"},{"Name":"process","ID":"3529"},{"Name":"process","ID":"3551"},{"Name":"process","ID":"16211"},{"Name":"process","ID":"16220"},{"Name":"process","ID":"16229"},{"Name":"process","ID":"16233"},{"Name":"process","ID":"16314"},{"Name":"process","ID":"16317"},{"Name":"process","ID":"55460"},{"Name":"process","ID":"102330"},{"Name":"process","ID":"104490"},{"Name":"process","ID":"104500"},{"Name":"process","ID":"151749"},{"Name":"process","ID":"151751"},{"Name":"process","ID":"151756"},{"Name":"process","ID":"152409"},{"Name":"process","ID":"152412"},{"Name":"process","ID":"153347"},{"Name":"process","ID":"162687"},{"Name":"process","ID":"162689"},{"Name":"process","ID":"162693"},{"Name":"process","ID":"162700"},{"Name":"process","ID":"162702"},{"Name":"process","ID":"162705"},{"Name":"process","ID":"162706"},{"Name":"process","ID":"162707"},{"Name":"process","ID":"162723"}]}}},{"Resource":"user","ID":"user/0/root","Fields":{"gid":{"type":"\u0005","value":0},"name":{"type":"\u0007","value":"root"},"uid":{"type":"\u0005","value":0}}}]}]} \ No newline at end of file diff --git a/providers-sdk/v1/testutils/testdata/kubelet.json b/providers-sdk/v1/testutils/testdata/kubelet.json index 9cf6e2b6dd..b3cbbf18a7 100644 --- a/providers-sdk/v1/testutils/testdata/kubelet.json +++ b/providers-sdk/v1/testutils/testdata/kubelet.json @@ -1 +1 @@ -{"assets":[{"asset":{"id":"Buildroot 2021.02.12","platformIDs":["//platformid.api.mondoo.app/hostname/minikube","//platformid.api.mondoo.app/runtime/ssh/hostkey/SHA256-9GHnVr3zGaRkwyvFET6LOu0zq3k3j89XH/Xwb6r/vlI"],"name":"buildroot","arch":"x86_64","title":"Buildroot 2021.02.12","family":["linux","unix","os"],"version":"2021.02.12","kind":"baremetal","labels":{"distro-id":"buildroot"}},"connections":[{"url":"ssh://192.168.39.137","provider":"go.mondoo.com/cnquery/v9/providers/os","connector":"ssh","version":""}],"resources":[{"Resource":"file","ID":"/var/lib/kubelet/config.yaml","Fields":{"basename":{"type":"\u0007","value":"config.yaml"},"content":{"type":"\u0007","value":"apiVersion: kubelet.config.k8s.io/v1beta1\nauthentication:\n anonymous:\n enabled: false\n webhook:\n cacheTTL: 0s\n enabled: true\n x509:\n clientCAFile: /var/lib/minikube/certs/ca.crt\nauthorization:\n mode: Webhook\n webhook:\n cacheAuthorizedTTL: 0s\n cacheUnauthorizedTTL: 0s\ncgroupDriver: cgroupfs\nclusterDNS:\n- 10.96.0.10\nclusterDomain: cluster.local\ncontainerRuntimeEndpoint: \"\"\ncpuManagerReconcilePeriod: 0s\nevictionHard:\n imagefs.available: 0%\n nodefs.available: 0%\n nodefs.inodesFree: 0%\nevictionPressureTransitionPeriod: 0s\nfailSwapOn: false\nfileCheckFrequency: 0s\nhairpinMode: hairpin-veth\nhealthzBindAddress: 127.0.0.1\nhealthzPort: 10248\nhttpCheckFrequency: 0s\nimageGCHighThresholdPercent: 100\nimageMinimumGCAge: 0s\nkind: KubeletConfiguration\nlogging:\n flushFrequency: 0\n options:\n json:\n infoBufferSize: \"0\"\n verbosity: 0\nmemorySwap: {}\nnodeStatusReportFrequency: 0s\nnodeStatusUpdateFrequency: 0s\nresolvConf: /run/systemd/resolve/resolv.conf\nrotateCertificates: true\nruntimeRequestTimeout: 15m0s\nshutdownGracePeriod: 0s\nshutdownGracePeriodCriticalPods: 0s\nstaticPodPath: /etc/kubernetes/manifests\nstreamingConnectionIdleTimeout: 0s\nsyncFrequency: 0s\nvolumeStatsAggPeriod: 0s\n"},"dirname":{"type":"\u0007","value":"/var/lib/kubelet"},"empty":{"type":"\u0004","value":false},"exists":{"type":"\u0004","value":true},"group":{"type":"\u001bgroup","value":{"Name":"group","ID":"group/0/root"}},"path":{"type":"\u0007","value":"/var/lib/kubelet/config.yaml"},"permissions":{"type":"\u001bfile.permissions","value":{"Name":"file.permissions","ID":"-rw-r--r--"}},"size":{"type":"\u0005","value":1214},"user":{"type":"\u001buser","value":{"Name":"user","ID":"user/0/root"}}}},{"Resource":"file.permissions","ID":"-rw-r--r--","Fields":{"string":{"type":"\u0007","value":"-rw-r--r--"}}},{"Resource":"group","ID":"group/0/root","Fields":{"gid":{"type":"\u0005","value":0},"name":{"type":"\u0007","value":"root"}}},{"Resource":"kubelet","ID":"","Fields":{"configFile":{"type":"\u001bfile","value":{"Name":"file","ID":"/var/lib/kubelet/config.yaml"}},"process":{"type":"\u001bprocess","value":{"Name":"process","ID":"57742"}}}},{"Resource":"process","ID":"1","Fields":{"executable":{"type":"\u0007","value":"/sbin/init"},"pid":{"type":"\u0005","value":1},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"10","Fields":{"executable":{"type":"\u0007","value":"[rcu_tasks_rude_]"},"pid":{"type":"\u0005","value":10},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1011","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/cri-dockerd"},"pid":{"type":"\u0005","value":1011},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"11","Fields":{"executable":{"type":"\u0007","value":"[rcu_tasks_trace]"},"pid":{"type":"\u0005","value":11},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1116","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/dockerd"},"pid":{"type":"\u0005","value":1116},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1122","Fields":{"executable":{"type":"\u0007","value":"containerd"},"pid":{"type":"\u0005","value":1122},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"11504","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:0-cgroup_pidlist_destroy]"},"pid":{"type":"\u0005","value":11504},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"12","Fields":{"executable":{"type":"\u0007","value":"[ksoftirqd/0]"},"pid":{"type":"\u0005","value":12},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"13","Fields":{"executable":{"type":"\u0007","value":"[rcu_sched]"},"pid":{"type":"\u0005","value":13},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"14","Fields":{"executable":{"type":"\u0007","value":"[migration/0]"},"pid":{"type":"\u0005","value":14},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"15","Fields":{"executable":{"type":"\u0007","value":"[cpuhp/0]"},"pid":{"type":"\u0005","value":15},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16","Fields":{"executable":{"type":"\u0007","value":"[cpuhp/1]"},"pid":{"type":"\u0005","value":16},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16206","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:1-cgroup_pidlist_destroy]"},"pid":{"type":"\u0005","value":16206},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16211","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-timesyncd"},"pid":{"type":"\u0005","value":16211},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16220","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-udevd"},"pid":{"type":"\u0005","value":16220},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16229","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-journald"},"pid":{"type":"\u0005","value":16229},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16233","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-logind"},"pid":{"type":"\u0005","value":16233},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16251","Fields":{"executable":{"type":"\u0007","value":"[kworker/u4:4-flush-253:0]"},"pid":{"type":"\u0005","value":16251},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1628","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1628},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16314","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-networkd"},"pid":{"type":"\u0005","value":16314},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16317","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-resolved"},"pid":{"type":"\u0005","value":16317},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1638","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1638},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1670","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1670},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"17","Fields":{"executable":{"type":"\u0007","value":"[migration/1]"},"pid":{"type":"\u0005","value":17},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1702","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1702},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1708","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":1708},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1723","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":1723},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1743","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":1743},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1754","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":1754},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"18","Fields":{"executable":{"type":"\u0007","value":"[ksoftirqd/1]"},"pid":{"type":"\u0005","value":18},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1803","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1803},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1823","Fields":{"executable":{"type":"\u0007","value":"kube-controller-manager"},"pid":{"type":"\u0005","value":1823},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1850","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1850},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1871","Fields":{"executable":{"type":"\u0007","value":"kube-apiserver"},"pid":{"type":"\u0005","value":1871},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1886","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1886},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1921","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1921},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1936","Fields":{"executable":{"type":"\u0007","value":"etcd"},"pid":{"type":"\u0005","value":1936},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1953","Fields":{"executable":{"type":"\u0007","value":"kube-scheduler"},"pid":{"type":"\u0005","value":1953},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"2","Fields":{"executable":{"type":"\u0007","value":"[kthreadd]"},"pid":{"type":"\u0005","value":2},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"20","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:0H-events_highpri]"},"pid":{"type":"\u0005","value":20},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"21","Fields":{"executable":{"type":"\u0007","value":"[kdevtmpfs]"},"pid":{"type":"\u0005","value":21},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"22","Fields":{"executable":{"type":"\u0007","value":"[netns]"},"pid":{"type":"\u0005","value":22},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"221","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/acpid"},"pid":{"type":"\u0005","value":221},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"222","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/dbus-daemon"},"pid":{"type":"\u0005","value":222},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"25","Fields":{"executable":{"type":"\u0007","value":"[writeback]"},"pid":{"type":"\u0005","value":25},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"26","Fields":{"executable":{"type":"\u0007","value":"[kcompactd0]"},"pid":{"type":"\u0005","value":26},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"27","Fields":{"executable":{"type":"\u0007","value":"[khugepaged]"},"pid":{"type":"\u0005","value":27},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"292","Fields":{"executable":{"type":"\u0007","value":"[jbd2/vda1-8]"},"pid":{"type":"\u0005","value":292},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"293","Fields":{"executable":{"type":"\u0007","value":"[ext4-rsv-conver]"},"pid":{"type":"\u0005","value":293},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3","Fields":{"executable":{"type":"\u0007","value":"[rcu_gp]"},"pid":{"type":"\u0005","value":3},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3166","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3166},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3186","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3186},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3208","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3208},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3228","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3228},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3242","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3242},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3264","Fields":{"executable":{"type":"\u0007","value":"/usr/local/bin/kube-proxy"},"pid":{"type":"\u0005","value":3264},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3391","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3391},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"341","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":341},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3411","Fields":{"executable":{"type":"\u0007","value":"/storage-provisioner"},"pid":{"type":"\u0005","value":3411},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3438","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3438},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3459","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3459},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3529","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3529},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3551","Fields":{"executable":{"type":"\u0007","value":"/coredns"},"pid":{"type":"\u0005","value":3551},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"380","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpc.statd"},"pid":{"type":"\u0005","value":380},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"386","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpcbind"},"pid":{"type":"\u0005","value":386},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"387","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpc.mountd"},"pid":{"type":"\u0005","value":387},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"393","Fields":{"executable":{"type":"\u0007","value":"[kworker/u5:1-xprtiod]"},"pid":{"type":"\u0005","value":393},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"394","Fields":{"executable":{"type":"\u0007","value":"[lockd]"},"pid":{"type":"\u0005","value":394},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"4","Fields":{"executable":{"type":"\u0007","value":"[rcu_par_gp]"},"pid":{"type":"\u0005","value":4},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"41","Fields":{"executable":{"type":"\u0007","value":"[cryptd]"},"pid":{"type":"\u0005","value":41},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"434","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":434},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"435","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":435},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"436","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":436},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"437","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":437},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"438","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":438},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"439","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":439},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"440","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":440},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"441","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":441},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"53","Fields":{"executable":{"type":"\u0007","value":"[kblockd]"},"pid":{"type":"\u0005","value":53},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"54","Fields":{"executable":{"type":"\u0007","value":"[blkcg_punt_bio]"},"pid":{"type":"\u0005","value":54},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"55","Fields":{"executable":{"type":"\u0007","value":"[ata_sff]"},"pid":{"type":"\u0005","value":55},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"55460","Fields":{"executable":{"type":"\u0007","value":"[kworker/u4:0-flush-253:0]"},"pid":{"type":"\u0005","value":55460},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"56","Fields":{"executable":{"type":"\u0007","value":"[md]"},"pid":{"type":"\u0005","value":56},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"57","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:1H-kblockd]"},"pid":{"type":"\u0005","value":57},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"57503","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:0-events_power_efficient]"},"pid":{"type":"\u0005","value":57503},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"57741","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:1-events_power_efficient]"},"pid":{"type":"\u0005","value":57741},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"57742","Fields":{"command":{"type":"\u0007","value":"/var/lib/minikube/binaries/v1.28.3/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --config=/var/lib/kubelet/config.yaml --container-runtime-endpoint=unix:///var/run/cri-dockerd.sock --hostname-override=minikube --kubeconfig=/etc/kubernetes/kubelet.conf --node-ip=192.168.39.137 --runtime-request-timeout=7m"},"executable":{"type":"\u0007","value":"/var/lib/minikube/binaries/v1.28.3/kubelet"},"flags":{"type":"\u001a\u0007\u0007","value":{"bootstrap-kubeconfig":"/etc/kubernetes/bootstrap-kubelet.conf","config":"/var/lib/kubelet/config.yaml","container-runtime-endpoint":"unix:///var/run/cri-dockerd.sock","hostname-override":"minikube","kubeconfig":"/etc/kubernetes/kubelet.conf","node-ip":"192.168.39.137","runtime-request-timeout":"7m"}},"pid":{"type":"\u0005","value":57742},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"58","Fields":{"executable":{"type":"\u0007","value":"[rpciod]"},"pid":{"type":"\u0005","value":58},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"59","Fields":{"executable":{"type":"\u0007","value":"[kworker/u5:0-xprtiod]"},"pid":{"type":"\u0005","value":59},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"6","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:0H-events_highpri]"},"pid":{"type":"\u0005","value":6},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"60","Fields":{"executable":{"type":"\u0007","value":"[xprtiod]"},"pid":{"type":"\u0005","value":60},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61","Fields":{"executable":{"type":"\u0007","value":"[cfg80211]"},"pid":{"type":"\u0005","value":61},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61098","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":61098},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61100","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":61100},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61104","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":61104},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61111","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":61111},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61113","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":61113},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61116","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":61116},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61117","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":61117},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61118","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":61118},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61188","Fields":{"executable":{"type":"\u0007","value":"ps"},"pid":{"type":"\u0005","value":61188},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"63","Fields":{"executable":{"type":"\u0007","value":"[kswapd0]"},"pid":{"type":"\u0005","value":63},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"64","Fields":{"executable":{"type":"\u0007","value":"[nfsiod]"},"pid":{"type":"\u0005","value":64},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"65","Fields":{"executable":{"type":"\u0007","value":"[cifsiod]"},"pid":{"type":"\u0005","value":65},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"66","Fields":{"executable":{"type":"\u0007","value":"[smb3decryptd]"},"pid":{"type":"\u0005","value":66},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"67","Fields":{"executable":{"type":"\u0007","value":"[cifsfileinfoput]"},"pid":{"type":"\u0005","value":67},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"68","Fields":{"executable":{"type":"\u0007","value":"[cifsoplockd]"},"pid":{"type":"\u0005","value":68},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"69","Fields":{"executable":{"type":"\u0007","value":"[xfsalloc]"},"pid":{"type":"\u0005","value":69},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"70","Fields":{"executable":{"type":"\u0007","value":"[xfs_mru_cache]"},"pid":{"type":"\u0005","value":70},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"72","Fields":{"executable":{"type":"\u0007","value":"[acpi_thermal_pm]"},"pid":{"type":"\u0005","value":72},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"74","Fields":{"executable":{"type":"\u0007","value":"[hwrng]"},"pid":{"type":"\u0005","value":74},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"75","Fields":{"executable":{"type":"\u0007","value":"[scsi_eh_0]"},"pid":{"type":"\u0005","value":75},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"76","Fields":{"executable":{"type":"\u0007","value":"[scsi_tmf_0]"},"pid":{"type":"\u0005","value":76},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"77","Fields":{"executable":{"type":"\u0007","value":"[scsi_eh_1]"},"pid":{"type":"\u0005","value":77},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"78","Fields":{"executable":{"type":"\u0007","value":"[scsi_tmf_1]"},"pid":{"type":"\u0005","value":78},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"81","Fields":{"executable":{"type":"\u0007","value":"[dm_bufio_cache]"},"pid":{"type":"\u0005","value":81},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"82","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:1H-kblockd]"},"pid":{"type":"\u0005","value":82},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"83","Fields":{"executable":{"type":"\u0007","value":"[ipv6_addrconf]"},"pid":{"type":"\u0005","value":83},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"84","Fields":{"executable":{"type":"\u0007","value":"[ceph-msgr]"},"pid":{"type":"\u0005","value":84},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"9","Fields":{"executable":{"type":"\u0007","value":"[mm_percpu_wq]"},"pid":{"type":"\u0005","value":9},"state":{"type":"\u0007","value":""}}},{"Resource":"processes","ID":"","Fields":{"list":{"type":"\u0019\u001bprocess","value":[{"Name":"process","ID":"1"},{"Name":"process","ID":"2"},{"Name":"process","ID":"3"},{"Name":"process","ID":"4"},{"Name":"process","ID":"6"},{"Name":"process","ID":"9"},{"Name":"process","ID":"10"},{"Name":"process","ID":"11"},{"Name":"process","ID":"12"},{"Name":"process","ID":"13"},{"Name":"process","ID":"14"},{"Name":"process","ID":"15"},{"Name":"process","ID":"16"},{"Name":"process","ID":"17"},{"Name":"process","ID":"18"},{"Name":"process","ID":"20"},{"Name":"process","ID":"21"},{"Name":"process","ID":"22"},{"Name":"process","ID":"23"},{"Name":"process","ID":"24"},{"Name":"process","ID":"25"},{"Name":"process","ID":"26"},{"Name":"process","ID":"27"},{"Name":"process","ID":"41"},{"Name":"process","ID":"53"},{"Name":"process","ID":"54"},{"Name":"process","ID":"55"},{"Name":"process","ID":"56"},{"Name":"process","ID":"57"},{"Name":"process","ID":"58"},{"Name":"process","ID":"59"},{"Name":"process","ID":"60"},{"Name":"process","ID":"61"},{"Name":"process","ID":"63"},{"Name":"process","ID":"64"},{"Name":"process","ID":"65"},{"Name":"process","ID":"66"},{"Name":"process","ID":"67"},{"Name":"process","ID":"68"},{"Name":"process","ID":"69"},{"Name":"process","ID":"70"},{"Name":"process","ID":"72"},{"Name":"process","ID":"74"},{"Name":"process","ID":"75"},{"Name":"process","ID":"76"},{"Name":"process","ID":"77"},{"Name":"process","ID":"78"},{"Name":"process","ID":"81"},{"Name":"process","ID":"82"},{"Name":"process","ID":"83"},{"Name":"process","ID":"84"},{"Name":"process","ID":"221"},{"Name":"process","ID":"222"},{"Name":"process","ID":"224"},{"Name":"process","ID":"232"},{"Name":"process","ID":"292"},{"Name":"process","ID":"293"},{"Name":"process","ID":"341"},{"Name":"process","ID":"380"},{"Name":"process","ID":"386"},{"Name":"process","ID":"387"},{"Name":"process","ID":"393"},{"Name":"process","ID":"394"},{"Name":"process","ID":"434"},{"Name":"process","ID":"435"},{"Name":"process","ID":"436"},{"Name":"process","ID":"437"},{"Name":"process","ID":"438"},{"Name":"process","ID":"439"},{"Name":"process","ID":"440"},{"Name":"process","ID":"441"},{"Name":"process","ID":"1011"},{"Name":"process","ID":"1116"},{"Name":"process","ID":"1122"},{"Name":"process","ID":"1628"},{"Name":"process","ID":"1638"},{"Name":"process","ID":"1670"},{"Name":"process","ID":"1702"},{"Name":"process","ID":"1708"},{"Name":"process","ID":"1723"},{"Name":"process","ID":"1743"},{"Name":"process","ID":"1754"},{"Name":"process","ID":"1803"},{"Name":"process","ID":"1823"},{"Name":"process","ID":"1850"},{"Name":"process","ID":"1871"},{"Name":"process","ID":"1886"},{"Name":"process","ID":"1921"},{"Name":"process","ID":"1936"},{"Name":"process","ID":"1953"},{"Name":"process","ID":"3166"},{"Name":"process","ID":"3186"},{"Name":"process","ID":"3208"},{"Name":"process","ID":"3228"},{"Name":"process","ID":"3242"},{"Name":"process","ID":"3264"},{"Name":"process","ID":"3391"},{"Name":"process","ID":"3411"},{"Name":"process","ID":"3438"},{"Name":"process","ID":"3459"},{"Name":"process","ID":"3529"},{"Name":"process","ID":"3551"},{"Name":"process","ID":"11504"},{"Name":"process","ID":"16206"},{"Name":"process","ID":"16211"},{"Name":"process","ID":"16220"},{"Name":"process","ID":"16229"},{"Name":"process","ID":"16233"},{"Name":"process","ID":"16251"},{"Name":"process","ID":"16314"},{"Name":"process","ID":"16317"},{"Name":"process","ID":"55460"},{"Name":"process","ID":"57503"},{"Name":"process","ID":"57741"},{"Name":"process","ID":"57742"},{"Name":"process","ID":"61098"},{"Name":"process","ID":"61100"},{"Name":"process","ID":"61104"},{"Name":"process","ID":"61111"},{"Name":"process","ID":"61113"},{"Name":"process","ID":"61116"},{"Name":"process","ID":"61117"},{"Name":"process","ID":"61118"},{"Name":"process","ID":"61188"}]}}},{"Resource":"user","ID":"user/0/root","Fields":{"gid":{"type":"\u0005","value":0},"name":{"type":"\u0007","value":"root"},"uid":{"type":"\u0005","value":0}}}]}]} \ No newline at end of file +{"assets":[{"asset":{"id":"Buildroot 2021.02.12","platformIDs":["//platformid.api.mondoo.app/hostname/minikube","//platformid.api.mondoo.app/runtime/ssh/hostkey/SHA256-9GHnVr3zGaRkwyvFET6LOu0zq3k3j89XH/Xwb6r/vlI"],"name":"buildroot","arch":"x86_64","title":"Buildroot 2021.02.12","family":["linux","unix","os"],"version":"2021.02.12","kind":"baremetal","labels":{"distro-id":"buildroot"}},"connections":[{"url":"ssh://192.168.39.137","provider":"go.mondoo.com/cnquery/v10/providers/os","connector":"ssh","version":""}],"resources":[{"Resource":"file","ID":"/var/lib/kubelet/config.yaml","Fields":{"basename":{"type":"\u0007","value":"config.yaml"},"content":{"type":"\u0007","value":"apiVersion: kubelet.config.k8s.io/v1beta1\nauthentication:\n anonymous:\n enabled: false\n webhook:\n cacheTTL: 0s\n enabled: true\n x509:\n clientCAFile: /var/lib/minikube/certs/ca.crt\nauthorization:\n mode: Webhook\n webhook:\n cacheAuthorizedTTL: 0s\n cacheUnauthorizedTTL: 0s\ncgroupDriver: cgroupfs\nclusterDNS:\n- 10.96.0.10\nclusterDomain: cluster.local\ncontainerRuntimeEndpoint: \"\"\ncpuManagerReconcilePeriod: 0s\nevictionHard:\n imagefs.available: 0%\n nodefs.available: 0%\n nodefs.inodesFree: 0%\nevictionPressureTransitionPeriod: 0s\nfailSwapOn: false\nfileCheckFrequency: 0s\nhairpinMode: hairpin-veth\nhealthzBindAddress: 127.0.0.1\nhealthzPort: 10248\nhttpCheckFrequency: 0s\nimageGCHighThresholdPercent: 100\nimageMinimumGCAge: 0s\nkind: KubeletConfiguration\nlogging:\n flushFrequency: 0\n options:\n json:\n infoBufferSize: \"0\"\n verbosity: 0\nmemorySwap: {}\nnodeStatusReportFrequency: 0s\nnodeStatusUpdateFrequency: 0s\nresolvConf: /run/systemd/resolve/resolv.conf\nrotateCertificates: true\nruntimeRequestTimeout: 15m0s\nshutdownGracePeriod: 0s\nshutdownGracePeriodCriticalPods: 0s\nstaticPodPath: /etc/kubernetes/manifests\nstreamingConnectionIdleTimeout: 0s\nsyncFrequency: 0s\nvolumeStatsAggPeriod: 0s\n"},"dirname":{"type":"\u0007","value":"/var/lib/kubelet"},"empty":{"type":"\u0004","value":false},"exists":{"type":"\u0004","value":true},"group":{"type":"\u001bgroup","value":{"Name":"group","ID":"group/0/root"}},"path":{"type":"\u0007","value":"/var/lib/kubelet/config.yaml"},"permissions":{"type":"\u001bfile.permissions","value":{"Name":"file.permissions","ID":"-rw-r--r--"}},"size":{"type":"\u0005","value":1214},"user":{"type":"\u001buser","value":{"Name":"user","ID":"user/0/root"}}}},{"Resource":"file.permissions","ID":"-rw-r--r--","Fields":{"string":{"type":"\u0007","value":"-rw-r--r--"}}},{"Resource":"group","ID":"group/0/root","Fields":{"gid":{"type":"\u0005","value":0},"name":{"type":"\u0007","value":"root"}}},{"Resource":"kubelet","ID":"","Fields":{"configFile":{"type":"\u001bfile","value":{"Name":"file","ID":"/var/lib/kubelet/config.yaml"}},"process":{"type":"\u001bprocess","value":{"Name":"process","ID":"57742"}}}},{"Resource":"process","ID":"1","Fields":{"executable":{"type":"\u0007","value":"/sbin/init"},"pid":{"type":"\u0005","value":1},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"10","Fields":{"executable":{"type":"\u0007","value":"[rcu_tasks_rude_]"},"pid":{"type":"\u0005","value":10},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1011","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/cri-dockerd"},"pid":{"type":"\u0005","value":1011},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"11","Fields":{"executable":{"type":"\u0007","value":"[rcu_tasks_trace]"},"pid":{"type":"\u0005","value":11},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1116","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/dockerd"},"pid":{"type":"\u0005","value":1116},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1122","Fields":{"executable":{"type":"\u0007","value":"containerd"},"pid":{"type":"\u0005","value":1122},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"11504","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:0-cgroup_pidlist_destroy]"},"pid":{"type":"\u0005","value":11504},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"12","Fields":{"executable":{"type":"\u0007","value":"[ksoftirqd/0]"},"pid":{"type":"\u0005","value":12},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"13","Fields":{"executable":{"type":"\u0007","value":"[rcu_sched]"},"pid":{"type":"\u0005","value":13},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"14","Fields":{"executable":{"type":"\u0007","value":"[migration/0]"},"pid":{"type":"\u0005","value":14},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"15","Fields":{"executable":{"type":"\u0007","value":"[cpuhp/0]"},"pid":{"type":"\u0005","value":15},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16","Fields":{"executable":{"type":"\u0007","value":"[cpuhp/1]"},"pid":{"type":"\u0005","value":16},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16206","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:1-cgroup_pidlist_destroy]"},"pid":{"type":"\u0005","value":16206},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16211","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-timesyncd"},"pid":{"type":"\u0005","value":16211},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16220","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-udevd"},"pid":{"type":"\u0005","value":16220},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16229","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-journald"},"pid":{"type":"\u0005","value":16229},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16233","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-logind"},"pid":{"type":"\u0005","value":16233},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16251","Fields":{"executable":{"type":"\u0007","value":"[kworker/u4:4-flush-253:0]"},"pid":{"type":"\u0005","value":16251},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1628","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1628},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16314","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-networkd"},"pid":{"type":"\u0005","value":16314},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"16317","Fields":{"executable":{"type":"\u0007","value":"/usr/lib/systemd/systemd-resolved"},"pid":{"type":"\u0005","value":16317},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1638","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1638},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1670","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1670},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"17","Fields":{"executable":{"type":"\u0007","value":"[migration/1]"},"pid":{"type":"\u0005","value":17},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1702","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1702},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1708","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":1708},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1723","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":1723},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1743","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":1743},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1754","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":1754},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"18","Fields":{"executable":{"type":"\u0007","value":"[ksoftirqd/1]"},"pid":{"type":"\u0005","value":18},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1803","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1803},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1823","Fields":{"executable":{"type":"\u0007","value":"kube-controller-manager"},"pid":{"type":"\u0005","value":1823},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1850","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1850},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1871","Fields":{"executable":{"type":"\u0007","value":"kube-apiserver"},"pid":{"type":"\u0005","value":1871},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1886","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1886},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1921","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":1921},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1936","Fields":{"executable":{"type":"\u0007","value":"etcd"},"pid":{"type":"\u0005","value":1936},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"1953","Fields":{"executable":{"type":"\u0007","value":"kube-scheduler"},"pid":{"type":"\u0005","value":1953},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"2","Fields":{"executable":{"type":"\u0007","value":"[kthreadd]"},"pid":{"type":"\u0005","value":2},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"20","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:0H-events_highpri]"},"pid":{"type":"\u0005","value":20},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"21","Fields":{"executable":{"type":"\u0007","value":"[kdevtmpfs]"},"pid":{"type":"\u0005","value":21},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"22","Fields":{"executable":{"type":"\u0007","value":"[netns]"},"pid":{"type":"\u0005","value":22},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"221","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/acpid"},"pid":{"type":"\u0005","value":221},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"222","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/dbus-daemon"},"pid":{"type":"\u0005","value":222},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"25","Fields":{"executable":{"type":"\u0007","value":"[writeback]"},"pid":{"type":"\u0005","value":25},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"26","Fields":{"executable":{"type":"\u0007","value":"[kcompactd0]"},"pid":{"type":"\u0005","value":26},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"27","Fields":{"executable":{"type":"\u0007","value":"[khugepaged]"},"pid":{"type":"\u0005","value":27},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"292","Fields":{"executable":{"type":"\u0007","value":"[jbd2/vda1-8]"},"pid":{"type":"\u0005","value":292},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"293","Fields":{"executable":{"type":"\u0007","value":"[ext4-rsv-conver]"},"pid":{"type":"\u0005","value":293},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3","Fields":{"executable":{"type":"\u0007","value":"[rcu_gp]"},"pid":{"type":"\u0005","value":3},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3166","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3166},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3186","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3186},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3208","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3208},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3228","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3228},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3242","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3242},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3264","Fields":{"executable":{"type":"\u0007","value":"/usr/local/bin/kube-proxy"},"pid":{"type":"\u0005","value":3264},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3391","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3391},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"341","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":341},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3411","Fields":{"executable":{"type":"\u0007","value":"/storage-provisioner"},"pid":{"type":"\u0005","value":3411},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3438","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3438},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3459","Fields":{"executable":{"type":"\u0007","value":"/pause"},"pid":{"type":"\u0005","value":3459},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3529","Fields":{"executable":{"type":"\u0007","value":"/usr/bin/containerd-shim-runc-v2"},"pid":{"type":"\u0005","value":3529},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"3551","Fields":{"executable":{"type":"\u0007","value":"/coredns"},"pid":{"type":"\u0005","value":3551},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"380","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpc.statd"},"pid":{"type":"\u0005","value":380},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"386","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpcbind"},"pid":{"type":"\u0005","value":386},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"387","Fields":{"executable":{"type":"\u0007","value":"/usr/sbin/rpc.mountd"},"pid":{"type":"\u0005","value":387},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"393","Fields":{"executable":{"type":"\u0007","value":"[kworker/u5:1-xprtiod]"},"pid":{"type":"\u0005","value":393},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"394","Fields":{"executable":{"type":"\u0007","value":"[lockd]"},"pid":{"type":"\u0005","value":394},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"4","Fields":{"executable":{"type":"\u0007","value":"[rcu_par_gp]"},"pid":{"type":"\u0005","value":4},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"41","Fields":{"executable":{"type":"\u0007","value":"[cryptd]"},"pid":{"type":"\u0005","value":41},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"434","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":434},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"435","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":435},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"436","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":436},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"437","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":437},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"438","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":438},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"439","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":439},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"440","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":440},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"441","Fields":{"executable":{"type":"\u0007","value":"[nfsd]"},"pid":{"type":"\u0005","value":441},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"53","Fields":{"executable":{"type":"\u0007","value":"[kblockd]"},"pid":{"type":"\u0005","value":53},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"54","Fields":{"executable":{"type":"\u0007","value":"[blkcg_punt_bio]"},"pid":{"type":"\u0005","value":54},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"55","Fields":{"executable":{"type":"\u0007","value":"[ata_sff]"},"pid":{"type":"\u0005","value":55},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"55460","Fields":{"executable":{"type":"\u0007","value":"[kworker/u4:0-flush-253:0]"},"pid":{"type":"\u0005","value":55460},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"56","Fields":{"executable":{"type":"\u0007","value":"[md]"},"pid":{"type":"\u0005","value":56},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"57","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:1H-kblockd]"},"pid":{"type":"\u0005","value":57},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"57503","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:0-events_power_efficient]"},"pid":{"type":"\u0005","value":57503},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"57741","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:1-events_power_efficient]"},"pid":{"type":"\u0005","value":57741},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"57742","Fields":{"command":{"type":"\u0007","value":"/var/lib/minikube/binaries/v1.28.3/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --config=/var/lib/kubelet/config.yaml --container-runtime-endpoint=unix:///var/run/cri-dockerd.sock --hostname-override=minikube --kubeconfig=/etc/kubernetes/kubelet.conf --node-ip=192.168.39.137 --runtime-request-timeout=7m"},"executable":{"type":"\u0007","value":"/var/lib/minikube/binaries/v1.28.3/kubelet"},"flags":{"type":"\u001a\u0007\u0007","value":{"bootstrap-kubeconfig":"/etc/kubernetes/bootstrap-kubelet.conf","config":"/var/lib/kubelet/config.yaml","container-runtime-endpoint":"unix:///var/run/cri-dockerd.sock","hostname-override":"minikube","kubeconfig":"/etc/kubernetes/kubelet.conf","node-ip":"192.168.39.137","runtime-request-timeout":"7m"}},"pid":{"type":"\u0005","value":57742},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"58","Fields":{"executable":{"type":"\u0007","value":"[rpciod]"},"pid":{"type":"\u0005","value":58},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"59","Fields":{"executable":{"type":"\u0007","value":"[kworker/u5:0-xprtiod]"},"pid":{"type":"\u0005","value":59},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"6","Fields":{"executable":{"type":"\u0007","value":"[kworker/0:0H-events_highpri]"},"pid":{"type":"\u0005","value":6},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"60","Fields":{"executable":{"type":"\u0007","value":"[xprtiod]"},"pid":{"type":"\u0005","value":60},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61","Fields":{"executable":{"type":"\u0007","value":"[cfg80211]"},"pid":{"type":"\u0005","value":61},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61098","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":61098},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61100","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":61100},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61104","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":61104},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61111","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":61111},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61113","Fields":{"executable":{"type":"\u0007","value":"sshd:"},"pid":{"type":"\u0005","value":61113},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61116","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":61116},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61117","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":61117},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61118","Fields":{"executable":{"type":"\u0007","value":"/usr/libexec/sftp-server"},"pid":{"type":"\u0005","value":61118},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"61188","Fields":{"executable":{"type":"\u0007","value":"ps"},"pid":{"type":"\u0005","value":61188},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"63","Fields":{"executable":{"type":"\u0007","value":"[kswapd0]"},"pid":{"type":"\u0005","value":63},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"64","Fields":{"executable":{"type":"\u0007","value":"[nfsiod]"},"pid":{"type":"\u0005","value":64},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"65","Fields":{"executable":{"type":"\u0007","value":"[cifsiod]"},"pid":{"type":"\u0005","value":65},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"66","Fields":{"executable":{"type":"\u0007","value":"[smb3decryptd]"},"pid":{"type":"\u0005","value":66},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"67","Fields":{"executable":{"type":"\u0007","value":"[cifsfileinfoput]"},"pid":{"type":"\u0005","value":67},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"68","Fields":{"executable":{"type":"\u0007","value":"[cifsoplockd]"},"pid":{"type":"\u0005","value":68},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"69","Fields":{"executable":{"type":"\u0007","value":"[xfsalloc]"},"pid":{"type":"\u0005","value":69},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"70","Fields":{"executable":{"type":"\u0007","value":"[xfs_mru_cache]"},"pid":{"type":"\u0005","value":70},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"72","Fields":{"executable":{"type":"\u0007","value":"[acpi_thermal_pm]"},"pid":{"type":"\u0005","value":72},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"74","Fields":{"executable":{"type":"\u0007","value":"[hwrng]"},"pid":{"type":"\u0005","value":74},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"75","Fields":{"executable":{"type":"\u0007","value":"[scsi_eh_0]"},"pid":{"type":"\u0005","value":75},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"76","Fields":{"executable":{"type":"\u0007","value":"[scsi_tmf_0]"},"pid":{"type":"\u0005","value":76},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"77","Fields":{"executable":{"type":"\u0007","value":"[scsi_eh_1]"},"pid":{"type":"\u0005","value":77},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"78","Fields":{"executable":{"type":"\u0007","value":"[scsi_tmf_1]"},"pid":{"type":"\u0005","value":78},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"81","Fields":{"executable":{"type":"\u0007","value":"[dm_bufio_cache]"},"pid":{"type":"\u0005","value":81},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"82","Fields":{"executable":{"type":"\u0007","value":"[kworker/1:1H-kblockd]"},"pid":{"type":"\u0005","value":82},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"83","Fields":{"executable":{"type":"\u0007","value":"[ipv6_addrconf]"},"pid":{"type":"\u0005","value":83},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"84","Fields":{"executable":{"type":"\u0007","value":"[ceph-msgr]"},"pid":{"type":"\u0005","value":84},"state":{"type":"\u0007","value":""}}},{"Resource":"process","ID":"9","Fields":{"executable":{"type":"\u0007","value":"[mm_percpu_wq]"},"pid":{"type":"\u0005","value":9},"state":{"type":"\u0007","value":""}}},{"Resource":"processes","ID":"","Fields":{"list":{"type":"\u0019\u001bprocess","value":[{"Name":"process","ID":"1"},{"Name":"process","ID":"2"},{"Name":"process","ID":"3"},{"Name":"process","ID":"4"},{"Name":"process","ID":"6"},{"Name":"process","ID":"9"},{"Name":"process","ID":"10"},{"Name":"process","ID":"11"},{"Name":"process","ID":"12"},{"Name":"process","ID":"13"},{"Name":"process","ID":"14"},{"Name":"process","ID":"15"},{"Name":"process","ID":"16"},{"Name":"process","ID":"17"},{"Name":"process","ID":"18"},{"Name":"process","ID":"20"},{"Name":"process","ID":"21"},{"Name":"process","ID":"22"},{"Name":"process","ID":"23"},{"Name":"process","ID":"24"},{"Name":"process","ID":"25"},{"Name":"process","ID":"26"},{"Name":"process","ID":"27"},{"Name":"process","ID":"41"},{"Name":"process","ID":"53"},{"Name":"process","ID":"54"},{"Name":"process","ID":"55"},{"Name":"process","ID":"56"},{"Name":"process","ID":"57"},{"Name":"process","ID":"58"},{"Name":"process","ID":"59"},{"Name":"process","ID":"60"},{"Name":"process","ID":"61"},{"Name":"process","ID":"63"},{"Name":"process","ID":"64"},{"Name":"process","ID":"65"},{"Name":"process","ID":"66"},{"Name":"process","ID":"67"},{"Name":"process","ID":"68"},{"Name":"process","ID":"69"},{"Name":"process","ID":"70"},{"Name":"process","ID":"72"},{"Name":"process","ID":"74"},{"Name":"process","ID":"75"},{"Name":"process","ID":"76"},{"Name":"process","ID":"77"},{"Name":"process","ID":"78"},{"Name":"process","ID":"81"},{"Name":"process","ID":"82"},{"Name":"process","ID":"83"},{"Name":"process","ID":"84"},{"Name":"process","ID":"221"},{"Name":"process","ID":"222"},{"Name":"process","ID":"224"},{"Name":"process","ID":"232"},{"Name":"process","ID":"292"},{"Name":"process","ID":"293"},{"Name":"process","ID":"341"},{"Name":"process","ID":"380"},{"Name":"process","ID":"386"},{"Name":"process","ID":"387"},{"Name":"process","ID":"393"},{"Name":"process","ID":"394"},{"Name":"process","ID":"434"},{"Name":"process","ID":"435"},{"Name":"process","ID":"436"},{"Name":"process","ID":"437"},{"Name":"process","ID":"438"},{"Name":"process","ID":"439"},{"Name":"process","ID":"440"},{"Name":"process","ID":"441"},{"Name":"process","ID":"1011"},{"Name":"process","ID":"1116"},{"Name":"process","ID":"1122"},{"Name":"process","ID":"1628"},{"Name":"process","ID":"1638"},{"Name":"process","ID":"1670"},{"Name":"process","ID":"1702"},{"Name":"process","ID":"1708"},{"Name":"process","ID":"1723"},{"Name":"process","ID":"1743"},{"Name":"process","ID":"1754"},{"Name":"process","ID":"1803"},{"Name":"process","ID":"1823"},{"Name":"process","ID":"1850"},{"Name":"process","ID":"1871"},{"Name":"process","ID":"1886"},{"Name":"process","ID":"1921"},{"Name":"process","ID":"1936"},{"Name":"process","ID":"1953"},{"Name":"process","ID":"3166"},{"Name":"process","ID":"3186"},{"Name":"process","ID":"3208"},{"Name":"process","ID":"3228"},{"Name":"process","ID":"3242"},{"Name":"process","ID":"3264"},{"Name":"process","ID":"3391"},{"Name":"process","ID":"3411"},{"Name":"process","ID":"3438"},{"Name":"process","ID":"3459"},{"Name":"process","ID":"3529"},{"Name":"process","ID":"3551"},{"Name":"process","ID":"11504"},{"Name":"process","ID":"16206"},{"Name":"process","ID":"16211"},{"Name":"process","ID":"16220"},{"Name":"process","ID":"16229"},{"Name":"process","ID":"16233"},{"Name":"process","ID":"16251"},{"Name":"process","ID":"16314"},{"Name":"process","ID":"16317"},{"Name":"process","ID":"55460"},{"Name":"process","ID":"57503"},{"Name":"process","ID":"57741"},{"Name":"process","ID":"57742"},{"Name":"process","ID":"61098"},{"Name":"process","ID":"61100"},{"Name":"process","ID":"61104"},{"Name":"process","ID":"61111"},{"Name":"process","ID":"61113"},{"Name":"process","ID":"61116"},{"Name":"process","ID":"61117"},{"Name":"process","ID":"61118"},{"Name":"process","ID":"61188"}]}}},{"Resource":"user","ID":"user/0/root","Fields":{"gid":{"type":"\u0005","value":0},"name":{"type":"\u0007","value":"root"},"uid":{"type":"\u0005","value":0}}}]}]} \ No newline at end of file diff --git a/providers-sdk/v1/testutils/testutils.go b/providers-sdk/v1/testutils/testutils.go index 553e151f8d..f9cd82109d 100644 --- a/providers-sdk/v1/testutils/testutils.go +++ b/providers-sdk/v1/testutils/testutils.go @@ -16,21 +16,21 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/mql" - "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/lr" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/lr/docs" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils/mockprovider" - networkconf "go.mondoo.com/cnquery/v9/providers/network/config" - networkprovider "go.mondoo.com/cnquery/v9/providers/network/provider" - osconf "go.mondoo.com/cnquery/v9/providers/os/config" - osprovider "go.mondoo.com/cnquery/v9/providers/os/provider" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/mql" + "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/lr" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/lr/docs" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils/mockprovider" + networkconf "go.mondoo.com/cnquery/v10/providers/network/config" + networkprovider "go.mondoo.com/cnquery/v10/providers/network/provider" + osconf "go.mondoo.com/cnquery/v10/providers/os/config" + osprovider "go.mondoo.com/cnquery/v10/providers/os/provider" "sigs.k8s.io/yaml" ) diff --git a/providers-sdk/v1/upstream/gql/client.go b/providers-sdk/v1/upstream/gql/client.go index f03a0d317c..bcbeeb802a 100644 --- a/providers-sdk/v1/upstream/gql/client.go +++ b/providers-sdk/v1/upstream/gql/client.go @@ -7,7 +7,7 @@ import ( "encoding/json" "net/http" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream" mondoogql "go.mondoo.com/mondoo-go" "go.mondoo.com/mondoo-go/option" ) diff --git a/providers-sdk/v1/upstream/gql/conversion.go b/providers-sdk/v1/upstream/gql/conversion.go index bd69971749..7a17fefde7 100644 --- a/providers-sdk/v1/upstream/gql/conversion.go +++ b/providers-sdk/v1/upstream/gql/conversion.go @@ -3,7 +3,7 @@ package gql -import "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd" +import "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd" func ConvertToMvdVulnReport(vulnReport *VulnReport) *mvd.VulnReport { if vulnReport == nil { diff --git a/providers-sdk/v1/upstream/health/errors.go b/providers-sdk/v1/upstream/health/errors.go index e8705eb4d2..9a65a3b935 100644 --- a/providers-sdk/v1/upstream/health/errors.go +++ b/providers-sdk/v1/upstream/health/errors.go @@ -7,8 +7,8 @@ import ( "context" "fmt" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/cli/config" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream" + "go.mondoo.com/cnquery/v10/cli/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream" "go.mondoo.com/ranger-rpc" "runtime/debug" ) diff --git a/providers-sdk/v1/upstream/health/health.proto b/providers-sdk/v1/upstream/health/health.proto index bf85dc0fbf..553cca8da1 100644 --- a/providers-sdk/v1/upstream/health/health.proto +++ b/providers-sdk/v1/upstream/health/health.proto @@ -19,7 +19,7 @@ syntax = "proto3"; package mondoo.cnquery.health.v1; -option go_package = "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/health"; +option go_package = "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/health"; service Health { rpc Check(HealthCheckRequest) returns (HealthCheckResponse); diff --git a/providers-sdk/v1/upstream/mvd/cvss/cvss.proto b/providers-sdk/v1/upstream/mvd/cvss/cvss.proto index e83184b78a..5f35ac5979 100644 --- a/providers-sdk/v1/upstream/mvd/cvss/cvss.proto +++ b/providers-sdk/v1/upstream/mvd/cvss/cvss.proto @@ -6,7 +6,7 @@ syntax = "proto3"; package mondoo.mvd.cvss.v1; option go_package = - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd/cvss"; + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd/cvss"; message Cvss { string vector = 1; diff --git a/providers-sdk/v1/upstream/mvd/mvd.go b/providers-sdk/v1/upstream/mvd/mvd.go index 4dfded1e6a..e4ab2d0afb 100644 --- a/providers-sdk/v1/upstream/mvd/mvd.go +++ b/providers-sdk/v1/upstream/mvd/mvd.go @@ -3,7 +3,7 @@ package mvd -import "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" +import "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" //go:generate protoc --proto_path=../../../../:../:. --go_out=. --go_opt=paths=source_relative --rangerrpc_out=. mvd.proto diff --git a/providers-sdk/v1/upstream/mvd/mvd.pb.go b/providers-sdk/v1/upstream/mvd/mvd.pb.go index 6250d1286f..b40e8bfbd7 100644 --- a/providers-sdk/v1/upstream/mvd/mvd.pb.go +++ b/providers-sdk/v1/upstream/mvd/mvd.pb.go @@ -10,7 +10,7 @@ package mvd import ( - cvss "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd/cvss" + cvss "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd/cvss" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/providers-sdk/v1/upstream/mvd/mvd.proto b/providers-sdk/v1/upstream/mvd/mvd.proto index ccb3738149..b4e911ed6b 100644 --- a/providers-sdk/v1/upstream/mvd/mvd.proto +++ b/providers-sdk/v1/upstream/mvd/mvd.proto @@ -8,7 +8,7 @@ package mondoo.mvd.v1; import "providers-sdk/v1/upstream/mvd/cvss/cvss.proto"; option go_package = - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd"; + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd"; message Platform { string name = 1; diff --git a/providers-sdk/v1/upstream/sts.go b/providers-sdk/v1/upstream/sts.go index d07a78b2b5..1a95d48bb5 100644 --- a/providers-sdk/v1/upstream/sts.go +++ b/providers-sdk/v1/upstream/sts.go @@ -11,7 +11,7 @@ import ( "net/url" "time" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/signers" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/signers" "go.mondoo.com/ranger-rpc" "golang.org/x/crypto/ssh" ) diff --git a/providers-sdk/v1/upstream/upstream.go b/providers-sdk/v1/upstream/upstream.go index 256265bba5..dd46f89f26 100644 --- a/providers-sdk/v1/upstream/upstream.go +++ b/providers-sdk/v1/upstream/upstream.go @@ -9,7 +9,7 @@ import ( "net/url" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/utils/multierr" "go.mondoo.com/ranger-rpc" guard_cert_auth "go.mondoo.com/ranger-rpc/plugins/authentication/cert" "go.mondoo.com/ranger-rpc/plugins/rangerguard/crypto" diff --git a/providers-sdk/v1/upstream/upstream.proto b/providers-sdk/v1/upstream/upstream.proto index 9366c8136d..21f8b43f95 100644 --- a/providers-sdk/v1/upstream/upstream.proto +++ b/providers-sdk/v1/upstream/upstream.proto @@ -4,7 +4,7 @@ syntax = "proto3"; package mondoo.cnquery.upstream.v1; -option go_package = "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream"; +option go_package = "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream"; message UpstreamConfig { string asset_mrn = 1; diff --git a/providers-sdk/v1/util/configure/configure.go b/providers-sdk/v1/util/configure/configure.go index 8bf961af88..48b13a27eb 100644 --- a/providers-sdk/v1/util/configure/configure.go +++ b/providers-sdk/v1/util/configure/configure.go @@ -16,7 +16,7 @@ import ( "github.com/rs/zerolog" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "go.mondoo.com/cnquery/v9/logger" + "go.mondoo.com/cnquery/v10/logger" "sigs.k8s.io/yaml" ) @@ -74,8 +74,8 @@ func genBuiltinGo(conf ProvidersConf) ([]byte, error) { for _, provider := range conf.Builtin { // imports cannot contain dashes trimProvider := strings.Replace(provider, "-", "", -1) - imports += fmt.Sprintf("\t%sconf \"go.mondoo.com/cnquery/v9/providers/%s/config\"\n", trimProvider, provider) - imports += fmt.Sprintf("\t%s \"go.mondoo.com/cnquery/v9/providers/%s/provider\"\n", trimProvider, provider) + imports += fmt.Sprintf("\t%sconf \"go.mondoo.com/cnquery/v10/providers/%s/config\"\n", trimProvider, provider) + imports += fmt.Sprintf("\t%s \"go.mondoo.com/cnquery/v10/providers/%s/provider\"\n", trimProvider, provider) infos += fmt.Sprintf( "//go:embed %s.resources.json\n"+ "var %sInfo []byte\n", @@ -108,8 +108,8 @@ package providers import ( _ "embed" - // osconf "go.mondoo.com/cnquery/v9/providers/os/config" - // os "go.mondoo.com/cnquery/v9/providers/os/provider" + // osconf "go.mondoo.com/cnquery/v10/providers/os/config" + // os "go.mondoo.com/cnquery/v10/providers/os/provider" %s) // //go:embed os/resources/os.resources.json @@ -156,8 +156,8 @@ func buildProviders(providers []string) { } var ( - reBuiltinReplace = regexp.MustCompile(`replace go.mondoo.com/cnquery/v9/providers/.* => ./providers/.*`) - reBuiltinDep = regexp.MustCompile(`go.mondoo.com/cnquery/v9/providers/.*`) + reBuiltinReplace = regexp.MustCompile(`replace go.mondoo.com/cnquery/v10/providers/.* => ./providers/.*`) + reBuiltinDep = regexp.MustCompile(`go.mondoo.com/cnquery/v10/providers/.*`) ) func rewireDependencies(providers []string) { @@ -183,12 +183,12 @@ func rewireDependencies(providers []string) { } } // we don't care about the specific version for dev - deps += "\n\tgo.mondoo.com/cnquery/v9/providers/" + provider + " v0.0.0" - replace += "\nreplace go.mondoo.com/cnquery/v9/providers/" + provider + " => ./providers/" + provider + deps += "\n\tgo.mondoo.com/cnquery/v10/providers/" + provider + " v0.0.0" + replace += "\nreplace go.mondoo.com/cnquery/v10/providers/" + provider + " => ./providers/" + provider } if deps != "" { raws = strings.Replace(raws, "require (", "require ("+deps, 1) - raws = strings.Replace(raws, "module go.mondoo.com/cnquery/v9", "module go.mondoo.com/cnquery/v9\n"+replace, 1) + raws = strings.Replace(raws, "module go.mondoo.com/cnquery/v10", "module go.mondoo.com/cnquery/v10\n"+replace, 1) } err = os.WriteFile("go.mod", []byte(raws), 0o644) diff --git a/providers-sdk/v1/util/defaults/defaults.go b/providers-sdk/v1/util/defaults/defaults.go index 9052f0cf34..7a3e707a2a 100644 --- a/providers-sdk/v1/util/defaults/defaults.go +++ b/providers-sdk/v1/util/defaults/defaults.go @@ -17,8 +17,8 @@ import ( "github.com/rs/zerolog" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) var rootCmd = &cobra.Command{ @@ -87,7 +87,7 @@ const template = `// Copyright (c) Mondoo, Inc. package providers -import "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" +import "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" // DefaultProviders are useful when working in air-gapped environments // to tell users what providers are used for common connections, when there diff --git a/providers-sdk/v1/util/version/version.go b/providers-sdk/v1/util/version/version.go index 37ba4fa5fb..e0f9f05e74 100644 --- a/providers-sdk/v1/util/version/version.go +++ b/providers-sdk/v1/util/version/version.go @@ -7,7 +7,7 @@ import ( "encoding/json" "errors" "fmt" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/utils/stringx" "go/format" "os" "os/exec" @@ -25,9 +25,9 @@ import ( "github.com/rs/zerolog" "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "go.mondoo.com/cnquery/v9/cli/components" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/cli/components" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" "golang.org/x/mod/modfile" ) diff --git a/providers-sdk/v1/vault/awsparameterstore/parameterstore.go b/providers-sdk/v1/vault/awsparameterstore/parameterstore.go index 9640ce4c6b..d995cc00a6 100644 --- a/providers-sdk/v1/vault/awsparameterstore/parameterstore.go +++ b/providers-sdk/v1/vault/awsparameterstore/parameterstore.go @@ -11,7 +11,7 @@ import ( "github.com/aws/aws-sdk-go-v2/service/ssm" "github.com/aws/aws-sdk-go/aws/arn" "github.com/cockroachdb/errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) var notImplemented = errors.New("not implemented") diff --git a/providers-sdk/v1/vault/awsparameterstore/parameterstore_test.go b/providers-sdk/v1/vault/awsparameterstore/parameterstore_test.go index c379df2b2a..1f868611c3 100644 --- a/providers-sdk/v1/vault/awsparameterstore/parameterstore_test.go +++ b/providers-sdk/v1/vault/awsparameterstore/parameterstore_test.go @@ -14,7 +14,7 @@ import ( "github.com/aws/aws-sdk-go-v2/config" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) func TestAwsParameterStore(t *testing.T) { diff --git a/providers-sdk/v1/vault/awssecretsmanager/secretsmanager.go b/providers-sdk/v1/vault/awssecretsmanager/secretsmanager.go index 37d0a15443..36aaeef61e 100644 --- a/providers-sdk/v1/vault/awssecretsmanager/secretsmanager.go +++ b/providers-sdk/v1/vault/awssecretsmanager/secretsmanager.go @@ -10,7 +10,7 @@ import ( "github.com/aws/aws-sdk-go-v2/service/secretsmanager" "github.com/aws/aws-sdk-go/aws/arn" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) type Option func(*Vault) diff --git a/providers-sdk/v1/vault/awssecretsmanager/secretsmanager_test.go b/providers-sdk/v1/vault/awssecretsmanager/secretsmanager_test.go index d9a80848c0..a48ad60050 100644 --- a/providers-sdk/v1/vault/awssecretsmanager/secretsmanager_test.go +++ b/providers-sdk/v1/vault/awssecretsmanager/secretsmanager_test.go @@ -13,7 +13,7 @@ import ( "github.com/aws/aws-sdk-go-v2/config" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) func TestAwsSecretsManager(t *testing.T) { diff --git a/providers-sdk/v1/vault/cache/cached_vault.go b/providers-sdk/v1/vault/cache/cached_vault.go index b9fadc5b90..06e319b2d8 100644 --- a/providers-sdk/v1/vault/cache/cached_vault.go +++ b/providers-sdk/v1/vault/cache/cached_vault.go @@ -6,7 +6,7 @@ package cache import ( "context" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) type cachedVault struct { diff --git a/providers-sdk/v1/vault/config/vaultconfigstore.go b/providers-sdk/v1/vault/config/vaultconfigstore.go index 128f0dd9ec..64218f4b8e 100644 --- a/providers-sdk/v1/vault/config/vaultconfigstore.go +++ b/providers-sdk/v1/vault/config/vaultconfigstore.go @@ -10,14 +10,14 @@ import ( "github.com/aws/aws-sdk-go-v2/config" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/awsparameterstore" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/awssecretsmanager" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/gcpberglas" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/gcpsecretmanager" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/hashivault" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/inmemory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/keyring" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/awsparameterstore" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/awssecretsmanager" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/gcpberglas" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/gcpsecretmanager" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/hashivault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/inmemory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/keyring" ) func New(vCfg *vault.VaultConfiguration) (vault.Vault, error) { diff --git a/providers-sdk/v1/vault/config/vaultconfigstore_test.go b/providers-sdk/v1/vault/config/vaultconfigstore_test.go index d02cfde6f6..24a667ac9b 100644 --- a/providers-sdk/v1/vault/config/vaultconfigstore_test.go +++ b/providers-sdk/v1/vault/config/vaultconfigstore_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) func TestVaultConfiguration(t *testing.T) { diff --git a/providers-sdk/v1/vault/credentials_resolver/credentials_resolver.go b/providers-sdk/v1/vault/credentials_resolver/credentials_resolver.go index 6dbc55a131..74eb214a41 100644 --- a/providers-sdk/v1/vault/credentials_resolver/credentials_resolver.go +++ b/providers-sdk/v1/vault/credentials_resolver/credentials_resolver.go @@ -8,8 +8,8 @@ import ( "errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/cache" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/cache" ) type resolver struct { diff --git a/providers-sdk/v1/vault/gcpberglas/berglas.go b/providers-sdk/v1/vault/gcpberglas/berglas.go index abf9308cc7..9c505a687e 100644 --- a/providers-sdk/v1/vault/gcpberglas/berglas.go +++ b/providers-sdk/v1/vault/gcpberglas/berglas.go @@ -10,8 +10,8 @@ import ( "strings" berglas "github.com/GoogleCloudPlatform/berglas/pkg/berglas" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/utils/multierr" ) type storageType string diff --git a/providers-sdk/v1/vault/gcpberglas/berglas_test.go b/providers-sdk/v1/vault/gcpberglas/berglas_test.go index 839f7509ea..8e282419f1 100644 --- a/providers-sdk/v1/vault/gcpberglas/berglas_test.go +++ b/providers-sdk/v1/vault/gcpberglas/berglas_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) func TestGcpBerglas(t *testing.T) { diff --git a/providers-sdk/v1/vault/gcpsecretmanager/secretmanager.go b/providers-sdk/v1/vault/gcpsecretmanager/secretmanager.go index b25a6b8e48..766818e961 100644 --- a/providers-sdk/v1/vault/gcpsecretmanager/secretmanager.go +++ b/providers-sdk/v1/vault/gcpsecretmanager/secretmanager.go @@ -10,8 +10,8 @@ import ( "strings" secretmanager "cloud.google.com/go/secretmanager/apiv1" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/utils/multierr" secretmanagerpb "google.golang.org/genproto/googleapis/cloud/secretmanager/v1" ) diff --git a/providers-sdk/v1/vault/gcpsecretmanager/secretmanager_test.go b/providers-sdk/v1/vault/gcpsecretmanager/secretmanager_test.go index 5f6f7d1ad8..fc360f045d 100644 --- a/providers-sdk/v1/vault/gcpsecretmanager/secretmanager_test.go +++ b/providers-sdk/v1/vault/gcpsecretmanager/secretmanager_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) func TestGcpSecretmanager(t *testing.T) { diff --git a/providers-sdk/v1/vault/hashivault/hashivault.go b/providers-sdk/v1/vault/hashivault/hashivault.go index 0adfe8b2b8..f525ad72d9 100644 --- a/providers-sdk/v1/vault/hashivault/hashivault.go +++ b/providers-sdk/v1/vault/hashivault/hashivault.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/vault/api" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) var notImplemented = errors.New("not implemented") diff --git a/providers-sdk/v1/vault/hashivault/hashivault_test.go b/providers-sdk/v1/vault/hashivault/hashivault_test.go index 69cf273084..bf3faf4d51 100644 --- a/providers-sdk/v1/vault/hashivault/hashivault_test.go +++ b/providers-sdk/v1/vault/hashivault/hashivault_test.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/vault/api" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) func TestHashiVault(t *testing.T) { diff --git a/providers-sdk/v1/vault/inmemory/inmemory.go b/providers-sdk/v1/vault/inmemory/inmemory.go index 85b29fd3eb..0a8cba1640 100644 --- a/providers-sdk/v1/vault/inmemory/inmemory.go +++ b/providers-sdk/v1/vault/inmemory/inmemory.go @@ -7,7 +7,7 @@ import ( "context" "errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) type Option func(*inmemoryVault) diff --git a/providers-sdk/v1/vault/inmemory/inmemory_test.go b/providers-sdk/v1/vault/inmemory/inmemory_test.go index 96a87c64d6..1ed0801225 100644 --- a/providers-sdk/v1/vault/inmemory/inmemory_test.go +++ b/providers-sdk/v1/vault/inmemory/inmemory_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) func TestVault(t *testing.T) { diff --git a/providers-sdk/v1/vault/keyring/keyring.go b/providers-sdk/v1/vault/keyring/keyring.go index 29e09a8797..67cd460978 100644 --- a/providers-sdk/v1/vault/keyring/keyring.go +++ b/providers-sdk/v1/vault/keyring/keyring.go @@ -9,7 +9,7 @@ import ( "github.com/99designs/keyring" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) var notImplemented = errors.New("not implemented") diff --git a/providers-sdk/v1/vault/keyring/keyring_test.go b/providers-sdk/v1/vault/keyring/keyring_test.go index b85ca1b8e3..d6c7aa7a5a 100644 --- a/providers-sdk/v1/vault/keyring/keyring_test.go +++ b/providers-sdk/v1/vault/keyring/keyring_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) func TestEncryptedFile(t *testing.T) { diff --git a/providers-sdk/v1/vault/mock/mock_vault.go b/providers-sdk/v1/vault/mock/mock_vault.go index ffe171a44c..61affc1ed5 100644 --- a/providers-sdk/v1/vault/mock/mock_vault.go +++ b/providers-sdk/v1/vault/mock/mock_vault.go @@ -8,7 +8,7 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) var notImplemented = errors.New("not implemented") diff --git a/providers-sdk/v1/vault/multivault/multivault.go b/providers-sdk/v1/vault/multivault/multivault.go index 73fc21c07f..9eed9c3252 100644 --- a/providers-sdk/v1/vault/multivault/multivault.go +++ b/providers-sdk/v1/vault/multivault/multivault.go @@ -7,7 +7,7 @@ import ( "context" "errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" "go.mondoo.com/ranger-rpc/codes" "go.mondoo.com/ranger-rpc/status" ) diff --git a/providers-sdk/v1/vault/multivault/multivault_test.go b/providers-sdk/v1/vault/multivault/multivault_test.go index b720cbee89..0bc0e76144 100644 --- a/providers-sdk/v1/vault/multivault/multivault_test.go +++ b/providers-sdk/v1/vault/multivault/multivault_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault/inmemory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault/inmemory" ) func TestMultiVault(t *testing.T) { diff --git a/providers-sdk/v1/vault/vault.proto b/providers-sdk/v1/vault/vault.proto index e56b9b4439..f8af7b8018 100644 --- a/providers-sdk/v1/vault/vault.proto +++ b/providers-sdk/v1/vault/vault.proto @@ -4,7 +4,7 @@ syntax = "proto3"; package cnquery.providers.v1; -option go_package = "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault"; +option go_package = "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault"; message SecretID { string key = 1; diff --git a/providers/arista/config/config.go b/providers/arista/config/config.go index 13e2fe95bf..52787c2a22 100644 --- a/providers/arista/config/config.go +++ b/providers/arista/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/arista/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/arista/provider" ) var Config = plugin.Provider{ diff --git a/providers/arista/connection/connection.go b/providers/arista/connection/connection.go index 700fb51b4a..f3b38b6b8c 100644 --- a/providers/arista/connection/connection.go +++ b/providers/arista/connection/connection.go @@ -7,8 +7,8 @@ import ( "errors" "github.com/aristanetworks/goeapi" - "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" ) type AristaConnection struct { diff --git a/providers/arista/gen/main.go b/providers/arista/gen/main.go index 1535add2e1..3a804ec938 100644 --- a/providers/arista/gen/main.go +++ b/providers/arista/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/arista/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/arista/config" ) func main() { diff --git a/providers/arista/go.mod b/providers/arista/go.mod index 55cfc63af9..beb2f4d77a 100644 --- a/providers/arista/go.mod +++ b/providers/arista/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/arista +module go.mondoo.com/cnquery/v10/providers/arista -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -9,7 +9,7 @@ toolchain go1.21.3 require ( github.com/aristanetworks/goeapi v1.0.0 github.com/stretchr/testify v1.8.4 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 ) require ( diff --git a/providers/arista/main.go b/providers/arista/main.go index 46de2b887f..10a6fa3c07 100644 --- a/providers/arista/main.go +++ b/providers/arista/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/arista/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/arista/provider" ) func main() { diff --git a/providers/arista/provider/provider.go b/providers/arista/provider/provider.go index 55b449c017..b50b62eddc 100644 --- a/providers/arista/provider/provider.go +++ b/providers/arista/provider/provider.go @@ -9,14 +9,14 @@ import ( "strconv" "strings" - "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/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/arista/connection" - "go.mondoo.com/cnquery/v9/providers/arista/resources" - "go.mondoo.com/cnquery/v9/providers/arista/resources/eos" + "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" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/arista/connection" + "go.mondoo.com/cnquery/v10/providers/arista/resources" + "go.mondoo.com/cnquery/v10/providers/arista/resources/eos" ) const ( diff --git a/providers/arista/resources/arista.lr b/providers/arista/resources/arista.lr index 42ab64eb51..25c26b5cc0 100644 --- a/providers/arista/resources/arista.lr +++ b/providers/arista/resources/arista.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/arista" -option go_package = "go.mondoo.com/cnquery/v9/providers/arista/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/arista/resources" // Arista EOS resource arista.eos { diff --git a/providers/arista/resources/arista.lr.go b/providers/arista/resources/arista.lr.go index 3ef4e51648..4bf121d476 100644 --- a/providers/arista/resources/arista.lr.go +++ b/providers/arista/resources/arista.lr.go @@ -8,9 +8,9 @@ package resources import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/arista/resources/arista_eos.go b/providers/arista/resources/arista_eos.go index bad8ec9a55..b867aefe1d 100644 --- a/providers/arista/resources/arista_eos.go +++ b/providers/arista/resources/arista_eos.go @@ -7,12 +7,12 @@ import ( "regexp" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/arista/connection" - "go.mondoo.com/cnquery/v9/providers/arista/resources/eos" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/arista/connection" + "go.mondoo.com/cnquery/v10/providers/arista/resources/eos" + "go.mondoo.com/cnquery/v10/types" ) func aristaClient(runtime *plugin.Runtime) *eos.Eos { diff --git a/providers/assets.go b/providers/assets.go index 19763efa18..e1198e1efc 100644 --- a/providers/assets.go +++ b/providers/assets.go @@ -6,11 +6,11 @@ package providers import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/cli/config" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - pp "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream" + "go.mondoo.com/cnquery/v10/cli/config" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + pp "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream" ) func ProcessAssetCandidates(runtime *Runtime, connectRes *pp.ConnectRes, upstreamConfig *upstream.UpstreamConfig, platformID string) ([]*inventory.Asset, error) { diff --git a/providers/atlassian/config/config.go b/providers/atlassian/config/config.go index 50b5083558..a29a363cf7 100644 --- a/providers/atlassian/config/config.go +++ b/providers/atlassian/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/atlassian/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/atlassian/provider" ) var Config = plugin.Provider{ diff --git a/providers/atlassian/connection/admin/connection.go b/providers/atlassian/connection/admin/connection.go index fecf21dc2d..018360858d 100644 --- a/providers/atlassian/connection/admin/connection.go +++ b/providers/atlassian/connection/admin/connection.go @@ -9,8 +9,8 @@ import ( "os" "github.com/ctreminiom/go-atlassian/admin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/shared" ) const ( diff --git a/providers/atlassian/connection/admin/platform.go b/providers/atlassian/connection/admin/platform.go index 9f1fd9379c..a22ce65906 100644 --- a/providers/atlassian/connection/admin/platform.go +++ b/providers/atlassian/connection/admin/platform.go @@ -4,7 +4,7 @@ package admin import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func (a *AdminConnection) PlatformInfo() *inventory.Platform { diff --git a/providers/atlassian/connection/confluence/connection.go b/providers/atlassian/connection/confluence/connection.go index 15e434a945..25eab96ac8 100644 --- a/providers/atlassian/connection/confluence/connection.go +++ b/providers/atlassian/connection/confluence/connection.go @@ -9,8 +9,8 @@ import ( "os" "github.com/ctreminiom/go-atlassian/confluence" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/shared" ) const ( diff --git a/providers/atlassian/connection/confluence/platform.go b/providers/atlassian/connection/confluence/platform.go index 8004b74432..807dec9911 100644 --- a/providers/atlassian/connection/confluence/platform.go +++ b/providers/atlassian/connection/confluence/platform.go @@ -6,7 +6,7 @@ package confluence import ( "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func (a *ConfluenceConnection) PlatformInfo() *inventory.Platform { diff --git a/providers/atlassian/connection/connection.go b/providers/atlassian/connection/connection.go index d7b423cd52..e7e9c915a5 100644 --- a/providers/atlassian/connection/connection.go +++ b/providers/atlassian/connection/connection.go @@ -5,12 +5,12 @@ package connection import ( "github.com/pkg/errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/admin" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/confluence" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/jira" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/scim" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/admin" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/confluence" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/jira" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/scim" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/shared" ) const ( diff --git a/providers/atlassian/connection/jira/connection.go b/providers/atlassian/connection/jira/connection.go index 72559785e4..0dc40e0758 100644 --- a/providers/atlassian/connection/jira/connection.go +++ b/providers/atlassian/connection/jira/connection.go @@ -9,8 +9,8 @@ import ( "os" v2 "github.com/ctreminiom/go-atlassian/jira/v2" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/shared" ) const ( diff --git a/providers/atlassian/connection/jira/platform.go b/providers/atlassian/connection/jira/platform.go index bd46dc827e..71f2541335 100644 --- a/providers/atlassian/connection/jira/platform.go +++ b/providers/atlassian/connection/jira/platform.go @@ -6,7 +6,7 @@ package jira import ( "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func (a *JiraConnection) PlatformInfo() *inventory.Platform { diff --git a/providers/atlassian/connection/scim/connection.go b/providers/atlassian/connection/scim/connection.go index dfe80bce1e..bb6d1bfb4f 100644 --- a/providers/atlassian/connection/scim/connection.go +++ b/providers/atlassian/connection/scim/connection.go @@ -10,8 +10,8 @@ import ( "os" "github.com/ctreminiom/go-atlassian/admin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/shared" ) const ( diff --git a/providers/atlassian/connection/scim/platform.go b/providers/atlassian/connection/scim/platform.go index 343a19fa87..f70c8c1dee 100644 --- a/providers/atlassian/connection/scim/platform.go +++ b/providers/atlassian/connection/scim/platform.go @@ -4,7 +4,7 @@ package scim import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func (a *ScimConnection) PlatformInfo() *inventory.Platform { diff --git a/providers/atlassian/connection/shared/shared.go b/providers/atlassian/connection/shared/shared.go index 1c8945f336..874bfbe8d9 100644 --- a/providers/atlassian/connection/shared/shared.go +++ b/providers/atlassian/connection/shared/shared.go @@ -4,7 +4,7 @@ package shared import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) type ConnectionType string diff --git a/providers/atlassian/gen/main.go b/providers/atlassian/gen/main.go index 706d378668..f85b1faf7f 100644 --- a/providers/atlassian/gen/main.go +++ b/providers/atlassian/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/atlassian/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/atlassian/config" ) func main() { diff --git a/providers/atlassian/go.mod b/providers/atlassian/go.mod index 2dcd507d72..a981d53581 100644 --- a/providers/atlassian/go.mod +++ b/providers/atlassian/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/atlassian +module go.mondoo.com/cnquery/v10/providers/atlassian -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -9,7 +9,7 @@ toolchain go1.21.3 require ( github.com/ctreminiom/go-atlassian v1.5.1 github.com/pkg/errors v0.9.1 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 ) require ( diff --git a/providers/atlassian/main.go b/providers/atlassian/main.go index 73912139f1..d8b3034946 100644 --- a/providers/atlassian/main.go +++ b/providers/atlassian/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/atlassian/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/atlassian/provider" ) func main() { diff --git a/providers/atlassian/provider/provider.go b/providers/atlassian/provider/provider.go index 90f5e2fb82..23e0c3c1b0 100644 --- a/providers/atlassian/provider/provider.go +++ b/providers/atlassian/provider/provider.go @@ -7,13 +7,13 @@ 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/v9/providers/atlassian/connection" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/shared" - "go.mondoo.com/cnquery/v9/providers/atlassian/resources" + "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" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/shared" + "go.mondoo.com/cnquery/v10/providers/atlassian/resources" ) const ( diff --git a/providers/atlassian/resources/atlassian.lr.go b/providers/atlassian/resources/atlassian.lr.go index ac77cff973..2d43b5d011 100644 --- a/providers/atlassian/resources/atlassian.lr.go +++ b/providers/atlassian/resources/atlassian.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/atlassian/resources/atlassian_admin.go b/providers/atlassian/resources/atlassian_admin.go index 22dfc839ac..aed7fe8b69 100644 --- a/providers/atlassian/resources/atlassian_admin.go +++ b/providers/atlassian/resources/atlassian_admin.go @@ -6,13 +6,13 @@ package resources import ( "context" "errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/types" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/admin" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/admin" ) func initAtlassianAdminOrganization(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/atlassian/resources/atlassian_confluence.go b/providers/atlassian/resources/atlassian_confluence.go index c39d8e08cc..b8b00369ce 100644 --- a/providers/atlassian/resources/atlassian_confluence.go +++ b/providers/atlassian/resources/atlassian_confluence.go @@ -7,8 +7,8 @@ import ( "context" "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/confluence" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/confluence" ) func (a *mqlAtlassianConfluence) id() (string, error) { diff --git a/providers/atlassian/resources/atlassian_jira.go b/providers/atlassian/resources/atlassian_jira.go index f99e399609..801caa4096 100644 --- a/providers/atlassian/resources/atlassian_jira.go +++ b/providers/atlassian/resources/atlassian_jira.go @@ -8,8 +8,8 @@ import ( "errors" "fmt" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/jira" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/jira" ) func (a *mqlAtlassianJira) id() (string, error) { diff --git a/providers/atlassian/resources/atlassian_scim.go b/providers/atlassian/resources/atlassian_scim.go index 3adaef02eb..3a57220eb5 100644 --- a/providers/atlassian/resources/atlassian_scim.go +++ b/providers/atlassian/resources/atlassian_scim.go @@ -7,8 +7,8 @@ import ( "context" "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers/atlassian/connection/scim" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers/atlassian/connection/scim" ) func (a *mqlAtlassianScim) id() (string, error) { diff --git a/providers/aws/config/config.go b/providers/aws/config/config.go index 55434f3e74..55a716d4da 100644 --- a/providers/aws/config/config.go +++ b/providers/aws/config/config.go @@ -4,10 +4,10 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/aws/connection/awsec2ebsconn" - "go.mondoo.com/cnquery/v9/providers/aws/provider" - "go.mondoo.com/cnquery/v9/providers/aws/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/aws/connection/awsec2ebsconn" + "go.mondoo.com/cnquery/v10/providers/aws/provider" + "go.mondoo.com/cnquery/v10/providers/aws/resources" ) var Config = plugin.Provider{ diff --git a/providers/aws/connection/awsec2ebsconn/destroy.go b/providers/aws/connection/awsec2ebsconn/destroy.go index fe1ac067a3..05191a0e4b 100644 --- a/providers/aws/connection/awsec2ebsconn/destroy.go +++ b/providers/aws/connection/awsec2ebsconn/destroy.go @@ -11,7 +11,7 @@ import ( "github.com/aws/aws-sdk-go-v2/service/ec2/types" "github.com/aws/aws-sdk-go/aws" "github.com/rs/zerolog/log" - awsec2ebstypes "go.mondoo.com/cnquery/v9/providers/aws/connection/awsec2ebsconn/types" + awsec2ebstypes "go.mondoo.com/cnquery/v10/providers/aws/connection/awsec2ebsconn/types" ) func (c *AwsEbsConnection) DetachVolumeFromInstance(ctx context.Context, volume *awsec2ebstypes.VolumeInfo) error { diff --git a/providers/aws/connection/awsec2ebsconn/provider.go b/providers/aws/connection/awsec2ebsconn/provider.go index 4e14a0611a..2090c4854c 100644 --- a/providers/aws/connection/awsec2ebsconn/provider.go +++ b/providers/aws/connection/awsec2ebsconn/provider.go @@ -16,15 +16,15 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - awsec2ebstypes "go.mondoo.com/cnquery/v9/providers/aws/connection/awsec2ebsconn/types" - "go.mondoo.com/cnquery/v9/providers/os/connection/fs" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/connection/snapshot" - "go.mondoo.com/cnquery/v9/providers/os/detector" - "go.mondoo.com/cnquery/v9/providers/os/id/awsec2" - "go.mondoo.com/cnquery/v9/providers/os/id/ids" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + awsec2ebstypes "go.mondoo.com/cnquery/v10/providers/aws/connection/awsec2ebsconn/types" + "go.mondoo.com/cnquery/v10/providers/os/connection/fs" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/snapshot" + "go.mondoo.com/cnquery/v10/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/id/awsec2" + "go.mondoo.com/cnquery/v10/providers/os/id/ids" ) const ( diff --git a/providers/aws/connection/awsec2ebsconn/setup.go b/providers/aws/connection/awsec2ebsconn/setup.go index b1eb2546e2..4d98014388 100644 --- a/providers/aws/connection/awsec2ebsconn/setup.go +++ b/providers/aws/connection/awsec2ebsconn/setup.go @@ -15,7 +15,7 @@ import ( "github.com/aws/smithy-go" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - awsec2ebstypes "go.mondoo.com/cnquery/v9/providers/aws/connection/awsec2ebsconn/types" + awsec2ebstypes "go.mondoo.com/cnquery/v10/providers/aws/connection/awsec2ebsconn/types" ) func (c *AwsEbsConnection) Validate(ctx context.Context) (*types.Instance, *awsec2ebstypes.VolumeInfo, *awsec2ebstypes.SnapshotId, error) { diff --git a/providers/aws/connection/connection.go b/providers/aws/connection/connection.go index 988e015823..9fbfae1277 100644 --- a/providers/aws/connection/connection.go +++ b/providers/aws/connection/connection.go @@ -15,8 +15,8 @@ import ( "github.com/aws/aws-sdk-go-v2/service/sts" "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type AwsConnection struct { diff --git a/providers/aws/connection/platform.go b/providers/aws/connection/platform.go index d2fed99e01..ef739b49ad 100644 --- a/providers/aws/connection/platform.go +++ b/providers/aws/connection/platform.go @@ -3,7 +3,7 @@ package connection -import "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" +import "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" func (a *AwsConnection) PlatformInfo() *inventory.Platform { return GetPlatformForObject(a.PlatformOverride) diff --git a/providers/aws/gen/main.go b/providers/aws/gen/main.go index c940da12f7..f3b790ac84 100644 --- a/providers/aws/gen/main.go +++ b/providers/aws/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/aws/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/aws/config" ) func main() { diff --git a/providers/aws/go.mod b/providers/aws/go.mod index 50dcdff6c7..bf0208a302 100644 --- a/providers/aws/go.mod +++ b/providers/aws/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/aws +module go.mondoo.com/cnquery/v10/providers/aws -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -59,7 +59,7 @@ require ( github.com/rs/zerolog v1.31.0 github.com/spf13/afero v1.11.0 github.com/stretchr/testify v1.8.4 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 k8s.io/client-go v0.29.0 ) diff --git a/providers/aws/main.go b/providers/aws/main.go index 5886b47f0e..15f7aa350c 100644 --- a/providers/aws/main.go +++ b/providers/aws/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/aws/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/aws/provider" ) func main() { diff --git a/providers/aws/provider/provider.go b/providers/aws/provider/provider.go index 9fa5dfe4db..284af0a057 100644 --- a/providers/aws/provider/provider.go +++ b/providers/aws/provider/provider.go @@ -8,14 +8,14 @@ import ( "strconv" "strings" - "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/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/providers/aws/connection/awsec2ebsconn" - "go.mondoo.com/cnquery/v9/providers/aws/resources" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "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" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/providers/aws/connection/awsec2ebsconn" + "go.mondoo.com/cnquery/v10/providers/aws/resources" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const ( diff --git a/providers/aws/resources/aws.lr b/providers/aws/resources/aws.lr index e9665f50de..d2ff76eb36 100644 --- a/providers/aws/resources/aws.lr +++ b/providers/aws/resources/aws.lr @@ -5,7 +5,7 @@ import "../../network/resources/network.lr" option provider = "go.mondoo.com/cnquery/providers/aws" -option go_package = "go.mondoo.com/cnquery/v9/providers/aws/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/aws/resources" // AWS resource aws @defaults("account.id") { diff --git a/providers/aws/resources/aws.lr.go b/providers/aws/resources/aws.lr.go index 9cd79185c5..858b611f60 100644 --- a/providers/aws/resources/aws.lr.go +++ b/providers/aws/resources/aws.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/aws/resources/aws_accessanalyzer.go b/providers/aws/resources/aws_accessanalyzer.go index 1b5babb0e5..1f1e806574 100644 --- a/providers/aws/resources/aws_accessanalyzer.go +++ b/providers/aws/resources/aws_accessanalyzer.go @@ -10,10 +10,10 @@ import ( aatypes "github.com/aws/aws-sdk-go-v2/service/accessanalyzer/types" "github.com/aws/aws-sdk-go/aws" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsAccessanalyzerAnalyzer) id() (string, error) { diff --git a/providers/aws/resources/aws_account.go b/providers/aws/resources/aws_account.go index d51a689aec..425cf10603 100644 --- a/providers/aws/resources/aws_account.go +++ b/providers/aws/resources/aws_account.go @@ -9,8 +9,8 @@ import ( "github.com/aws/aws-sdk-go-v2/service/iam" "github.com/aws/aws-sdk-go-v2/service/organizations" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers/aws/connection" ) func (a *mqlAwsAccount) id() (string, error) { diff --git a/providers/aws/resources/aws_acm.go b/providers/aws/resources/aws_acm.go index 62ff1e25c7..3d00d6d1ab 100644 --- a/providers/aws/resources/aws_acm.go +++ b/providers/aws/resources/aws_acm.go @@ -11,12 +11,12 @@ import ( acmtypes "github.com/aws/aws-sdk-go-v2/service/acm/types" "github.com/aws/aws-sdk-go/aws" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsAcm) id() (string, error) { diff --git a/providers/aws/resources/aws_apigateway.go b/providers/aws/resources/aws_apigateway.go index b370f7438e..dd6bad150b 100644 --- a/providers/aws/resources/aws_apigateway.go +++ b/providers/aws/resources/aws_apigateway.go @@ -10,13 +10,13 @@ import ( "github.com/aws/aws-sdk-go-v2/service/apigateway" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsApigateway) id() (string, error) { diff --git a/providers/aws/resources/aws_applicationautoscaling.go b/providers/aws/resources/aws_applicationautoscaling.go index 8ee2604958..f7e2847c93 100644 --- a/providers/aws/resources/aws_applicationautoscaling.go +++ b/providers/aws/resources/aws_applicationautoscaling.go @@ -12,12 +12,12 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" ) func (a *mqlAwsApplicationAutoscaling) id() (string, error) { diff --git a/providers/aws/resources/aws_autoscaling.go b/providers/aws/resources/aws_autoscaling.go index 23b93a133c..de57f828f4 100644 --- a/providers/aws/resources/aws_autoscaling.go +++ b/providers/aws/resources/aws_autoscaling.go @@ -10,11 +10,11 @@ import ( ec2types "github.com/aws/aws-sdk-go-v2/service/autoscaling/types" "github.com/aws/aws-sdk-go/aws" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsAutoscaling) id() (string, error) { diff --git a/providers/aws/resources/aws_backups.go b/providers/aws/resources/aws_backups.go index c06e8e7b09..a8e6500d4c 100644 --- a/providers/aws/resources/aws_backups.go +++ b/providers/aws/resources/aws_backups.go @@ -11,11 +11,11 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/arn" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsBackup) id() (string, error) { diff --git a/providers/aws/resources/aws_cloudfront.go b/providers/aws/resources/aws_cloudfront.go index cabee7c164..4e2b4721d5 100644 --- a/providers/aws/resources/aws_cloudfront.go +++ b/providers/aws/resources/aws_cloudfront.go @@ -10,10 +10,10 @@ import ( "github.com/aws/aws-sdk-go-v2/service/cloudfront" "github.com/cockroachdb/errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsCloudfront) id() (string, error) { diff --git a/providers/aws/resources/aws_cloudtrail.go b/providers/aws/resources/aws_cloudtrail.go index 0bc0d76acc..6b87484ccc 100644 --- a/providers/aws/resources/aws_cloudtrail.go +++ b/providers/aws/resources/aws_cloudtrail.go @@ -10,11 +10,11 @@ import ( "github.com/aws/aws-sdk-go-v2/service/cloudtrail" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" ) func (a *mqlAwsCloudtrail) id() (string, error) { diff --git a/providers/aws/resources/aws_cloudwatch.go b/providers/aws/resources/aws_cloudwatch.go index e52024c23c..f4c7912fd7 100644 --- a/providers/aws/resources/aws_cloudwatch.go +++ b/providers/aws/resources/aws_cloudwatch.go @@ -17,13 +17,13 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsCloudwatch) id() (string, error) { diff --git a/providers/aws/resources/aws_codebuild.go b/providers/aws/resources/aws_codebuild.go index 400190c2c9..3c28aae5c7 100644 --- a/providers/aws/resources/aws_codebuild.go +++ b/providers/aws/resources/aws_codebuild.go @@ -12,12 +12,12 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsCodebuild) id() (string, error) { diff --git a/providers/aws/resources/aws_config.go b/providers/aws/resources/aws_config.go index 63c3116d45..c41d4edea9 100644 --- a/providers/aws/resources/aws_config.go +++ b/providers/aws/resources/aws_config.go @@ -8,11 +8,11 @@ import ( "github.com/aws/aws-sdk-go-v2/service/configservice" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsConfig) id() (string, error) { diff --git a/providers/aws/resources/aws_dms.go b/providers/aws/resources/aws_dms.go index 2c11215ec9..97172fd2c4 100644 --- a/providers/aws/resources/aws_dms.go +++ b/providers/aws/resources/aws_dms.go @@ -9,9 +9,9 @@ import ( "github.com/aws/aws-sdk-go-v2/service/databasemigrationservice" "github.com/aws/aws-sdk-go-v2/service/databasemigrationservice/types" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" ) func (a *mqlAwsDms) id() (string, error) { diff --git a/providers/aws/resources/aws_dynamodb.go b/providers/aws/resources/aws_dynamodb.go index 86942d54aa..a4ce12cdd6 100644 --- a/providers/aws/resources/aws_dynamodb.go +++ b/providers/aws/resources/aws_dynamodb.go @@ -12,13 +12,13 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsDynamodb) id() (string, error) { diff --git a/providers/aws/resources/aws_ec2.go b/providers/aws/resources/aws_ec2.go index 9e28384dc5..5e89d719e2 100644 --- a/providers/aws/resources/aws_ec2.go +++ b/providers/aws/resources/aws_ec2.go @@ -20,12 +20,12 @@ import ( "github.com/aws/smithy-go" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/types" ) func (e *mqlAwsEc2) id() (string, error) { diff --git a/providers/aws/resources/aws_ecr.go b/providers/aws/resources/aws_ecr.go index 442f2f1d25..0a3dba6d95 100644 --- a/providers/aws/resources/aws_ecr.go +++ b/providers/aws/resources/aws_ecr.go @@ -12,13 +12,13 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsEcr) id() (string, error) { diff --git a/providers/aws/resources/aws_ecs.go b/providers/aws/resources/aws_ecs.go index 23d902268f..904c397417 100644 --- a/providers/aws/resources/aws_ecs.go +++ b/providers/aws/resources/aws_ecs.go @@ -17,14 +17,14 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/stringx" ) func (a *mqlAwsEcs) id() (string, error) { diff --git a/providers/aws/resources/aws_efs.go b/providers/aws/resources/aws_efs.go index ded219302a..2e1c426304 100644 --- a/providers/aws/resources/aws_efs.go +++ b/providers/aws/resources/aws_efs.go @@ -12,12 +12,12 @@ import ( "github.com/aws/smithy-go/transport/http" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsEfsFilesystem) id() (string, error) { diff --git a/providers/aws/resources/aws_eks.go b/providers/aws/resources/aws_eks.go index db38b30d0e..d8b8712c10 100644 --- a/providers/aws/resources/aws_eks.go +++ b/providers/aws/resources/aws_eks.go @@ -9,12 +9,12 @@ import ( "github.com/aws/aws-sdk-go-v2/service/eks" "github.com/aws/aws-sdk-go/aws" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsEks) id() (string, error) { diff --git a/providers/aws/resources/aws_elasticache.go b/providers/aws/resources/aws_elasticache.go index 567a419444..c4ec6ea4cb 100644 --- a/providers/aws/resources/aws_elasticache.go +++ b/providers/aws/resources/aws_elasticache.go @@ -11,12 +11,12 @@ import ( ecstypes "github.com/aws/aws-sdk-go-v2/service/elasticache/types" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsElasticache) id() (string, error) { diff --git a/providers/aws/resources/aws_elb.go b/providers/aws/resources/aws_elb.go index 15ea123548..6f772ae0be 100644 --- a/providers/aws/resources/aws_elb.go +++ b/providers/aws/resources/aws_elb.go @@ -11,11 +11,11 @@ import ( "github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing" "github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" ) func (a *mqlAwsElb) id() (string, error) { diff --git a/providers/aws/resources/aws_emr.go b/providers/aws/resources/aws_emr.go index 2ef96ffee4..c7300ed468 100644 --- a/providers/aws/resources/aws_emr.go +++ b/providers/aws/resources/aws_emr.go @@ -9,12 +9,12 @@ import ( "github.com/aws/aws-sdk-go-v2/service/emr" emrtypes "github.com/aws/aws-sdk-go-v2/service/emr/types" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsEmr) id() (string, error) { diff --git a/providers/aws/resources/aws_es.go b/providers/aws/resources/aws_es.go index 0cdefca4c3..48b9a4e6c2 100644 --- a/providers/aws/resources/aws_es.go +++ b/providers/aws/resources/aws_es.go @@ -10,12 +10,12 @@ import ( "github.com/aws/aws-sdk-go-v2/service/elasticsearchservice" "github.com/aws/smithy-go/transport/http" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsEs) id() (string, error) { diff --git a/providers/aws/resources/aws_guardduty.go b/providers/aws/resources/aws_guardduty.go index 1f16cc6840..50447a7088 100644 --- a/providers/aws/resources/aws_guardduty.go +++ b/providers/aws/resources/aws_guardduty.go @@ -11,11 +11,11 @@ import ( "github.com/aws/aws-sdk-go-v2/service/guardduty/types" "github.com/aws/aws-sdk-go/aws" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" ) func (a *mqlAwsGuardduty) id() (string, error) { diff --git a/providers/aws/resources/aws_iam.go b/providers/aws/resources/aws_iam.go index 68f9842e62..8f53d50358 100644 --- a/providers/aws/resources/aws_iam.go +++ b/providers/aws/resources/aws_iam.go @@ -18,13 +18,13 @@ import ( "github.com/aws/smithy-go" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/providers/aws/resources/awsiam" - "go.mondoo.com/cnquery/v9/providers/aws/resources/awspolicy" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/providers/aws/resources/awsiam" + "go.mondoo.com/cnquery/v10/providers/aws/resources/awspolicy" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsIam) id() (string, error) { diff --git a/providers/aws/resources/aws_kms.go b/providers/aws/resources/aws_kms.go index 8f8c9f2ae5..16843c7591 100644 --- a/providers/aws/resources/aws_kms.go +++ b/providers/aws/resources/aws_kms.go @@ -10,11 +10,11 @@ import ( "github.com/aws/aws-sdk-go-v2/service/kms" "github.com/aws/aws-sdk-go/aws/arn" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" ) func (a *mqlAwsKms) id() (string, error) { diff --git a/providers/aws/resources/aws_lambda.go b/providers/aws/resources/aws_lambda.go index 889eba47ed..9811110939 100644 --- a/providers/aws/resources/aws_lambda.go +++ b/providers/aws/resources/aws_lambda.go @@ -11,14 +11,14 @@ import ( "github.com/aws/smithy-go/transport/http" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/providers/aws/resources/awspolicy" - - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/providers/aws/resources/awspolicy" + + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsLambda) id() (string, error) { diff --git a/providers/aws/resources/aws_rds.go b/providers/aws/resources/aws_rds.go index 9375498fbf..291740fd2e 100644 --- a/providers/aws/resources/aws_rds.go +++ b/providers/aws/resources/aws_rds.go @@ -12,13 +12,13 @@ import ( rdstypes "github.com/aws/aws-sdk-go-v2/service/rds/types" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsRds) id() (string, error) { diff --git a/providers/aws/resources/aws_redshift.go b/providers/aws/resources/aws_redshift.go index fa20d45a35..eea5f583aa 100644 --- a/providers/aws/resources/aws_redshift.go +++ b/providers/aws/resources/aws_redshift.go @@ -12,13 +12,13 @@ import ( redshifttypes "github.com/aws/aws-sdk-go-v2/service/redshift/types" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsRedshift) id() (string, error) { diff --git a/providers/aws/resources/aws_s3.go b/providers/aws/resources/aws_s3.go index c298e49ed6..8af0c1eb18 100644 --- a/providers/aws/resources/aws_s3.go +++ b/providers/aws/resources/aws_s3.go @@ -20,12 +20,12 @@ import ( "github.com/aws/smithy-go" "github.com/aws/smithy-go/transport/http" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/providers/aws/resources/awspolicy" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/providers/aws/resources/awspolicy" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsS3control) id() (string, error) { diff --git a/providers/aws/resources/aws_sagemaker.go b/providers/aws/resources/aws_sagemaker.go index 3ac34a9ce9..be7fc9964a 100644 --- a/providers/aws/resources/aws_sagemaker.go +++ b/providers/aws/resources/aws_sagemaker.go @@ -11,13 +11,13 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/smithy-go/transport/http" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsSagemaker) id() (string, error) { diff --git a/providers/aws/resources/aws_secretsmanager.go b/providers/aws/resources/aws_secretsmanager.go index 219e49f360..e3f6a93979 100644 --- a/providers/aws/resources/aws_secretsmanager.go +++ b/providers/aws/resources/aws_secretsmanager.go @@ -11,12 +11,12 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsSecretsmanager) id() (string, error) { diff --git a/providers/aws/resources/aws_securityhub.go b/providers/aws/resources/aws_securityhub.go index 7634135434..5488d9e676 100644 --- a/providers/aws/resources/aws_securityhub.go +++ b/providers/aws/resources/aws_securityhub.go @@ -10,9 +10,9 @@ import ( "github.com/aws/aws-sdk-go-v2/service/securityhub" "github.com/aws/aws-sdk-go-v2/service/securityhub/types" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" ) func (a *mqlAwsSecurityhub) id() (string, error) { diff --git a/providers/aws/resources/aws_sns.go b/providers/aws/resources/aws_sns.go index 0397f266a6..e03aa2fbab 100644 --- a/providers/aws/resources/aws_sns.go +++ b/providers/aws/resources/aws_sns.go @@ -12,11 +12,11 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/smithy-go/transport/http" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" ) func (a *mqlAwsSns) id() (string, error) { diff --git a/providers/aws/resources/aws_ssm.go b/providers/aws/resources/aws_ssm.go index dd3e74d04c..7ebd78e1d4 100644 --- a/providers/aws/resources/aws_ssm.go +++ b/providers/aws/resources/aws_ssm.go @@ -15,11 +15,11 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" ) func (e *mqlAwsSsm) id() (string, error) { diff --git a/providers/aws/resources/aws_vpc.go b/providers/aws/resources/aws_vpc.go index b1f6deedbd..84413eb49a 100644 --- a/providers/aws/resources/aws_vpc.go +++ b/providers/aws/resources/aws_vpc.go @@ -13,12 +13,12 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsVpc) id() (string, error) { diff --git a/providers/aws/resources/aws_waf.go b/providers/aws/resources/aws_waf.go index a9cbe5bcd7..34eaf1efbf 100644 --- a/providers/aws/resources/aws_waf.go +++ b/providers/aws/resources/aws_waf.go @@ -13,11 +13,11 @@ import ( "github.com/rs/zerolog/log" //"github.com/aws/aws-sdk-go/aws" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAwsWaf) id() (string, error) { diff --git a/providers/aws/resources/discovery.go b/providers/aws/resources/discovery.go index ff984f4e25..492879653c 100644 --- a/providers/aws/resources/discovery.go +++ b/providers/aws/resources/discovery.go @@ -6,11 +6,11 @@ package resources import ( "github.com/aws/aws-sdk-go/aws/arn" "github.com/rs/zerolog/log" - "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/aws/connection" - "go.mondoo.com/cnquery/v9/utils/stringx" + "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/aws/connection" + "go.mondoo.com/cnquery/v10/utils/stringx" ) // Discovery Flags diff --git a/providers/aws/resources/discovery_conversion.go b/providers/aws/resources/discovery_conversion.go index be63d31627..98a2fc1817 100644 --- a/providers/aws/resources/discovery_conversion.go +++ b/providers/aws/resources/discovery_conversion.go @@ -12,14 +12,14 @@ import ( "github.com/aws/aws-sdk-go/aws/arn" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/providers/aws/connection/awsec2ebsconn" - awsec2ebstypes "go.mondoo.com/cnquery/v9/providers/aws/connection/awsec2ebsconn/types" - "go.mondoo.com/cnquery/v9/providers/os/id/awsec2" - "go.mondoo.com/cnquery/v9/providers/os/id/containerid" - "go.mondoo.com/cnquery/v9/providers/os/id/ids" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/providers/aws/connection/awsec2ebsconn" + awsec2ebstypes "go.mondoo.com/cnquery/v10/providers/aws/connection/awsec2ebsconn/types" + "go.mondoo.com/cnquery/v10/providers/os/id/awsec2" + "go.mondoo.com/cnquery/v10/providers/os/id/containerid" + "go.mondoo.com/cnquery/v10/providers/os/id/ids" ) type mqlObject struct { diff --git a/providers/aws/resources/discovery_test.go b/providers/aws/resources/discovery_test.go index 653da34053..83bee0b2a4 100644 --- a/providers/aws/resources/discovery_test.go +++ b/providers/aws/resources/discovery_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/aws/connection" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/aws/connection" ) func TestFilters(t *testing.T) { diff --git a/providers/aws/resources/shared.go b/providers/aws/resources/shared.go index dd31a56d3c..2c75cbbdcb 100644 --- a/providers/aws/resources/shared.go +++ b/providers/aws/resources/shared.go @@ -13,12 +13,12 @@ import ( "github.com/aws/aws-sdk-go-v2/aws/arn" "github.com/aws/smithy-go/transport/http" - "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/network/resources/certificates" - "go.mondoo.com/cnquery/v9/providers/aws/connection" - "go.mondoo.com/cnquery/v9/types" + "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/network/resources/certificates" + "go.mondoo.com/cnquery/v10/providers/aws/connection" + "go.mondoo.com/cnquery/v10/types" "k8s.io/client-go/util/cert" ) diff --git a/providers/azure/config/config.go b/providers/azure/config/config.go index 6affaee7ec..b2228f31fe 100644 --- a/providers/azure/config/config.go +++ b/providers/azure/config/config.go @@ -4,10 +4,10 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/azure/connection/azureinstancesnapshot" - "go.mondoo.com/cnquery/v9/providers/azure/provider" - "go.mondoo.com/cnquery/v9/providers/azure/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/azure/connection/azureinstancesnapshot" + "go.mondoo.com/cnquery/v10/providers/azure/provider" + "go.mondoo.com/cnquery/v10/providers/azure/resources" ) var Config = plugin.Provider{ diff --git a/providers/azure/connection/auth/auth.go b/providers/azure/connection/auth/auth.go index 1aa7639f51..a0dd2b2ace 100644 --- a/providers/azure/connection/auth/auth.go +++ b/providers/azure/connection/auth/auth.go @@ -10,7 +10,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/pkg/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) func GetTokenCredential(credential *vault.Credential, tenantId, clientId string) (azcore.TokenCredential, error) { diff --git a/providers/azure/connection/azureinstancesnapshot/lun.go b/providers/azure/connection/azureinstancesnapshot/lun.go index 417bb5a275..78fbe72a9c 100644 --- a/providers/azure/connection/azureinstancesnapshot/lun.go +++ b/providers/azure/connection/azureinstancesnapshot/lun.go @@ -11,7 +11,7 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/connection/local" + "go.mondoo.com/cnquery/v10/providers/os/connection/local" ) type deviceInfo struct { diff --git a/providers/azure/connection/azureinstancesnapshot/provider.go b/providers/azure/connection/azureinstancesnapshot/provider.go index ef3c6d5e02..8654f91f91 100644 --- a/providers/azure/connection/azureinstancesnapshot/provider.go +++ b/providers/azure/connection/azureinstancesnapshot/provider.go @@ -11,17 +11,17 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/mrn" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/azure/connection/auth" - "go.mondoo.com/cnquery/v9/providers/azure/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/connection/fs" - "go.mondoo.com/cnquery/v9/providers/os/connection/local" - "go.mondoo.com/cnquery/v9/providers/os/connection/snapshot" - "go.mondoo.com/cnquery/v9/providers/os/detector" - "go.mondoo.com/cnquery/v9/providers/os/id/azcompute" - "go.mondoo.com/cnquery/v9/providers/os/id/ids" + "go.mondoo.com/cnquery/v10/mrn" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/azure/connection/auth" + "go.mondoo.com/cnquery/v10/providers/azure/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/fs" + "go.mondoo.com/cnquery/v10/providers/os/connection/local" + "go.mondoo.com/cnquery/v10/providers/os/connection/snapshot" + "go.mondoo.com/cnquery/v10/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/id/azcompute" + "go.mondoo.com/cnquery/v10/providers/os/id/ids" ) const ( diff --git a/providers/azure/connection/azureinstancesnapshot/provider_test.go b/providers/azure/connection/azureinstancesnapshot/provider_test.go index 9a452f74f6..f4f11f3436 100644 --- a/providers/azure/connection/azureinstancesnapshot/provider_test.go +++ b/providers/azure/connection/azureinstancesnapshot/provider_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func TestParseTarget(t *testing.T) { diff --git a/providers/azure/connection/connection.go b/providers/azure/connection/connection.go index 8528ec184e..ded0ebbba5 100644 --- a/providers/azure/connection/connection.go +++ b/providers/azure/connection/connection.go @@ -7,10 +7,10 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/azcore" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/pkg/errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/azure/connection/auth" - "go.mondoo.com/cnquery/v9/providers/azure/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/azure/connection/auth" + "go.mondoo.com/cnquery/v10/providers/azure/connection/shared" ) const ( diff --git a/providers/azure/connection/shared/shared.go b/providers/azure/connection/shared/shared.go index b267c6df6b..0af57bd2e4 100644 --- a/providers/azure/connection/shared/shared.go +++ b/providers/azure/connection/shared/shared.go @@ -4,7 +4,7 @@ package shared import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) type ConnectionType string diff --git a/providers/azure/gen/main.go b/providers/azure/gen/main.go index 1837507f91..7cc5f70ff0 100644 --- a/providers/azure/gen/main.go +++ b/providers/azure/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/azure/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/azure/config" ) func main() { diff --git a/providers/azure/go.mod b/providers/azure/go.mod index 6203f81d27..166913067d 100644 --- a/providers/azure/go.mod +++ b/providers/azure/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/azure +module go.mondoo.com/cnquery/v10/providers/azure -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -36,7 +36,7 @@ require ( github.com/pkg/errors v0.9.1 github.com/rs/zerolog v1.31.0 github.com/stretchr/testify v1.8.4 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 ) require ( diff --git a/providers/azure/main.go b/providers/azure/main.go index 4aa34a4c95..bc74934342 100644 --- a/providers/azure/main.go +++ b/providers/azure/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/azure/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/azure/provider" ) func main() { diff --git a/providers/azure/provider/provider.go b/providers/azure/provider/provider.go index f6940b549a..78cde9b016 100644 --- a/providers/azure/provider/provider.go +++ b/providers/azure/provider/provider.go @@ -8,15 +8,15 @@ import ( "strconv" "strings" - "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/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/providers/azure/connection/azureinstancesnapshot" - "go.mondoo.com/cnquery/v9/providers/azure/connection/shared" - "go.mondoo.com/cnquery/v9/providers/azure/resources" + "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" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/providers/azure/connection/azureinstancesnapshot" + "go.mondoo.com/cnquery/v10/providers/azure/connection/shared" + "go.mondoo.com/cnquery/v10/providers/azure/resources" ) const ( diff --git a/providers/azure/resources/advisor.go b/providers/azure/resources/advisor.go index 7fda7445bc..a1a0d40b1e 100644 --- a/providers/azure/resources/advisor.go +++ b/providers/azure/resources/advisor.go @@ -19,11 +19,11 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" advisor "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/advisor/armadvisor" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" ) func initAzureSubscriptionAdvisorService(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/azure/resources/aks.go b/providers/azure/resources/aks.go index 074b90ce8f..c565d91c11 100644 --- a/providers/azure/resources/aks.go +++ b/providers/azure/resources/aks.go @@ -9,11 +9,11 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" clusters "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice/v2" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAzureSubscriptionAksService) id() (string, error) { diff --git a/providers/azure/resources/authorization.go b/providers/azure/resources/authorization.go index 629211b989..8e06f07988 100644 --- a/providers/azure/resources/authorization.go +++ b/providers/azure/resources/authorization.go @@ -8,11 +8,11 @@ import ( "fmt" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" authorization "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2" ) diff --git a/providers/azure/resources/azure.lr b/providers/azure/resources/azure.lr index c51f749174..23624fafb0 100644 --- a/providers/azure/resources/azure.lr +++ b/providers/azure/resources/azure.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/azure" -option go_package = "go.mondoo.com/cnquery/v9/providers/azure/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/azure/resources" // Azure resource azure { diff --git a/providers/azure/resources/azure.lr.go b/providers/azure/resources/azure.lr.go index 005c92fdd0..659a7c452a 100644 --- a/providers/azure/resources/azure.lr.go +++ b/providers/azure/resources/azure.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/azure/resources/cloud_defender.go b/providers/azure/resources/cloud_defender.go index 98598f68a6..c6e5488016 100644 --- a/providers/azure/resources/cloud_defender.go +++ b/providers/azure/resources/cloud_defender.go @@ -14,11 +14,11 @@ import ( "strings" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud" diff --git a/providers/azure/resources/compute.go b/providers/azure/resources/compute.go index 747829e1f8..8e6cc6fd1e 100644 --- a/providers/azure/resources/compute.go +++ b/providers/azure/resources/compute.go @@ -11,11 +11,11 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" compute "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute" network "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" ) func (a *mqlAzureSubscriptionComputeService) id() (string, error) { diff --git a/providers/azure/resources/cosmosdb.go b/providers/azure/resources/cosmosdb.go index fb0b801920..4f1256c622 100644 --- a/providers/azure/resources/cosmosdb.go +++ b/providers/azure/resources/cosmosdb.go @@ -6,11 +6,11 @@ package resources import ( "context" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" cosmosdb "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos" diff --git a/providers/azure/resources/discovery.go b/providers/azure/resources/discovery.go index 771ea4624d..fa831913bd 100644 --- a/providers/azure/resources/discovery.go +++ b/providers/azure/resources/discovery.go @@ -8,11 +8,11 @@ import ( "fmt" "strings" - "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/azure/connection" - "go.mondoo.com/cnquery/v9/utils/stringx" + "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/azure/connection" + "go.mondoo.com/cnquery/v10/utils/stringx" subscriptions "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions" ) diff --git a/providers/azure/resources/keyvault.go b/providers/azure/resources/keyvault.go index eb81c62dd1..1af3aa3d6b 100644 --- a/providers/azure/resources/keyvault.go +++ b/providers/azure/resources/keyvault.go @@ -10,11 +10,11 @@ import ( "fmt" "regexp" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/keyvault/azcertificates" diff --git a/providers/azure/resources/mariadb.go b/providers/azure/resources/mariadb.go index f138fc6817..a7e72f3c49 100644 --- a/providers/azure/resources/mariadb.go +++ b/providers/azure/resources/mariadb.go @@ -7,11 +7,11 @@ import ( "context" "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" mariadb "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/mariadb/armmariadb" diff --git a/providers/azure/resources/monitor.go b/providers/azure/resources/monitor.go index 110288bff5..50c5f012b7 100644 --- a/providers/azure/resources/monitor.go +++ b/providers/azure/resources/monitor.go @@ -7,11 +7,11 @@ import ( "context" "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" appinsights "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/applicationinsights/armapplicationinsights" diff --git a/providers/azure/resources/mysql.go b/providers/azure/resources/mysql.go index 06d3e9d5ae..b9def60731 100644 --- a/providers/azure/resources/mysql.go +++ b/providers/azure/resources/mysql.go @@ -8,11 +8,11 @@ import ( "errors" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" mysql "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/mysql/armmysql" diff --git a/providers/azure/resources/network.go b/providers/azure/resources/network.go index b8aaf6625b..8dcff0ba0d 100644 --- a/providers/azure/resources/network.go +++ b/providers/azure/resources/network.go @@ -10,12 +10,12 @@ import ( "strings" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/stringx" network "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" ) diff --git a/providers/azure/resources/postgresql.go b/providers/azure/resources/postgresql.go index 90cc13bb43..52a2d1a2f4 100644 --- a/providers/azure/resources/postgresql.go +++ b/providers/azure/resources/postgresql.go @@ -8,11 +8,11 @@ import ( "encoding/json" "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" postgresql "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresql/armpostgresql" diff --git a/providers/azure/resources/resource_groups.go b/providers/azure/resources/resource_groups.go index 31b22b4a0f..6036c42c31 100644 --- a/providers/azure/resources/resource_groups.go +++ b/providers/azure/resources/resource_groups.go @@ -7,10 +7,10 @@ import ( "context" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" azureres "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources" ) diff --git a/providers/azure/resources/resources.go b/providers/azure/resources/resources.go index 1a19b64556..12443d174d 100644 --- a/providers/azure/resources/resources.go +++ b/providers/azure/resources/resources.go @@ -7,10 +7,10 @@ import ( "context" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" azureres "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources" ) diff --git a/providers/azure/resources/shared.go b/providers/azure/resources/shared.go index 0df4e84f96..2bd82266a1 100644 --- a/providers/azure/resources/shared.go +++ b/providers/azure/resources/shared.go @@ -6,8 +6,8 @@ package resources import ( "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/azure/connection" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/azure/connection" ) type assetIdentifier struct { diff --git a/providers/azure/resources/sql.go b/providers/azure/resources/sql.go index 9affd42440..6cca270a24 100644 --- a/providers/azure/resources/sql.go +++ b/providers/azure/resources/sql.go @@ -8,11 +8,11 @@ import ( "errors" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" sql "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/sql/armsql" ) diff --git a/providers/azure/resources/storage.go b/providers/azure/resources/storage.go index d80f435470..2af5593a66 100644 --- a/providers/azure/resources/storage.go +++ b/providers/azure/resources/storage.go @@ -10,11 +10,11 @@ import ( "net/url" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" table "github.com/Azure/azure-sdk-for-go/sdk/data/aztables" diff --git a/providers/azure/resources/subscription.go b/providers/azure/resources/subscription.go index 20261bc442..9c7829f981 100644 --- a/providers/azure/resources/subscription.go +++ b/providers/azure/resources/subscription.go @@ -8,11 +8,11 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" subscriptions "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" ) // TODO: we need to make this NOT go through init, this is heavy on the API diff --git a/providers/azure/resources/web.go b/providers/azure/resources/web.go index c32675d40f..27632b99c1 100644 --- a/providers/azure/resources/web.go +++ b/providers/azure/resources/web.go @@ -14,11 +14,11 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/azure/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/azure/connection" + "go.mondoo.com/cnquery/v10/types" web "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice" ) diff --git a/providers/builtin.go b/providers/builtin.go index 7280a91c7a..b9714687c4 100644 --- a/providers/builtin.go +++ b/providers/builtin.go @@ -13,8 +13,8 @@ package providers import ( _ "embed" - coreconf "go.mondoo.com/cnquery/v9/providers/core/config" - core "go.mondoo.com/cnquery/v9/providers/core/provider" + coreconf "go.mondoo.com/cnquery/v10/providers/core/config" + core "go.mondoo.com/cnquery/v10/providers/core/provider" ) //go:embed core/resources/core.resources.json diff --git a/providers/builtin_dev.go b/providers/builtin_dev.go index 16de569017..c0b85bf3b4 100644 --- a/providers/builtin_dev.go +++ b/providers/builtin_dev.go @@ -8,8 +8,8 @@ package providers import ( _ "embed" - // osconf "go.mondoo.com/cnquery/v9/providers/os/config" - // os "go.mondoo.com/cnquery/v9/providers/os/provider" + // osconf "go.mondoo.com/cnquery/v10/providers/os/config" + // os "go.mondoo.com/cnquery/v10/providers/os/provider" ) // //go:embed os/resources/os.resources.json diff --git a/providers/coordinator.go b/providers/coordinator.go index 68611403ae..47adb33bd5 100644 --- a/providers/coordinator.go +++ b/providers/coordinator.go @@ -15,11 +15,11 @@ import ( "github.com/muesli/termenv" "github.com/rs/zerolog" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - pp "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - coreconf "go.mondoo.com/cnquery/v9/providers/core/config" - "go.mondoo.com/cnquery/v9/providers/core/resources/versions/semver" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + pp "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + coreconf "go.mondoo.com/cnquery/v10/providers/core/config" + "go.mondoo.com/cnquery/v10/providers/core/resources/versions/semver" "google.golang.org/grpc/status" ) diff --git a/providers/core/config/config.go b/providers/core/config/config.go index b902245157..c4dad5f696 100644 --- a/providers/core/config/config.go +++ b/providers/core/config/config.go @@ -3,7 +3,7 @@ package config -import "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" +import "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" var Config = plugin.Provider{ Name: "core", diff --git a/providers/core/gen/main.go b/providers/core/gen/main.go index 867162c5c2..97339dee77 100644 --- a/providers/core/gen/main.go +++ b/providers/core/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/core/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/core/config" ) func main() { diff --git a/providers/core/main.go b/providers/core/main.go index 91cdacd2ec..11aa5ddeaf 100644 --- a/providers/core/main.go +++ b/providers/core/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/core/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/core/provider" ) func main() { diff --git a/providers/core/provider/provider.go b/providers/core/provider/provider.go index 916f853ac0..3938d26681 100644 --- a/providers/core/provider/provider.go +++ b/providers/core/provider/provider.go @@ -8,11 +8,11 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream" - "go.mondoo.com/cnquery/v9/providers/core/resources" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream" + "go.mondoo.com/cnquery/v10/providers/core/resources" + "go.mondoo.com/cnquery/v10/types" ) const defaultConnection uint32 = 1 diff --git a/providers/core/resources/asset_eol.go b/providers/core/resources/asset_eol.go index 77323d4454..09270aabbd 100644 --- a/providers/core/resources/asset_eol.go +++ b/providers/core/resources/asset_eol.go @@ -7,11 +7,11 @@ import ( "context" "errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd" + "go.mondoo.com/cnquery/v10/utils/multierr" "time" ) diff --git a/providers/core/resources/core.lr b/providers/core/resources/core.lr index 21d89ffa49..6ceecf4369 100644 --- a/providers/core/resources/core.lr +++ b/providers/core/resources/core.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/core" -option go_package = "go.mondoo.com/cnquery/v9/providers/core/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/core/resources" // Contextual information about MQL runtime and environment mondoo @defaults("version") { diff --git a/providers/core/resources/core.lr.go b/providers/core/resources/core.lr.go index 40f40a9dd4..557daf05cf 100644 --- a/providers/core/resources/core.lr.go +++ b/providers/core/resources/core.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/core/resources/core.resources.json b/providers/core/resources/core.resources.json index 0a6ed36117..7bde036186 100644 --- a/providers/core/resources/core.resources.json +++ b/providers/core/resources/core.resources.json @@ -1 +1 @@ -{"resources":{"asset":{"id":"asset","name":"asset","fields":{"arch":{"name":"arch","type":"\u0007","is_mandatory":true,"title":"Architecture this OS is running on","provider":"go.mondoo.com/cnquery/v9/providers/core"},"build":{"name":"build","type":"\u0007","is_mandatory":true,"title":"Build version of the platform (optional)","provider":"go.mondoo.com/cnquery/v9/providers/core"},"eol":{"name":"eol","type":"\u001basset.eol","title":"Information about the assets platform end-of-life.","is_implicit_resource":true,"provider":"go.mondoo.com/cnquery/v9/providers/core"},"family":{"name":"family","type":"\u0019\u0007","is_mandatory":true,"title":"List of platform families that this platform belongs to","provider":"go.mondoo.com/cnquery/v9/providers/core"},"fqdn":{"name":"fqdn","type":"\u0007","is_mandatory":true,"title":"Fully qualified domain name (optional)","provider":"go.mondoo.com/cnquery/v9/providers/core"},"ids":{"name":"ids","type":"\u0019\u0007","is_mandatory":true,"title":"All identifiers for this asset","provider":"go.mondoo.com/cnquery/v9/providers/core"},"kind":{"name":"kind","type":"\u0007","is_mandatory":true,"title":"Kind of platform, for example:","desc":"api, baremetal, vm, vm-image, container, container-image, network, ...","provider":"go.mondoo.com/cnquery/v9/providers/core"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Optional platform information","provider":"go.mondoo.com/cnquery/v9/providers/core"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Human readable name of the asset","provider":"go.mondoo.com/cnquery/v9/providers/core"},"platform":{"name":"platform","type":"\u0007","is_mandatory":true,"title":"Platform for this asset (redhat, windows, k8s-pod)","provider":"go.mondoo.com/cnquery/v9/providers/core"},"runtime":{"name":"runtime","type":"\u0007","is_mandatory":true,"title":"Runtime is the specific kind of the platform. Examples include:","desc":"docker-container, podman-container, aws-ec2-instance, ...","provider":"go.mondoo.com/cnquery/v9/providers/core"},"title":{"name":"title","type":"\u0007","is_mandatory":true,"title":"Human-readable title of the platform (e.g., \"Red Hat 8, Container\")","provider":"go.mondoo.com/cnquery/v9/providers/core"},"version":{"name":"version","type":"\u0007","is_mandatory":true,"title":"Version of the platform","provider":"go.mondoo.com/cnquery/v9/providers/core"}},"title":"General asset information","min_mondoo_version":"6.13.0","defaults":"name platform version","provider":"go.mondoo.com/cnquery/v9/providers/core"},"asset.eol":{"id":"asset.eol","name":"asset.eol","fields":{"date":{"name":"date","type":"\t","is_mandatory":true,"title":"End-of-Life date","provider":"go.mondoo.com/cnquery/v9/providers/core"},"docsUrl":{"name":"docsUrl","type":"\u0007","is_mandatory":true,"title":"Documentation URL","provider":"go.mondoo.com/cnquery/v9/providers/core"},"productUrl":{"name":"productUrl","type":"\u0007","is_mandatory":true,"title":"Product URL","provider":"go.mondoo.com/cnquery/v9/providers/core"}},"title":"Information about the assets platform end-of-life.","min_mondoo_version":"latest","defaults":"date","provider":"go.mondoo.com/cnquery/v9/providers/core"},"cpe":{"id":"cpe","name":"cpe","fields":{"edition":{"name":"edition","type":"\u0007","title":"Edition of the CPE","provider":"go.mondoo.com/cnquery/v9/providers/core"},"language":{"name":"language","type":"\u0007","title":"Language of the CPE","provider":"go.mondoo.com/cnquery/v9/providers/core"},"other":{"name":"other","type":"\u0007","title":"Other of the CPE","provider":"go.mondoo.com/cnquery/v9/providers/core"},"part":{"name":"part","type":"\u0007","title":"Part of the CPE","provider":"go.mondoo.com/cnquery/v9/providers/core"},"product":{"name":"product","type":"\u0007","title":"Product of the CPE","provider":"go.mondoo.com/cnquery/v9/providers/core"},"swEdition":{"name":"swEdition","type":"\u0007","title":"Software edition of the CPE","provider":"go.mondoo.com/cnquery/v9/providers/core"},"targetHw":{"name":"targetHw","type":"\u0007","title":"Target hardware of the CPE","provider":"go.mondoo.com/cnquery/v9/providers/core"},"targetSw":{"name":"targetSw","type":"\u0007","title":"Target software of the CPE","provider":"go.mondoo.com/cnquery/v9/providers/core"},"update":{"name":"update","type":"\u0007","title":"Update of the CPE","provider":"go.mondoo.com/cnquery/v9/providers/core"},"uri":{"name":"uri","type":"\u0007","is_mandatory":true,"title":"URI binding of the CPE","provider":"go.mondoo.com/cnquery/v9/providers/core"},"vendor":{"name":"vendor","type":"\u0007","title":"Vendor of the CPE","provider":"go.mondoo.com/cnquery/v9/providers/core"},"version":{"name":"version","type":"\u0007","title":"Version of the CPE","provider":"go.mondoo.com/cnquery/v9/providers/core"}},"init":{"args":[{"name":"uri","type":"\u0007"}]},"title":"Common Platform Enumeration (CPE) identifiers","min_mondoo_version":"latest","defaults":"uri","provider":"go.mondoo.com/cnquery/v9/providers/core"},"mondoo":{"id":"mondoo","name":"mondoo","fields":{"arch":{"name":"arch","type":"\u0007","title":"Architecture of this client (e.g., linux-amd64)","min_mondoo_version":"latest","provider":"go.mondoo.com/cnquery/v9/providers/core"},"build":{"name":"build","type":"\u0007","title":"Build of the client (e.g., production, development)","provider":"go.mondoo.com/cnquery/v9/providers/core"},"capabilities":{"name":"capabilities","type":"\u0019\u0007","title":"Connection capabilities","provider":"go.mondoo.com/cnquery/v9/providers/core"},"jobEnvironment":{"name":"jobEnvironment","type":"\n","title":"Agent execution environment","provider":"go.mondoo.com/cnquery/v9/providers/core"},"version":{"name":"version","type":"\u0007","title":"Version of the client running on the asset","provider":"go.mondoo.com/cnquery/v9/providers/core"}},"title":"Contextual information about MQL runtime and environment","min_mondoo_version":"5.15.0","defaults":"version","provider":"go.mondoo.com/cnquery/v9/providers/core"},"parse":{"id":"parse","name":"parse","title":"Provides common parsers (json, ini, certs, etc)","min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/v9/providers/core"},"regex":{"id":"regex","name":"regex","fields":{"creditCard":{"name":"creditCard","type":"\u0008","title":"Matches credit card numbers","provider":"go.mondoo.com/cnquery/v9/providers/core"},"email":{"name":"email","type":"\u0008","title":"Matches email addresses","provider":"go.mondoo.com/cnquery/v9/providers/core"},"emoji":{"name":"emoji","type":"\u0008","title":"Matches emojis","provider":"go.mondoo.com/cnquery/v9/providers/core"},"ipv4":{"name":"ipv4","type":"\u0008","title":"Matches IPv4 addresses","provider":"go.mondoo.com/cnquery/v9/providers/core"},"ipv6":{"name":"ipv6","type":"\u0008","title":"Matches IPv6 addresses","provider":"go.mondoo.com/cnquery/v9/providers/core"},"mac":{"name":"mac","type":"\u0008","title":"Matches MAC addresses","provider":"go.mondoo.com/cnquery/v9/providers/core"},"semver":{"name":"semver","type":"\u0008","title":"Matches semantic version numbers","provider":"go.mondoo.com/cnquery/v9/providers/core"},"url":{"name":"url","type":"\u0008","title":"Matches URL addresses (HTTP/HTTPS)","provider":"go.mondoo.com/cnquery/v9/providers/core"},"uuid":{"name":"uuid","type":"\u0008","title":"Matches hyphen-deliminated UUIDs","provider":"go.mondoo.com/cnquery/v9/providers/core"}},"title":"Built-in regular expression functions","min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/v9/providers/core"},"time":{"id":"time","name":"time","fields":{"day":{"name":"day","type":"\t","title":"One day, used for durations","provider":"go.mondoo.com/cnquery/v9/providers/core"},"hour":{"name":"hour","type":"\t","title":"One hour, used for durations","provider":"go.mondoo.com/cnquery/v9/providers/core"},"minute":{"name":"minute","type":"\t","title":"One minute, used for durations","provider":"go.mondoo.com/cnquery/v9/providers/core"},"now":{"name":"now","type":"\t","title":"The current time on the local system","provider":"go.mondoo.com/cnquery/v9/providers/core"},"second":{"name":"second","type":"\t","title":"One second, used for durations","provider":"go.mondoo.com/cnquery/v9/providers/core"},"today":{"name":"today","type":"\t","title":"The current day starting at midnight","provider":"go.mondoo.com/cnquery/v9/providers/core"},"tomorrow":{"name":"tomorrow","type":"\t","title":"The next day starting at midnight","provider":"go.mondoo.com/cnquery/v9/providers/core"}},"title":"Date and time functions","min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/v9/providers/core"},"uuid":{"id":"uuid","name":"uuid","fields":{"urn":{"name":"urn","type":"\u0007","title":"URN returns the RFC 2141 URN form of uuid","provider":"go.mondoo.com/cnquery/v9/providers/core"},"value":{"name":"value","type":"\u0007","is_mandatory":true,"title":"Canonical string representation xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","provider":"go.mondoo.com/cnquery/v9/providers/core"},"variant":{"name":"variant","type":"\u0007","title":"Variant encoded in UUID","provider":"go.mondoo.com/cnquery/v9/providers/core"},"version":{"name":"version","type":"\u0005","title":"Version of UUID","provider":"go.mondoo.com/cnquery/v9/providers/core"}},"init":{"args":[{"name":"value","type":"\u0007"}]},"title":"UUIDs based on RFC 4122 and DCE 1.1","min_mondoo_version":"5.15.0","defaults":"value","provider":"go.mondoo.com/cnquery/v9/providers/core"}}} \ No newline at end of file +{"resources":{"asset":{"id":"asset","name":"asset","fields":{"arch":{"name":"arch","type":"\u0007","is_mandatory":true,"title":"Architecture this OS is running on","provider":"go.mondoo.com/cnquery/providers/core"},"build":{"name":"build","type":"\u0007","is_mandatory":true,"title":"Build version of the platform (optional)","provider":"go.mondoo.com/cnquery/providers/core"},"eol":{"name":"eol","type":"\u001basset.eol","title":"Information about the assets platform end-of-life.","is_implicit_resource":true,"provider":"go.mondoo.com/cnquery/providers/core"},"family":{"name":"family","type":"\u0019\u0007","is_mandatory":true,"title":"List of platform families that this platform belongs to","provider":"go.mondoo.com/cnquery/providers/core"},"fqdn":{"name":"fqdn","type":"\u0007","is_mandatory":true,"title":"Fully qualified domain name (optional)","provider":"go.mondoo.com/cnquery/providers/core"},"ids":{"name":"ids","type":"\u0019\u0007","is_mandatory":true,"title":"All identifiers for this asset","provider":"go.mondoo.com/cnquery/providers/core"},"kind":{"name":"kind","type":"\u0007","is_mandatory":true,"title":"Kind of platform, for example:","desc":"api, baremetal, vm, vm-image, container, container-image, network, ...","provider":"go.mondoo.com/cnquery/providers/core"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Optional platform information","provider":"go.mondoo.com/cnquery/providers/core"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Human readable name of the asset","provider":"go.mondoo.com/cnquery/providers/core"},"platform":{"name":"platform","type":"\u0007","is_mandatory":true,"title":"Platform for this asset (redhat, windows, k8s-pod)","provider":"go.mondoo.com/cnquery/providers/core"},"runtime":{"name":"runtime","type":"\u0007","is_mandatory":true,"title":"Runtime is the specific kind of the platform. Examples include:","desc":"docker-container, podman-container, aws-ec2-instance, ...","provider":"go.mondoo.com/cnquery/providers/core"},"title":{"name":"title","type":"\u0007","is_mandatory":true,"title":"Human-readable title of the platform (e.g., \"Red Hat 8, Container\")","provider":"go.mondoo.com/cnquery/providers/core"},"version":{"name":"version","type":"\u0007","is_mandatory":true,"title":"Version of the platform","provider":"go.mondoo.com/cnquery/providers/core"}},"title":"General asset information","min_mondoo_version":"6.13.0","defaults":"name platform version","provider":"go.mondoo.com/cnquery/providers/core"},"asset.eol":{"id":"asset.eol","name":"asset.eol","fields":{"date":{"name":"date","type":"\t","is_mandatory":true,"title":"End-of-Life date","provider":"go.mondoo.com/cnquery/providers/core"},"docsUrl":{"name":"docsUrl","type":"\u0007","is_mandatory":true,"title":"Documentation URL","provider":"go.mondoo.com/cnquery/providers/core"},"productUrl":{"name":"productUrl","type":"\u0007","is_mandatory":true,"title":"Product URL","provider":"go.mondoo.com/cnquery/providers/core"}},"title":"Information about the assets platform end-of-life.","min_mondoo_version":"latest","defaults":"date","provider":"go.mondoo.com/cnquery/providers/core"},"cpe":{"id":"cpe","name":"cpe","fields":{"edition":{"name":"edition","type":"\u0007","title":"Edition of the CPE","provider":"go.mondoo.com/cnquery/providers/core"},"language":{"name":"language","type":"\u0007","title":"Language of the CPE","provider":"go.mondoo.com/cnquery/providers/core"},"other":{"name":"other","type":"\u0007","title":"Other of the CPE","provider":"go.mondoo.com/cnquery/providers/core"},"part":{"name":"part","type":"\u0007","title":"Part of the CPE","provider":"go.mondoo.com/cnquery/providers/core"},"product":{"name":"product","type":"\u0007","title":"Product of the CPE","provider":"go.mondoo.com/cnquery/providers/core"},"swEdition":{"name":"swEdition","type":"\u0007","title":"Software edition of the CPE","provider":"go.mondoo.com/cnquery/providers/core"},"targetHw":{"name":"targetHw","type":"\u0007","title":"Target hardware of the CPE","provider":"go.mondoo.com/cnquery/providers/core"},"targetSw":{"name":"targetSw","type":"\u0007","title":"Target software of the CPE","provider":"go.mondoo.com/cnquery/providers/core"},"update":{"name":"update","type":"\u0007","title":"Update of the CPE","provider":"go.mondoo.com/cnquery/providers/core"},"uri":{"name":"uri","type":"\u0007","is_mandatory":true,"title":"URI binding of the CPE","provider":"go.mondoo.com/cnquery/providers/core"},"vendor":{"name":"vendor","type":"\u0007","title":"Vendor of the CPE","provider":"go.mondoo.com/cnquery/providers/core"},"version":{"name":"version","type":"\u0007","title":"Version of the CPE","provider":"go.mondoo.com/cnquery/providers/core"}},"init":{"args":[{"name":"uri","type":"\u0007"}]},"title":"Common Platform Enumeration (CPE) identifiers","min_mondoo_version":"latest","defaults":"uri","provider":"go.mondoo.com/cnquery/providers/core"},"mondoo":{"id":"mondoo","name":"mondoo","fields":{"arch":{"name":"arch","type":"\u0007","title":"Architecture of this client (e.g., linux-amd64)","min_mondoo_version":"latest","provider":"go.mondoo.com/cnquery/providers/core"},"build":{"name":"build","type":"\u0007","title":"Build of the client (e.g., production, development)","provider":"go.mondoo.com/cnquery/providers/core"},"capabilities":{"name":"capabilities","type":"\u0019\u0007","title":"Connection capabilities","provider":"go.mondoo.com/cnquery/providers/core"},"jobEnvironment":{"name":"jobEnvironment","type":"\n","title":"Agent execution environment","provider":"go.mondoo.com/cnquery/providers/core"},"version":{"name":"version","type":"\u0007","title":"Version of the client running on the asset","provider":"go.mondoo.com/cnquery/providers/core"}},"title":"Contextual information about MQL runtime and environment","min_mondoo_version":"5.15.0","defaults":"version","provider":"go.mondoo.com/cnquery/providers/core"},"parse":{"id":"parse","name":"parse","title":"Provides common parsers (json, ini, certs, etc)","min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/core"},"regex":{"id":"regex","name":"regex","fields":{"creditCard":{"name":"creditCard","type":"\u0008","title":"Matches credit card numbers","provider":"go.mondoo.com/cnquery/providers/core"},"email":{"name":"email","type":"\u0008","title":"Matches email addresses","provider":"go.mondoo.com/cnquery/providers/core"},"emoji":{"name":"emoji","type":"\u0008","title":"Matches emojis","provider":"go.mondoo.com/cnquery/providers/core"},"ipv4":{"name":"ipv4","type":"\u0008","title":"Matches IPv4 addresses","provider":"go.mondoo.com/cnquery/providers/core"},"ipv6":{"name":"ipv6","type":"\u0008","title":"Matches IPv6 addresses","provider":"go.mondoo.com/cnquery/providers/core"},"mac":{"name":"mac","type":"\u0008","title":"Matches MAC addresses","provider":"go.mondoo.com/cnquery/providers/core"},"semver":{"name":"semver","type":"\u0008","title":"Matches semantic version numbers","provider":"go.mondoo.com/cnquery/providers/core"},"url":{"name":"url","type":"\u0008","title":"Matches URL addresses (HTTP/HTTPS)","provider":"go.mondoo.com/cnquery/providers/core"},"uuid":{"name":"uuid","type":"\u0008","title":"Matches hyphen-deliminated UUIDs","provider":"go.mondoo.com/cnquery/providers/core"}},"title":"Built-in regular expression functions","min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/core"},"time":{"id":"time","name":"time","fields":{"day":{"name":"day","type":"\t","title":"One day, used for durations","provider":"go.mondoo.com/cnquery/providers/core"},"hour":{"name":"hour","type":"\t","title":"One hour, used for durations","provider":"go.mondoo.com/cnquery/providers/core"},"minute":{"name":"minute","type":"\t","title":"One minute, used for durations","provider":"go.mondoo.com/cnquery/providers/core"},"now":{"name":"now","type":"\t","title":"The current time on the local system","provider":"go.mondoo.com/cnquery/providers/core"},"second":{"name":"second","type":"\t","title":"One second, used for durations","provider":"go.mondoo.com/cnquery/providers/core"},"today":{"name":"today","type":"\t","title":"The current day starting at midnight","provider":"go.mondoo.com/cnquery/providers/core"},"tomorrow":{"name":"tomorrow","type":"\t","title":"The next day starting at midnight","provider":"go.mondoo.com/cnquery/providers/core"}},"title":"Date and time functions","min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/core"},"uuid":{"id":"uuid","name":"uuid","fields":{"urn":{"name":"urn","type":"\u0007","title":"URN returns the RFC 2141 URN form of uuid","provider":"go.mondoo.com/cnquery/providers/core"},"value":{"name":"value","type":"\u0007","is_mandatory":true,"title":"Canonical string representation xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","provider":"go.mondoo.com/cnquery/providers/core"},"variant":{"name":"variant","type":"\u0007","title":"Variant encoded in UUID","provider":"go.mondoo.com/cnquery/providers/core"},"version":{"name":"version","type":"\u0005","title":"Version of UUID","provider":"go.mondoo.com/cnquery/providers/core"}},"init":{"args":[{"name":"value","type":"\u0007"}]},"title":"UUIDs based on RFC 4122 and DCE 1.1","min_mondoo_version":"5.15.0","defaults":"value","provider":"go.mondoo.com/cnquery/providers/core"}}} \ No newline at end of file diff --git a/providers/core/resources/core_test.go b/providers/core/resources/core_test.go index 603d3709a1..157ef74e51 100644 --- a/providers/core/resources/core_test.go +++ b/providers/core/resources/core_test.go @@ -3,6 +3,6 @@ package resources_test -import "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" +import "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" var x = testutils.InitTester(testutils.LinuxMock()) diff --git a/providers/core/resources/cpe.go b/providers/core/resources/cpe.go index 713c724556..810b95ab92 100644 --- a/providers/core/resources/cpe.go +++ b/providers/core/resources/cpe.go @@ -6,8 +6,8 @@ package resources import ( "errors" "github.com/facebookincubator/nvdtools/wfn" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) func initCpe(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/core/resources/mondoo.go b/providers/core/resources/mondoo.go index 584d417b85..9172f3a090 100644 --- a/providers/core/resources/mondoo.go +++ b/providers/core/resources/mondoo.go @@ -6,8 +6,8 @@ package resources import ( "runtime" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/cli/execruntime" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/cli/execruntime" ) func (m *mqlMondoo) version() (string, error) { diff --git a/providers/core/resources/mql_test.go b/providers/core/resources/mql_test.go index 0c01efe8db..eb46cb569e 100644 --- a/providers/core/resources/mql_test.go +++ b/providers/core/resources/mql_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) // Core Language constructs diff --git a/providers/core/resources/parse_test.go b/providers/core/resources/parse_test.go index f5e03934dd..e7e4ac8029 100644 --- a/providers/core/resources/parse_test.go +++ b/providers/core/resources/parse_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) func TestParse_Date(t *testing.T) { diff --git a/providers/core/resources/regex.go b/providers/core/resources/regex.go index d1d15505f7..9088e57183 100644 --- a/providers/core/resources/regex.go +++ b/providers/core/resources/regex.go @@ -3,7 +3,7 @@ package resources -import "go.mondoo.com/cnquery/v9/providers/core/resources/regex" +import "go.mondoo.com/cnquery/v10/providers/core/resources/regex" func (p *mqlRegex) id() (string, error) { return "time", nil diff --git a/providers/core/resources/regex_test.go b/providers/core/resources/regex_test.go index 7792455e77..a0435faf9d 100644 --- a/providers/core/resources/regex_test.go +++ b/providers/core/resources/regex_test.go @@ -6,7 +6,7 @@ package resources_test import ( "testing" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) var emojiTestString = []rune("☀⛺➿🌀🎂👍🔒😀🙈🚵🛼🤌🤣🥳🧡🧿🩰🫖") diff --git a/providers/core/resources/time.go b/providers/core/resources/time.go index 7e6a9df624..7232fef8e5 100644 --- a/providers/core/resources/time.go +++ b/providers/core/resources/time.go @@ -6,7 +6,7 @@ package resources import ( "time" - "go.mondoo.com/cnquery/v9/llx" + "go.mondoo.com/cnquery/v10/llx" ) func (p *mqlTime) now() (*time.Time, error) { diff --git a/providers/core/resources/time_test.go b/providers/core/resources/time_test.go index 500fbec567..b6377d0853 100644 --- a/providers/core/resources/time_test.go +++ b/providers/core/resources/time_test.go @@ -9,8 +9,8 @@ import ( "time" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) func duration(i int64) *time.Time { diff --git a/providers/core/resources/time_unit_test.go b/providers/core/resources/time_unit_test.go index 58930ea84e..7cedcd5dd7 100644 --- a/providers/core/resources/time_unit_test.go +++ b/providers/core/resources/time_unit_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/llx" + "go.mondoo.com/cnquery/v10/llx" ) func TestTime_Conversions(t *testing.T) { diff --git a/providers/core/resources/uuid.go b/providers/core/resources/uuid.go index f279acf2ba..1917513479 100644 --- a/providers/core/resources/uuid.go +++ b/providers/core/resources/uuid.go @@ -7,8 +7,8 @@ import ( "errors" "github.com/google/uuid" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) func (u *mqlUuid) id() (string, error) { diff --git a/providers/core/resources/uuid_test.go b/providers/core/resources/uuid_test.go index c8f486e776..2a0dd7aa7c 100644 --- a/providers/core/resources/uuid_test.go +++ b/providers/core/resources/uuid_test.go @@ -6,7 +6,7 @@ package resources_test import ( "testing" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) func TestUUID(t *testing.T) { diff --git a/providers/core/resources/versions/apk/version_test.go b/providers/core/resources/versions/apk/version_test.go index d9aa7ae9d0..53af43e83b 100644 --- a/providers/core/resources/versions/apk/version_test.go +++ b/providers/core/resources/versions/apk/version_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/core/resources/versions/apk" - "go.mondoo.com/cnquery/v9/providers/core/resources/versions/generic" + "go.mondoo.com/cnquery/v10/providers/core/resources/versions/apk" + "go.mondoo.com/cnquery/v10/providers/core/resources/versions/generic" ) const ( diff --git a/providers/core/resources/versions/generic/compare.go b/providers/core/resources/versions/generic/compare.go index 5a816b508d..8a519c7cb8 100644 --- a/providers/core/resources/versions/generic/compare.go +++ b/providers/core/resources/versions/generic/compare.go @@ -7,10 +7,10 @@ import ( "errors" "strings" - "go.mondoo.com/cnquery/v9/providers/core/resources/versions/apk" - "go.mondoo.com/cnquery/v9/providers/core/resources/versions/deb" - "go.mondoo.com/cnquery/v9/providers/core/resources/versions/rpm" - "go.mondoo.com/cnquery/v9/providers/core/resources/versions/semver" + "go.mondoo.com/cnquery/v10/providers/core/resources/versions/apk" + "go.mondoo.com/cnquery/v10/providers/core/resources/versions/deb" + "go.mondoo.com/cnquery/v10/providers/core/resources/versions/rpm" + "go.mondoo.com/cnquery/v10/providers/core/resources/versions/semver" ) func Compare(format, a, b string) (int, error) { diff --git a/providers/defaults.go b/providers/defaults.go index 727d6d0c26..b3384b4a59 100644 --- a/providers/defaults.go +++ b/providers/defaults.go @@ -5,7 +5,7 @@ package providers -import "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" +import "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" // DefaultProviders are useful when working in air-gapped environments // to tell users what providers are used for common connections, when there diff --git a/providers/defaults_shared.go b/providers/defaults_shared.go index 29ec602568..c1c55d433f 100644 --- a/providers/defaults_shared.go +++ b/providers/defaults_shared.go @@ -8,7 +8,7 @@ import ( ) const ( - DefaultOsID = "go.mondoo.com/cnquery/v9/providers/os" + DefaultOsID = "go.mondoo.com/cnquery/v10/providers/os" DeprecatedDefaultOsID = "go.mondoo.com/cnquery/providers/os" // temp to migrate v9 beta users ) diff --git a/providers/equinix/config/config.go b/providers/equinix/config/config.go index abfccce094..52ceb4adab 100644 --- a/providers/equinix/config/config.go +++ b/providers/equinix/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/equinix/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/equinix/provider" ) var Config = plugin.Provider{ diff --git a/providers/equinix/connection/connection.go b/providers/equinix/connection/connection.go index 4ec4ccabdf..c8e0db8bc1 100644 --- a/providers/equinix/connection/connection.go +++ b/providers/equinix/connection/connection.go @@ -9,9 +9,9 @@ import ( "github.com/packethost/packngo" "github.com/rs/zerolog/log" - "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/vault" + "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/vault" ) type ResourceType int diff --git a/providers/equinix/gen/main.go b/providers/equinix/gen/main.go index a0631c4982..69487128d5 100644 --- a/providers/equinix/gen/main.go +++ b/providers/equinix/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/equinix/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/equinix/config" ) func main() { diff --git a/providers/equinix/go.mod b/providers/equinix/go.mod index 5ec87e7f21..7422439591 100644 --- a/providers/equinix/go.mod +++ b/providers/equinix/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/equinix +module go.mondoo.com/cnquery/v10/providers/equinix -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -9,7 +9,7 @@ toolchain go1.21.3 require ( github.com/packethost/packngo v0.31.0 github.com/rs/zerolog v1.31.0 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 ) require ( diff --git a/providers/equinix/main.go b/providers/equinix/main.go index d1181965c3..00ea8956de 100644 --- a/providers/equinix/main.go +++ b/providers/equinix/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/equinix/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/equinix/provider" ) func main() { diff --git a/providers/equinix/provider/provider.go b/providers/equinix/provider/provider.go index 38c2fee549..983e4b9325 100644 --- a/providers/equinix/provider/provider.go +++ b/providers/equinix/provider/provider.go @@ -9,13 +9,13 @@ import ( "strconv" "strings" - "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/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/equinix/connection" - "go.mondoo.com/cnquery/v9/providers/equinix/resources" + "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" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/equinix/connection" + "go.mondoo.com/cnquery/v10/providers/equinix/resources" ) const ConnectionType = "equinix" diff --git a/providers/equinix/resources/equinix.lr b/providers/equinix/resources/equinix.lr index 746d328f99..4b54a5b654 100644 --- a/providers/equinix/resources/equinix.lr +++ b/providers/equinix/resources/equinix.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/equinix" -option go_package = "go.mondoo.com/cnquery/v9/providers/equinix/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/equinix/resources" // Equinix Metal project equinix.metal.project @defaults("name") { diff --git a/providers/equinix/resources/equinix.lr.go b/providers/equinix/resources/equinix.lr.go index 99e14145b7..5b11d00487 100644 --- a/providers/equinix/resources/equinix.lr.go +++ b/providers/equinix/resources/equinix.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/equinix/resources/organization.go b/providers/equinix/resources/organization.go index 62adda5427..1a94018ae1 100644 --- a/providers/equinix/resources/organization.go +++ b/providers/equinix/resources/organization.go @@ -7,10 +7,10 @@ import ( "errors" "github.com/packethost/packngo" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/equinix/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/equinix/connection" ) func initEquinixMetalOrganization(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/equinix/resources/project.go b/providers/equinix/resources/project.go index c79a7abdd4..7cdb1541b4 100644 --- a/providers/equinix/resources/project.go +++ b/providers/equinix/resources/project.go @@ -6,10 +6,10 @@ package resources import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/equinix/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/equinix/connection" ) func (r *mqlEquinixMetalProject) id() (string, error) { diff --git a/providers/equinix/resources/user.go b/providers/equinix/resources/user.go index f507e38f5b..70fc7d898a 100644 --- a/providers/equinix/resources/user.go +++ b/providers/equinix/resources/user.go @@ -5,8 +5,8 @@ package resources import ( "github.com/packethost/packngo" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) func (r *mqlEquinixMetalUser) id() (string, error) { diff --git a/providers/extensible_schema.go b/providers/extensible_schema.go index 7e161b8828..7b257c9812 100644 --- a/providers/extensible_schema.go +++ b/providers/extensible_schema.go @@ -7,7 +7,7 @@ import ( "sync" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" "golang.org/x/exp/slices" ) diff --git a/providers/extensible_schema_test.go b/providers/extensible_schema_test.go index 7c195f227a..cd50f39d33 100644 --- a/providers/extensible_schema_test.go +++ b/providers/extensible_schema_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" ) func TestExtensibleSchema(t *testing.T) { diff --git a/providers/gcp/config/config.go b/providers/gcp/config/config.go index a07f147954..496746e213 100644 --- a/providers/gcp/config/config.go +++ b/providers/gcp/config/config.go @@ -4,10 +4,10 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/gcp/connection/gcpinstancesnapshot" - "go.mondoo.com/cnquery/v9/providers/gcp/provider" - "go.mondoo.com/cnquery/v9/providers/gcp/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/gcp/connection/gcpinstancesnapshot" + "go.mondoo.com/cnquery/v10/providers/gcp/provider" + "go.mondoo.com/cnquery/v10/providers/gcp/resources" ) var Config = plugin.Provider{ diff --git a/providers/gcp/connection/clients.go b/providers/gcp/connection/clients.go index 23797e8c92..0037b9b79e 100644 --- a/providers/gcp/connection/clients.go +++ b/providers/gcp/connection/clients.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-cleanhttp" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" "golang.org/x/oauth2" googleoauth "golang.org/x/oauth2/google" "google.golang.org/api/option" diff --git a/providers/gcp/connection/connection.go b/providers/gcp/connection/connection.go index 0c10ed313a..4b9126e657 100644 --- a/providers/gcp/connection/connection.go +++ b/providers/gcp/connection/connection.go @@ -7,10 +7,10 @@ import ( "errors" "github.com/rs/zerolog/log" - "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/vault" - "go.mondoo.com/cnquery/v9/providers/gcp/connection/shared" + "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/vault" + "go.mondoo.com/cnquery/v10/providers/gcp/connection/shared" ) const ( diff --git a/providers/gcp/connection/connection_test.go b/providers/gcp/connection/connection_test.go index afee0a35f1..800071f606 100644 --- a/providers/gcp/connection/connection_test.go +++ b/providers/gcp/connection/connection_test.go @@ -10,7 +10,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func TestGcpDiscovery(t *testing.T) { diff --git a/providers/gcp/connection/gcloud_config_test.go b/providers/gcp/connection/gcloud_config_test.go index 75acaf05c6..2bb01c2fdb 100644 --- a/providers/gcp/connection/gcloud_config_test.go +++ b/providers/gcp/connection/gcloud_config_test.go @@ -8,7 +8,7 @@ import ( "os" "testing" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/providers/gcp/connection/gcpinstancesnapshot/provider.go b/providers/gcp/connection/gcpinstancesnapshot/provider.go index 713a282271..6b943ebb37 100644 --- a/providers/gcp/connection/gcpinstancesnapshot/provider.go +++ b/providers/gcp/connection/gcpinstancesnapshot/provider.go @@ -9,14 +9,14 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/mrn" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/gcp/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/connection/fs" - "go.mondoo.com/cnquery/v9/providers/os/connection/local" - "go.mondoo.com/cnquery/v9/providers/os/connection/snapshot" - "go.mondoo.com/cnquery/v9/providers/os/detector" - "go.mondoo.com/cnquery/v9/providers/os/id/gce" + "go.mondoo.com/cnquery/v10/mrn" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/gcp/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/fs" + "go.mondoo.com/cnquery/v10/providers/os/connection/local" + "go.mondoo.com/cnquery/v10/providers/os/connection/snapshot" + "go.mondoo.com/cnquery/v10/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/id/gce" "go.mondoo.com/ranger-rpc/codes" "go.mondoo.com/ranger-rpc/status" ) diff --git a/providers/gcp/connection/gcpinstancesnapshot/snapshot.go b/providers/gcp/connection/gcpinstancesnapshot/snapshot.go index 925b3cc659..bddd5bb5e0 100644 --- a/providers/gcp/connection/gcpinstancesnapshot/snapshot.go +++ b/providers/gcp/connection/gcpinstancesnapshot/snapshot.go @@ -12,7 +12,7 @@ import ( "time" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/id/gce" + "go.mondoo.com/cnquery/v10/providers/os/id/gce" "go.mondoo.com/ranger-rpc/codes" "go.mondoo.com/ranger-rpc/status" googleoauth "golang.org/x/oauth2/google" diff --git a/providers/gcp/connection/platform.go b/providers/gcp/connection/platform.go index 9513ca755f..4f2fb86fe5 100644 --- a/providers/gcp/connection/platform.go +++ b/providers/gcp/connection/platform.go @@ -7,7 +7,7 @@ import ( "errors" "fmt" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func NewOrganizationPlatformID(id string) string { diff --git a/providers/gcp/connection/shared/shared.go b/providers/gcp/connection/shared/shared.go index a7932e7a3e..528b5dc9c6 100644 --- a/providers/gcp/connection/shared/shared.go +++ b/providers/gcp/connection/shared/shared.go @@ -4,7 +4,7 @@ package shared import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) type ConnectionType string diff --git a/providers/gcp/gen/main.go b/providers/gcp/gen/main.go index 5a818baca7..2638c6f266 100644 --- a/providers/gcp/gen/main.go +++ b/providers/gcp/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/gcp/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/gcp/config" ) func main() { diff --git a/providers/gcp/go.mod b/providers/gcp/go.mod index 7bb8751817..35b1cdace7 100644 --- a/providers/gcp/go.mod +++ b/providers/gcp/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/gcp +module go.mondoo.com/cnquery/v10/providers/gcp -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -27,7 +27,7 @@ require ( github.com/hashicorp/go-cleanhttp v0.5.2 github.com/rs/zerolog v1.31.0 github.com/stretchr/testify v1.8.4 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 go.mondoo.com/ranger-rpc v0.5.3 golang.org/x/oauth2 v0.16.0 google.golang.org/api v0.155.0 diff --git a/providers/gcp/main.go b/providers/gcp/main.go index 8facc96adc..228100da30 100644 --- a/providers/gcp/main.go +++ b/providers/gcp/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/gcp/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/gcp/provider" ) func main() { diff --git a/providers/gcp/provider/provider.go b/providers/gcp/provider/provider.go index 3df74e74a3..d16431d128 100644 --- a/providers/gcp/provider/provider.go +++ b/providers/gcp/provider/provider.go @@ -9,16 +9,16 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - - "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/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/providers/gcp/connection/gcpinstancesnapshot" - "go.mondoo.com/cnquery/v9/providers/gcp/connection/shared" - "go.mondoo.com/cnquery/v9/providers/gcp/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + + "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" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/providers/gcp/connection/gcpinstancesnapshot" + "go.mondoo.com/cnquery/v10/providers/gcp/connection/shared" + "go.mondoo.com/cnquery/v10/providers/gcp/resources" ) const ( diff --git a/providers/gcp/resources/access_approval.go b/providers/gcp/resources/access_approval.go index 7f004de584..76c158076a 100644 --- a/providers/gcp/resources/access_approval.go +++ b/providers/gcp/resources/access_approval.go @@ -7,11 +7,11 @@ import ( "context" "fmt" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" accessapproval "cloud.google.com/go/accessapproval/apiv1" accessapprovalpb "cloud.google.com/go/accessapproval/apiv1/accessapprovalpb" diff --git a/providers/gcp/resources/apikeys.go b/providers/gcp/resources/apikeys.go index 5b7ecc71c2..b58eacc3f8 100644 --- a/providers/gcp/resources/apikeys.go +++ b/providers/gcp/resources/apikeys.go @@ -7,11 +7,11 @@ import ( "context" "fmt" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "google.golang.org/api/apikeys/v2" "google.golang.org/api/option" diff --git a/providers/gcp/resources/bigquery.go b/providers/gcp/resources/bigquery.go index 718bfff22b..b57a50ab0d 100644 --- a/providers/gcp/resources/bigquery.go +++ b/providers/gcp/resources/bigquery.go @@ -9,11 +9,11 @@ import ( "fmt" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "cloud.google.com/go/bigquery" "google.golang.org/api/iterator" diff --git a/providers/gcp/resources/cloud_functions.go b/providers/gcp/resources/cloud_functions.go index 1576ee4160..2139d204be 100644 --- a/providers/gcp/resources/cloud_functions.go +++ b/providers/gcp/resources/cloud_functions.go @@ -7,13 +7,13 @@ import ( "context" "fmt" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" functions "cloud.google.com/go/functions/apiv1" "cloud.google.com/go/functions/apiv1/functionspb" - "go.mondoo.com/cnquery/v9/llx" + "go.mondoo.com/cnquery/v10/llx" "google.golang.org/api/iterator" "google.golang.org/api/option" ) diff --git a/providers/gcp/resources/cloudrun.go b/providers/gcp/resources/cloudrun.go index 4c9ab06893..5376bc0899 100644 --- a/providers/gcp/resources/cloudrun.go +++ b/providers/gcp/resources/cloudrun.go @@ -8,16 +8,16 @@ import ( "fmt" "sync" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "cloud.google.com/go/longrunning/autogen/longrunningpb" run "cloud.google.com/go/run/apiv2" runpb "cloud.google.com/go/run/apiv2/runpb" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" + "go.mondoo.com/cnquery/v10/llx" "google.golang.org/api/compute/v1" "google.golang.org/api/iterator" "google.golang.org/api/option" diff --git a/providers/gcp/resources/common.go b/providers/gcp/resources/common.go index 24a95a34bc..7c8892df4b 100644 --- a/providers/gcp/resources/common.go +++ b/providers/gcp/resources/common.go @@ -7,9 +7,9 @@ import ( "strings" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/providers/gcp/resources/compute.go b/providers/gcp/resources/compute.go index 5665d6c5ba..b2d0bdb5d1 100644 --- a/providers/gcp/resources/compute.go +++ b/providers/gcp/resources/compute.go @@ -17,11 +17,11 @@ import ( computev1 "cloud.google.com/go/compute/apiv1" "cloud.google.com/go/compute/apiv1/computepb" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "google.golang.org/api/cloudresourcemanager/v3" "google.golang.org/api/compute/v1" "google.golang.org/api/iam/v1" diff --git a/providers/gcp/resources/dataproc.go b/providers/gcp/resources/dataproc.go index f821e04e3f..57708eedc2 100644 --- a/providers/gcp/resources/dataproc.go +++ b/providers/gcp/resources/dataproc.go @@ -9,11 +9,11 @@ import ( "sync" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "google.golang.org/api/compute/v1" dataproc "google.golang.org/api/dataproc/v1" "google.golang.org/api/option" diff --git a/providers/gcp/resources/discovery.go b/providers/gcp/resources/discovery.go index 544542479c..bfcc34d7f6 100644 --- a/providers/gcp/resources/discovery.go +++ b/providers/gcp/resources/discovery.go @@ -10,10 +10,10 @@ import ( "github.com/google/go-containerregistry/pkg/name" "github.com/google/go-containerregistry/pkg/v1/google" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/utils/stringx" "google.golang.org/api/cloudresourcemanager/v3" ) diff --git a/providers/gcp/resources/dns.go b/providers/gcp/resources/dns.go index 05f960d6f1..4c1c4ba159 100644 --- a/providers/gcp/resources/dns.go +++ b/providers/gcp/resources/dns.go @@ -8,11 +8,11 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "google.golang.org/api/dns/v1" "google.golang.org/api/option" diff --git a/providers/gcp/resources/essential_contacts.go b/providers/gcp/resources/essential_contacts.go index 64fcf00a07..e3f459e749 100644 --- a/providers/gcp/resources/essential_contacts.go +++ b/providers/gcp/resources/essential_contacts.go @@ -6,10 +6,10 @@ package resources import ( "context" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "google.golang.org/api/essentialcontacts/v1" "google.golang.org/api/option" diff --git a/providers/gcp/resources/folder.go b/providers/gcp/resources/folder.go index 9d61b360c1..a14073fb3d 100644 --- a/providers/gcp/resources/folder.go +++ b/providers/gcp/resources/folder.go @@ -7,9 +7,9 @@ import ( "context" "fmt" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" "google.golang.org/api/cloudresourcemanager/v3" "google.golang.org/api/compute/v1" "google.golang.org/api/iam/v1" diff --git a/providers/gcp/resources/gcp.lr b/providers/gcp/resources/gcp.lr index ea7d7917ba..3c3d1a97df 100644 --- a/providers/gcp/resources/gcp.lr +++ b/providers/gcp/resources/gcp.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/gcp" -option go_package = "go.mondoo.com/cnquery/v9/providers/gcp/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/gcp/resources" alias gcloud.organization = gcp.organization alias gcloud.project = gcp.project diff --git a/providers/gcp/resources/gcp.lr.go b/providers/gcp/resources/gcp.lr.go index 1b256b9d9b..acbf6c136d 100644 --- a/providers/gcp/resources/gcp.lr.go +++ b/providers/gcp/resources/gcp.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/gcp/resources/gke.go b/providers/gcp/resources/gke.go index 0755de8575..96ca81afed 100644 --- a/providers/gcp/resources/gke.go +++ b/providers/gcp/resources/gke.go @@ -8,11 +8,11 @@ import ( "fmt" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" container "cloud.google.com/go/container/apiv1" "cloud.google.com/go/container/apiv1/containerpb" diff --git a/providers/gcp/resources/iam.go b/providers/gcp/resources/iam.go index 77f6dc11bd..c7b95db985 100644 --- a/providers/gcp/resources/iam.go +++ b/providers/gcp/resources/iam.go @@ -7,9 +7,9 @@ import ( "context" "fmt" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" admin "cloud.google.com/go/iam/admin/apiv1" "google.golang.org/api/iterator" diff --git a/providers/gcp/resources/kms.go b/providers/gcp/resources/kms.go index 8f770a309f..6dfda1f89e 100644 --- a/providers/gcp/resources/kms.go +++ b/providers/gcp/resources/kms.go @@ -10,15 +10,15 @@ import ( "sync" "time" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" kms "cloud.google.com/go/kms/apiv1" "cloud.google.com/go/kms/apiv1/kmspb" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" + "go.mondoo.com/cnquery/v10/llx" "google.golang.org/api/iterator" "google.golang.org/api/option" "google.golang.org/genproto/googleapis/cloud/location" diff --git a/providers/gcp/resources/logging.go b/providers/gcp/resources/logging.go index a42569414f..069b9223d5 100644 --- a/providers/gcp/resources/logging.go +++ b/providers/gcp/resources/logging.go @@ -8,11 +8,11 @@ import ( "fmt" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "cloud.google.com/go/logging/logadmin" "google.golang.org/api/iterator" diff --git a/providers/gcp/resources/monitoring.go b/providers/gcp/resources/monitoring.go index 0b18454378..5bb54435d4 100644 --- a/providers/gcp/resources/monitoring.go +++ b/providers/gcp/resources/monitoring.go @@ -7,15 +7,15 @@ import ( "context" "fmt" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" kms "cloud.google.com/go/kms/apiv1" monitoring "cloud.google.com/go/monitoring/apiv3/v2" monitoringpb "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb" - "go.mondoo.com/cnquery/v9/llx" + "go.mondoo.com/cnquery/v10/llx" "google.golang.org/api/iterator" "google.golang.org/api/option" ) diff --git a/providers/gcp/resources/organization.go b/providers/gcp/resources/organization.go index a3b11d34da..cdaff2340c 100644 --- a/providers/gcp/resources/organization.go +++ b/providers/gcp/resources/organization.go @@ -8,11 +8,11 @@ import ( "errors" "strconv" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "github.com/rs/zerolog/log" "google.golang.org/api/cloudresourcemanager/v3" diff --git a/providers/gcp/resources/project.go b/providers/gcp/resources/project.go index 40590c65dd..9dc952db2e 100644 --- a/providers/gcp/resources/project.go +++ b/providers/gcp/resources/project.go @@ -11,11 +11,11 @@ import ( "strings" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "google.golang.org/api/cloudresourcemanager/v3" "google.golang.org/api/compute/v1" diff --git a/providers/gcp/resources/pubsub.go b/providers/gcp/resources/pubsub.go index a8dd7c8f2e..d5f1a96abc 100644 --- a/providers/gcp/resources/pubsub.go +++ b/providers/gcp/resources/pubsub.go @@ -9,11 +9,11 @@ import ( "time" "cloud.google.com/go/pubsub" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "google.golang.org/api/iterator" "google.golang.org/api/option" ) diff --git a/providers/gcp/resources/recommendations.go b/providers/gcp/resources/recommendations.go index d2898b9537..c8800bc61e 100644 --- a/providers/gcp/resources/recommendations.go +++ b/providers/gcp/resources/recommendations.go @@ -9,10 +9,10 @@ import ( "strings" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" "google.golang.org/api/cloudresourcemanager/v1" diff --git a/providers/gcp/resources/services.go b/providers/gcp/resources/services.go index 3f1a64d5bc..29e748e710 100644 --- a/providers/gcp/resources/services.go +++ b/providers/gcp/resources/services.go @@ -7,9 +7,9 @@ import ( "context" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" serviceusage "cloud.google.com/go/serviceusage/apiv1" "cloud.google.com/go/serviceusage/apiv1/serviceusagepb" diff --git a/providers/gcp/resources/sql.go b/providers/gcp/resources/sql.go index a82e9dca1f..ca15587289 100644 --- a/providers/gcp/resources/sql.go +++ b/providers/gcp/resources/sql.go @@ -7,11 +7,11 @@ import ( "context" "fmt" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "google.golang.org/api/cloudresourcemanager/v1" "google.golang.org/api/iam/v1" diff --git a/providers/gcp/resources/storage.go b/providers/gcp/resources/storage.go index 394fb2b20d..c7686ce6c9 100644 --- a/providers/gcp/resources/storage.go +++ b/providers/gcp/resources/storage.go @@ -9,11 +9,11 @@ import ( "strconv" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/gcp/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/gcp/connection" + "go.mondoo.com/cnquery/v10/types" "google.golang.org/api/cloudresourcemanager/v3" "google.golang.org/api/iam/v1" diff --git a/providers/github/config/config.go b/providers/github/config/config.go index 1f78bffe50..e3acbe41b1 100644 --- a/providers/github/config/config.go +++ b/providers/github/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/github/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/github/provider" ) var Config = plugin.Provider{ diff --git a/providers/github/connection/connection.go b/providers/github/connection/connection.go index 8f91cda080..262f5726c8 100644 --- a/providers/github/connection/connection.go +++ b/providers/github/connection/connection.go @@ -11,8 +11,8 @@ import ( "github.com/cockroachdb/errors" "github.com/google/go-github/v57/github" "github.com/rs/zerolog/log" - "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" "golang.org/x/oauth2" ) diff --git a/providers/github/connection/connection_test.go b/providers/github/connection/connection_test.go index 6943b3f39b..1004c7563e 100644 --- a/providers/github/connection/connection_test.go +++ b/providers/github/connection/connection_test.go @@ -13,7 +13,7 @@ import ( "github.com/google/go-github/v57/github" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func TestGithub(t *testing.T) { diff --git a/providers/github/connection/platform.go b/providers/github/connection/platform.go index f3f2917d18..19f12bde4a 100644 --- a/providers/github/connection/platform.go +++ b/providers/github/connection/platform.go @@ -8,7 +8,7 @@ import ( "github.com/cockroachdb/errors" "github.com/google/go-github/v57/github" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) const ( diff --git a/providers/github/gen/main.go b/providers/github/gen/main.go index 8e4d487359..8052824c48 100644 --- a/providers/github/gen/main.go +++ b/providers/github/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/github/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/github/config" ) func main() { diff --git a/providers/github/go.mod b/providers/github/go.mod index 6dcd208967..4e4c3504b8 100644 --- a/providers/github/go.mod +++ b/providers/github/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/github +module go.mondoo.com/cnquery/v10/providers/github -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -11,7 +11,7 @@ require ( github.com/google/go-github/v57 v57.0.0 github.com/rs/zerolog v1.31.0 github.com/stretchr/testify v1.8.4 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 go.mondoo.com/ranger-rpc v0.5.3 golang.org/x/oauth2 v0.16.0 sigs.k8s.io/yaml v1.4.0 diff --git a/providers/github/main.go b/providers/github/main.go index e3e805885f..2cf362646a 100644 --- a/providers/github/main.go +++ b/providers/github/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/github/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/github/provider" ) func main() { diff --git a/providers/github/provider/provider.go b/providers/github/provider/provider.go index 76fcdbe877..ece6fa3bb7 100644 --- a/providers/github/provider/provider.go +++ b/providers/github/provider/provider.go @@ -9,13 +9,13 @@ import ( "strconv" "strings" - "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/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/github/connection" - "go.mondoo.com/cnquery/v9/providers/github/resources" + "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" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/github/connection" + "go.mondoo.com/cnquery/v10/providers/github/resources" ) const ConnectionType = "github" diff --git a/providers/github/resources/discovery.go b/providers/github/resources/discovery.go index cfc561eb00..74b1fa8156 100644 --- a/providers/github/resources/discovery.go +++ b/providers/github/resources/discovery.go @@ -4,11 +4,11 @@ package resources import ( - "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/github/connection" - "go.mondoo.com/cnquery/v9/utils/stringx" + "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/github/connection" + "go.mondoo.com/cnquery/v10/utils/stringx" ) func Discover(runtime *plugin.Runtime, opts map[string]string) (*inventory.Inventory, error) { diff --git a/providers/github/resources/git.go b/providers/github/resources/git.go index ed6de6f630..86aaa4c332 100644 --- a/providers/github/resources/git.go +++ b/providers/github/resources/git.go @@ -5,8 +5,8 @@ package resources import ( "github.com/google/go-github/v57/github" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) func (g *mqlGitGpgSignature) id() (string, error) { diff --git a/providers/github/resources/github.lr b/providers/github/resources/github.lr index 1c8ecabb4d..55243fe909 100644 --- a/providers/github/resources/github.lr +++ b/providers/github/resources/github.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/github" -option go_package = "go.mondoo.com/cnquery/v9/providers/github/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/github/resources" // Git commit private git.commit @defaults("sha") { diff --git a/providers/github/resources/github.lr.go b/providers/github/resources/github.lr.go index 388fbe1bd5..88fe39dccd 100644 --- a/providers/github/resources/github.lr.go +++ b/providers/github/resources/github.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/github/resources/github_org.go b/providers/github/resources/github_org.go index bedfc69f21..137867a06f 100644 --- a/providers/github/resources/github_org.go +++ b/providers/github/resources/github_org.go @@ -10,11 +10,11 @@ import ( "strings" "github.com/google/go-github/v57/github" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/github/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/github/connection" + "go.mondoo.com/cnquery/v10/types" ) func (g *mqlGithubOrganization) id() (string, error) { diff --git a/providers/github/resources/github_repo.go b/providers/github/resources/github_repo.go index 3ac7b0bb30..fd668a1eb0 100644 --- a/providers/github/resources/github_repo.go +++ b/providers/github/resources/github_repo.go @@ -11,11 +11,11 @@ import ( "github.com/google/go-github/v57/github" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/github/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/github/connection" + "go.mondoo.com/cnquery/v10/types" ) func newMqlGithubRepository(runtime *plugin.Runtime, repo *github.Repository) (*mqlGithubRepository, error) { diff --git a/providers/github/resources/github_team.go b/providers/github/resources/github_team.go index 2c0cc2299f..b0df06ca17 100644 --- a/providers/github/resources/github_team.go +++ b/providers/github/resources/github_team.go @@ -10,8 +10,8 @@ import ( "strings" "github.com/google/go-github/v57/github" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers/github/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers/github/connection" ) func (g *mqlGithubTeam) id() (string, error) { diff --git a/providers/github/resources/github_test.go b/providers/github/resources/github_test.go index 8749203b5b..26de979f2d 100644 --- a/providers/github/resources/github_test.go +++ b/providers/github/resources/github_test.go @@ -10,9 +10,9 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" - "go.mondoo.com/cnquery/v9/providers/github" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/providers/github" ) var x = testutils.InitTester(GithubProvider(), github.Registry) diff --git a/providers/github/resources/github_user.go b/providers/github/resources/github_user.go index 023b823b71..27ec846a39 100644 --- a/providers/github/resources/github_user.go +++ b/providers/github/resources/github_user.go @@ -11,11 +11,11 @@ import ( "github.com/cockroachdb/errors" "github.com/google/go-github/v57/github" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/github/connection" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/github/connection" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/stringx" "go.mondoo.com/ranger-rpc" ) diff --git a/providers/github/resources/github_workflow.go b/providers/github/resources/github_workflow.go index 1dd2ce56f9..2b43de129b 100644 --- a/providers/github/resources/github_workflow.go +++ b/providers/github/resources/github_workflow.go @@ -10,8 +10,8 @@ import ( "strings" "github.com/google/go-github/v57/github" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/github/connection" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/github/connection" "sigs.k8s.io/yaml" ) diff --git a/providers/gitlab/config/config.go b/providers/gitlab/config/config.go index 3deb05eb1e..81c602e2f6 100644 --- a/providers/gitlab/config/config.go +++ b/providers/gitlab/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/gitlab/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/gitlab/provider" ) var Config = plugin.Provider{ diff --git a/providers/gitlab/connection/connection.go b/providers/gitlab/connection/connection.go index 61790eb078..3e3edadf71 100644 --- a/providers/gitlab/connection/connection.go +++ b/providers/gitlab/connection/connection.go @@ -12,8 +12,8 @@ import ( "github.com/rs/zerolog/log" "github.com/xanzy/go-gitlab" - "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" ) type GitLabConnection struct { diff --git a/providers/gitlab/connection/connection_test.go b/providers/gitlab/connection/connection_test.go index c4075879ff..da07c8ffe2 100644 --- a/providers/gitlab/connection/connection_test.go +++ b/providers/gitlab/connection/connection_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func TestGitlab(t *testing.T) { diff --git a/providers/gitlab/gen/main.go b/providers/gitlab/gen/main.go index 74d6880775..aa0793bff9 100644 --- a/providers/gitlab/gen/main.go +++ b/providers/gitlab/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/gitlab/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/gitlab/config" ) func main() { diff --git a/providers/gitlab/go.mod b/providers/gitlab/go.mod index 0705e7a514..555de0404e 100644 --- a/providers/gitlab/go.mod +++ b/providers/gitlab/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/gitlab +module go.mondoo.com/cnquery/v10/providers/gitlab -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -8,7 +8,7 @@ require ( github.com/rs/zerolog v1.31.0 github.com/stretchr/testify v1.8.4 github.com/xanzy/go-gitlab v0.95.2 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc google.golang.org/protobuf v1.32.0 ) diff --git a/providers/gitlab/main.go b/providers/gitlab/main.go index e6a41b9857..ba651fa170 100644 --- a/providers/gitlab/main.go +++ b/providers/gitlab/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/gitlab/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/gitlab/provider" ) func main() { diff --git a/providers/gitlab/provider/discovery.go b/providers/gitlab/provider/discovery.go index b9aa8cb339..6ecfe97eae 100644 --- a/providers/gitlab/provider/discovery.go +++ b/providers/gitlab/provider/discovery.go @@ -9,9 +9,9 @@ import ( "github.com/rs/zerolog/log" "github.com/xanzy/go-gitlab" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/gitlab/connection" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/gitlab/connection" "golang.org/x/exp/slices" "google.golang.org/protobuf/proto" ) diff --git a/providers/gitlab/provider/provider.go b/providers/gitlab/provider/provider.go index 525649111d..18e6bc0f3b 100644 --- a/providers/gitlab/provider/provider.go +++ b/providers/gitlab/provider/provider.go @@ -10,13 +10,13 @@ import ( "strings" "github.com/xanzy/go-gitlab" - "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/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/gitlab/connection" - "go.mondoo.com/cnquery/v9/providers/gitlab/resources" + "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" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/gitlab/connection" + "go.mondoo.com/cnquery/v10/providers/gitlab/resources" ) const ( diff --git a/providers/gitlab/resources/gitlab.go b/providers/gitlab/resources/gitlab.go index 813f124328..8c2ebcc887 100644 --- a/providers/gitlab/resources/gitlab.go +++ b/providers/gitlab/resources/gitlab.go @@ -7,9 +7,9 @@ import ( "strconv" "github.com/xanzy/go-gitlab" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/gitlab/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/gitlab/connection" ) func (g *mqlGitlabGroup) id() (string, error) { diff --git a/providers/gitlab/resources/gitlab.lr b/providers/gitlab/resources/gitlab.lr index e8a73d62fb..b0f6befc78 100644 --- a/providers/gitlab/resources/gitlab.lr +++ b/providers/gitlab/resources/gitlab.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/gitlab" -option go_package = "go.mondoo.com/cnquery/v9/providers/gitlab/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/gitlab/resources" // GitLab group gitlab.group @defaults("name visibility webURL") { diff --git a/providers/gitlab/resources/gitlab.lr.go b/providers/gitlab/resources/gitlab.lr.go index 0f9964f610..1e09c9fcbe 100644 --- a/providers/gitlab/resources/gitlab.lr.go +++ b/providers/gitlab/resources/gitlab.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/google-workspace/config/config.go b/providers/google-workspace/config/config.go index cf80cb81f9..1af0227933 100644 --- a/providers/google-workspace/config/config.go +++ b/providers/google-workspace/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/google-workspace/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/google-workspace/provider" ) var Config = plugin.Provider{ diff --git a/providers/google-workspace/connection/connection.go b/providers/google-workspace/connection/connection.go index 948efdbee0..9fef896341 100644 --- a/providers/google-workspace/connection/connection.go +++ b/providers/google-workspace/connection/connection.go @@ -7,8 +7,8 @@ import ( "errors" "github.com/rs/zerolog/log" - "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" ) type GoogleWorkspaceConnection struct { diff --git a/providers/google-workspace/connection/workspace.go b/providers/google-workspace/connection/workspace.go index 48d99bc503..711e6103b1 100644 --- a/providers/google-workspace/connection/workspace.go +++ b/providers/google-workspace/connection/workspace.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-cleanhttp" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" "golang.org/x/oauth2" googleoauth "golang.org/x/oauth2/google" directory "google.golang.org/api/admin/directory/v1" diff --git a/providers/google-workspace/gen/main.go b/providers/google-workspace/gen/main.go index 3faffc8f9a..c92f5fb1e5 100644 --- a/providers/google-workspace/gen/main.go +++ b/providers/google-workspace/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/google-workspace/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/google-workspace/config" ) func main() { diff --git a/providers/google-workspace/go.mod b/providers/google-workspace/go.mod index 3efb8b646e..fe7d3cfe61 100644 --- a/providers/google-workspace/go.mod +++ b/providers/google-workspace/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/google-workspace +module go.mondoo.com/cnquery/v10/providers/google-workspace -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -8,7 +8,7 @@ require ( github.com/hashicorp/go-cleanhttp v0.5.2 github.com/rs/zerolog v1.31.0 github.com/stretchr/testify v1.8.4 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 golang.org/x/oauth2 v0.16.0 google.golang.org/api v0.155.0 ) diff --git a/providers/google-workspace/main.go b/providers/google-workspace/main.go index 0c4d6a4da3..180dba11b7 100644 --- a/providers/google-workspace/main.go +++ b/providers/google-workspace/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/google-workspace/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/google-workspace/provider" ) func main() { diff --git a/providers/google-workspace/provider/provider.go b/providers/google-workspace/provider/provider.go index a8f5e4724d..94324ddbf2 100644 --- a/providers/google-workspace/provider/provider.go +++ b/providers/google-workspace/provider/provider.go @@ -10,13 +10,13 @@ import ( "strings" "github.com/rs/zerolog/log" - "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/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/google-workspace/connection" - "go.mondoo.com/cnquery/v9/providers/google-workspace/resources" + "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" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/google-workspace/connection" + "go.mondoo.com/cnquery/v10/providers/google-workspace/resources" ) const ConnectionType = "google-workspace" diff --git a/providers/google-workspace/resources/connected_apps.go b/providers/google-workspace/resources/connected_apps.go index bd571f941a..a3f1576e51 100644 --- a/providers/google-workspace/resources/connected_apps.go +++ b/providers/google-workspace/resources/connected_apps.go @@ -4,10 +4,10 @@ package resources import ( - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/stringx" ) type connectedApp struct { diff --git a/providers/google-workspace/resources/domain.go b/providers/google-workspace/resources/domain.go index a5679b5d86..01c57ad7a5 100644 --- a/providers/google-workspace/resources/domain.go +++ b/providers/google-workspace/resources/domain.go @@ -6,9 +6,9 @@ package resources import ( "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/google-workspace/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/google-workspace/connection" directory "google.golang.org/api/admin/directory/v1" ) diff --git a/providers/google-workspace/resources/google-workspace.go b/providers/google-workspace/resources/google-workspace.go index 0f75883690..b80f8e5941 100644 --- a/providers/google-workspace/resources/google-workspace.go +++ b/providers/google-workspace/resources/google-workspace.go @@ -6,7 +6,7 @@ package resources import ( "context" - "go.mondoo.com/cnquery/v9/providers/google-workspace/connection" + "go.mondoo.com/cnquery/v10/providers/google-workspace/connection" directory "google.golang.org/api/admin/directory/v1" reports "google.golang.org/api/admin/reports/v1" cloudidentity "google.golang.org/api/cloudidentity/v1" diff --git a/providers/google-workspace/resources/google-workspace.lr b/providers/google-workspace/resources/google-workspace.lr index ab03d9edfa..192d482750 100644 --- a/providers/google-workspace/resources/google-workspace.lr +++ b/providers/google-workspace/resources/google-workspace.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/google-workspace" -option go_package = "go.mondoo.com/cnquery/v9/providers/google-workspace/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/google-workspace/resources" // Google Workspace googleworkspace { diff --git a/providers/google-workspace/resources/google-workspace.lr.go b/providers/google-workspace/resources/google-workspace.lr.go index fc6016f484..5875b4d694 100644 --- a/providers/google-workspace/resources/google-workspace.lr.go +++ b/providers/google-workspace/resources/google-workspace.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/google-workspace/resources/googleworkspace_test.go b/providers/google-workspace/resources/googleworkspace_test.go index 76190b6245..416cbb68e6 100644 --- a/providers/google-workspace/resources/googleworkspace_test.go +++ b/providers/google-workspace/resources/googleworkspace_test.go @@ -10,8 +10,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) var x = testutils.InitTester(googleWorkspaceProvider(), Registry) diff --git a/providers/google-workspace/resources/group.go b/providers/google-workspace/resources/group.go index a230c29345..14ed9a10b7 100644 --- a/providers/google-workspace/resources/group.go +++ b/providers/google-workspace/resources/group.go @@ -7,13 +7,13 @@ import ( "context" "strings" - "go.mondoo.com/cnquery/v9/providers/google-workspace/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/providers/google-workspace/connection" + "go.mondoo.com/cnquery/v10/types" "google.golang.org/api/groupssettings/v1" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" directory "google.golang.org/api/admin/directory/v1" "google.golang.org/api/cloudidentity/v1" "google.golang.org/api/option" diff --git a/providers/google-workspace/resources/orgunit.go b/providers/google-workspace/resources/orgunit.go index 0f8eceb1a3..91c7087cdb 100644 --- a/providers/google-workspace/resources/orgunit.go +++ b/providers/google-workspace/resources/orgunit.go @@ -4,9 +4,9 @@ package resources import ( - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/google-workspace/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/google-workspace/connection" directory "google.golang.org/api/admin/directory/v1" ) diff --git a/providers/google-workspace/resources/reports.go b/providers/google-workspace/resources/reports.go index 9ae1eee794..e6103d8576 100644 --- a/providers/google-workspace/resources/reports.go +++ b/providers/google-workspace/resources/reports.go @@ -9,11 +9,11 @@ import ( "strings" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/google-workspace/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/google-workspace/connection" + "go.mondoo.com/cnquery/v10/types" reports "google.golang.org/api/admin/reports/v1" ) diff --git a/providers/google-workspace/resources/role.go b/providers/google-workspace/resources/role.go index 2f3121eacd..4684d7ff7e 100644 --- a/providers/google-workspace/resources/role.go +++ b/providers/google-workspace/resources/role.go @@ -6,11 +6,11 @@ package resources import ( "strconv" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/google-workspace/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/google-workspace/connection" + "go.mondoo.com/cnquery/v10/types" directory "google.golang.org/api/admin/directory/v1" ) diff --git a/providers/google-workspace/resources/users.go b/providers/google-workspace/resources/users.go index 4379e3d660..7154190303 100644 --- a/providers/google-workspace/resources/users.go +++ b/providers/google-workspace/resources/users.go @@ -7,11 +7,11 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/google-workspace/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/google-workspace/connection" + "go.mondoo.com/cnquery/v10/types" directory "google.golang.org/api/admin/directory/v1" ) diff --git a/providers/ipmi/config/config.go b/providers/ipmi/config/config.go index 56711483b7..b786231122 100644 --- a/providers/ipmi/config/config.go +++ b/providers/ipmi/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/ipmi/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/ipmi/provider" ) var Config = plugin.Provider{ diff --git a/providers/ipmi/connection/connection.go b/providers/ipmi/connection/connection.go index d2328da317..8d699ab57b 100644 --- a/providers/ipmi/connection/connection.go +++ b/providers/ipmi/connection/connection.go @@ -7,9 +7,9 @@ import ( "errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - impi_client "go.mondoo.com/cnquery/v9/providers/ipmi/connection/client" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + impi_client "go.mondoo.com/cnquery/v10/providers/ipmi/connection/client" ) type IpmiConnection struct { diff --git a/providers/ipmi/gen/main.go b/providers/ipmi/gen/main.go index b272181a5a..784d0019b5 100644 --- a/providers/ipmi/gen/main.go +++ b/providers/ipmi/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/ipmi/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/ipmi/config" ) func main() { diff --git a/providers/ipmi/go.mod b/providers/ipmi/go.mod index fb09bb0d6d..2b5d4f679d 100644 --- a/providers/ipmi/go.mod +++ b/providers/ipmi/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/ipmi +module go.mondoo.com/cnquery/v10/providers/ipmi -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -10,7 +10,7 @@ require ( github.com/rs/zerolog v1.31.0 github.com/stretchr/testify v1.8.4 github.com/vmware/goipmi v0.0.0-20181114221114-2333cd82d702 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 ) require ( diff --git a/providers/ipmi/main.go b/providers/ipmi/main.go index 3d4b39969f..b40e81f697 100644 --- a/providers/ipmi/main.go +++ b/providers/ipmi/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/ipmi/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/ipmi/provider" ) // This is the entry point for the IPMI provider. diff --git a/providers/ipmi/provider/provider.go b/providers/ipmi/provider/provider.go index 5451a93c00..63edf44b9c 100644 --- a/providers/ipmi/provider/provider.go +++ b/providers/ipmi/provider/provider.go @@ -9,14 +9,14 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - - "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/v9/providers/ipmi/connection" - "go.mondoo.com/cnquery/v9/providers/ipmi/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + + "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" + "go.mondoo.com/cnquery/v10/providers/ipmi/connection" + "go.mondoo.com/cnquery/v10/providers/ipmi/resources" ) const ConnectionType = "ipmi" diff --git a/providers/ipmi/resources/ipmi.go b/providers/ipmi/resources/ipmi.go index 22d13bf4ca..b06e66b98f 100644 --- a/providers/ipmi/resources/ipmi.go +++ b/providers/ipmi/resources/ipmi.go @@ -4,8 +4,8 @@ package resources import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ipmi/connection" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ipmi/connection" ) func (r *mqlIpmi) id() (string, error) { diff --git a/providers/ipmi/resources/ipmi.lr b/providers/ipmi/resources/ipmi.lr index 18fe480b97..7a36670cf5 100644 --- a/providers/ipmi/resources/ipmi.lr +++ b/providers/ipmi/resources/ipmi.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/ipmi" -option go_package = "go.mondoo.com/cnquery/v9/providers/ipmi/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/ipmi/resources" // Intelligent Platform Management Interface (IPMI) resource // diff --git a/providers/ipmi/resources/ipmi.lr.go b/providers/ipmi/resources/ipmi.lr.go index 88bd974896..d95a65e4d7 100644 --- a/providers/ipmi/resources/ipmi.lr.go +++ b/providers/ipmi/resources/ipmi.lr.go @@ -8,9 +8,9 @@ package resources import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/k8s/config/config.go b/providers/k8s/config/config.go index 37c87f6930..18b38c7af9 100644 --- a/providers/k8s/config/config.go +++ b/providers/k8s/config/config.go @@ -4,9 +4,9 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/k8s/provider" - "go.mondoo.com/cnquery/v9/providers/k8s/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/k8s/provider" + "go.mondoo.com/cnquery/v10/providers/k8s/resources" ) var Config = plugin.Provider{ diff --git a/providers/k8s/connection/admission/connection.go b/providers/k8s/connection/admission/connection.go index 7c2a639218..18de451884 100644 --- a/providers/k8s/connection/admission/connection.go +++ b/providers/k8s/connection/admission/connection.go @@ -9,9 +9,9 @@ import ( "fmt" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" admission "k8s.io/api/admission/v1" "k8s.io/apimachinery/pkg/version" ) diff --git a/providers/k8s/connection/admission/connection_test.go b/providers/k8s/connection/admission/connection_test.go index fe9c71c81f..093b5fabc6 100644 --- a/providers/k8s/connection/admission/connection_test.go +++ b/providers/k8s/connection/admission/connection_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func TestAdmissionProvider(t *testing.T) { diff --git a/providers/k8s/connection/api/connection.go b/providers/k8s/connection/api/connection.go index e1fe3e8c35..51e2d92c4c 100644 --- a/providers/k8s/connection/api/connection.go +++ b/providers/k8s/connection/api/connection.go @@ -11,9 +11,9 @@ import ( "github.com/pkg/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" admissionv1 "k8s.io/api/admission/v1" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/meta" diff --git a/providers/k8s/connection/manifest/connection.go b/providers/k8s/connection/manifest/connection.go index baf5cbbb19..7631c06043 100644 --- a/providers/k8s/connection/manifest/connection.go +++ b/providers/k8s/connection/manifest/connection.go @@ -10,9 +10,9 @@ import ( "path/filepath" "github.com/pkg/errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" admissionv1 "k8s.io/api/admission/v1" "k8s.io/apimachinery/pkg/api/meta" "k8s.io/apimachinery/pkg/version" diff --git a/providers/k8s/connection/manifest/connection_test.go b/providers/k8s/connection/manifest/connection_test.go index 0f278fe9f1..77f7e19f39 100644 --- a/providers/k8s/connection/manifest/connection_test.go +++ b/providers/k8s/connection/manifest/connection_test.go @@ -7,16 +7,16 @@ import ( "testing" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9" - "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/testutils" - k8s_conf "go.mondoo.com/cnquery/v9/providers/k8s/config" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/manifest" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared" - k8s_provider "go.mondoo.com/cnquery/v9/providers/k8s/provider" - "go.mondoo.com/cnquery/v9/providers/k8s/resources" + "go.mondoo.com/cnquery/v10" + "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/testutils" + k8s_conf "go.mondoo.com/cnquery/v10/providers/k8s/config" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/manifest" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared" + k8s_provider "go.mondoo.com/cnquery/v10/providers/k8s/provider" + "go.mondoo.com/cnquery/v10/providers/k8s/resources" ) func K8s() *providers.Runtime { diff --git a/providers/k8s/connection/shared/connection.go b/providers/k8s/connection/shared/connection.go index b689b9c7ad..87cfd981fd 100644 --- a/providers/k8s/connection/shared/connection.go +++ b/providers/k8s/connection/shared/connection.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" admissionv1 "k8s.io/api/admission/v1" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/connection/shared/manifest_parser.go b/providers/k8s/connection/shared/manifest_parser.go index faec6b5540..7289a4f47f 100644 --- a/providers/k8s/connection/shared/manifest_parser.go +++ b/providers/k8s/connection/shared/manifest_parser.go @@ -15,7 +15,7 @@ import ( "github.com/pkg/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" v1 "k8s.io/api/core/v1" apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" "k8s.io/apimachinery/pkg/api/meta" diff --git a/providers/k8s/connection/shared/resources/manifest_file_test.go b/providers/k8s/connection/shared/resources/manifest_file_test.go index eede758de9..bba41729f4 100644 --- a/providers/k8s/connection/shared/resources/manifest_file_test.go +++ b/providers/k8s/connection/shared/resources/manifest_file_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" ) diff --git a/providers/k8s/gen/main.go b/providers/k8s/gen/main.go index cb825eac92..b5323cdae9 100644 --- a/providers/k8s/gen/main.go +++ b/providers/k8s/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/k8s/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/k8s/config" ) func main() { diff --git a/providers/k8s/go.mod b/providers/k8s/go.mod index 00fa5a9475..1b41a07c40 100644 --- a/providers/k8s/go.mod +++ b/providers/k8s/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/k8s +module go.mondoo.com/cnquery/v10/providers/k8s -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -14,7 +14,7 @@ require ( github.com/pkg/errors v0.9.1 github.com/rs/zerolog v1.31.0 github.com/stretchr/testify v1.8.4 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 // pin v0.28.4 k8s.io/api v0.28.4 // pin v0.28.4 diff --git a/providers/k8s/main.go b/providers/k8s/main.go index d453ce78fd..3f2a310044 100644 --- a/providers/k8s/main.go +++ b/providers/k8s/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/k8s/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/k8s/provider" ) func main() { diff --git a/providers/k8s/provider/detector.go b/providers/k8s/provider/detector.go index 973b56d49b..02f3c5974a 100644 --- a/providers/k8s/provider/detector.go +++ b/providers/k8s/provider/detector.go @@ -4,8 +4,8 @@ package provider import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared" ) func (s *Service) detect(asset *inventory.Asset, conn shared.Connection) error { diff --git a/providers/k8s/provider/provider.go b/providers/k8s/provider/provider.go index 218c901a46..0bf06278a8 100644 --- a/providers/k8s/provider/provider.go +++ b/providers/k8s/provider/provider.go @@ -8,17 +8,17 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9" - "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/v9/providers/k8s/connection/admission" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/api" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/manifest" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared" - connectionResources "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" - "go.mondoo.com/cnquery/v9/providers/k8s/resources" + "go.mondoo.com/cnquery/v10" + "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" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/admission" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/api" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/manifest" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared" + connectionResources "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/providers/k8s/resources" ) const ConnectionType = "k8s" diff --git a/providers/k8s/provider/provider_test.go b/providers/k8s/provider/provider_test.go index 1afe7dfa48..a590cac25c 100644 --- a/providers/k8s/provider/provider_test.go +++ b/providers/k8s/provider/provider_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "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/k8s/connection/shared" + "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/k8s/connection/shared" ) func newTestService(t *testing.T, path string) (*Service, *plugin.ConnectRes) { diff --git a/providers/k8s/resources/admission.go b/providers/k8s/resources/admission.go index 763407ca1a..c5367195b2 100644 --- a/providers/k8s/resources/admission.go +++ b/providers/k8s/resources/admission.go @@ -8,9 +8,9 @@ import ( "fmt" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" admissionv1 "k8s.io/api/admission/v1" ) diff --git a/providers/k8s/resources/apiresource.go b/providers/k8s/resources/apiresource.go index 7994af988f..19072c90da 100644 --- a/providers/k8s/resources/apiresource.go +++ b/providers/k8s/resources/apiresource.go @@ -6,9 +6,9 @@ package resources import ( "fmt" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/types" ) func (k *mqlK8s) apiResources() ([]interface{}, error) { diff --git a/providers/k8s/resources/clusterrole.go b/providers/k8s/resources/clusterrole.go index b570228729..d29cac7b81 100644 --- a/providers/k8s/resources/clusterrole.go +++ b/providers/k8s/resources/clusterrole.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/types" rbacv1 "k8s.io/api/rbac/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/clusterrolebinding.go b/providers/k8s/resources/clusterrolebinding.go index f10d127a9a..4259fbfe1b 100644 --- a/providers/k8s/resources/clusterrolebinding.go +++ b/providers/k8s/resources/clusterrolebinding.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/types" rbacv1 "k8s.io/api/rbac/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/common.go b/providers/k8s/resources/common.go index f1f27d00da..2cba1e4d73 100644 --- a/providers/k8s/resources/common.go +++ b/providers/k8s/resources/common.go @@ -9,9 +9,9 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared" "k8s.io/apimachinery/pkg/api/meta" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/configmap.go b/providers/k8s/resources/configmap.go index 0540b57798..426460b4b2 100644 --- a/providers/k8s/resources/configmap.go +++ b/providers/k8s/resources/configmap.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/types" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/container.go b/providers/k8s/resources/container.go index 98227e225d..66edefbc49 100644 --- a/providers/k8s/resources/container.go +++ b/providers/k8s/resources/container.go @@ -6,11 +6,11 @@ package resources import ( "fmt" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/types" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/container_utils.go b/providers/k8s/resources/container_utils.go index 7121f57438..326dd9eb27 100644 --- a/providers/k8s/resources/container_utils.go +++ b/providers/k8s/resources/container_utils.go @@ -6,9 +6,9 @@ package resources import ( "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" v1 "k8s.io/api/core/v1" ) diff --git a/providers/k8s/resources/cronjob.go b/providers/k8s/resources/cronjob.go index d2870a6abd..7ad5e48b79 100644 --- a/providers/k8s/resources/cronjob.go +++ b/providers/k8s/resources/cronjob.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" batchv1 "k8s.io/api/batch/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/customresource.go b/providers/k8s/resources/customresource.go index 4841feefba..8dc3103a69 100644 --- a/providers/k8s/resources/customresource.go +++ b/providers/k8s/resources/customresource.go @@ -7,8 +7,8 @@ import ( "sync" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" "k8s.io/apimachinery/pkg/api/meta" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/daemonset.go b/providers/k8s/resources/daemonset.go index 8c83f7e56e..b4ef094abf 100644 --- a/providers/k8s/resources/daemonset.go +++ b/providers/k8s/resources/daemonset.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" appsv1 "k8s.io/api/apps/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/deployment.go b/providers/k8s/resources/deployment.go index e1e66b3623..cd1d9030dc 100644 --- a/providers/k8s/resources/deployment.go +++ b/providers/k8s/resources/deployment.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" appsv1 "k8s.io/api/apps/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/discovery.go b/providers/k8s/resources/discovery.go index 94389e0d16..a9dc16e50d 100644 --- a/providers/k8s/resources/discovery.go +++ b/providers/k8s/resources/discovery.go @@ -12,14 +12,14 @@ import ( "github.com/google/go-containerregistry/pkg/name" "github.com/pkg/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" - "go.mondoo.com/cnquery/v9/providers/os/resources/discovery/container_registry" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/providers/os/resources/discovery/container_registry" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/stringx" admissionv1 "k8s.io/api/admission/v1" "k8s.io/apimachinery/pkg/api/meta" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/providers/k8s/resources/discovery_test.go b/providers/k8s/resources/discovery_test.go index 98bb3e26b2..12d65667dc 100644 --- a/providers/k8s/resources/discovery_test.go +++ b/providers/k8s/resources/discovery_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func TestConvertImagesToAssets(t *testing.T) { diff --git a/providers/k8s/resources/ingress.go b/providers/k8s/resources/ingress.go index b7fc7947c1..0e0e56c29e 100644 --- a/providers/k8s/resources/ingress.go +++ b/providers/k8s/resources/ingress.go @@ -8,10 +8,10 @@ import ( "fmt" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/types" corev1 "k8s.io/api/core/v1" networkingv1 "k8s.io/api/networking/v1" diff --git a/providers/k8s/resources/job.go b/providers/k8s/resources/job.go index b68960141d..7692585f90 100644 --- a/providers/k8s/resources/job.go +++ b/providers/k8s/resources/job.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" batchv1 "k8s.io/api/batch/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/k8s.go b/providers/k8s/resources/k8s.go index f0a4e97308..cd6ac8176f 100644 --- a/providers/k8s/resources/k8s.go +++ b/providers/k8s/resources/k8s.go @@ -6,7 +6,7 @@ package resources import ( "sync" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" ) type mqlK8sInternal struct { diff --git a/providers/k8s/resources/k8s.lr b/providers/k8s/resources/k8s.lr index 282c435b11..3d095301d7 100644 --- a/providers/k8s/resources/k8s.lr +++ b/providers/k8s/resources/k8s.lr @@ -5,7 +5,7 @@ import "../../os/resources/os.lr" import "../../network/resources/network.lr" option provider = "go.mondoo.com/cnquery/providers/k8s" -option go_package = "go.mondoo.com/cnquery/v9/providers/k8s/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/k8s/resources" // Kubernetes cluster k8s { diff --git a/providers/k8s/resources/k8s.lr.go b/providers/k8s/resources/k8s.lr.go index dfba906a03..59819318fd 100644 --- a/providers/k8s/resources/k8s.lr.go +++ b/providers/k8s/resources/k8s.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/k8s/resources/namespace.go b/providers/k8s/resources/namespace.go index 674f14bc4a..cb29de77f2 100644 --- a/providers/k8s/resources/namespace.go +++ b/providers/k8s/resources/namespace.go @@ -7,9 +7,9 @@ import ( "sync" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/meta" ) diff --git a/providers/k8s/resources/networkpolicy.go b/providers/k8s/resources/networkpolicy.go index a8cac778e2..8375190fa9 100644 --- a/providers/k8s/resources/networkpolicy.go +++ b/providers/k8s/resources/networkpolicy.go @@ -7,9 +7,9 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" networkingv1 "k8s.io/api/networking/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/node.go b/providers/k8s/resources/node.go index 55a0719b73..a20aefa401 100644 --- a/providers/k8s/resources/node.go +++ b/providers/k8s/resources/node.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/utils/multierr" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/platform_ownership.go b/providers/k8s/resources/platform_ownership.go index 4c9feaf211..3f7bc73fe5 100644 --- a/providers/k8s/resources/platform_ownership.go +++ b/providers/k8s/resources/platform_ownership.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared" "k8s.io/apimachinery/pkg/api/meta" "k8s.io/apimachinery/pkg/runtime" ) diff --git a/providers/k8s/resources/pod.go b/providers/k8s/resources/pod.go index 669544cfda..ef0d7052eb 100644 --- a/providers/k8s/resources/pod.go +++ b/providers/k8s/resources/pod.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/podsecuritypolicy.go b/providers/k8s/resources/podsecuritypolicy.go index 9fd2606125..148409051b 100644 --- a/providers/k8s/resources/podsecuritypolicy.go +++ b/providers/k8s/resources/podsecuritypolicy.go @@ -7,8 +7,8 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" policyv1beta1 "k8s.io/api/policy/v1beta1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/replicaset.go b/providers/k8s/resources/replicaset.go index 9cd7e20e5a..925269949d 100644 --- a/providers/k8s/resources/replicaset.go +++ b/providers/k8s/resources/replicaset.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" appsv1 "k8s.io/api/apps/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/resources_test.go b/providers/k8s/resources/resources_test.go index 97d5d7987f..bbf1a52a0b 100644 --- a/providers/k8s/resources/resources_test.go +++ b/providers/k8s/resources/resources_test.go @@ -11,12 +11,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "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/k8s/connection/manifest" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared" - sharedres "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "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/k8s/connection/manifest" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared" + sharedres "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" ) type K8sObjectKindTest struct { diff --git a/providers/k8s/resources/role.go b/providers/k8s/resources/role.go index 0bd3cef78c..08a176068a 100644 --- a/providers/k8s/resources/role.go +++ b/providers/k8s/resources/role.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/types" rbacv1 "k8s.io/api/rbac/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/rolebinding.go b/providers/k8s/resources/rolebinding.go index 50cae14e04..afd083a312 100644 --- a/providers/k8s/resources/rolebinding.go +++ b/providers/k8s/resources/rolebinding.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/types" rbacv1 "k8s.io/api/rbac/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/secret.go b/providers/k8s/resources/secret.go index 0e69de30fc..31bdfc03ad 100644 --- a/providers/k8s/resources/secret.go +++ b/providers/k8s/resources/secret.go @@ -7,9 +7,9 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/service.go b/providers/k8s/resources/service.go index feb2ea34ce..5c56235b39 100644 --- a/providers/k8s/resources/service.go +++ b/providers/k8s/resources/service.go @@ -7,9 +7,9 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/serviceaccount.go b/providers/k8s/resources/serviceaccount.go index 67710e7869..8429dc3d21 100644 --- a/providers/k8s/resources/serviceaccount.go +++ b/providers/k8s/resources/serviceaccount.go @@ -7,9 +7,9 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/statefulset.go b/providers/k8s/resources/statefulset.go index 4cc746c935..7feaca6fcb 100644 --- a/providers/k8s/resources/statefulset.go +++ b/providers/k8s/resources/statefulset.go @@ -7,10 +7,10 @@ import ( "errors" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" appsv1 "k8s.io/api/apps/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/providers/k8s/resources/unsupported_test.go b/providers/k8s/resources/unsupported_test.go index 45c603fba5..f1ff16c002 100644 --- a/providers/k8s/resources/unsupported_test.go +++ b/providers/k8s/resources/unsupported_test.go @@ -7,10 +7,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/manifest" - "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared" - sharedres "go.mondoo.com/cnquery/v9/providers/k8s/connection/shared/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/manifest" + "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared" + sharedres "go.mondoo.com/cnquery/v10/providers/k8s/connection/shared/resources" ) func TestManifestFile_OutdatedApi(t *testing.T) { diff --git a/providers/mock.go b/providers/mock.go index f77b46c41e..2157c6bd9d 100644 --- a/providers/mock.go +++ b/providers/mock.go @@ -5,14 +5,14 @@ package providers import ( "github.com/cockroachdb/errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) var mockProvider = Provider{ Provider: &plugin.Provider{ Name: "mock", - ID: "go.mondoo.com/cnquery/v9/providers/mock", + ID: "go.mondoo.com/cnquery/v10/providers/mock", Version: "9.0.0", Connectors: []plugin.Connector{{ Name: "mock", diff --git a/providers/ms365/config/config.go b/providers/ms365/config/config.go index 6dca22b202..9c867becc0 100644 --- a/providers/ms365/config/config.go +++ b/providers/ms365/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/ms365/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/ms365/provider" ) var Config = plugin.Provider{ diff --git a/providers/ms365/connection/auth.go b/providers/ms365/connection/auth.go index 543787cb1b..3dbe513e51 100644 --- a/providers/ms365/connection/auth.go +++ b/providers/ms365/connection/auth.go @@ -11,7 +11,7 @@ import ( "github.com/pkg/errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) func getTokenCredential(credential *vault.Credential, tenantId, clientId string) (azcore.TokenCredential, error) { diff --git a/providers/ms365/connection/connection.go b/providers/ms365/connection/connection.go index 8b98320e86..1c00fe2fab 100644 --- a/providers/ms365/connection/connection.go +++ b/providers/ms365/connection/connection.go @@ -10,11 +10,11 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/azcore" "github.com/pkg/errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/os/connection/local" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/os/connection/local" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) const ( diff --git a/providers/ms365/connection/exchange_report.go b/providers/ms365/connection/exchange_report.go index 123c16bfb1..d81b44e385 100644 --- a/providers/ms365/connection/exchange_report.go +++ b/providers/ms365/connection/exchange_report.go @@ -11,7 +11,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/pkg/errors" - "go.mondoo.com/cnquery/v9/logger" + "go.mondoo.com/cnquery/v10/logger" ) var exchangeReport = ` diff --git a/providers/ms365/connection/sharepoint_report.go b/providers/ms365/connection/sharepoint_report.go index e55bfbaba7..dab268bd89 100644 --- a/providers/ms365/connection/sharepoint_report.go +++ b/providers/ms365/connection/sharepoint_report.go @@ -10,7 +10,7 @@ import ( "io" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" - "go.mondoo.com/cnquery/v9/logger" + "go.mondoo.com/cnquery/v10/logger" ) var sharepointReport = ` diff --git a/providers/ms365/connection/teams_report.go b/providers/ms365/connection/teams_report.go index 5ae8fe60d6..be3a75782a 100644 --- a/providers/ms365/connection/teams_report.go +++ b/providers/ms365/connection/teams_report.go @@ -11,7 +11,7 @@ import ( "strings" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" - "go.mondoo.com/cnquery/v9/logger" + "go.mondoo.com/cnquery/v10/logger" ) var teamsReport = ` diff --git a/providers/ms365/gen/main.go b/providers/ms365/gen/main.go index 49891ffbb5..123d567cdf 100644 --- a/providers/ms365/gen/main.go +++ b/providers/ms365/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/ms365/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/ms365/config" ) func main() { diff --git a/providers/ms365/go.mod b/providers/ms365/go.mod index ef7d99b965..b178055cdb 100644 --- a/providers/ms365/go.mod +++ b/providers/ms365/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/ms365 +module go.mondoo.com/cnquery/v10/providers/ms365 -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -15,7 +15,7 @@ require ( github.com/microsoftgraph/msgraph-sdk-go v1.29.0 github.com/pkg/errors v0.9.1 github.com/rs/zerolog v1.31.0 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 ) require ( diff --git a/providers/ms365/main.go b/providers/ms365/main.go index 7ec57d4612..d11d25517b 100644 --- a/providers/ms365/main.go +++ b/providers/ms365/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/ms365/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/ms365/provider" ) func main() { diff --git a/providers/ms365/provider/provider.go b/providers/ms365/provider/provider.go index 6b4e5fdf93..591a124342 100644 --- a/providers/ms365/provider/provider.go +++ b/providers/ms365/provider/provider.go @@ -8,13 +8,13 @@ import ( "strconv" "strings" - "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/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" - "go.mondoo.com/cnquery/v9/providers/ms365/resources" + "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" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/providers/ms365/resources" ) const ( diff --git a/providers/ms365/resources/adapter.go b/providers/ms365/resources/adapter.go index 6a555dd85a..d428aa896d 100644 --- a/providers/ms365/resources/adapter.go +++ b/providers/ms365/resources/adapter.go @@ -8,7 +8,7 @@ import ( "github.com/microsoft/kiota-abstractions-go/authentication" a "github.com/microsoft/kiota-authentication-azure-go" msgraphsdkgo "github.com/microsoftgraph/msgraph-sdk-go" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" ) var DefaultMSGraphScopes = []string{connection.DefaultMSGraphScope} diff --git a/providers/ms365/resources/applications.go b/providers/ms365/resources/applications.go index 3ee6bf8c0d..5394ca265e 100644 --- a/providers/ms365/resources/applications.go +++ b/providers/ms365/resources/applications.go @@ -7,10 +7,10 @@ import ( "context" "github.com/microsoftgraph/msgraph-sdk-go/applications" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/types" ) func (m *mqlMicrosoftApplication) id() (string, error) { diff --git a/providers/ms365/resources/devicemanagement.go b/providers/ms365/resources/devicemanagement.go index d0e85f2fd9..a94fa70ec2 100644 --- a/providers/ms365/resources/devicemanagement.go +++ b/providers/ms365/resources/devicemanagement.go @@ -8,10 +8,10 @@ import ( "github.com/microsoftgraph/msgraph-sdk-go/devicemanagement" "github.com/microsoftgraph/msgraph-sdk-go/models" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/types" ) func (m *mqlMicrosoftDevicemanagementDeviceconfiguration) id() (string, error) { diff --git a/providers/ms365/resources/domains.go b/providers/ms365/resources/domains.go index 14efebbea7..c214b18510 100644 --- a/providers/ms365/resources/domains.go +++ b/providers/ms365/resources/domains.go @@ -8,10 +8,10 @@ import ( "github.com/microsoftgraph/msgraph-sdk-go/domains" "github.com/microsoftgraph/msgraph-sdk-go/models" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/types" ) func (m *mqlMicrosoftDomain) id() (string, error) { diff --git a/providers/ms365/resources/groups.go b/providers/ms365/resources/groups.go index 60184fa187..14c7fd30be 100644 --- a/providers/ms365/resources/groups.go +++ b/providers/ms365/resources/groups.go @@ -8,9 +8,9 @@ import ( "errors" "github.com/microsoftgraph/msgraph-sdk-go/groups" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" ) func (m *mqlMicrosoftGroup) id() (string, error) { diff --git a/providers/ms365/resources/microsoft.go b/providers/ms365/resources/microsoft.go index ee13a8affb..fb95388a92 100644 --- a/providers/ms365/resources/microsoft.go +++ b/providers/ms365/resources/microsoft.go @@ -7,7 +7,7 @@ import ( "context" "github.com/microsoftgraph/msgraph-sdk-go/organization" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" ) func (a *mqlMicrosoft) tenantDomainName() (string, error) { diff --git a/providers/ms365/resources/ms365.go b/providers/ms365/resources/ms365.go index 92f2fa0c3a..692211e4a2 100644 --- a/providers/ms365/resources/ms365.go +++ b/providers/ms365/resources/ms365.go @@ -10,11 +10,11 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/types" ) func (m *mqlMs365ExchangeonlineExternalSender) id() (string, error) { diff --git a/providers/ms365/resources/ms365.lr b/providers/ms365/resources/ms365.lr index 9fa728779d..95d186d7ba 100644 --- a/providers/ms365/resources/ms365.lr +++ b/providers/ms365/resources/ms365.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/ms365" -option go_package = "go.mondoo.com/cnquery/v9/providers/ms365/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/ms365/resources" // Microsoft microsoft { diff --git a/providers/ms365/resources/ms365.lr.go b/providers/ms365/resources/ms365.lr.go index 8e0a2ad0c5..8a8773125c 100644 --- a/providers/ms365/resources/ms365.lr.go +++ b/providers/ms365/resources/ms365.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/ms365/resources/organizations.go b/providers/ms365/resources/organizations.go index 4c5bc96aff..430152098d 100644 --- a/providers/ms365/resources/organizations.go +++ b/providers/ms365/resources/organizations.go @@ -7,10 +7,10 @@ import ( "context" "github.com/microsoftgraph/msgraph-sdk-go/organization" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/types" ) func (m *mqlMicrosoftOrganization) id() (string, error) { diff --git a/providers/ms365/resources/policies.go b/providers/ms365/resources/policies.go index 24277f8918..140012bdb0 100644 --- a/providers/ms365/resources/policies.go +++ b/providers/ms365/resources/policies.go @@ -7,8 +7,8 @@ import ( "context" "github.com/microsoftgraph/msgraph-sdk-go/policies" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" ) func (a *mqlMicrosoftPolicies) authorizationPolicy() (interface{}, error) { diff --git a/providers/ms365/resources/rolemanagement.go b/providers/ms365/resources/rolemanagement.go index 7bb56a8415..101147d8d6 100644 --- a/providers/ms365/resources/rolemanagement.go +++ b/providers/ms365/resources/rolemanagement.go @@ -7,10 +7,10 @@ import ( "context" "github.com/microsoftgraph/msgraph-sdk-go/rolemanagement" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/types" ) func (m *mqlMicrosoftRolemanagementRoledefinition) id() (string, error) { diff --git a/providers/ms365/resources/securescores.go b/providers/ms365/resources/securescores.go index 81f9b4ef6a..7ab3a6c6c9 100644 --- a/providers/ms365/resources/securescores.go +++ b/providers/ms365/resources/securescores.go @@ -9,11 +9,11 @@ import ( "github.com/microsoftgraph/msgraph-sdk-go/models" "github.com/microsoftgraph/msgraph-sdk-go/security" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/types" ) func (m *mqlMicrosoftSecuritySecurityscore) id() (string, error) { diff --git a/providers/ms365/resources/serviceprincipals.go b/providers/ms365/resources/serviceprincipals.go index e46e74f92e..aadc36e332 100644 --- a/providers/ms365/resources/serviceprincipals.go +++ b/providers/ms365/resources/serviceprincipals.go @@ -7,12 +7,12 @@ import ( "context" "github.com/microsoftgraph/msgraph-sdk-go/serviceprincipals" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/stringx" ) func (m *mqlMicrosoftServiceprincipal) id() (string, error) { diff --git a/providers/ms365/resources/settings.go b/providers/ms365/resources/settings.go index 90dd37f2cf..0b28085b84 100644 --- a/providers/ms365/resources/settings.go +++ b/providers/ms365/resources/settings.go @@ -7,8 +7,8 @@ import ( "context" "github.com/microsoftgraph/msgraph-sdk-go/groupsettings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" ) func (a *mqlMicrosoft) settings() ([]interface{}, error) { diff --git a/providers/ms365/resources/structs.go b/providers/ms365/resources/structs.go index 5368b41912..ece01b58c3 100644 --- a/providers/ms365/resources/structs.go +++ b/providers/ms365/resources/structs.go @@ -11,7 +11,7 @@ import ( "time" "github.com/microsoftgraph/msgraph-sdk-go/models" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" ) type AssignedPlan struct { diff --git a/providers/ms365/resources/users.go b/providers/ms365/resources/users.go index 938d0d878f..da7e084d97 100644 --- a/providers/ms365/resources/users.go +++ b/providers/ms365/resources/users.go @@ -7,10 +7,10 @@ import ( "context" "github.com/microsoftgraph/msgraph-sdk-go/users" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/ms365/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/ms365/connection" + "go.mondoo.com/cnquery/v10/types" ) func (m *mqlMicrosoftUser) id() (string, error) { diff --git a/providers/network/config/config.go b/providers/network/config/config.go index 6f944ccc8e..a3e109894e 100644 --- a/providers/network/config/config.go +++ b/providers/network/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/network/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/network/provider" ) var Config = plugin.Provider{ diff --git a/providers/network/connection/connection.go b/providers/network/connection/connection.go index a38306183e..fec21d3994 100644 --- a/providers/network/connection/connection.go +++ b/providers/network/connection/connection.go @@ -4,7 +4,7 @@ package connection import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) type HostConnection struct { diff --git a/providers/network/gen/main.go b/providers/network/gen/main.go index 7fc5e2bc68..1cefb2ef63 100644 --- a/providers/network/gen/main.go +++ b/providers/network/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/network/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/network/config" ) func main() { diff --git a/providers/network/main.go b/providers/network/main.go index 1060ce9a91..bd283d4c01 100644 --- a/providers/network/main.go +++ b/providers/network/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/network/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/network/provider" ) func main() { diff --git a/providers/network/provider/provider.go b/providers/network/provider/provider.go index 6612ba014d..b44849cc67 100644 --- a/providers/network/provider/provider.go +++ b/providers/network/provider/provider.go @@ -9,13 +9,13 @@ import ( "strconv" "strings" - "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/v9/providers/network/connection" - "go.mondoo.com/cnquery/v9/providers/network/resources" - "go.mondoo.com/cnquery/v9/providers/network/resources/domain" + "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" + "go.mondoo.com/cnquery/v10/providers/network/connection" + "go.mondoo.com/cnquery/v10/providers/network/resources" + "go.mondoo.com/cnquery/v10/providers/network/resources/domain" ) const ( diff --git a/providers/network/resources/certificates.go b/providers/network/resources/certificates.go index 830e705737..624a9141df 100644 --- a/providers/network/resources/certificates.go +++ b/providers/network/resources/certificates.go @@ -14,14 +14,14 @@ import ( "sync" "time" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/checksums" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/network/resources/certificates" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/checksums" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/network/resources/certificates" + "go.mondoo.com/cnquery/v10/types" ) func pkixnameToMql(runtime *plugin.Runtime, name pkix.Name, id string) (*mqlPkixName, error) { diff --git a/providers/network/resources/dns.go b/providers/network/resources/dns.go index 8feb4dfc19..20dba72cad 100644 --- a/providers/network/resources/dns.go +++ b/providers/network/resources/dns.go @@ -12,14 +12,14 @@ import ( "strings" "github.com/miekg/dns" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/network/connection" - "go.mondoo.com/cnquery/v9/providers/network/resources/dnsshake" - "go.mondoo.com/cnquery/v9/providers/network/resources/domain" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/sortx" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/network/connection" + "go.mondoo.com/cnquery/v10/providers/network/resources/dnsshake" + "go.mondoo.com/cnquery/v10/providers/network/resources/domain" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/sortx" ) func (d *mqlDomainName) id() (string, error) { diff --git a/providers/network/resources/dns_test.go b/providers/network/resources/dns_test.go index 550faed6b1..94cc31c654 100644 --- a/providers/network/resources/dns_test.go +++ b/providers/network/resources/dns_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "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/network/connection" - "go.mondoo.com/cnquery/v9/providers/network/resources" + "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/network/connection" + "go.mondoo.com/cnquery/v10/providers/network/resources" ) func TestResource_DNS(t *testing.T) { diff --git a/providers/network/resources/dnsshake/dnsshake.go b/providers/network/resources/dnsshake/dnsshake.go index 15ddec837b..f2fd1f83c2 100644 --- a/providers/network/resources/dnsshake/dnsshake.go +++ b/providers/network/resources/dnsshake/dnsshake.go @@ -12,7 +12,7 @@ import ( "github.com/cockroachdb/errors" "github.com/miekg/dns" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/utils/multierr" ) type DnsClient struct { diff --git a/providers/network/resources/http.go b/providers/network/resources/http.go index 944c5e7729..06d9c8a65e 100644 --- a/providers/network/resources/http.go +++ b/providers/network/resources/http.go @@ -13,12 +13,12 @@ import ( "sync" "time" - "go.mondoo.com/cnquery/v9/checksums" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/network/connection" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/sortx" + "go.mondoo.com/cnquery/v10/checksums" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/network/connection" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/sortx" ) type mqlHttpGetInternal struct { diff --git a/providers/network/resources/network.lr b/providers/network/resources/network.lr index 497827dada..58322d0bba 100644 --- a/providers/network/resources/network.lr +++ b/providers/network/resources/network.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/network" -option go_package = "go.mondoo.com/cnquery/v9/providers/network/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/network/resources" // Socket socket @defaults("protocol port address") { diff --git a/providers/network/resources/network.lr.go b/providers/network/resources/network.lr.go index b10af7e516..5432d166b7 100644 --- a/providers/network/resources/network.lr.go +++ b/providers/network/resources/network.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/network/resources/network_test.go b/providers/network/resources/network_test.go index 603d3709a1..157ef74e51 100644 --- a/providers/network/resources/network_test.go +++ b/providers/network/resources/network_test.go @@ -3,6 +3,6 @@ package resources_test -import "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" +import "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" var x = testutils.InitTester(testutils.LinuxMock()) diff --git a/providers/network/resources/openpgp.go b/providers/network/resources/openpgp.go index f6a38c22c3..600f188228 100644 --- a/providers/network/resources/openpgp.go +++ b/providers/network/resources/openpgp.go @@ -10,8 +10,8 @@ import ( "github.com/ProtonMail/go-crypto/openpgp" "github.com/ProtonMail/go-crypto/openpgp/packet" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) func (p *mqlOpenpgpEntities) list(content string) ([]interface{}, error) { diff --git a/providers/network/resources/tls.go b/providers/network/resources/tls.go index df4f3f41d4..dd2c05eeec 100644 --- a/providers/network/resources/tls.go +++ b/providers/network/resources/tls.go @@ -11,13 +11,13 @@ import ( "time" "github.com/cockroachdb/errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/core/resources/regex" - "go.mondoo.com/cnquery/v9/providers/network/connection" - "go.mondoo.com/cnquery/v9/providers/network/resources/certificates" - "go.mondoo.com/cnquery/v9/providers/network/resources/tlsshake" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/core/resources/regex" + "go.mondoo.com/cnquery/v10/providers/network/connection" + "go.mondoo.com/cnquery/v10/providers/network/resources/certificates" + "go.mondoo.com/cnquery/v10/providers/network/resources/tlsshake" + "go.mondoo.com/cnquery/v10/types" ) var reTarget = regexp.MustCompile("([^/:]+?)(:\\d+)?$") diff --git a/providers/network/resources/tls_test.go b/providers/network/resources/tls_test.go index f718958a19..6fe6380e3b 100644 --- a/providers/network/resources/tls_test.go +++ b/providers/network/resources/tls_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "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/network/connection" - "go.mondoo.com/cnquery/v9/providers/network/resources" + "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/network/connection" + "go.mondoo.com/cnquery/v10/providers/network/resources" ) func TestResource_TLS(t *testing.T) { diff --git a/providers/network/resources/tlsshake/tlsshake.go b/providers/network/resources/tlsshake/tlsshake.go index d49e91ec12..9bb29435da 100644 --- a/providers/network/resources/tlsshake/tlsshake.go +++ b/providers/network/resources/tlsshake/tlsshake.go @@ -20,7 +20,7 @@ import ( "sync" "time" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/utils/multierr" "golang.org/x/crypto/ocsp" ) diff --git a/providers/network/resources/url.go b/providers/network/resources/url.go index abeafb3e16..114c15dccb 100644 --- a/providers/network/resources/url.go +++ b/providers/network/resources/url.go @@ -9,8 +9,8 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) func initUrl(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/oci/config/config.go b/providers/oci/config/config.go index 04b382ab0a..982337ba00 100644 --- a/providers/oci/config/config.go +++ b/providers/oci/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/oci/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/oci/provider" ) var Config = plugin.Provider{ diff --git a/providers/oci/connection/connection.go b/providers/oci/connection/connection.go index 3e66950dca..9089063db8 100644 --- a/providers/oci/connection/connection.go +++ b/providers/oci/connection/connection.go @@ -7,8 +7,8 @@ import ( "errors" "github.com/oracle/oci-go-sdk/v65/common" - "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" ) type OciConnection struct { diff --git a/providers/oci/gen/main.go b/providers/oci/gen/main.go index 2cab7512b6..07c1557d3a 100644 --- a/providers/oci/gen/main.go +++ b/providers/oci/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/oci/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/oci/config" ) func main() { diff --git a/providers/oci/go.mod b/providers/oci/go.mod index 1389d7e6bb..939355bc3c 100644 --- a/providers/oci/go.mod +++ b/providers/oci/go.mod @@ -1,15 +1,15 @@ -module go.mondoo.com/cnquery/v9/providers/oci +module go.mondoo.com/cnquery/v10/providers/oci go 1.21 toolchain go1.21.3 -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. require ( github.com/oracle/oci-go-sdk/v65 v65.55.1 github.com/rs/zerolog v1.31.0 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 ) require ( diff --git a/providers/oci/main.go b/providers/oci/main.go index 9e50900fab..908dc6107d 100644 --- a/providers/oci/main.go +++ b/providers/oci/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/oci/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/oci/provider" ) func main() { diff --git a/providers/oci/provider/provider.go b/providers/oci/provider/provider.go index a20646977c..ff46daa0ed 100644 --- a/providers/oci/provider/provider.go +++ b/providers/oci/provider/provider.go @@ -10,14 +10,14 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - - "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/v9/providers/oci/connection" - "go.mondoo.com/cnquery/v9/providers/oci/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + + "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" + "go.mondoo.com/cnquery/v10/providers/oci/connection" + "go.mondoo.com/cnquery/v10/providers/oci/resources" ) const ConnectionType = "oci" diff --git a/providers/oci/provider/provider_test.go b/providers/oci/provider/provider_test.go index 5e58fed6ca..b93c5ed0b4 100644 --- a/providers/oci/provider/provider_test.go +++ b/providers/oci/provider/provider_test.go @@ -10,8 +10,8 @@ import ( "fmt" "testing" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) func TestOciProvider(t *testing.T) { diff --git a/providers/oci/resources/buckets.go b/providers/oci/resources/buckets.go index 749ff062c7..4d7a2bf876 100644 --- a/providers/oci/resources/buckets.go +++ b/providers/oci/resources/buckets.go @@ -11,9 +11,9 @@ import ( "github.com/oracle/oci-go-sdk/v65/common" "github.com/oracle/oci-go-sdk/v65/objectstorage" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/oci/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/oci/connection" ) func (e *mqlOciObjectStorage) id() (string, error) { diff --git a/providers/oci/resources/compute.go b/providers/oci/resources/compute.go index 19f0d90fc8..c5e76cab35 100644 --- a/providers/oci/resources/compute.go +++ b/providers/oci/resources/compute.go @@ -11,9 +11,9 @@ import ( "github.com/oracle/oci-go-sdk/v65/common" "github.com/oracle/oci-go-sdk/v65/core" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/oci/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/oci/connection" ) func (e *mqlOciCompute) id() (string, error) { diff --git a/providers/oci/resources/conversion.go b/providers/oci/resources/conversion.go index 66837ee3d0..4c73769148 100644 --- a/providers/oci/resources/conversion.go +++ b/providers/oci/resources/conversion.go @@ -6,7 +6,7 @@ package resources import ( "time" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" ) // parseTime parses RFC 3389 timestamps "2019-06-12T21:14:13.190Z" diff --git a/providers/oci/resources/identity.go b/providers/oci/resources/identity.go index e1a5e68cc1..dc116f6b86 100644 --- a/providers/oci/resources/identity.go +++ b/providers/oci/resources/identity.go @@ -10,11 +10,11 @@ import ( "github.com/oracle/oci-go-sdk/v65/common" "github.com/oracle/oci-go-sdk/v65/identity" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/oci/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/oci/connection" + "go.mondoo.com/cnquery/v10/types" ) func (o *mqlOciIdentity) id() (string, error) { diff --git a/providers/oci/resources/network.go b/providers/oci/resources/network.go index e1e1af92f1..6a3613ac8d 100644 --- a/providers/oci/resources/network.go +++ b/providers/oci/resources/network.go @@ -10,11 +10,11 @@ import ( "github.com/oracle/oci-go-sdk/v65/common" "github.com/oracle/oci-go-sdk/v65/core" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/jobpool" - "go.mondoo.com/cnquery/v9/providers/oci/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/jobpool" + "go.mondoo.com/cnquery/v10/providers/oci/connection" + "go.mondoo.com/cnquery/v10/types" ) func (o *mqlOciNetwork) id() (string, error) { diff --git a/providers/oci/resources/oci.go b/providers/oci/resources/oci.go index 2dce0e554d..1967d39f2d 100644 --- a/providers/oci/resources/oci.go +++ b/providers/oci/resources/oci.go @@ -9,9 +9,9 @@ import ( "time" "github.com/oracle/oci-go-sdk/v65/audit" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/oci/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/oci/connection" ) func (o *mqlOci) id() (string, error) { diff --git a/providers/oci/resources/oci.lr b/providers/oci/resources/oci.lr index cfa2455c3b..b4f778fdce 100644 --- a/providers/oci/resources/oci.lr +++ b/providers/oci/resources/oci.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/oci" -option go_package = "go.mondoo.com/cnquery/v9/providers/oci/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/oci/resources" // Oracle Cloud Infrastructure (OCI) tenancy oci { diff --git a/providers/oci/resources/oci.lr.go b/providers/oci/resources/oci.lr.go index 9d7032ad33..cc820bc141 100644 --- a/providers/oci/resources/oci.lr.go +++ b/providers/oci/resources/oci.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/okta/config/config.go b/providers/okta/config/config.go index cf4a4f5c2d..dd53eeb114 100644 --- a/providers/okta/config/config.go +++ b/providers/okta/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/okta/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/okta/provider" ) var Config = plugin.Provider{ diff --git a/providers/okta/connection/connection.go b/providers/okta/connection/connection.go index ecc9e15aca..18c618b114 100644 --- a/providers/okta/connection/connection.go +++ b/providers/okta/connection/connection.go @@ -9,8 +9,8 @@ import ( "github.com/okta/okta-sdk-golang/v2/okta" "github.com/rs/zerolog/log" - "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" ) type OktaConnection struct { diff --git a/providers/okta/gen/main.go b/providers/okta/gen/main.go index 88d1f5609c..b303152dfa 100644 --- a/providers/okta/gen/main.go +++ b/providers/okta/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/okta/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/okta/config" ) func main() { diff --git a/providers/okta/go.mod b/providers/okta/go.mod index a056114321..0a71304b2c 100644 --- a/providers/okta/go.mod +++ b/providers/okta/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/okta +module go.mondoo.com/cnquery/v10/providers/okta -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -10,7 +10,7 @@ require ( github.com/okta/okta-sdk-golang/v2 v2.20.0 github.com/rs/zerolog v1.31.0 github.com/stretchr/testify v1.8.4 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 go.mondoo.com/ranger-rpc v0.5.3 ) diff --git a/providers/okta/main.go b/providers/okta/main.go index fee4836aa4..4f3a0f4677 100644 --- a/providers/okta/main.go +++ b/providers/okta/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/okta/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/okta/provider" ) func main() { diff --git a/providers/okta/provider/provider.go b/providers/okta/provider/provider.go index 4eba6b3347..e5885e8ba6 100644 --- a/providers/okta/provider/provider.go +++ b/providers/okta/provider/provider.go @@ -9,13 +9,13 @@ import ( "strconv" "strings" - "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/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/okta/connection" - "go.mondoo.com/cnquery/v9/providers/okta/resources" + "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" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/okta/connection" + "go.mondoo.com/cnquery/v10/providers/okta/resources" ) const ConnectionType = "okta" diff --git a/providers/okta/resources/applications.go b/providers/okta/resources/applications.go index 273610f92a..d4c6393481 100644 --- a/providers/okta/resources/applications.go +++ b/providers/okta/resources/applications.go @@ -8,11 +8,11 @@ import ( "github.com/okta/okta-sdk-golang/v2/okta" "github.com/okta/okta-sdk-golang/v2/okta/query" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/okta/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/okta/connection" + "go.mondoo.com/cnquery/v10/types" ) func (o *mqlOkta) applications() ([]interface{}, error) { diff --git a/providers/okta/resources/customRoles.go b/providers/okta/resources/customRoles.go index a4daf57dbb..ee05f3f63b 100644 --- a/providers/okta/resources/customRoles.go +++ b/providers/okta/resources/customRoles.go @@ -5,12 +5,12 @@ package resources import ( "context" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/okta/connection" - "go.mondoo.com/cnquery/v9/providers/okta/resources/sdk" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/okta/connection" + "go.mondoo.com/cnquery/v10/providers/okta/resources/sdk" + "go.mondoo.com/cnquery/v10/types" "net/http" "strings" ) diff --git a/providers/okta/resources/domains.go b/providers/okta/resources/domains.go index c4ebc788c7..74e52ce284 100644 --- a/providers/okta/resources/domains.go +++ b/providers/okta/resources/domains.go @@ -7,10 +7,10 @@ import ( "context" "github.com/okta/okta-sdk-golang/v2/okta" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/okta/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/okta/connection" ) func (o *mqlOkta) domains() ([]interface{}, error) { diff --git a/providers/okta/resources/groups.go b/providers/okta/resources/groups.go index 75fc68cd09..f2bd78f7d4 100644 --- a/providers/okta/resources/groups.go +++ b/providers/okta/resources/groups.go @@ -8,10 +8,10 @@ import ( "github.com/okta/okta-sdk-golang/v2/okta" "github.com/okta/okta-sdk-golang/v2/okta/query" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/okta/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/okta/connection" ) func (o *mqlOkta) groups() ([]interface{}, error) { diff --git a/providers/okta/resources/network.go b/providers/okta/resources/network.go index 635dfa8a13..b57f9b8f59 100644 --- a/providers/okta/resources/network.go +++ b/providers/okta/resources/network.go @@ -8,11 +8,11 @@ import ( "github.com/okta/okta-sdk-golang/v2/okta" "github.com/okta/okta-sdk-golang/v2/okta/query" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/okta/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/okta/connection" + "go.mondoo.com/cnquery/v10/types" ) func (o *mqlOkta) networks() ([]interface{}, error) { diff --git a/providers/okta/resources/okta.lr b/providers/okta/resources/okta.lr index 843e8495b7..373a20cbdc 100644 --- a/providers/okta/resources/okta.lr +++ b/providers/okta/resources/okta.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/okta" -option go_package = "go.mondoo.com/cnquery/v9/providers/okta/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/okta/resources" // Okta okta { diff --git a/providers/okta/resources/okta.lr.go b/providers/okta/resources/okta.lr.go index 938c8bcc4b..e7d0002c65 100644 --- a/providers/okta/resources/okta.lr.go +++ b/providers/okta/resources/okta.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/okta/resources/organization.go b/providers/okta/resources/organization.go index e3b6ce492d..f1cd960479 100644 --- a/providers/okta/resources/organization.go +++ b/providers/okta/resources/organization.go @@ -6,12 +6,12 @@ package resources import ( "context" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/okta/connection" - "go.mondoo.com/cnquery/v9/providers/okta/resources/sdk" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/okta/connection" + "go.mondoo.com/cnquery/v10/providers/okta/resources/sdk" + "go.mondoo.com/cnquery/v10/types" "go.mondoo.com/ranger-rpc" ) diff --git a/providers/okta/resources/policies.go b/providers/okta/resources/policies.go index a9e4a76fed..71216725b9 100644 --- a/providers/okta/resources/policies.go +++ b/providers/okta/resources/policies.go @@ -14,11 +14,11 @@ import ( "github.com/okta/okta-sdk-golang/v2/okta" "github.com/okta/okta-sdk-golang/v2/okta/query" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/okta/connection" - "go.mondoo.com/cnquery/v9/providers/okta/resources/sdk" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/okta/connection" + "go.mondoo.com/cnquery/v10/providers/okta/resources/sdk" ) // https://developer.okta.com/docs/reference/api/policy/#policy-object diff --git a/providers/okta/resources/trustedorigin.go b/providers/okta/resources/trustedorigin.go index 03e0eff5b5..83441080e9 100644 --- a/providers/okta/resources/trustedorigin.go +++ b/providers/okta/resources/trustedorigin.go @@ -8,11 +8,11 @@ import ( "github.com/okta/okta-sdk-golang/v2/okta" "github.com/okta/okta-sdk-golang/v2/okta/query" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/okta/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/okta/connection" + "go.mondoo.com/cnquery/v10/types" ) func (o *mqlOkta) trustedOrigins() ([]interface{}, error) { diff --git a/providers/okta/resources/users.go b/providers/okta/resources/users.go index 9b85fd3cd8..eb9e67cc10 100644 --- a/providers/okta/resources/users.go +++ b/providers/okta/resources/users.go @@ -8,10 +8,10 @@ import ( "github.com/okta/okta-sdk-golang/v2/okta" "github.com/okta/okta-sdk-golang/v2/okta/query" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/okta/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/okta/connection" ) func (o *mqlOkta) users() ([]interface{}, error) { diff --git a/providers/opcua/config/config.go b/providers/opcua/config/config.go index b7f23870a4..4a3bec7c4d 100644 --- a/providers/opcua/config/config.go +++ b/providers/opcua/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/opcua/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/opcua/provider" ) var Config = plugin.Provider{ diff --git a/providers/opcua/connection/connection.go b/providers/opcua/connection/connection.go index ad7fae0671..f918f4ee91 100644 --- a/providers/opcua/connection/connection.go +++ b/providers/opcua/connection/connection.go @@ -9,8 +9,8 @@ import ( "github.com/gopcua/opcua" "github.com/gopcua/opcua/ua" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) type OpcuaConnection struct { diff --git a/providers/opcua/gen/main.go b/providers/opcua/gen/main.go index baa9951bb4..0736bc3740 100644 --- a/providers/opcua/gen/main.go +++ b/providers/opcua/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/opcua/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/opcua/config" ) func main() { diff --git a/providers/opcua/go.mod b/providers/opcua/go.mod index 8fbf8a21d6..e6a4ebec0d 100644 --- a/providers/opcua/go.mod +++ b/providers/opcua/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/opcua +module go.mondoo.com/cnquery/v10/providers/opcua -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -9,7 +9,7 @@ toolchain go1.21.3 require ( github.com/gopcua/opcua v0.5.3 github.com/mozillazg/go-slugify v0.2.0 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 ) require ( diff --git a/providers/opcua/main.go b/providers/opcua/main.go index c02c7d130a..daaf7541a6 100644 --- a/providers/opcua/main.go +++ b/providers/opcua/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/opcua/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/opcua/provider" ) // This is the entry point for the OPCUA provider. diff --git a/providers/opcua/provider/provider.go b/providers/opcua/provider/provider.go index 1b378c99ed..c12f22a2f8 100644 --- a/providers/opcua/provider/provider.go +++ b/providers/opcua/provider/provider.go @@ -9,12 +9,12 @@ import ( "strings" "github.com/mozillazg/go-slugify" - "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/v9/providers/opcua/connection" - "go.mondoo.com/cnquery/v9/providers/opcua/resources" + "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" + "go.mondoo.com/cnquery/v10/providers/opcua/connection" + "go.mondoo.com/cnquery/v10/providers/opcua/resources" ) const ConnectionType = "opcua" diff --git a/providers/opcua/resources/namespace.go b/providers/opcua/resources/namespace.go index 4cfd4f095e..c036407b15 100644 --- a/providers/opcua/resources/namespace.go +++ b/providers/opcua/resources/namespace.go @@ -6,9 +6,9 @@ package resources import ( "strconv" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/opcua/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/opcua/connection" ) func (o *mqlOpcuaNamespace) id() (string, error) { diff --git a/providers/opcua/resources/node.go b/providers/opcua/resources/node.go index 692413b416..7f60a7f073 100644 --- a/providers/opcua/resources/node.go +++ b/providers/opcua/resources/node.go @@ -10,8 +10,8 @@ import ( "github.com/gopcua/opcua/errors" "github.com/gopcua/opcua/id" "github.com/gopcua/opcua/ua" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) type nodeMeta struct { diff --git a/providers/opcua/resources/opcua.go b/providers/opcua/resources/opcua.go index 699d6d4e5c..935d9973c0 100644 --- a/providers/opcua/resources/opcua.go +++ b/providers/opcua/resources/opcua.go @@ -8,7 +8,7 @@ import ( "github.com/gopcua/opcua/id" "github.com/gopcua/opcua/ua" - "go.mondoo.com/cnquery/v9/providers/opcua/connection" + "go.mondoo.com/cnquery/v10/providers/opcua/connection" ) func (o *mqlOpcua) id() (string, error) { diff --git a/providers/opcua/resources/opcua.lr b/providers/opcua/resources/opcua.lr index e2866641a7..3a51fa884a 100644 --- a/providers/opcua/resources/opcua.lr +++ b/providers/opcua/resources/opcua.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/opcua" -option go_package = "go.mondoo.com/cnquery/v9/providers/opcua/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/opcua/resources" // OPC UA opcua { diff --git a/providers/opcua/resources/opcua.lr.go b/providers/opcua/resources/opcua.lr.go index effd73c63b..8b629416e5 100644 --- a/providers/opcua/resources/opcua.lr.go +++ b/providers/opcua/resources/opcua.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/opcua/resources/server.go b/providers/opcua/resources/server.go index b3439fdf90..f7a227af2f 100644 --- a/providers/opcua/resources/server.go +++ b/providers/opcua/resources/server.go @@ -8,10 +8,10 @@ import ( "github.com/gopcua/opcua/id" "github.com/gopcua/opcua/ua" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/opcua/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/opcua/connection" ) func initOpcuaServer(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/os/config/config.go b/providers/os/config/config.go index 3833d1c411..2560cf9187 100644 --- a/providers/os/config/config.go +++ b/providers/os/config/config.go @@ -4,9 +4,9 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/provider" - "go.mondoo.com/cnquery/v9/providers/os/resources/discovery/docker_engine" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/provider" + "go.mondoo.com/cnquery/v10/providers/os/resources/discovery/docker_engine" ) var Config = plugin.Provider{ diff --git a/providers/os/connection/container/auth/auth.go b/providers/os/connection/container/auth/auth.go index be2b4e906b..db482bb3cf 100644 --- a/providers/os/connection/container/auth/auth.go +++ b/providers/os/connection/container/auth/auth.go @@ -6,9 +6,9 @@ package auth import ( "github.com/google/go-containerregistry/pkg/authn" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/os/connection/container/image" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/os/connection/container/image" ) func AuthOption(credentials []*vault.Credential) []image.Option { diff --git a/providers/os/connection/container/docker_engine/command.go b/providers/os/connection/container/docker_engine/command.go index 522c201f0f..e4b60c905a 100644 --- a/providers/os/connection/container/docker_engine/command.go +++ b/providers/os/connection/container/docker_engine/command.go @@ -13,7 +13,7 @@ import ( docker "github.com/docker/docker/api/types" "github.com/docker/docker/client" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type Command struct { diff --git a/providers/os/connection/container/image/docker.go b/providers/os/connection/container/image/docker.go index 3c4ee8d8db..cbb35de3b3 100644 --- a/providers/os/connection/container/image/docker.go +++ b/providers/os/connection/container/image/docker.go @@ -12,7 +12,7 @@ import ( v1 "github.com/google/go-containerregistry/pkg/v1" "github.com/google/go-containerregistry/pkg/v1/daemon" "github.com/google/go-containerregistry/pkg/v1/tarball" - "go.mondoo.com/cnquery/v9/providers/os/connection/container/cache" + "go.mondoo.com/cnquery/v10/providers/os/connection/container/cache" ) type ShaReference struct { diff --git a/providers/os/connection/docker_container.go b/providers/os/connection/docker_container.go index ea02317047..c8d434ad08 100644 --- a/providers/os/connection/docker_container.go +++ b/providers/os/connection/docker_container.go @@ -16,14 +16,14 @@ import ( v1 "github.com/google/go-containerregistry/pkg/v1" "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/container/auth" - "go.mondoo.com/cnquery/v9/providers/os/connection/container/docker_engine" - "go.mondoo.com/cnquery/v9/providers/os/connection/container/image" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/cat" - "go.mondoo.com/cnquery/v9/providers/os/id/containerid" - docker_discovery "go.mondoo.com/cnquery/v9/providers/os/resources/discovery/docker_engine" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/container/auth" + "go.mondoo.com/cnquery/v10/providers/os/connection/container/docker_engine" + "go.mondoo.com/cnquery/v10/providers/os/connection/container/image" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/cat" + "go.mondoo.com/cnquery/v10/providers/os/id/containerid" + docker_discovery "go.mondoo.com/cnquery/v10/providers/os/resources/discovery/docker_engine" ) const ( diff --git a/providers/os/connection/docker_container_test.go b/providers/os/connection/docker_container_test.go index 2614224516..a78a94f3c1 100644 --- a/providers/os/connection/docker_container_test.go +++ b/providers/os/connection/docker_container_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) // This test has an external dependency on the gcr.io registry diff --git a/providers/os/connection/docker_file.go b/providers/os/connection/docker_file.go index 47be621724..9e228ad4a6 100644 --- a/providers/os/connection/docker_file.go +++ b/providers/os/connection/docker_file.go @@ -16,8 +16,8 @@ import ( dockertypes "github.com/docker/docker/api/types" "github.com/docker/docker/client" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/cat" - "go.mondoo.com/cnquery/v9/providers/os/fsutil" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/cat" + "go.mondoo.com/cnquery/v10/providers/os/fsutil" ) func FileOpen(dockerClient *client.Client, path string, container string, conn *DockerContainerConnection, catFs *cat.Fs) (afero.File, error) { diff --git a/providers/os/connection/docker_fs.go b/providers/os/connection/docker_fs.go index e0b2ae932e..e276e9a249 100644 --- a/providers/os/connection/docker_fs.go +++ b/providers/os/connection/docker_fs.go @@ -11,7 +11,7 @@ import ( "github.com/docker/docker/client" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/cat" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/cat" ) type FS struct { diff --git a/providers/os/connection/docker_snapshot.go b/providers/os/connection/docker_snapshot.go index 50fe685a74..84aa270784 100644 --- a/providers/os/connection/docker_snapshot.go +++ b/providers/os/connection/docker_snapshot.go @@ -7,9 +7,9 @@ import ( "context" "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/container/cache" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/container/cache" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) var _ shared.Connection = &DockerSnapshotConnection{} diff --git a/providers/os/connection/fs/filesystem.go b/providers/os/connection/fs/filesystem.go index 57aa22fcd4..05aa2556bb 100644 --- a/providers/os/connection/fs/filesystem.go +++ b/providers/os/connection/fs/filesystem.go @@ -8,10 +8,10 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/fs" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/fs" ) var _ shared.Connection = &FileSystemConnection{} diff --git a/providers/os/connection/fs/filesystem_test.go b/providers/os/connection/fs/filesystem_test.go index 83a30c8fbc..1f1f7c7a23 100644 --- a/providers/os/connection/fs/filesystem_test.go +++ b/providers/os/connection/fs/filesystem_test.go @@ -9,10 +9,10 @@ import ( "github.com/spf13/afero" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/fs" - "go.mondoo.com/cnquery/v9/providers/os/connection/fs/fsutil" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/fs" + "go.mondoo.com/cnquery/v10/providers/os/connection/fs/fsutil" + "go.mondoo.com/cnquery/v10/providers/os/detector" ) func TestOsDetection(t *testing.T) { diff --git a/providers/os/connection/fs/fsutil/hash_test.go b/providers/os/connection/fs/fsutil/hash_test.go index dafdb644e3..609cf0c108 100644 --- a/providers/os/connection/fs/fsutil/hash_test.go +++ b/providers/os/connection/fs/fsutil/hash_test.go @@ -8,8 +8,8 @@ import ( "github.com/spf13/afero" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/connection/fs/fsutil" - "go.mondoo.com/cnquery/v9/providers/os/connection/local" + "go.mondoo.com/cnquery/v10/providers/os/connection/fs/fsutil" + "go.mondoo.com/cnquery/v10/providers/os/connection/local" ) func TestFileResource(t *testing.T) { diff --git a/providers/os/connection/local/local.go b/providers/os/connection/local/local.go index 00871649ff..0b25400939 100644 --- a/providers/os/connection/local/local.go +++ b/providers/os/connection/local/local.go @@ -13,9 +13,9 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/cat" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/cat" ) type LocalConnection struct { diff --git a/providers/os/connection/local/local_unix.go b/providers/os/connection/local/local_unix.go index 9c14d11687..aed9bb2d03 100644 --- a/providers/os/connection/local/local_unix.go +++ b/providers/os/connection/local/local_unix.go @@ -10,7 +10,7 @@ import ( "os" "syscall" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) func (c *LocalConnection) fileowner(stat os.FileInfo) (int64, int64) { diff --git a/providers/os/connection/local/statutil/stat.go b/providers/os/connection/local/statutil/stat.go index 6c81325162..e663dd7b95 100644 --- a/providers/os/connection/local/statutil/stat.go +++ b/providers/os/connection/local/statutil/stat.go @@ -16,7 +16,7 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type CommandRunner interface { diff --git a/providers/os/connection/local/statutil/stat_test.go b/providers/os/connection/local/statutil/stat_test.go index 75c3e1269f..391113eaf2 100644 --- a/providers/os/connection/local/statutil/stat_test.go +++ b/providers/os/connection/local/statutil/stat_test.go @@ -12,8 +12,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) func TestLinuxStatCmd(t *testing.T) { diff --git a/providers/os/connection/mock/mock.go b/providers/os/connection/mock/mock.go index aaa46ed0b2..ab21c61364 100644 --- a/providers/os/connection/mock/mock.go +++ b/providers/os/connection/mock/mock.go @@ -19,8 +19,8 @@ import ( "github.com/gobwas/glob" "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) // Data holds the mocked data entries diff --git a/providers/os/connection/shared/shared.go b/providers/os/connection/shared/shared.go index bd6b294336..61be4d2c99 100644 --- a/providers/os/connection/shared/shared.go +++ b/providers/os/connection/shared/shared.go @@ -12,8 +12,8 @@ import ( "time" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) type ConnectionType string diff --git a/providers/os/connection/snapshot/localcmd.go b/providers/os/connection/snapshot/localcmd.go index 34c6f763f0..0dc74919ab 100644 --- a/providers/os/connection/snapshot/localcmd.go +++ b/providers/os/connection/snapshot/localcmd.go @@ -4,8 +4,8 @@ package snapshot import ( - "go.mondoo.com/cnquery/v9/providers/os/connection/local" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/local" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type LocalCommandRunner struct { diff --git a/providers/os/connection/snapshot/volumemounter.go b/providers/os/connection/snapshot/volumemounter.go index bec438e205..5693a17876 100644 --- a/providers/os/connection/snapshot/volumemounter.go +++ b/providers/os/connection/snapshot/volumemounter.go @@ -9,7 +9,7 @@ import ( "os" "strings" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/utils/stringx" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" diff --git a/providers/os/connection/ssh.go b/providers/os/connection/ssh.go index 0943f3fed1..82b0d5258c 100644 --- a/providers/os/connection/ssh.go +++ b/providers/os/connection/ssh.go @@ -21,16 +21,16 @@ import ( rawsftp "github.com/pkg/sftp" "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/awsinstanceconnect" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/awsssmsession" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/cat" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/scp" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/sftp" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/signers" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/awsinstanceconnect" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/awsssmsession" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/cat" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/scp" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/sftp" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/signers" + "go.mondoo.com/cnquery/v10/utils/multierr" "golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh/agent" "golang.org/x/crypto/ssh/knownhosts" diff --git a/providers/os/connection/ssh/awsinstanceconnect/ec2instanceconnect.go b/providers/os/connection/ssh/awsinstanceconnect/ec2instanceconnect.go index d1e2b666a3..c40dee7db2 100644 --- a/providers/os/connection/ssh/awsinstanceconnect/ec2instanceconnect.go +++ b/providers/os/connection/ssh/awsinstanceconnect/ec2instanceconnect.go @@ -13,7 +13,7 @@ import ( "github.com/aws/aws-sdk-go-v2/service/ec2instanceconnect" "github.com/cockroachdb/errors" "github.com/sethvargo/go-password/password" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/keypair" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/keypair" ) type generator struct { diff --git a/providers/os/connection/ssh/awsssmsession/session_manager.go b/providers/os/connection/ssh/awsssmsession/session_manager.go index e4d295c773..d33b474a59 100644 --- a/providers/os/connection/ssh/awsssmsession/session_manager.go +++ b/providers/os/connection/ssh/awsssmsession/session_manager.go @@ -17,7 +17,7 @@ import ( "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/ssm" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func NewAwsSsmSessionManager(cfg aws.Config, profile string) (*AwsSsmSessionManager, error) { diff --git a/providers/os/connection/ssh/cat/cat.go b/providers/os/connection/ssh/cat/cat.go index 4608afd4a1..ce202ba982 100644 --- a/providers/os/connection/ssh/cat/cat.go +++ b/providers/os/connection/ssh/cat/cat.go @@ -10,8 +10,8 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers/os/connection/local/statutil" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/local/statutil" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type CommandRunner interface { diff --git a/providers/os/connection/ssh/cat/cat_test.go b/providers/os/connection/ssh/cat/cat_test.go index ef48be763a..9f7a6e1b72 100644 --- a/providers/os/connection/ssh/cat/cat_test.go +++ b/providers/os/connection/ssh/cat/cat_test.go @@ -13,11 +13,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/cat" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/cat" ) func TestCatFs(t *testing.T) { diff --git a/providers/os/connection/ssh/scp/fs.go b/providers/os/connection/ssh/scp/fs.go index 0dc3a191e8..e1bf356524 100644 --- a/providers/os/connection/ssh/scp/fs.go +++ b/providers/os/connection/ssh/scp/fs.go @@ -11,8 +11,8 @@ import ( scp_client "github.com/hnakamur/go-scp" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers/os/connection/local/statutil" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/cat" + "go.mondoo.com/cnquery/v10/providers/os/connection/local/statutil" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/cat" "golang.org/x/crypto/ssh" ) diff --git a/providers/os/connection/ssh/sftp/sftp.go b/providers/os/connection/ssh/sftp/sftp.go index bf4bea7aec..7ed742d61d 100644 --- a/providers/os/connection/ssh/sftp/sftp.go +++ b/providers/os/connection/ssh/sftp/sftp.go @@ -21,7 +21,7 @@ import ( "github.com/cockroachdb/errors" "github.com/pkg/sftp" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers/os/connection/ssh/cat" + "go.mondoo.com/cnquery/v10/providers/os/connection/ssh/cat" "golang.org/x/crypto/ssh" ) diff --git a/providers/os/connection/ssh_test.go b/providers/os/connection/ssh_test.go index d2377aab31..000e396d44 100644 --- a/providers/os/connection/ssh_test.go +++ b/providers/os/connection/ssh_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func TestSSHDefaultSettings(t *testing.T) { diff --git a/providers/os/connection/tar.go b/providers/os/connection/tar.go index ea8265b7e7..660a1046af 100644 --- a/providers/os/connection/tar.go +++ b/providers/os/connection/tar.go @@ -15,12 +15,12 @@ import ( "github.com/google/go-containerregistry/pkg/v1/tarball" "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/container/cache" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - provider_tar "go.mondoo.com/cnquery/v9/providers/os/connection/tar" - "go.mondoo.com/cnquery/v9/providers/os/fsutil" - "go.mondoo.com/cnquery/v9/providers/os/id/containerid" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/container/cache" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + provider_tar "go.mondoo.com/cnquery/v10/providers/os/connection/tar" + "go.mondoo.com/cnquery/v10/providers/os/fsutil" + "go.mondoo.com/cnquery/v10/providers/os/id/containerid" ) const ( diff --git a/providers/os/connection/tar/fs.go b/providers/os/connection/tar/fs.go index e68aa72b73..de6a884885 100644 --- a/providers/os/connection/tar/fs.go +++ b/providers/os/connection/tar/fs.go @@ -16,7 +16,7 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers/os/fsutil" + "go.mondoo.com/cnquery/v10/providers/os/fsutil" ) func NewFs(source string) *FS { diff --git a/providers/os/connection/tar_test.go b/providers/os/connection/tar_test.go index 03071e0dd6..fb86d82ebc 100644 --- a/providers/os/connection/tar_test.go +++ b/providers/os/connection/tar_test.go @@ -16,9 +16,9 @@ import ( "github.com/google/go-containerregistry/pkg/v1/tarball" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection" - "go.mondoo.com/cnquery/v9/providers/os/connection/tar" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection" + "go.mondoo.com/cnquery/v10/providers/os/connection/tar" ) const ( diff --git a/providers/os/connection/vagrant.go b/providers/os/connection/vagrant.go index 84577b8f5c..dfa5f2648b 100644 --- a/providers/os/connection/vagrant.go +++ b/providers/os/connection/vagrant.go @@ -7,12 +7,12 @@ import ( "errors" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/os/connection/local" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/connection/vagrant" - "go.mondoo.com/cnquery/v9/providers/os/id/ids" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/os/connection/local" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/vagrant" + "go.mondoo.com/cnquery/v10/providers/os/id/ids" ) const ( diff --git a/providers/os/connection/vagrant/cli_test.go b/providers/os/connection/vagrant/cli_test.go index 217c752c29..d40f0449fd 100644 --- a/providers/os/connection/vagrant/cli_test.go +++ b/providers/os/connection/vagrant/cli_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/connection/vagrant" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/vagrant" ) func TestVagrantSshConfigParsing(t *testing.T) { diff --git a/providers/os/detector/detector.go b/providers/os/detector/detector.go index 35f0a4fca4..34c7fa80b6 100644 --- a/providers/os/detector/detector.go +++ b/providers/os/detector/detector.go @@ -6,8 +6,8 @@ package detector import ( "runtime" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) func DetectOS(conn shared.Connection) (*inventory.Platform, bool) { diff --git a/providers/os/detector/detector_all.go b/providers/os/detector/detector_all.go index 44c96d5078..9a2e02e6ef 100644 --- a/providers/os/detector/detector_all.go +++ b/providers/os/detector/detector_all.go @@ -12,9 +12,9 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - win "go.mondoo.com/cnquery/v9/providers/os/detector/windows" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + win "go.mondoo.com/cnquery/v10/providers/os/detector/windows" ) const ( diff --git a/providers/os/detector/detector_platform_test.go b/providers/os/detector/detector_platform_test.go index 89d8b8e0b6..8499f98ad6 100644 --- a/providers/os/detector/detector_platform_test.go +++ b/providers/os/detector/detector_platform_test.go @@ -5,11 +5,11 @@ package detector import ( "errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func detectPlatformFromMock(filepath string) (*inventory.Platform, error) { diff --git a/providers/os/detector/detector_test.go b/providers/os/detector/detector_test.go index 7cee409f78..a1cfc65277 100644 --- a/providers/os/detector/detector_test.go +++ b/providers/os/detector/detector_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func TestFamilyParents(t *testing.T) { diff --git a/providers/os/detector/os_release.go b/providers/os/detector/os_release.go index 6473e21d80..e11d04b17e 100644 --- a/providers/os/detector/os_release.go +++ b/providers/os/detector/os_release.go @@ -10,7 +10,7 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) func NewOSReleaseDetector(conn shared.Connection) *OSReleaseDetector { diff --git a/providers/os/detector/parser_esxi_version_test.go b/providers/os/detector/parser_esxi_version_test.go index 5eadb0d12c..7ae68b50df 100644 --- a/providers/os/detector/parser_esxi_version_test.go +++ b/providers/os/detector/parser_esxi_version_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/detector" ) func TestEsxiVersionParser(t *testing.T) { diff --git a/providers/os/detector/parser_linux_version_test.go b/providers/os/detector/parser_linux_version_test.go index 0986f5f417..f1a3b1e487 100644 --- a/providers/os/detector/parser_linux_version_test.go +++ b/providers/os/detector/parser_linux_version_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/detector" ) func TestOSReleaseParser(t *testing.T) { diff --git a/providers/os/detector/parser_macos_version_test.go b/providers/os/detector/parser_macos_version_test.go index 7dd78080e0..ec1ebf6965 100644 --- a/providers/os/detector/parser_macos_version_test.go +++ b/providers/os/detector/parser_macos_version_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/detector" ) func TestDarwinRelease(t *testing.T) { diff --git a/providers/os/detector/parser_sol_test.go b/providers/os/detector/parser_sol_test.go index 201af4fcef..da36c406bd 100644 --- a/providers/os/detector/parser_sol_test.go +++ b/providers/os/detector/parser_sol_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/detector" ) func TestOpenSolaris2009Release(t *testing.T) { diff --git a/providers/os/detector/platform_resolver.go b/providers/os/detector/platform_resolver.go index f798279c3b..1193fd4c36 100644 --- a/providers/os/detector/platform_resolver.go +++ b/providers/os/detector/platform_resolver.go @@ -5,9 +5,9 @@ package detector import ( "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type detect func(r *PlatformResolver, pf *inventory.Platform, conn shared.Connection) (bool, error) diff --git a/providers/os/detector/windows/build_version.go b/providers/os/detector/windows/build_version.go index 2bd889b3a8..bad8faf482 100644 --- a/providers/os/detector/windows/build_version.go +++ b/providers/os/detector/windows/build_version.go @@ -10,8 +10,8 @@ import ( "regexp" "strconv" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) var WinBuildVersionRegex = regexp.MustCompile(`^(\d+)(?:\.(\d+)){0,1}`) diff --git a/providers/os/detector/windows/build_version_unix.go b/providers/os/detector/windows/build_version_unix.go index de5db46a3e..d0425593c4 100644 --- a/providers/os/detector/windows/build_version_unix.go +++ b/providers/os/detector/windows/build_version_unix.go @@ -6,7 +6,7 @@ package windows -import "go.mondoo.com/cnquery/v9/providers/os/connection/shared" +import "go.mondoo.com/cnquery/v10/providers/os/connection/shared" func GetWindowsOSBuild(conn shared.Connection) (*WindowsCurrentVersion, error) { return powershellGetWindowsOSBuild(conn) diff --git a/providers/os/detector/windows/build_version_windows.go b/providers/os/detector/windows/build_version_windows.go index 48ccaf4b56..abd805e17f 100644 --- a/providers/os/detector/windows/build_version_windows.go +++ b/providers/os/detector/windows/build_version_windows.go @@ -9,7 +9,7 @@ package windows import ( "runtime" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" "golang.org/x/sys/windows/registry" ) diff --git a/providers/os/detector/windows/wmi.go b/providers/os/detector/windows/wmi.go index 54277b8d4d..250fb3d2c1 100644 --- a/providers/os/detector/windows/wmi.go +++ b/providers/os/detector/windows/wmi.go @@ -10,8 +10,8 @@ import ( "strconv" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/linefeed" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/linefeed" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type WmicOSInformation struct { diff --git a/providers/os/detector/windows/wmi_unix.go b/providers/os/detector/windows/wmi_unix.go index a042cf3f85..1be864c270 100644 --- a/providers/os/detector/windows/wmi_unix.go +++ b/providers/os/detector/windows/wmi_unix.go @@ -6,7 +6,7 @@ package windows -import "go.mondoo.com/cnquery/v9/providers/os/connection/shared" +import "go.mondoo.com/cnquery/v10/providers/os/connection/shared" func GetWmiInformation(conn shared.Connection) (*WmicOSInformation, error) { return powershellGetWmiInformation(conn) diff --git a/providers/os/detector/windows/wmi_windows.go b/providers/os/detector/windows/wmi_windows.go index 51ec148382..4f98e61180 100644 --- a/providers/os/detector/windows/wmi_windows.go +++ b/providers/os/detector/windows/wmi_windows.go @@ -12,7 +12,7 @@ import ( "strconv" wmi "github.com/StackExchange/wmi" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const wmiOSQuery = "SELECT Name, Caption, Manufacturer, OSArchitecture, Version, BuildNumber, Description, OSType, ProductType, SerialNumber FROM Win32_OperatingSystem" diff --git a/providers/os/fsutil/hash_test.go b/providers/os/fsutil/hash_test.go index efb103239c..24b73c2948 100644 --- a/providers/os/fsutil/hash_test.go +++ b/providers/os/fsutil/hash_test.go @@ -8,9 +8,9 @@ import ( "github.com/spf13/afero" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/local" - "go.mondoo.com/cnquery/v9/providers/os/fsutil" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/local" + "go.mondoo.com/cnquery/v10/providers/os/fsutil" ) func TestFileResource(t *testing.T) { diff --git a/providers/os/gen/main.go b/providers/os/gen/main.go index b1e94d44c4..5b77698987 100644 --- a/providers/os/gen/main.go +++ b/providers/os/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/os/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/os/config" ) func main() { diff --git a/providers/os/id/aws/aws.go b/providers/os/id/aws/aws.go index 9a9c9b15bb..00915362d1 100644 --- a/providers/os/id/aws/aws.go +++ b/providers/os/id/aws/aws.go @@ -8,11 +8,11 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/id/awsec2" - "go.mondoo.com/cnquery/v9/providers/os/id/awsecs" - "go.mondoo.com/cnquery/v9/providers/os/resources/smbios" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/id/awsec2" + "go.mondoo.com/cnquery/v10/providers/os/id/awsecs" + "go.mondoo.com/cnquery/v10/providers/os/resources/smbios" ) func readValue(conn shared.Connection, fPath string) string { diff --git a/providers/os/id/aws/aws_test.go b/providers/os/id/aws/aws_test.go index 84f1e11551..defbb4c310 100644 --- a/providers/os/id/aws/aws_test.go +++ b/providers/os/id/aws/aws_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/detector" ) func TestDetectInstance(t *testing.T) { diff --git a/providers/os/id/awsec2/awsec2.go b/providers/os/id/awsec2/awsec2.go index d2e02be816..3b6183afff 100644 --- a/providers/os/id/awsec2/awsec2.go +++ b/providers/os/id/awsec2/awsec2.go @@ -8,9 +8,9 @@ import ( "github.com/aws/aws-sdk-go-v2/config" "github.com/cockroachdb/errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type Identity struct { diff --git a/providers/os/id/awsec2/metadata_cmd.go b/providers/os/id/awsec2/metadata_cmd.go index 47b43bac35..1b6e0caf2e 100644 --- a/providers/os/id/awsec2/metadata_cmd.go +++ b/providers/os/id/awsec2/metadata_cmd.go @@ -15,9 +15,9 @@ import ( "github.com/aws/aws-sdk-go-v2/service/ec2" ec2types "github.com/aws/aws-sdk-go-v2/service/ec2/types" "github.com/cockroachdb/errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) const ( diff --git a/providers/os/id/awsec2/metadata_cmd_test.go b/providers/os/id/awsec2/metadata_cmd_test.go index 315fb54153..c2675f4902 100644 --- a/providers/os/id/awsec2/metadata_cmd_test.go +++ b/providers/os/id/awsec2/metadata_cmd_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/detector" ) func TestEC2RoleProviderInstanceIdentityUnix(t *testing.T) { diff --git a/providers/os/id/awsecs/awsecs.go b/providers/os/id/awsecs/awsecs.go index bcad2e88f4..d1a7b8c901 100644 --- a/providers/os/id/awsecs/awsecs.go +++ b/providers/os/id/awsecs/awsecs.go @@ -12,9 +12,9 @@ import ( "github.com/aws/aws-sdk-go/aws/arn" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/id/containerid" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/id/containerid" ) const ( diff --git a/providers/os/id/awsecs/awsecs_test.go b/providers/os/id/awsecs/awsecs_test.go index 52f68706f0..c86a459a17 100644 --- a/providers/os/id/awsecs/awsecs_test.go +++ b/providers/os/id/awsecs/awsecs_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/detector" ) func TestParseECSContainerId(t *testing.T) { diff --git a/providers/os/id/azcompute/azcompute.go b/providers/os/id/azcompute/azcompute.go index 038968eec6..6cbe06934d 100644 --- a/providers/os/id/azcompute/azcompute.go +++ b/providers/os/id/azcompute/azcompute.go @@ -9,10 +9,10 @@ import ( "io" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/utils/multierr" ) const ( diff --git a/providers/os/id/azcompute/azcompute_test.go b/providers/os/id/azcompute/azcompute_test.go index bcd51cc540..d3ccb76be3 100644 --- a/providers/os/id/azcompute/azcompute_test.go +++ b/providers/os/id/azcompute/azcompute_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/detector" ) func TestCommandProviderLinux(t *testing.T) { diff --git a/providers/os/id/azure/azure.go b/providers/os/id/azure/azure.go index 9ac35b3a2b..3bcab04ba6 100644 --- a/providers/os/id/azure/azure.go +++ b/providers/os/id/azure/azure.go @@ -8,10 +8,10 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/id/azcompute" - "go.mondoo.com/cnquery/v9/providers/os/resources/smbios" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/id/azcompute" + "go.mondoo.com/cnquery/v10/providers/os/resources/smbios" ) const ( diff --git a/providers/os/id/clouddetect/clouddetect.go b/providers/os/id/clouddetect/clouddetect.go index fe737e9527..e59be01aea 100644 --- a/providers/os/id/clouddetect/clouddetect.go +++ b/providers/os/id/clouddetect/clouddetect.go @@ -7,11 +7,11 @@ import ( "sync" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/id/aws" - "go.mondoo.com/cnquery/v9/providers/os/id/azure" - "go.mondoo.com/cnquery/v9/providers/os/id/gcp" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/id/aws" + "go.mondoo.com/cnquery/v10/providers/os/id/azure" + "go.mondoo.com/cnquery/v10/providers/os/id/gcp" ) type ( diff --git a/providers/os/id/gce/gce.go b/providers/os/id/gce/gce.go index 88b2f0111f..f885fdf942 100644 --- a/providers/os/id/gce/gce.go +++ b/providers/os/id/gce/gce.go @@ -10,9 +10,9 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) // deprecated: use MondooGcpInstancePlatformMrn diff --git a/providers/os/id/gce/gce_test.go b/providers/os/id/gce/gce_test.go index 8e9a8672e9..1c1a8ba6bc 100644 --- a/providers/os/id/gce/gce_test.go +++ b/providers/os/id/gce/gce_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/detector" - "go.mondoo.com/cnquery/v9/providers/os/id/gce" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/id/gce" ) func TestCommandProviderLinux(t *testing.T) { diff --git a/providers/os/id/gcp/gcp.go b/providers/os/id/gcp/gcp.go index ebefbc3901..fdde567f1c 100644 --- a/providers/os/id/gcp/gcp.go +++ b/providers/os/id/gcp/gcp.go @@ -8,10 +8,10 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/id/gce" - "go.mondoo.com/cnquery/v9/providers/os/resources/smbios" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/id/gce" + "go.mondoo.com/cnquery/v10/providers/os/resources/smbios" ) const ( diff --git a/providers/os/id/gcp/gcp_test.go b/providers/os/id/gcp/gcp_test.go index 38aa910fae..3cf4e06527 100644 --- a/providers/os/id/gcp/gcp_test.go +++ b/providers/os/id/gcp/gcp_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/detector" ) func TestDetectLinuxInstance(t *testing.T) { diff --git a/providers/os/id/hostname/hostname.go b/providers/os/id/hostname/hostname.go index d93573fc5f..0484e0c8c1 100644 --- a/providers/os/id/hostname/hostname.go +++ b/providers/os/id/hostname/hostname.go @@ -9,8 +9,8 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) func Hostname(conn shared.Connection, pf *inventory.Platform) (string, bool) { diff --git a/providers/os/id/hostname/hostname_test.go b/providers/os/id/hostname/hostname_test.go index a614bce16a..9fee24b327 100644 --- a/providers/os/id/hostname/hostname_test.go +++ b/providers/os/id/hostname/hostname_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/detector" - "go.mondoo.com/cnquery/v9/providers/os/id/hostname" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/id/hostname" ) func TestHostnameLinuxEtcHostname(t *testing.T) { diff --git a/providers/os/id/machineid/guid.go b/providers/os/id/machineid/guid.go index 2fcf6a02d8..d12b1edf37 100644 --- a/providers/os/id/machineid/guid.go +++ b/providers/os/id/machineid/guid.go @@ -5,9 +5,9 @@ package machineid import ( "github.com/cockroachdb/errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/id/platformid" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/id/platformid" ) func MachineId(conn shared.Connection, p *inventory.Platform) (string, error) { diff --git a/providers/os/id/platform.go b/providers/os/id/platform.go index c1a85cef0d..ae64c3ccf6 100644 --- a/providers/os/id/platform.go +++ b/providers/os/id/platform.go @@ -8,16 +8,16 @@ import ( "fmt" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/detector" - "go.mondoo.com/cnquery/v9/providers/os/id/awsec2" - "go.mondoo.com/cnquery/v9/providers/os/id/awsecs" - "go.mondoo.com/cnquery/v9/providers/os/id/clouddetect" - "go.mondoo.com/cnquery/v9/providers/os/id/hostname" - "go.mondoo.com/cnquery/v9/providers/os/id/ids" - "go.mondoo.com/cnquery/v9/providers/os/id/machineid" - "go.mondoo.com/cnquery/v9/providers/os/id/sshhostkey" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/id/awsec2" + "go.mondoo.com/cnquery/v10/providers/os/id/awsecs" + "go.mondoo.com/cnquery/v10/providers/os/id/clouddetect" + "go.mondoo.com/cnquery/v10/providers/os/id/hostname" + "go.mondoo.com/cnquery/v10/providers/os/id/ids" + "go.mondoo.com/cnquery/v10/providers/os/id/machineid" + "go.mondoo.com/cnquery/v10/providers/os/id/sshhostkey" ) type PlatformFingerprint struct { diff --git a/providers/os/id/platformid/linux.go b/providers/os/id/platformid/linux.go index 323cc8be69..5977f18a0f 100644 --- a/providers/os/id/platformid/linux.go +++ b/providers/os/id/platformid/linux.go @@ -7,7 +7,7 @@ import ( "io" "strings" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) // LinuxIdProvider read the following files to extract the machine id diff --git a/providers/os/id/platformid/linux_test.go b/providers/os/id/platformid/linux_test.go index 2f23a5ad97..0b98f0227b 100644 --- a/providers/os/id/platformid/linux_test.go +++ b/providers/os/id/platformid/linux_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestLinuxMachineId(t *testing.T) { diff --git a/providers/os/id/platformid/manager.go b/providers/os/id/platformid/manager.go index 4519bc962d..8ef54f3c0b 100644 --- a/providers/os/id/platformid/manager.go +++ b/providers/os/id/platformid/manager.go @@ -4,8 +4,8 @@ package platformid import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type UniquePlatformIDProvider interface { diff --git a/providers/os/id/platformid/osx.go b/providers/os/id/platformid/osx.go index 534fcd1420..81d387d852 100644 --- a/providers/os/id/platformid/osx.go +++ b/providers/os/id/platformid/osx.go @@ -9,7 +9,7 @@ import ( "regexp" "strings" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) // MacOSIdProvider read the operating system id by calling diff --git a/providers/os/id/platformid/osx_test.go b/providers/os/id/platformid/osx_test.go index 90be78db3c..83f74cd48d 100644 --- a/providers/os/id/platformid/osx_test.go +++ b/providers/os/id/platformid/osx_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestMacOSMachineId(t *testing.T) { diff --git a/providers/os/id/platformid/win.go b/providers/os/id/platformid/win.go index 7ec4828a8d..79e4480462 100644 --- a/providers/os/id/platformid/win.go +++ b/providers/os/id/platformid/win.go @@ -6,7 +6,7 @@ package platformid import ( "io" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const wmiMachineIDQuery = "SELECT UUID FROM Win32_ComputerSystemProduct" diff --git a/providers/os/id/platformid/win_guid_unix.go b/providers/os/id/platformid/win_guid_unix.go index c4518163a3..5c6a17e3ad 100644 --- a/providers/os/id/platformid/win_guid_unix.go +++ b/providers/os/id/platformid/win_guid_unix.go @@ -6,7 +6,7 @@ package platformid -import "go.mondoo.com/cnquery/v9/providers/os/connection/shared" +import "go.mondoo.com/cnquery/v10/providers/os/connection/shared" func windowsMachineId(conn shared.Connection) (string, error) { return PowershellWindowsMachineId(conn) diff --git a/providers/os/id/platformid/win_guid_windows.go b/providers/os/id/platformid/win_guid_windows.go index 14e6601b73..0f4ea3ba35 100644 --- a/providers/os/id/platformid/win_guid_windows.go +++ b/providers/os/id/platformid/win_guid_windows.go @@ -11,7 +11,7 @@ import ( "runtime" wmi "github.com/StackExchange/wmi" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) func windowsMachineId(conn shared.Connection) (string, error) { diff --git a/providers/os/id/platformid/win_test.go b/providers/os/id/platformid/win_test.go index abf0d0ae45..53c7bcad52 100644 --- a/providers/os/id/platformid/win_test.go +++ b/providers/os/id/platformid/win_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestGuidWindows(t *testing.T) { diff --git a/providers/os/id/sshhostkey/sshhostkey.go b/providers/os/id/sshhostkey/sshhostkey.go index b2b757ffc6..6ac5c37981 100644 --- a/providers/os/id/sshhostkey/sshhostkey.go +++ b/providers/os/id/sshhostkey/sshhostkey.go @@ -8,9 +8,9 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" "golang.org/x/crypto/ssh" ) diff --git a/providers/os/main.go b/providers/os/main.go index da05030443..cf27916b06 100644 --- a/providers/os/main.go +++ b/providers/os/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/provider" ) func main() { diff --git a/providers/os/provider/detector.go b/providers/os/provider/detector.go index 055fc5e501..2b40cc7d1f 100644 --- a/providers/os/provider/detector.go +++ b/providers/os/provider/detector.go @@ -7,16 +7,16 @@ import ( "errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/detector" - "go.mondoo.com/cnquery/v9/providers/os/id/aws" - "go.mondoo.com/cnquery/v9/providers/os/id/azure" - "go.mondoo.com/cnquery/v9/providers/os/id/gcp" - "go.mondoo.com/cnquery/v9/providers/os/id/hostname" - "go.mondoo.com/cnquery/v9/providers/os/id/ids" - "go.mondoo.com/cnquery/v9/providers/os/id/machineid" - "go.mondoo.com/cnquery/v9/providers/os/id/sshhostkey" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/id/aws" + "go.mondoo.com/cnquery/v10/providers/os/id/azure" + "go.mondoo.com/cnquery/v10/providers/os/id/gcp" + "go.mondoo.com/cnquery/v10/providers/os/id/hostname" + "go.mondoo.com/cnquery/v10/providers/os/id/ids" + "go.mondoo.com/cnquery/v10/providers/os/id/machineid" + "go.mondoo.com/cnquery/v10/providers/os/id/sshhostkey" ) // default id detectors diff --git a/providers/os/provider/provider.go b/providers/os/provider/provider.go index d7dff74362..421edc4950 100644 --- a/providers/os/provider/provider.go +++ b/providers/os/provider/provider.go @@ -11,21 +11,21 @@ import ( "strings" "github.com/rs/zerolog/log" - "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/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/os/connection" - "go.mondoo.com/cnquery/v9/providers/os/connection/fs" - "go.mondoo.com/cnquery/v9/providers/os/connection/local" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/id" - "go.mondoo.com/cnquery/v9/providers/os/resources" - "go.mondoo.com/cnquery/v9/providers/os/resources/discovery/container_registry" - "go.mondoo.com/cnquery/v9/providers/os/resources/discovery/docker_engine" - "go.mondoo.com/cnquery/v9/utils/stringx" + "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" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/os/connection" + "go.mondoo.com/cnquery/v10/providers/os/connection/fs" + "go.mondoo.com/cnquery/v10/providers/os/connection/local" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/id" + "go.mondoo.com/cnquery/v10/providers/os/resources" + "go.mondoo.com/cnquery/v10/providers/os/resources/discovery/container_registry" + "go.mondoo.com/cnquery/v10/providers/os/resources/discovery/docker_engine" + "go.mondoo.com/cnquery/v10/utils/stringx" ) const ( diff --git a/providers/os/provider/provider_test.go b/providers/os/provider/provider_test.go index 7be6d9574c..8676492134 100644 --- a/providers/os/provider/provider_test.go +++ b/providers/os/provider/provider_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "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/vault" - "go.mondoo.com/cnquery/v9/providers/os/id/ids" + "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/vault" + "go.mondoo.com/cnquery/v10/providers/os/id/ids" ) func TestLocalConnectionIdDetectors(t *testing.T) { diff --git a/providers/os/resources/asset_cpe.go b/providers/os/resources/asset_cpe.go index edd7f9a33a..8ad86b3f79 100644 --- a/providers/os/resources/asset_cpe.go +++ b/providers/os/resources/asset_cpe.go @@ -5,9 +5,9 @@ package resources import ( "github.com/facebookincubator/nvdtools/wfn" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/cpe" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/cpe" "strings" ) diff --git a/providers/os/resources/asset_eol.go b/providers/os/resources/asset_eol.go index 7e85fde08a..c9503bb03a 100644 --- a/providers/os/resources/asset_eol.go +++ b/providers/os/resources/asset_eol.go @@ -6,14 +6,14 @@ package resources import ( "context" "errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd" "time" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) // FIXME: DEPRECATED, update in v10.0 vv diff --git a/providers/os/resources/asset_vuln.go b/providers/os/resources/asset_vuln.go index 359a2f6066..9601bee738 100644 --- a/providers/os/resources/asset_vuln.go +++ b/providers/os/resources/asset_vuln.go @@ -9,15 +9,15 @@ import ( "time" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/gql" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd/cvss" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/gql" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd/cvss" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) // TODO: generalize this kind of function diff --git a/providers/os/resources/auditpol.go b/providers/os/resources/auditpol.go index a4878434a6..ccd02d7e6d 100644 --- a/providers/os/resources/auditpol.go +++ b/providers/os/resources/auditpol.go @@ -7,8 +7,8 @@ import ( "fmt" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers/os/resources/windows" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers/os/resources/windows" ) func (p *mqlAuditpol) list() ([]interface{}, error) { diff --git a/providers/os/resources/authorizedkeys.go b/providers/os/resources/authorizedkeys.go index 9f5237113f..0407edba1e 100644 --- a/providers/os/resources/authorizedkeys.go +++ b/providers/os/resources/authorizedkeys.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/resources/authorizedkeys" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/resources/authorizedkeys" ) func (x *mqlAuthorizedkeysEntry) id() (string, error) { diff --git a/providers/os/resources/command.go b/providers/os/resources/command.go index 07b06f66ed..74ddf37a48 100644 --- a/providers/os/resources/command.go +++ b/providers/os/resources/command.go @@ -8,9 +8,9 @@ import ( "io" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type mqlCommandInternal struct { diff --git a/providers/os/resources/container.go b/providers/os/resources/container.go index aef499e25b..298c13c9b8 100644 --- a/providers/os/resources/container.go +++ b/providers/os/resources/container.go @@ -5,9 +5,9 @@ package resources import ( "github.com/google/go-containerregistry/pkg/name" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection" ) func initContainerImage(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/os/resources/cpe/platforms.go b/providers/os/resources/cpe/platforms.go index ee72d480eb..e9f8ae5107 100644 --- a/providers/os/resources/cpe/platforms.go +++ b/providers/os/resources/cpe/platforms.go @@ -5,7 +5,7 @@ package cpe import ( "bytes" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/utils/stringx" "regexp" "strconv" "text/template" diff --git a/providers/os/resources/discovery/container_registry/registry.go b/providers/os/resources/discovery/container_registry/registry.go index a5bf24ff95..f68f2a828f 100644 --- a/providers/os/resources/discovery/container_registry/registry.go +++ b/providers/os/resources/discovery/container_registry/registry.go @@ -17,11 +17,11 @@ import ( "github.com/google/go-containerregistry/pkg/name" "github.com/google/go-containerregistry/pkg/v1/remote" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/os/connection/container/auth" - "go.mondoo.com/cnquery/v9/providers/os/connection/container/image" - "go.mondoo.com/cnquery/v9/providers/os/id/containerid" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/os/connection/container/auth" + "go.mondoo.com/cnquery/v10/providers/os/connection/container/image" + "go.mondoo.com/cnquery/v10/providers/os/id/containerid" ) func NewContainerRegistryResolver() *DockerRegistryImages { diff --git a/providers/os/resources/discovery/container_registry/resolver.go b/providers/os/resources/discovery/container_registry/resolver.go index 1bc9447e41..2e08ca8f3a 100644 --- a/providers/os/resources/discovery/container_registry/resolver.go +++ b/providers/os/resources/discovery/container_registry/resolver.go @@ -11,9 +11,9 @@ import ( "github.com/google/go-containerregistry/pkg/name" "github.com/google/go-containerregistry/pkg/v1/remote" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/logger" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/logger" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" ) type Resolver struct { diff --git a/providers/os/resources/discovery/docker_engine/client_test.go b/providers/os/resources/discovery/docker_engine/client_test.go index 5b7015a558..dd7f2021f8 100644 --- a/providers/os/resources/discovery/docker_engine/client_test.go +++ b/providers/os/resources/discovery/docker_engine/client_test.go @@ -10,7 +10,7 @@ import ( "github.com/docker/docker/client" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/resources/discovery/docker_engine" + "go.mondoo.com/cnquery/v10/providers/os/resources/discovery/docker_engine" ) func resetEnv(env []string) { diff --git a/providers/os/resources/discovery/docker_engine/container.go b/providers/os/resources/discovery/docker_engine/container.go index beafc0a595..f7444eb4bf 100644 --- a/providers/os/resources/discovery/docker_engine/container.go +++ b/providers/os/resources/discovery/docker_engine/container.go @@ -9,8 +9,8 @@ import ( "github.com/docker/docker/api/types" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/id/containerid" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/id/containerid" ) func (e *dockerEngineDiscovery) containerList() ([]types.Container, error) { diff --git a/providers/os/resources/discovery/docker_engine/images.go b/providers/os/resources/discovery/docker_engine/images.go index 65f1a9acbd..b3232c437d 100644 --- a/providers/os/resources/discovery/docker_engine/images.go +++ b/providers/os/resources/discovery/docker_engine/images.go @@ -9,7 +9,7 @@ import ( "github.com/docker/docker/api/types" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) // be aware that images are prefixed with sha256:, while containers are not diff --git a/providers/os/resources/discovery/docker_engine/platform.go b/providers/os/resources/discovery/docker_engine/platform.go index 4b58438ba9..c23a121f77 100644 --- a/providers/os/resources/discovery/docker_engine/platform.go +++ b/providers/os/resources/discovery/docker_engine/platform.go @@ -5,8 +5,8 @@ package docker_engine import ( "github.com/google/go-containerregistry/pkg/v1/tarball" - "go.mondoo.com/cnquery/v9/providers/os/fsutil" - "go.mondoo.com/cnquery/v9/providers/os/id/containerid" + "go.mondoo.com/cnquery/v10/providers/os/fsutil" + "go.mondoo.com/cnquery/v10/providers/os/id/containerid" ) func platformID(filename string) (string, error) { diff --git a/providers/os/resources/discovery/docker_engine/resolver.go b/providers/os/resources/discovery/docker_engine/resolver.go index fd241d6933..0a6b678a38 100644 --- a/providers/os/resources/discovery/docker_engine/resolver.go +++ b/providers/os/resources/discovery/docker_engine/resolver.go @@ -10,10 +10,10 @@ import ( "github.com/cockroachdb/errors" "github.com/google/go-containerregistry/pkg/name" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/os/resources/discovery/container_registry" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/os/resources/discovery/container_registry" + "go.mondoo.com/cnquery/v10/utils/stringx" ) const ( diff --git a/providers/os/resources/docker.go b/providers/os/resources/docker.go index b07323b8d5..3bd715073f 100644 --- a/providers/os/resources/docker.go +++ b/providers/os/resources/docker.go @@ -9,8 +9,8 @@ import ( docker_types "github.com/docker/docker/api/types" "github.com/docker/docker/client" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/types" ) func (p *mqlDocker) images() ([]interface{}, error) { diff --git a/providers/os/resources/file.go b/providers/os/resources/file.go index d8e0f1fcbe..3b73ff6cf3 100644 --- a/providers/os/resources/file.go +++ b/providers/os/resources/file.go @@ -9,10 +9,10 @@ import ( "path" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) func (s *mqlFile) id() (string, error) { diff --git a/providers/os/resources/file_test.go b/providers/os/resources/file_test.go index 2009fdded5..d3c42b4071 100644 --- a/providers/os/resources/file_test.go +++ b/providers/os/resources/file_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" - "go.mondoo.com/cnquery/v9/providers/os/resources" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/providers/os/resources" ) const passwdContent = `root:x:0:0::/root:/bin/bash diff --git a/providers/os/resources/files.go b/providers/os/resources/files.go index 466eec3d50..c4aa6c31b4 100644 --- a/providers/os/resources/files.go +++ b/providers/os/resources/files.go @@ -11,9 +11,9 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) var findTypes = map[string]string{ diff --git a/providers/os/resources/files_test.go b/providers/os/resources/files_test.go index 9726eefa99..864cd72385 100644 --- a/providers/os/resources/files_test.go +++ b/providers/os/resources/files_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) func TestResource_FilesFind(t *testing.T) { diff --git a/providers/os/resources/group.go b/providers/os/resources/group.go index 16137ec617..edac414bc9 100644 --- a/providers/os/resources/group.go +++ b/providers/os/resources/group.go @@ -8,10 +8,10 @@ import ( "strconv" "sync" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/groups" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/groups" ) type mqlGroupInternal struct { diff --git a/providers/os/resources/groups/dscache.go b/providers/os/resources/groups/dscache.go index 9687ca133f..05cda0e84b 100644 --- a/providers/os/resources/groups/dscache.go +++ b/providers/os/resources/groups/dscache.go @@ -11,7 +11,7 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) var GROUP_OSX_DSCACHEUTIL_REGEX = regexp.MustCompile(`^(\S+):\s(.*?)$`) diff --git a/providers/os/resources/groups/dscache_test.go b/providers/os/resources/groups/dscache_test.go index c84a595e74..8cc634484f 100644 --- a/providers/os/resources/groups/dscache_test.go +++ b/providers/os/resources/groups/dscache_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/groups" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/groups" ) func TestParseDscacheutilResult(t *testing.T) { diff --git a/providers/os/resources/groups/etcgroups.go b/providers/os/resources/groups/etcgroups.go index 5e5f43084c..341be9faa0 100644 --- a/providers/os/resources/groups/etcgroups.go +++ b/providers/os/resources/groups/etcgroups.go @@ -10,7 +10,7 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) // a good description of this file is available at: diff --git a/providers/os/resources/groups/etcgroups_test.go b/providers/os/resources/groups/etcgroups_test.go index b6fea4a7c7..0e64d589ac 100644 --- a/providers/os/resources/groups/etcgroups_test.go +++ b/providers/os/resources/groups/etcgroups_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/groups" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/groups" ) func TestParseLinuxEtcGroups(t *testing.T) { diff --git a/providers/os/resources/groups/manager.go b/providers/os/resources/groups/manager.go index 4aaae3ba15..df671113ef 100644 --- a/providers/os/resources/groups/manager.go +++ b/providers/os/resources/groups/manager.go @@ -6,7 +6,7 @@ package groups import ( "errors" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) func ResolveManager(conn shared.Connection) (OSGroupManager, error) { diff --git a/providers/os/resources/groups/manager_test.go b/providers/os/resources/groups/manager_test.go index 3e8135041a..8d6250fdf1 100644 --- a/providers/os/resources/groups/manager_test.go +++ b/providers/os/resources/groups/manager_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/groups" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/groups" ) func TestManagerDebian(t *testing.T) { diff --git a/providers/os/resources/groups/ps1getlocalgroup.go b/providers/os/resources/groups/ps1getlocalgroup.go index 9aee9972f8..23eb456cf9 100644 --- a/providers/os/resources/groups/ps1getlocalgroup.go +++ b/providers/os/resources/groups/ps1getlocalgroup.go @@ -7,8 +7,8 @@ import ( "encoding/json" "io" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) type WindowsSID struct { diff --git a/providers/os/resources/groups/ps1getlocalgroup_test.go b/providers/os/resources/groups/ps1getlocalgroup_test.go index e39b5d39d1..0ad58f0ed4 100644 --- a/providers/os/resources/groups/ps1getlocalgroup_test.go +++ b/providers/os/resources/groups/ps1getlocalgroup_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/groups" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/groups" ) func TestWindowsGroupsParserFromMock(t *testing.T) { diff --git a/providers/os/resources/iptables.go b/providers/os/resources/iptables.go index 046b4f09c9..a0c960a859 100644 --- a/providers/os/resources/iptables.go +++ b/providers/os/resources/iptables.go @@ -11,8 +11,8 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) // Stat represents a structured statistic entry. diff --git a/providers/os/resources/kernel.go b/providers/os/resources/kernel.go index 468c007545..dc171f54d9 100644 --- a/providers/os/resources/kernel.go +++ b/providers/os/resources/kernel.go @@ -9,12 +9,12 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "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/util/convert" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/kernel" + "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/util/convert" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/kernel" ) func initKernel(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/os/resources/kernel/manager.go b/providers/os/resources/kernel/manager.go index a508348a17..69667dadaa 100644 --- a/providers/os/resources/kernel/manager.go +++ b/providers/os/resources/kernel/manager.go @@ -11,7 +11,7 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const sysctlPath = "/proc/sys/" diff --git a/providers/os/resources/kernel/manager_test.go b/providers/os/resources/kernel/manager_test.go index 59252daf5f..e212cfb421 100644 --- a/providers/os/resources/kernel/manager_test.go +++ b/providers/os/resources/kernel/manager_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestManagerDebian(t *testing.T) { diff --git a/providers/os/resources/kernel/modules_test.go b/providers/os/resources/kernel/modules_test.go index 0e01b361e6..e7fe095c79 100644 --- a/providers/os/resources/kernel/modules_test.go +++ b/providers/os/resources/kernel/modules_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestLsmodParser(t *testing.T) { diff --git a/providers/os/resources/kernel/sysctl_test.go b/providers/os/resources/kernel/sysctl_test.go index ceb28942a3..0472b01c2b 100644 --- a/providers/os/resources/kernel/sysctl_test.go +++ b/providers/os/resources/kernel/sysctl_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestSysctlDebian(t *testing.T) { diff --git a/providers/os/resources/kubelet.go b/providers/os/resources/kubelet.go index 3ccada22af..c7e961e207 100644 --- a/providers/os/resources/kubelet.go +++ b/providers/os/resources/kubelet.go @@ -13,9 +13,9 @@ import ( "sigs.k8s.io/yaml" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" ) const defaultKubeletConfig = "/var/lib/kubelet/config.yaml" diff --git a/providers/os/resources/kubelet_flags.go b/providers/os/resources/kubelet_flags.go index d0251759dd..47261551c3 100644 --- a/providers/os/resources/kubelet_flags.go +++ b/providers/os/resources/kubelet_flags.go @@ -8,7 +8,7 @@ import ( "regexp" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" ) // mergeFlagsIntoConfig adds flags to the kubelet config diff --git a/providers/os/resources/kubelet_test.go b/providers/os/resources/kubelet_test.go index ca71b51224..a892ec6061 100644 --- a/providers/os/resources/kubelet_test.go +++ b/providers/os/resources/kubelet_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) func TestResource_K8sKubelet(t *testing.T) { diff --git a/providers/os/resources/logindefs.go b/providers/os/resources/logindefs.go index 4c997497a4..1efad02242 100644 --- a/providers/os/resources/logindefs.go +++ b/providers/os/resources/logindefs.go @@ -7,9 +7,9 @@ import ( "errors" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/resources/logindefs" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/resources/logindefs" ) func initLogindefs(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/os/resources/logindefs/logindefs_test.go b/providers/os/resources/logindefs/logindefs_test.go index 983894b9b7..9a768f21b2 100644 --- a/providers/os/resources/logindefs/logindefs_test.go +++ b/providers/os/resources/logindefs/logindefs_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/logindefs" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/logindefs" ) func TestLoginDefsParser(t *testing.T) { diff --git a/providers/os/resources/lsblk.go b/providers/os/resources/lsblk.go index 1c137ab2bb..2b09cf32f1 100644 --- a/providers/os/resources/lsblk.go +++ b/providers/os/resources/lsblk.go @@ -7,8 +7,8 @@ import ( "encoding/json" "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/types" ) func (l *mqlLsblk) id() (string, error) { diff --git a/providers/os/resources/machine.go b/providers/os/resources/machine.go index 710c50d17c..b3816b60b6 100644 --- a/providers/os/resources/machine.go +++ b/providers/os/resources/machine.go @@ -7,10 +7,10 @@ import ( "fmt" "github.com/cockroachdb/errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/smbios" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/smbios" ) type mqlMachineInternal struct { diff --git a/providers/os/resources/macos.go b/providers/os/resources/macos.go index 8bf3462006..0665451501 100644 --- a/providers/os/resources/macos.go +++ b/providers/os/resources/macos.go @@ -11,9 +11,9 @@ import ( "io" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/macos" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/macos" "howett.net/plist" ) diff --git a/providers/os/resources/macos/preferences.go b/providers/os/resources/macos/preferences.go index 22890feb9d..0751ca8a6c 100644 --- a/providers/os/resources/macos/preferences.go +++ b/providers/os/resources/macos/preferences.go @@ -9,7 +9,7 @@ import ( "io" "strings" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" "howett.net/plist" ) diff --git a/providers/os/resources/macos/preferences_test.go b/providers/os/resources/macos/preferences_test.go index 08456654f3..5c9b609b54 100644 --- a/providers/os/resources/macos/preferences_test.go +++ b/providers/os/resources/macos/preferences_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestPreferences(t *testing.T) { diff --git a/providers/os/resources/macos/systemsetup_test.go b/providers/os/resources/macos/systemsetup_test.go index 55bec220a2..191fc55f02 100644 --- a/providers/os/resources/macos/systemsetup_test.go +++ b/providers/os/resources/macos/systemsetup_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) func TestSystemSetup(t *testing.T) { diff --git a/providers/os/resources/macos_alf.go b/providers/os/resources/macos_alf.go index ed752d9075..ce05424851 100644 --- a/providers/os/resources/macos_alf.go +++ b/providers/os/resources/macos_alf.go @@ -4,10 +4,10 @@ package resources import ( - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/types" ) func initMacosAlf(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/os/resources/mount.go b/providers/os/resources/mount.go index 47ef29e58d..27bfe6592f 100644 --- a/providers/os/resources/mount.go +++ b/providers/os/resources/mount.go @@ -7,11 +7,11 @@ import ( "fmt" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/mount" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/mount" + "go.mondoo.com/cnquery/v10/types" ) func (m *mqlMount) id() (string, error) { diff --git a/providers/os/resources/mount/manager.go b/providers/os/resources/mount/manager.go index 55affc1328..cadf0e2d36 100644 --- a/providers/os/resources/mount/manager.go +++ b/providers/os/resources/mount/manager.go @@ -5,7 +5,7 @@ package mount import ( "github.com/cockroachdb/errors" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type MountPoint struct { diff --git a/providers/os/resources/mount/manager_test.go b/providers/os/resources/mount/manager_test.go index 4cfc71479b..ccfa32457a 100644 --- a/providers/os/resources/mount/manager_test.go +++ b/providers/os/resources/mount/manager_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/mount" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/mount" ) func TestManagerDebian(t *testing.T) { diff --git a/providers/os/resources/mount/mount_test.go b/providers/os/resources/mount/mount_test.go index eb6450ac67..d6ecb29683 100644 --- a/providers/os/resources/mount/mount_test.go +++ b/providers/os/resources/mount/mount_test.go @@ -10,9 +10,9 @@ import ( "github.com/google/go-cmp/cmp" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/mount" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/mount" ) func TestMountLinuxParser(t *testing.T) { diff --git a/providers/os/resources/mql_test.go b/providers/os/resources/mql_test.go index 452f9587c3..14690204f6 100644 --- a/providers/os/resources/mql_test.go +++ b/providers/os/resources/mql_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) // Core Language constructs diff --git a/providers/os/resources/networkinterface/interface.go b/providers/os/resources/networkinterface/interface.go index d317906a0d..af42a70f14 100644 --- a/providers/os/resources/networkinterface/interface.go +++ b/providers/os/resources/networkinterface/interface.go @@ -15,9 +15,9 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) var errNoSuchInterface = errors.New("no such network interface") diff --git a/providers/os/resources/networkinterface/interface_test.go b/providers/os/resources/networkinterface/interface_test.go index 738b026c37..411e94e203 100644 --- a/providers/os/resources/networkinterface/interface_test.go +++ b/providers/os/resources/networkinterface/interface_test.go @@ -6,12 +6,12 @@ package networkinterface_test import ( "testing" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/networkinterface" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/networkinterface" ) func TestWindowsRemoteInterface(t *testing.T) { diff --git a/providers/os/resources/npm/packagejson.go b/providers/os/resources/npm/packagejson.go index 00b27126f3..f7a9bdacdd 100644 --- a/providers/os/resources/npm/packagejson.go +++ b/providers/os/resources/npm/packagejson.go @@ -7,7 +7,7 @@ import ( "encoding/json" "io" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd" ) // PackageJson allows parsing the package json file diff --git a/providers/os/resources/npm/packagejson_test.go b/providers/os/resources/npm/packagejson_test.go index a5bb8fce49..1533909204 100644 --- a/providers/os/resources/npm/packagejson_test.go +++ b/providers/os/resources/npm/packagejson_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd" - "go.mondoo.com/cnquery/v9/providers/os/resources/npm" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd" + "go.mondoo.com/cnquery/v10/providers/os/resources/npm" ) func TestPackageJsonParser(t *testing.T) { diff --git a/providers/os/resources/npm/yarn.go b/providers/os/resources/npm/yarn.go index 6a9db53710..eccbfe0168 100644 --- a/providers/os/resources/npm/yarn.go +++ b/providers/os/resources/npm/yarn.go @@ -12,7 +12,7 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd" "sigs.k8s.io/yaml" ) diff --git a/providers/os/resources/npm/yarn_test.go b/providers/os/resources/npm/yarn_test.go index 6cbb2d4e2d..c82346df36 100644 --- a/providers/os/resources/npm/yarn_test.go +++ b/providers/os/resources/npm/yarn_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd" - "go.mondoo.com/cnquery/v9/providers/os/resources/npm" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd" + "go.mondoo.com/cnquery/v10/providers/os/resources/npm" ) func TestYarnParser(t *testing.T) { diff --git a/providers/os/resources/ntp.go b/providers/os/resources/ntp.go index b604f9b443..69fbe4f2bc 100644 --- a/providers/os/resources/ntp.go +++ b/providers/os/resources/ntp.go @@ -7,8 +7,8 @@ import ( "errors" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) func initNtpConf(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/os/resources/os.go b/providers/os/resources/os.go index fddeaf6d8e..b4bdd1be22 100644 --- a/providers/os/resources/os.go +++ b/providers/os/resources/os.go @@ -11,17 +11,17 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/id/hostname" - "go.mondoo.com/cnquery/v9/providers/os/id/platformid" - "go.mondoo.com/cnquery/v9/providers/os/resources/reboot" - "go.mondoo.com/cnquery/v9/providers/os/resources/systemd" - "go.mondoo.com/cnquery/v9/providers/os/resources/updates" - "go.mondoo.com/cnquery/v9/providers/os/resources/uptime" - "go.mondoo.com/cnquery/v9/providers/os/resources/windows" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/id/hostname" + "go.mondoo.com/cnquery/v10/providers/os/id/platformid" + "go.mondoo.com/cnquery/v10/providers/os/resources/reboot" + "go.mondoo.com/cnquery/v10/providers/os/resources/systemd" + "go.mondoo.com/cnquery/v10/providers/os/resources/updates" + "go.mondoo.com/cnquery/v10/providers/os/resources/uptime" + "go.mondoo.com/cnquery/v10/providers/os/resources/windows" ) func (p *mqlOs) rebootpending() (bool, error) { diff --git a/providers/os/resources/os.lr b/providers/os/resources/os.lr index ae2739e81e..f53576f1bc 100644 --- a/providers/os/resources/os.lr +++ b/providers/os/resources/os.lr @@ -5,7 +5,7 @@ import "../../core/resources/core.lr" import "../../network/resources/network.lr" option provider = "go.mondoo.com/cnquery/providers/os" -option go_package = "go.mondoo.com/cnquery/v9/providers/os/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/os/resources" alias os.base.command = command alias os.base.user = user diff --git a/providers/os/resources/os.lr.go b/providers/os/resources/os.lr.go index 5ceb3f2af9..3f5c50168a 100644 --- a/providers/os/resources/os.lr.go +++ b/providers/os/resources/os.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/os/resources/os_rootcertificates.go b/providers/os/resources/os_rootcertificates.go index 2e81317eb5..95377879df 100644 --- a/providers/os/resources/os_rootcertificates.go +++ b/providers/os/resources/os_rootcertificates.go @@ -7,10 +7,10 @@ import ( "errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/types" ) var BsdCertFiles = []string{ diff --git a/providers/os/resources/os_test.go b/providers/os/resources/os_test.go index d6e074d72b..1e7cf6801c 100644 --- a/providers/os/resources/os_test.go +++ b/providers/os/resources/os_test.go @@ -6,8 +6,8 @@ package resources_test import ( "testing" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) var x = testutils.InitTester(testutils.LinuxMock()) diff --git a/providers/os/resources/packages.go b/providers/os/resources/packages.go index 947d2382a2..6726024565 100644 --- a/providers/os/resources/packages.go +++ b/providers/os/resources/packages.go @@ -5,16 +5,16 @@ package resources import ( "errors" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/types" "regexp" "sync" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/packages" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/packages" + "go.mondoo.com/cnquery/v10/utils/multierr" ) var PKG_IDENTIFIER = regexp.MustCompile(`^(.*):\/\/(.*)\/(.*)\/(.*)$`) diff --git a/providers/os/resources/packages/aix_packages.go b/providers/os/resources/packages/aix_packages.go index e33476f212..0a99874f4a 100644 --- a/providers/os/resources/packages/aix_packages.go +++ b/providers/os/resources/packages/aix_packages.go @@ -7,13 +7,13 @@ import ( "bufio" "fmt" "github.com/package-url/packageurl-go" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - cpe2 "go.mondoo.com/cnquery/v9/providers/os/resources/cpe" - "go.mondoo.com/cnquery/v9/providers/os/resources/purl" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + cpe2 "go.mondoo.com/cnquery/v10/providers/os/resources/cpe" + "go.mondoo.com/cnquery/v10/providers/os/resources/purl" "io" "strings" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const ( diff --git a/providers/os/resources/packages/aix_packages_test.go b/providers/os/resources/packages/aix_packages_test.go index fbfc4ccd55..7c8955182a 100644 --- a/providers/os/resources/packages/aix_packages_test.go +++ b/providers/os/resources/packages/aix_packages_test.go @@ -4,7 +4,7 @@ package packages import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" "os" "testing" diff --git a/providers/os/resources/packages/apk_packages.go b/providers/os/resources/packages/apk_packages.go index cedc5cca29..799a32e8d5 100644 --- a/providers/os/resources/packages/apk_packages.go +++ b/providers/os/resources/packages/apk_packages.go @@ -7,14 +7,14 @@ import ( "bufio" "fmt" "github.com/package-url/packageurl-go" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - cpe2 "go.mondoo.com/cnquery/v9/providers/os/resources/cpe" - "go.mondoo.com/cnquery/v9/providers/os/resources/purl" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + cpe2 "go.mondoo.com/cnquery/v10/providers/os/resources/cpe" + "go.mondoo.com/cnquery/v10/providers/os/resources/purl" "io" "regexp" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const ( diff --git a/providers/os/resources/packages/apk_packages_test.go b/providers/os/resources/packages/apk_packages_test.go index 2c01f6e402..26e403a1f5 100644 --- a/providers/os/resources/packages/apk_packages_test.go +++ b/providers/os/resources/packages/apk_packages_test.go @@ -4,12 +4,12 @@ package packages_test import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/packages" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/packages" ) func TestAlpineApkdbParser(t *testing.T) { diff --git a/providers/os/resources/packages/cos_packages.go b/providers/os/resources/packages/cos_packages.go index 81dd10fd57..b91660fad0 100644 --- a/providers/os/resources/packages/cos_packages.go +++ b/providers/os/resources/packages/cos_packages.go @@ -9,7 +9,7 @@ import ( "fmt" "io" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const ( diff --git a/providers/os/resources/packages/detect.go b/providers/os/resources/packages/detect.go index 7f168000df..cb0d31699e 100644 --- a/providers/os/resources/packages/detect.go +++ b/providers/os/resources/packages/detect.go @@ -7,8 +7,8 @@ import ( "fmt" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) func Detect(conn shared.Connection) ([]Package, map[string]PackageUpdate, error) { diff --git a/providers/os/resources/packages/dpkg_packages.go b/providers/os/resources/packages/dpkg_packages.go index 035cecf070..ea5a370825 100644 --- a/providers/os/resources/packages/dpkg_packages.go +++ b/providers/os/resources/packages/dpkg_packages.go @@ -7,9 +7,9 @@ import ( "bufio" "fmt" "github.com/package-url/packageurl-go" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/resources/cpe" - "go.mondoo.com/cnquery/v9/providers/os/resources/purl" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/resources/cpe" + "go.mondoo.com/cnquery/v10/providers/os/resources/purl" "io" "os" "regexp" @@ -17,7 +17,7 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const ( diff --git a/providers/os/resources/packages/dpkg_packages_test.go b/providers/os/resources/packages/dpkg_packages_test.go index 11e84708df..0e9fe9db8f 100644 --- a/providers/os/resources/packages/dpkg_packages_test.go +++ b/providers/os/resources/packages/dpkg_packages_test.go @@ -4,13 +4,13 @@ package packages_test import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/packages" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/packages" ) func TestDpkgParser(t *testing.T) { diff --git a/providers/os/resources/packages/freebsd_packages.go b/providers/os/resources/packages/freebsd_packages.go index 66f074e706..36f25e37ff 100644 --- a/providers/os/resources/packages/freebsd_packages.go +++ b/providers/os/resources/packages/freebsd_packages.go @@ -9,7 +9,7 @@ import ( "fmt" "io" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const ( diff --git a/providers/os/resources/packages/macos_packages.go b/providers/os/resources/packages/macos_packages.go index 4415c77aaa..33977c534a 100644 --- a/providers/os/resources/packages/macos_packages.go +++ b/providers/os/resources/packages/macos_packages.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/cockroachdb/errors" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" plist "howett.net/plist" ) diff --git a/providers/os/resources/packages/macos_packages_test.go b/providers/os/resources/packages/macos_packages_test.go index 1839108739..d6c4d6baea 100644 --- a/providers/os/resources/packages/macos_packages_test.go +++ b/providers/os/resources/packages/macos_packages_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/packages" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/packages" ) func TestMacOsXPackageParser(t *testing.T) { diff --git a/providers/os/resources/packages/opkg_packages.go b/providers/os/resources/packages/opkg_packages.go index 433e76033e..9c2dd88ad9 100644 --- a/providers/os/resources/packages/opkg_packages.go +++ b/providers/os/resources/packages/opkg_packages.go @@ -11,7 +11,7 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const ( diff --git a/providers/os/resources/packages/opkg_packages_test.go b/providers/os/resources/packages/opkg_packages_test.go index bc64668924..439c795be0 100644 --- a/providers/os/resources/packages/opkg_packages_test.go +++ b/providers/os/resources/packages/opkg_packages_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/packages" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/packages" ) func TestOpkgListCommandParser(t *testing.T) { diff --git a/providers/os/resources/packages/packages.go b/providers/os/resources/packages/packages.go index 35a7e33e81..3ae36dff8a 100644 --- a/providers/os/resources/packages/packages.go +++ b/providers/os/resources/packages/packages.go @@ -5,7 +5,7 @@ package packages import ( "github.com/cockroachdb/errors" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type Package struct { diff --git a/providers/os/resources/packages/pacman_packages.go b/providers/os/resources/packages/pacman_packages.go index be558c38f9..925623dabe 100644 --- a/providers/os/resources/packages/pacman_packages.go +++ b/providers/os/resources/packages/pacman_packages.go @@ -7,13 +7,13 @@ import ( "bufio" "fmt" "github.com/package-url/packageurl-go" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/resources/purl" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/resources/purl" "io" "regexp" "github.com/cockroachdb/errors" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const ( diff --git a/providers/os/resources/packages/pacman_packages_test.go b/providers/os/resources/packages/pacman_packages_test.go index bb36dec9e0..6cd0b89b91 100644 --- a/providers/os/resources/packages/pacman_packages_test.go +++ b/providers/os/resources/packages/pacman_packages_test.go @@ -4,12 +4,12 @@ package packages_test import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" "strings" "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/resources/packages" + "go.mondoo.com/cnquery/v10/providers/os/resources/packages" ) func TestPacmanParser(t *testing.T) { diff --git a/providers/os/resources/packages/rpm_packages.go b/providers/os/resources/packages/rpm_packages.go index 207e6baa37..1d5d040ecf 100644 --- a/providers/os/resources/packages/rpm_packages.go +++ b/providers/os/resources/packages/rpm_packages.go @@ -8,8 +8,8 @@ import ( "bytes" "fmt" "github.com/package-url/packageurl-go" - "go.mondoo.com/cnquery/v9/providers/os/resources/cpe" - "go.mondoo.com/cnquery/v9/providers/os/resources/purl" + "go.mondoo.com/cnquery/v10/providers/os/resources/cpe" + "go.mondoo.com/cnquery/v10/providers/os/resources/purl" "io" "os" "path/filepath" @@ -22,8 +22,8 @@ import ( rpmdb "github.com/knqyf263/go-rpmdb/pkg" "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const ( diff --git a/providers/os/resources/packages/rpm_packages_test.go b/providers/os/resources/packages/rpm_packages_test.go index f679b0ed4c..0bbdc66071 100644 --- a/providers/os/resources/packages/rpm_packages_test.go +++ b/providers/os/resources/packages/rpm_packages_test.go @@ -6,7 +6,7 @@ package packages_test import ( "bytes" "fmt" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" "io" "os" "path/filepath" @@ -15,8 +15,8 @@ import ( rpmdb "github.com/knqyf263/go-rpmdb/pkg" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/packages" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/packages" ) func TestRedhat7Parser(t *testing.T) { diff --git a/providers/os/resources/packages/rpm_updates_test.go b/providers/os/resources/packages/rpm_updates_test.go index 29fb324ab7..d798ca3c24 100644 --- a/providers/os/resources/packages/rpm_updates_test.go +++ b/providers/os/resources/packages/rpm_updates_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestRpmUpdateParser(t *testing.T) { diff --git a/providers/os/resources/packages/scratch.go b/providers/os/resources/packages/scratch.go index e0a7a4bc74..3f93dcb154 100644 --- a/providers/os/resources/packages/scratch.go +++ b/providers/os/resources/packages/scratch.go @@ -3,7 +3,7 @@ package packages -import "go.mondoo.com/cnquery/v9/providers/os/connection/shared" +import "go.mondoo.com/cnquery/v10/providers/os/connection/shared" type ScratchPkgManager struct { conn shared.Connection diff --git a/providers/os/resources/packages/solaris_packages.go b/providers/os/resources/packages/solaris_packages.go index 91c1a36f9e..222c847bfd 100644 --- a/providers/os/resources/packages/solaris_packages.go +++ b/providers/os/resources/packages/solaris_packages.go @@ -9,7 +9,7 @@ import ( "io" "regexp" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) const ( diff --git a/providers/os/resources/packages/solaris_packages_test.go b/providers/os/resources/packages/solaris_packages_test.go index 095e43e638..e70b81f785 100644 --- a/providers/os/resources/packages/solaris_packages_test.go +++ b/providers/os/resources/packages/solaris_packages_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/packages" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/packages" ) func TestFmriParser(t *testing.T) { diff --git a/providers/os/resources/packages/windows_packages.go b/providers/os/resources/packages/windows_packages.go index a8fa45af55..974e85c0d6 100644 --- a/providers/os/resources/packages/windows_packages.go +++ b/providers/os/resources/packages/windows_packages.go @@ -11,10 +11,10 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/detector/windows" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/detector/windows" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) // ProcessorArchitecture Enum diff --git a/providers/os/resources/packages/windows_packages_test.go b/providers/os/resources/packages/windows_packages_test.go index b4812f83e5..92e3e6ceff 100644 --- a/providers/os/resources/packages/windows_packages_test.go +++ b/providers/os/resources/packages/windows_packages_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) func TestWindowsAppPackagesParser(t *testing.T) { diff --git a/providers/os/resources/pam.go b/providers/os/resources/pam.go index f74fe323d9..3d426126ec 100644 --- a/providers/os/resources/pam.go +++ b/providers/os/resources/pam.go @@ -9,12 +9,12 @@ import ( "strconv" "strings" - "go.mondoo.com/cnquery/v9/checksums" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/pam" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/checksums" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/pam" + "go.mondoo.com/cnquery/v10/types" ) const ( diff --git a/providers/os/resources/parse.go b/providers/os/resources/parse.go index ac12f14923..4a2de88bcc 100644 --- a/providers/os/resources/parse.go +++ b/providers/os/resources/parse.go @@ -9,11 +9,11 @@ import ( "errors" "strings" - "go.mondoo.com/cnquery/v9/checksums" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/resources/parsers" - "go.mondoo.com/cnquery/v9/providers/os/resources/plist" + "go.mondoo.com/cnquery/v10/checksums" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/resources/parsers" + "go.mondoo.com/cnquery/v10/providers/os/resources/plist" "sigs.k8s.io/yaml" ) diff --git a/providers/os/resources/parse_test.go b/providers/os/resources/parse_test.go index a99bf351bc..fddf3cb979 100644 --- a/providers/os/resources/parse_test.go +++ b/providers/os/resources/parse_test.go @@ -6,7 +6,7 @@ package resources_test import ( "testing" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) func TestParsePlist(t *testing.T) { diff --git a/providers/os/resources/port.go b/providers/os/resources/port.go index b768e4a229..5b97638e7c 100644 --- a/providers/os/resources/port.go +++ b/providers/os/resources/port.go @@ -18,12 +18,12 @@ import ( "unsafe" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/lsof" - "go.mondoo.com/cnquery/v9/providers/os/resources/ports" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/lsof" + "go.mondoo.com/cnquery/v10/providers/os/resources/ports" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) type mqlPortsInternal struct { diff --git a/providers/os/resources/powershell.go b/providers/os/resources/powershell.go index 83bf058ca2..dc9d89ba4d 100644 --- a/providers/os/resources/powershell.go +++ b/providers/os/resources/powershell.go @@ -9,9 +9,9 @@ import ( "sync" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" "golang.org/x/net/html/charset" "golang.org/x/text/transform" ) diff --git a/providers/os/resources/powershell/encode_test.go b/providers/os/resources/powershell/encode_test.go index 195d0e7172..f00622d75a 100644 --- a/providers/os/resources/powershell/encode_test.go +++ b/providers/os/resources/powershell/encode_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) func TestPowershellEncoding(t *testing.T) { diff --git a/providers/os/resources/privatekey.go b/providers/os/resources/privatekey.go index 31cdf9fb53..466aa0f322 100644 --- a/providers/os/resources/privatekey.go +++ b/providers/os/resources/privatekey.go @@ -6,8 +6,8 @@ package resources import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) func initPrivatekey(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/os/resources/processes.go b/providers/os/resources/processes.go index a18ddc8043..139a5f4a6d 100644 --- a/providers/os/resources/processes.go +++ b/providers/os/resources/processes.go @@ -10,10 +10,10 @@ import ( "sync" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/processes" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/processes" ) type mqlProcessInternal struct { diff --git a/providers/os/resources/processes/docker_test.go b/providers/os/resources/processes/docker_test.go index 0d266904cb..762e2c1373 100644 --- a/providers/os/resources/processes/docker_test.go +++ b/providers/os/resources/processes/docker_test.go @@ -19,7 +19,7 @@ import ( specs "github.com/opencontainers/image-spec/specs-go/v1" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection" + "go.mondoo.com/cnquery/v10/providers/os/connection" ) func TestDockerProcsList(t *testing.T) { diff --git a/providers/os/resources/processes/dockertop.go b/providers/os/resources/processes/dockertop.go index 9845158c64..55bfd41b2f 100644 --- a/providers/os/resources/processes/dockertop.go +++ b/providers/os/resources/processes/dockertop.go @@ -8,9 +8,9 @@ import ( "fmt" "strconv" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type DockerTopManager struct { diff --git a/providers/os/resources/processes/linuxproc.go b/providers/os/resources/processes/linuxproc.go index 825856bfff..892629ec9a 100644 --- a/providers/os/resources/processes/linuxproc.go +++ b/providers/os/resources/processes/linuxproc.go @@ -10,9 +10,9 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/procfs" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/procfs" ) type LinuxProcManager struct { diff --git a/providers/os/resources/processes/manager.go b/providers/os/resources/processes/manager.go index ca9d4d9eee..975d2c2b04 100644 --- a/providers/os/resources/processes/manager.go +++ b/providers/os/resources/processes/manager.go @@ -6,10 +6,10 @@ package processes import ( "errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type OSProcess struct { diff --git a/providers/os/resources/processes/manager_test.go b/providers/os/resources/processes/manager_test.go index 3f023d6d95..58648498c6 100644 --- a/providers/os/resources/processes/manager_test.go +++ b/providers/os/resources/processes/manager_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/processes" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/processes" ) func TestManagerDebian(t *testing.T) { diff --git a/providers/os/resources/processes/ps1getprocess.go b/providers/os/resources/processes/ps1getprocess.go index 1747f9dbc7..2733e9bf61 100644 --- a/providers/os/resources/processes/ps1getprocess.go +++ b/providers/os/resources/processes/ps1getprocess.go @@ -10,9 +10,9 @@ import ( "io" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) const ( diff --git a/providers/os/resources/processes/ps1getprocess_test.go b/providers/os/resources/processes/ps1getprocess_test.go index 46f6b0291d..432eeda156 100644 --- a/providers/os/resources/processes/ps1getprocess_test.go +++ b/providers/os/resources/processes/ps1getprocess_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/resources/processes" + "go.mondoo.com/cnquery/v10/providers/os/resources/processes" ) func TestWindows2019ServiceParser(t *testing.T) { diff --git a/providers/os/resources/processes/unixps.go b/providers/os/resources/processes/unixps.go index 5d90043a68..5c57ca07aa 100644 --- a/providers/os/resources/processes/unixps.go +++ b/providers/os/resources/processes/unixps.go @@ -14,9 +14,9 @@ import ( "github.com/kballard/go-shellquote" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) var ( diff --git a/providers/os/resources/processes/unixps_test.go b/providers/os/resources/processes/unixps_test.go index 6454406000..15ba3b0ddc 100644 --- a/providers/os/resources/processes/unixps_test.go +++ b/providers/os/resources/processes/unixps_test.go @@ -11,9 +11,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/processes" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/processes" ) func TestLinuxPSProcessParser(t *testing.T) { diff --git a/providers/os/resources/processes_test.go b/providers/os/resources/processes_test.go index 5117cacac0..9636516e11 100644 --- a/providers/os/resources/processes_test.go +++ b/providers/os/resources/processes_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/types" ) func TestResource_Processes(t *testing.T) { diff --git a/providers/os/resources/procfs/cpu_info_test.go b/providers/os/resources/procfs/cpu_info_test.go index 3c556ec535..4457dba52f 100644 --- a/providers/os/resources/procfs/cpu_info_test.go +++ b/providers/os/resources/procfs/cpu_info_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestParseProcCpuX64(t *testing.T) { diff --git a/providers/os/resources/procfs/processes_test.go b/providers/os/resources/procfs/processes_test.go index 67693e184d..181809ded2 100644 --- a/providers/os/resources/procfs/processes_test.go +++ b/providers/os/resources/procfs/processes_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestParseProcessStatus(t *testing.T) { diff --git a/providers/os/resources/purl/purl.go b/providers/os/resources/purl/purl.go index 8acb7c0a6a..605c562ac5 100644 --- a/providers/os/resources/purl/purl.go +++ b/providers/os/resources/purl/purl.go @@ -5,8 +5,8 @@ package purl import ( "github.com/package-url/packageurl-go" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/detector" "sort" "strings" ) diff --git a/providers/os/resources/python.go b/providers/os/resources/python.go index f48f16c25f..b2819b5be1 100644 --- a/providers/os/resources/python.go +++ b/providers/os/resources/python.go @@ -13,10 +13,10 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/python" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/python" ) type pythonDirectory struct { diff --git a/providers/os/resources/python/mime.go b/providers/os/resources/python/mime.go index f98f3cbaed..68231256b1 100644 --- a/providers/os/resources/python/mime.go +++ b/providers/os/resources/python/mime.go @@ -7,7 +7,7 @@ import ( "bufio" "fmt" "github.com/package-url/packageurl-go" - "go.mondoo.com/cnquery/v9/providers/os/resources/cpe" + "go.mondoo.com/cnquery/v10/providers/os/resources/cpe" "io" "net/textproto" "strings" diff --git a/providers/os/resources/python/testdata/rhel.json b/providers/os/resources/python/testdata/rhel.json index e64efc367c..245b2ffd1c 100644 --- a/providers/os/resources/python/testdata/rhel.json +++ b/providers/os/resources/python/testdata/rhel.json @@ -24,7 +24,7 @@ "connections": [ { "url": "docker-image://registry.access.redhat.com/ubi8/ubi", - "provider": "go.mondoo.com/cnquery/v9/providers/os", + "provider": "go.mondoo.com/cnquery/v10/providers/os", "connector": "docker-image", "version": "" } diff --git a/providers/os/resources/python_package.go b/providers/os/resources/python_package.go index 8345c36e99..d54fc022cc 100644 --- a/providers/os/resources/python_package.go +++ b/providers/os/resources/python_package.go @@ -9,11 +9,11 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/os/resources/python" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/os/resources/python" + "go.mondoo.com/cnquery/v10/types" ) func (k *mqlPythonPackage) id() (string, error) { diff --git a/providers/os/resources/python_test.go b/providers/os/resources/python_test.go index f58bdf3ec9..d69357524e 100644 --- a/providers/os/resources/python_test.go +++ b/providers/os/resources/python_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) func TestResource_Python(t *testing.T) { diff --git a/providers/os/resources/reboot/debian.go b/providers/os/resources/reboot/debian.go index 4e3803286e..589db960ae 100644 --- a/providers/os/resources/reboot/debian.go +++ b/providers/os/resources/reboot/debian.go @@ -3,7 +3,7 @@ package reboot -import "go.mondoo.com/cnquery/v9/providers/os/connection/shared" +import "go.mondoo.com/cnquery/v10/providers/os/connection/shared" const LinuxRebootFile = "/var/run/reboot-required" diff --git a/providers/os/resources/reboot/debian_test.go b/providers/os/resources/reboot/debian_test.go index 985739cd6c..74174b435d 100644 --- a/providers/os/resources/reboot/debian_test.go +++ b/providers/os/resources/reboot/debian_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestRebootLinux(t *testing.T) { diff --git a/providers/os/resources/reboot/reboot.go b/providers/os/resources/reboot/reboot.go index 522700ca0e..f48b043a1e 100644 --- a/providers/os/resources/reboot/reboot.go +++ b/providers/os/resources/reboot/reboot.go @@ -6,8 +6,8 @@ package reboot import ( "errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type Reboot interface { diff --git a/providers/os/resources/reboot/reboot_test.go b/providers/os/resources/reboot/reboot_test.go index 21621639a7..71c0269f4c 100644 --- a/providers/os/resources/reboot/reboot_test.go +++ b/providers/os/resources/reboot/reboot_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestRebootOnUbuntu(t *testing.T) { diff --git a/providers/os/resources/reboot/rhel.go b/providers/os/resources/reboot/rhel.go index 0bfef34e16..f69cc8c7af 100644 --- a/providers/os/resources/reboot/rhel.go +++ b/providers/os/resources/reboot/rhel.go @@ -4,13 +4,13 @@ package reboot import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" "io" "strings" - "go.mondoo.com/cnquery/v9/providers/core/resources/versions/rpm" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/packages" + "go.mondoo.com/cnquery/v10/providers/core/resources/versions/rpm" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/packages" ) // RpmNewestKernel works on all machines running rpm diff --git a/providers/os/resources/reboot/rhel_test.go b/providers/os/resources/reboot/rhel_test.go index 26d392307f..416b963050 100644 --- a/providers/os/resources/reboot/rhel_test.go +++ b/providers/os/resources/reboot/rhel_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestRhelKernelLatest(t *testing.T) { diff --git a/providers/os/resources/reboot/windows.go b/providers/os/resources/reboot/windows.go index 3c05008399..f39c825fcc 100644 --- a/providers/os/resources/reboot/windows.go +++ b/providers/os/resources/reboot/windows.go @@ -7,8 +7,8 @@ import ( "io" "strings" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) const ( diff --git a/providers/os/resources/registrykey.go b/providers/os/resources/registrykey.go index ca78d93039..93056a1f6c 100644 --- a/providers/os/resources/registrykey.go +++ b/providers/os/resources/registrykey.go @@ -8,12 +8,12 @@ import ( "runtime" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" - "go.mondoo.com/cnquery/v9/providers/os/resources/windows" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/resources/windows" "go.mondoo.com/ranger-rpc/codes" "go.mondoo.com/ranger-rpc/status" ) diff --git a/providers/os/resources/registrykey_test.go b/providers/os/resources/registrykey_test.go index ac789e5318..ee9b17995d 100644 --- a/providers/os/resources/registrykey_test.go +++ b/providers/os/resources/registrykey_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/types" ) func TestResource_Registrykey(t *testing.T) { diff --git a/providers/os/resources/rsyslog.go b/providers/os/resources/rsyslog.go index 3cae058063..41b3d4d083 100644 --- a/providers/os/resources/rsyslog.go +++ b/providers/os/resources/rsyslog.go @@ -7,9 +7,9 @@ import ( "errors" "strings" - "go.mondoo.com/cnquery/v9/checksums" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/checksums" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" ) const defaultRsyslogConf = "/etc/rsyslog.conf" diff --git a/providers/os/resources/secpol.go b/providers/os/resources/secpol.go index 19fa101fa4..f7b22b7ee0 100644 --- a/providers/os/resources/secpol.go +++ b/providers/os/resources/secpol.go @@ -7,9 +7,9 @@ import ( "fmt" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" - "go.mondoo.com/cnquery/v9/providers/os/resources/windows" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/resources/windows" ) type mqlSecpolInternal struct { diff --git a/providers/os/resources/services.go b/providers/os/resources/services.go index d57d55cbc0..3e2dd42ee7 100644 --- a/providers/os/resources/services.go +++ b/providers/os/resources/services.go @@ -9,10 +9,10 @@ import ( "sync" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/services" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/services" ) func initService(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/os/resources/services/aixlssrc.go b/providers/os/resources/services/aixlssrc.go index 25e7059c0a..031deb8163 100644 --- a/providers/os/resources/services/aixlssrc.go +++ b/providers/os/resources/services/aixlssrc.go @@ -8,7 +8,7 @@ import ( "io" "regexp" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type AixServiceManager struct { diff --git a/providers/os/resources/services/alpine_openrc.go b/providers/os/resources/services/alpine_openrc.go index 0a189bded7..faa4db785b 100644 --- a/providers/os/resources/services/alpine_openrc.go +++ b/providers/os/resources/services/alpine_openrc.go @@ -10,7 +10,7 @@ import ( "regexp" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type AlpineOpenrcServiceManager struct { diff --git a/providers/os/resources/services/alpine_openrc_test.go b/providers/os/resources/services/alpine_openrc_test.go index 4803b0fb45..7f68f8a9fe 100644 --- a/providers/os/resources/services/alpine_openrc_test.go +++ b/providers/os/resources/services/alpine_openrc_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestManagerAlpineImage(t *testing.T) { diff --git a/providers/os/resources/services/bsdinit.go b/providers/os/resources/services/bsdinit.go index d5160b0a0c..bc770dde55 100644 --- a/providers/os/resources/services/bsdinit.go +++ b/providers/os/resources/services/bsdinit.go @@ -8,7 +8,7 @@ import ( "io" "strings" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) func ParseBsdInit(input io.Reader) ([]*Service, error) { diff --git a/providers/os/resources/services/bsdinit_test.go b/providers/os/resources/services/bsdinit_test.go index c951c443fa..f502d3dd43 100644 --- a/providers/os/resources/services/bsdinit_test.go +++ b/providers/os/resources/services/bsdinit_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/services" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/services" ) func TestParseBsdInit(t *testing.T) { diff --git a/providers/os/resources/services/launchd.go b/providers/os/resources/services/launchd.go index 29e97a8d1b..9f1c6be9c8 100644 --- a/providers/os/resources/services/launchd.go +++ b/providers/os/resources/services/launchd.go @@ -7,7 +7,7 @@ import ( "io" "regexp" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) var LAUNCHD_REGEX = regexp.MustCompile(`(?m)^\s*([\d-]*)\s+(\d)\s+(.*)$`) diff --git a/providers/os/resources/services/launchd_test.go b/providers/os/resources/services/launchd_test.go index 61a8d4b006..ea8c46038b 100644 --- a/providers/os/resources/services/launchd_test.go +++ b/providers/os/resources/services/launchd_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/services" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/services" ) func TestParseServiceLaunchD(t *testing.T) { diff --git a/providers/os/resources/services/manager.go b/providers/os/resources/services/manager.go index 74c8a0a262..331f61408d 100644 --- a/providers/os/resources/services/manager.go +++ b/providers/os/resources/services/manager.go @@ -7,8 +7,8 @@ import ( "errors" "regexp" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/detector" ) type Service struct { diff --git a/providers/os/resources/services/manager_test.go b/providers/os/resources/services/manager_test.go index 2c2bfbcf7d..1a26d543c7 100644 --- a/providers/os/resources/services/manager_test.go +++ b/providers/os/resources/services/manager_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/services" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/services" ) func TestManagerMacos(t *testing.T) { diff --git a/providers/os/resources/services/openbsdrcctl.go b/providers/os/resources/services/openbsdrcctl.go index 925c3af102..5775b8c79a 100644 --- a/providers/os/resources/services/openbsdrcctl.go +++ b/providers/os/resources/services/openbsdrcctl.go @@ -8,7 +8,7 @@ import ( "io" "strings" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) // https://man.openbsd.org/rcctl diff --git a/providers/os/resources/services/openbsdrcctl_test.go b/providers/os/resources/services/openbsdrcctl_test.go index 590c1c4fce..17844deb38 100644 --- a/providers/os/resources/services/openbsdrcctl_test.go +++ b/providers/os/resources/services/openbsdrcctl_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestParseOpenbsdServicesRunning(t *testing.T) { diff --git a/providers/os/resources/services/ps1getservice.go b/providers/os/resources/services/ps1getservice.go index c76c2b4b42..ccae91a692 100644 --- a/providers/os/resources/services/ps1getservice.go +++ b/providers/os/resources/services/ps1getservice.go @@ -7,8 +7,8 @@ import ( "encoding/json" "io" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) // WindowsService calls powershell Get-Service diff --git a/providers/os/resources/services/ps1getservice_test.go b/providers/os/resources/services/ps1getservice_test.go index 20f9d2469d..98a629c4b7 100644 --- a/providers/os/resources/services/ps1getservice_test.go +++ b/providers/os/resources/services/ps1getservice_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/resources/services" + "go.mondoo.com/cnquery/v10/providers/os/resources/services" ) func TestWindowsServiceParser(t *testing.T) { diff --git a/providers/os/resources/services/systemd.go b/providers/os/resources/services/systemd.go index 64ad2d9030..7ccabd4422 100644 --- a/providers/os/resources/services/systemd.go +++ b/providers/os/resources/services/systemd.go @@ -16,7 +16,7 @@ import ( "github.com/coreos/go-systemd/unit" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) var ( diff --git a/providers/os/resources/services/systemd_test.go b/providers/os/resources/services/systemd_test.go index b6670d9c5c..1701c9037b 100644 --- a/providers/os/resources/services/systemd_test.go +++ b/providers/os/resources/services/systemd_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/fs" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/fs" ) func TestSystemDExtractDescription(t *testing.T) { diff --git a/providers/os/resources/services/sysv.go b/providers/os/resources/services/sysv.go index ffa2fa2a21..b0b2c8377a 100644 --- a/providers/os/resources/services/sysv.go +++ b/providers/os/resources/services/sysv.go @@ -11,8 +11,8 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/utils/stringx" ) type SysVServiceManager struct { diff --git a/providers/os/resources/services/sysv_test.go b/providers/os/resources/services/sysv_test.go index 4fb9ff2f55..92dc8dea08 100644 --- a/providers/os/resources/services/sysv_test.go +++ b/providers/os/resources/services/sysv_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestParseSysvServices(t *testing.T) { diff --git a/providers/os/resources/services/upstart_test.go b/providers/os/resources/services/upstart_test.go index 699d07366d..c7ab7aafd4 100644 --- a/providers/os/resources/services/upstart_test.go +++ b/providers/os/resources/services/upstart_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestParseUpstartServicesRunning(t *testing.T) { diff --git a/providers/os/resources/shadow.go b/providers/os/resources/shadow.go index 0fb0d6ee2b..06ad3223b7 100644 --- a/providers/os/resources/shadow.go +++ b/providers/os/resources/shadow.go @@ -10,8 +10,8 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers/os/resources/shadow" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers/os/resources/shadow" ) const defaultShadowConfig = "/etc/shadow" diff --git a/providers/os/resources/shadow/shadow_test.go b/providers/os/resources/shadow/shadow_test.go index 790afca8e8..88d472cc4c 100644 --- a/providers/os/resources/shadow/shadow_test.go +++ b/providers/os/resources/shadow/shadow_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/shadow" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/shadow" ) func TestParseShadow(t *testing.T) { diff --git a/providers/os/resources/smbios/linux.go b/providers/os/resources/smbios/linux.go index 376d0faea9..133a89b254 100644 --- a/providers/os/resources/smbios/linux.go +++ b/providers/os/resources/smbios/linux.go @@ -10,7 +10,7 @@ import ( "strings" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type LinuxSmbiosManager struct { diff --git a/providers/os/resources/smbios/osx.go b/providers/os/resources/smbios/osx.go index a90081c8ed..91c36191f4 100644 --- a/providers/os/resources/smbios/osx.go +++ b/providers/os/resources/smbios/osx.go @@ -8,8 +8,8 @@ import ( "io" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" plist "howett.net/plist" ) diff --git a/providers/os/resources/smbios/smbios.go b/providers/os/resources/smbios/smbios.go index e02100c981..da5a789924 100644 --- a/providers/os/resources/smbios/smbios.go +++ b/providers/os/resources/smbios/smbios.go @@ -6,8 +6,8 @@ package smbios import ( "errors" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type SmBiosInfo struct { diff --git a/providers/os/resources/smbios/smbios_test.go b/providers/os/resources/smbios/smbios_test.go index c90c54f3cf..ab11b0986f 100644 --- a/providers/os/resources/smbios/smbios_test.go +++ b/providers/os/resources/smbios/smbios_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/detector" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/detector" ) func TestManagerCentos(t *testing.T) { diff --git a/providers/os/resources/smbios/win.go b/providers/os/resources/smbios/win.go index dab6e76728..9a5d6b3291 100644 --- a/providers/os/resources/smbios/win.go +++ b/providers/os/resources/smbios/win.go @@ -7,8 +7,8 @@ import ( "encoding/json" "io" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) const smbiosWindowsScript = ` diff --git a/providers/os/resources/sshd.go b/providers/os/resources/sshd.go index 0eabb77d39..6190e9526f 100644 --- a/providers/os/resources/sshd.go +++ b/providers/os/resources/sshd.go @@ -9,10 +9,10 @@ import ( "fmt" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/sshd" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/sshd" ) func initSshdConfig(runtime *plugin.Runtime, args map[string]*llx.RawData) (map[string]*llx.RawData, plugin.Resource, error) { diff --git a/providers/os/resources/sshd/include.go b/providers/os/resources/sshd/include.go index 9761ce20c4..bf9ff82fd1 100644 --- a/providers/os/resources/sshd/include.go +++ b/providers/os/resources/sshd/include.go @@ -13,7 +13,7 @@ import ( "strings" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) var ( diff --git a/providers/os/resources/sshd_test.go b/providers/os/resources/sshd_test.go index c23c5911c0..30c920c540 100644 --- a/providers/os/resources/sshd_test.go +++ b/providers/os/resources/sshd_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/testutils" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/testutils" ) func TestResource_SSHD(t *testing.T) { diff --git a/providers/os/resources/updates/mac_updates.go b/providers/os/resources/updates/mac_updates.go index 8bc3595770..162d397f87 100644 --- a/providers/os/resources/updates/mac_updates.go +++ b/providers/os/resources/updates/mac_updates.go @@ -8,7 +8,7 @@ import ( "io" "strings" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" "howett.net/plist" ) diff --git a/providers/os/resources/updates/suse_updates.go b/providers/os/resources/updates/suse_updates.go index 55f0b7956e..43dfebb04e 100644 --- a/providers/os/resources/updates/suse_updates.go +++ b/providers/os/resources/updates/suse_updates.go @@ -7,8 +7,8 @@ import ( "fmt" "io" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/packages" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/packages" ) const ( diff --git a/providers/os/resources/updates/suse_updates_test.go b/providers/os/resources/updates/suse_updates_test.go index e97002fbd0..0822dd4066 100644 --- a/providers/os/resources/updates/suse_updates_test.go +++ b/providers/os/resources/updates/suse_updates_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) // SUSE OS updates diff --git a/providers/os/resources/updates/updates.go b/providers/os/resources/updates/updates.go index 2c35632df8..9f21719dc1 100644 --- a/providers/os/resources/updates/updates.go +++ b/providers/os/resources/updates/updates.go @@ -6,7 +6,7 @@ package updates import ( "errors" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type OperatingSystemUpdate struct { diff --git a/providers/os/resources/updates/win_updates.go b/providers/os/resources/updates/win_updates.go index b7a03996dd..9cab253e49 100644 --- a/providers/os/resources/updates/win_updates.go +++ b/providers/os/resources/updates/win_updates.go @@ -9,8 +9,8 @@ import ( "io" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) const ( diff --git a/providers/os/resources/updates/win_updates_test.go b/providers/os/resources/updates/win_updates_test.go index a89fbd11ce..7e889a8cab 100644 --- a/providers/os/resources/updates/win_updates_test.go +++ b/providers/os/resources/updates/win_updates_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) func TestWinOSUpdatesParser(t *testing.T) { diff --git a/providers/os/resources/uptime/unix.go b/providers/os/resources/uptime/unix.go index de0a8d2537..1b8e6b638c 100644 --- a/providers/os/resources/uptime/unix.go +++ b/providers/os/resources/uptime/unix.go @@ -12,7 +12,7 @@ import ( "time" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) var UnixUptimeRegex = regexp.MustCompile(`^.*up[\s]*(?:\s*(\d+)\s(day[s]*),)*(?:\s*(\d+)\s(min[s]*),)*(?:\s+([\d:]+),\s)*\s*(?:(\d+)\suser[s]*,\s)*\s*load\s+average[s]*:\s+(\d+[\.,]\d+)[,\s]+(\d+[\.,]\d+)[,\s]+(\d+[\.,]\d+)\s*$`) diff --git a/providers/os/resources/uptime/unix_test.go b/providers/os/resources/uptime/unix_test.go index 8c46bfbc8c..ba9a446fd7 100644 --- a/providers/os/resources/uptime/unix_test.go +++ b/providers/os/resources/uptime/unix_test.go @@ -8,7 +8,7 @@ import ( "time" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/resources/uptime" + "go.mondoo.com/cnquery/v10/providers/os/resources/uptime" ) func TestLinuxUptime(t *testing.T) { diff --git a/providers/os/resources/uptime/uptime.go b/providers/os/resources/uptime/uptime.go index 9012fbad2d..9b37cc4b45 100644 --- a/providers/os/resources/uptime/uptime.go +++ b/providers/os/resources/uptime/uptime.go @@ -7,8 +7,8 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type Uptime interface { diff --git a/providers/os/resources/uptime/uptime_test.go b/providers/os/resources/uptime/uptime_test.go index 0f9399df65..24e06c7499 100644 --- a/providers/os/resources/uptime/uptime_test.go +++ b/providers/os/resources/uptime/uptime_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/uptime" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/uptime" ) func TestUptimeOnLinux(t *testing.T) { diff --git a/providers/os/resources/uptime/windows.go b/providers/os/resources/uptime/windows.go index dbd87d6bde..f90877784c 100644 --- a/providers/os/resources/uptime/windows.go +++ b/providers/os/resources/uptime/windows.go @@ -8,8 +8,8 @@ import ( "io" "time" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) type WindowsUptime struct { diff --git a/providers/os/resources/uptime/windows_test.go b/providers/os/resources/uptime/windows_test.go index 7657060d43..8b21ae981a 100644 --- a/providers/os/resources/uptime/windows_test.go +++ b/providers/os/resources/uptime/windows_test.go @@ -8,7 +8,7 @@ import ( "time" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/resources/uptime" + "go.mondoo.com/cnquery/v10/providers/os/resources/uptime" ) func TestWindowsUptime(t *testing.T) { diff --git a/providers/os/resources/user.go b/providers/os/resources/user.go index 84cf66d8f0..8c695ca128 100644 --- a/providers/os/resources/user.go +++ b/providers/os/resources/user.go @@ -12,10 +12,10 @@ import ( "sync" "github.com/spf13/afero" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/users" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/users" ) func (x *mqlUser) id() (string, error) { diff --git a/providers/os/resources/users/dscl.go b/providers/os/resources/users/dscl.go index 9eb88d72ff..ec64c65a95 100644 --- a/providers/os/resources/users/dscl.go +++ b/providers/os/resources/users/dscl.go @@ -9,7 +9,7 @@ import ( "strconv" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) var USER_OSX_DSCL_REGEX = regexp.MustCompile(`(?m)^(\S*)\s*(.*)$`) diff --git a/providers/os/resources/users/dscl_test.go b/providers/os/resources/users/dscl_test.go index 505e28fc51..d118858978 100644 --- a/providers/os/resources/users/dscl_test.go +++ b/providers/os/resources/users/dscl_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/users" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/users" ) func TestParseDsclListResult(t *testing.T) { diff --git a/providers/os/resources/users/etcpasswd.go b/providers/os/resources/users/etcpasswd.go index 619ca766a4..1a2f347439 100644 --- a/providers/os/resources/users/etcpasswd.go +++ b/providers/os/resources/users/etcpasswd.go @@ -10,7 +10,7 @@ import ( "strings" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) // a good description of this file is available at: diff --git a/providers/os/resources/users/etcpasswd_test.go b/providers/os/resources/users/etcpasswd_test.go index c93e7f610d..980cbeebcb 100644 --- a/providers/os/resources/users/etcpasswd_test.go +++ b/providers/os/resources/users/etcpasswd_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/users" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/users" ) func TestParseLinuxEtcPasswd(t *testing.T) { diff --git a/providers/os/resources/users/manager.go b/providers/os/resources/users/manager.go index c13e251a5b..d67c2c4c4e 100644 --- a/providers/os/resources/users/manager.go +++ b/providers/os/resources/users/manager.go @@ -6,7 +6,7 @@ package users import ( "errors" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" ) type User struct { diff --git a/providers/os/resources/users/manager_test.go b/providers/os/resources/users/manager_test.go index 496f4d0cb8..a5e3ee9ded 100644 --- a/providers/os/resources/users/manager_test.go +++ b/providers/os/resources/users/manager_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/users" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/users" ) func TestManagerDebian(t *testing.T) { diff --git a/providers/os/resources/users/ps1getlocalusers.go b/providers/os/resources/users/ps1getlocalusers.go index 3d18a156df..27f867a1e3 100644 --- a/providers/os/resources/users/ps1getlocalusers.go +++ b/providers/os/resources/users/ps1getlocalusers.go @@ -7,8 +7,8 @@ import ( "encoding/json" "io" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) type WindowsSID struct { diff --git a/providers/os/resources/users/ps1getlocalusers_test.go b/providers/os/resources/users/ps1getlocalusers_test.go index 18347c86d0..31f1617975 100644 --- a/providers/os/resources/users/ps1getlocalusers_test.go +++ b/providers/os/resources/users/ps1getlocalusers_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/providers/os/resources/users" + "go.mondoo.com/cnquery/v10/providers/os/resources/users" ) func TestWindowsLocalUsersParser(t *testing.T) { diff --git a/providers/os/resources/vulnmgmt.go b/providers/os/resources/vulnmgmt.go index e41d4d98c9..b684fd3b36 100644 --- a/providers/os/resources/vulnmgmt.go +++ b/providers/os/resources/vulnmgmt.go @@ -8,11 +8,11 @@ import ( "time" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/gql" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/gql" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" mondoogql "go.mondoo.com/mondoo-go" ) diff --git a/providers/os/resources/windows.go b/providers/os/resources/windows.go index a43a0f7106..5b30b1a66f 100644 --- a/providers/os/resources/windows.go +++ b/providers/os/resources/windows.go @@ -6,12 +6,12 @@ package resources import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/packages" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" - "go.mondoo.com/cnquery/v9/providers/os/resources/windows" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/packages" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/resources/windows" ) func (s *mqlWindows) computerInfo() (map[string]interface{}, error) { diff --git a/providers/os/resources/windows/auditpol_test.go b/providers/os/resources/windows/auditpol_test.go index 00b523027b..3631a09a2c 100644 --- a/providers/os/resources/windows/auditpol_test.go +++ b/providers/os/resources/windows/auditpol_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/windows" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/windows" ) func TestParseAuditpol(t *testing.T) { diff --git a/providers/os/resources/windows/bitlocker.go b/providers/os/resources/windows/bitlocker.go index 5d9941107e..bdc3f7249e 100644 --- a/providers/os/resources/windows/bitlocker.go +++ b/providers/os/resources/windows/bitlocker.go @@ -7,8 +7,8 @@ import ( "encoding/json" "io" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) // https://docs.microsoft.com/en-us/windows/win32/secprov/getconversionstatus-win32-encryptablevolume diff --git a/providers/os/resources/windows/registrykey.go b/providers/os/resources/windows/registrykey.go index f5e40bc0f3..db6c682872 100644 --- a/providers/os/resources/windows/registrykey.go +++ b/providers/os/resources/windows/registrykey.go @@ -3,7 +3,7 @@ package windows -import "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" +import "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" // derived from "golang.org/x/sys/windows/registry" // see https://github.com/golang/sys/blob/master/windows/registry/value.go#L17-L31 diff --git a/providers/os/resources/windows/secpol_test.go b/providers/os/resources/windows/secpol_test.go index 5bd7195d7f..c3e75a11b3 100644 --- a/providers/os/resources/windows/secpol_test.go +++ b/providers/os/resources/windows/secpol_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) func TestParseSecpol(t *testing.T) { diff --git a/providers/os/resources/windows/security_health.go b/providers/os/resources/windows/security_health.go index 7ec18b5b2d..cc2df52259 100644 --- a/providers/os/resources/windows/security_health.go +++ b/providers/os/resources/windows/security_health.go @@ -7,8 +7,8 @@ import ( "encoding/json" "io" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) // This implements the Windows Security Center API diff --git a/providers/os/resources/windows/security_products.go b/providers/os/resources/windows/security_products.go index 770b12b4c9..b3f3183d99 100644 --- a/providers/os/resources/windows/security_products.go +++ b/providers/os/resources/windows/security_products.go @@ -8,8 +8,8 @@ import ( "io" "time" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" ) // This implementation reads the security products from Windows Desktop Systems diff --git a/providers/os/resources/windows_bitlocker.go b/providers/os/resources/windows_bitlocker.go index bd478f1af7..7236fe5e35 100644 --- a/providers/os/resources/windows_bitlocker.go +++ b/providers/os/resources/windows_bitlocker.go @@ -4,10 +4,10 @@ package resources import ( - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/windows" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/windows" ) func (s *mqlWindowsBitlocker) volumes() ([]interface{}, error) { diff --git a/providers/os/resources/windows_firewall.go b/providers/os/resources/windows_firewall.go index cf77a16945..131f5e8014 100644 --- a/providers/os/resources/windows_firewall.go +++ b/providers/os/resources/windows_firewall.go @@ -4,11 +4,11 @@ package resources import ( - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/powershell" - "go.mondoo.com/cnquery/v9/providers/os/resources/windows" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/powershell" + "go.mondoo.com/cnquery/v10/providers/os/resources/windows" ) func (w *mqlWindowsFirewallProfile) id() (string, error) { diff --git a/providers/os/resources/windows_security.go b/providers/os/resources/windows_security.go index b82fb56283..e4979fb26d 100644 --- a/providers/os/resources/windows_security.go +++ b/providers/os/resources/windows_security.go @@ -4,11 +4,11 @@ package resources import ( - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/windows" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/windows" ) func (w *mqlWindowsSecurity) products() ([]interface{}, error) { diff --git a/providers/os/resources/yum.go b/providers/os/resources/yum.go index 4507f76daf..214b3d989b 100644 --- a/providers/os/resources/yum.go +++ b/providers/os/resources/yum.go @@ -9,12 +9,12 @@ import ( "regexp" "strings" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/os/connection/shared" - "go.mondoo.com/cnquery/v9/providers/os/resources/yum" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/os/connection/shared" + "go.mondoo.com/cnquery/v10/providers/os/resources/yum" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/stringx" ) var supportedPlatforms = []string{"amazonlinux"} diff --git a/providers/os/resources/yum/yum_test.go b/providers/os/resources/yum/yum_test.go index 8e712fe771..7869f036ca 100644 --- a/providers/os/resources/yum/yum_test.go +++ b/providers/os/resources/yum/yum_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers/os/connection/mock" + "go.mondoo.com/cnquery/v10/providers/os/connection/mock" ) func TestParseYumRepoEntry(t *testing.T) { diff --git a/providers/providers.go b/providers/providers.go index 080055cad2..fab457dc90 100644 --- a/providers/providers.go +++ b/providers/providers.go @@ -21,9 +21,9 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/afero" "github.com/ulikunitz/xz" - "go.mondoo.com/cnquery/v9/cli/config" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/cli/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" "go.mondoo.com/ranger-rpc" "golang.org/x/exp/slices" ) @@ -254,7 +254,7 @@ func ListAll() ([]*Provider, error) { // EnsureProvider makes sure that a given provider exists and returns it. // You can supply providers either via: -// 1. providerID, which universally identifies it, e.g. "go.mondoo.com/cnquery/v9/providers/os" +// 1. providerID, which universally identifies it, e.g. "go.mondoo.com/cnquery/v10/providers/os" // 2. connectorName, which is what you see in the CLI e.g. "local", "ssh", ... // 3. connectorType, which is how assets define the connector type when // they are moved between discovery and execution, e.g. "registry-image". diff --git a/providers/providers_test.go b/providers/providers_test.go index 9de2658136..947d5160b7 100644 --- a/providers/providers_test.go +++ b/providers/providers_test.go @@ -8,7 +8,7 @@ import ( "time" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) type testPlugin struct { diff --git a/providers/recording.go b/providers/recording.go index dc73534470..e8356a8b9c 100644 --- a/providers/recording.go +++ b/providers/recording.go @@ -10,10 +10,10 @@ import ( "sort" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/multierr" ) type Recording interface { diff --git a/providers/runtime.go b/providers/runtime.go index b1b4f03390..5e9297bf88 100644 --- a/providers/runtime.go +++ b/providers/runtime.go @@ -10,13 +10,13 @@ import ( "time" "github.com/rs/zerolog/log" - "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/resources" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream" - "go.mondoo.com/cnquery/v9/types" - "go.mondoo.com/cnquery/v9/utils/multierr" + "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/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream" + "go.mondoo.com/cnquery/v10/types" + "go.mondoo.com/cnquery/v10/utils/multierr" "google.golang.org/grpc/status" ) diff --git a/providers/slack/config/config.go b/providers/slack/config/config.go index a18d8ce874..e3283b824b 100644 --- a/providers/slack/config/config.go +++ b/providers/slack/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/slack/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/slack/provider" ) var Config = plugin.Provider{ diff --git a/providers/slack/connection/connection.go b/providers/slack/connection/connection.go index 0c3f97f968..43aa19a8b2 100644 --- a/providers/slack/connection/connection.go +++ b/providers/slack/connection/connection.go @@ -11,8 +11,8 @@ import ( "github.com/rs/zerolog" "github.com/rs/zerolog/log" "github.com/slack-go/slack" - "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" ) type SlackConnection struct { diff --git a/providers/slack/gen/main.go b/providers/slack/gen/main.go index 75b9149427..19f35c7754 100644 --- a/providers/slack/gen/main.go +++ b/providers/slack/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/slack/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/slack/config" ) func main() { diff --git a/providers/slack/go.mod b/providers/slack/go.mod index 3394249182..409dfb4b50 100644 --- a/providers/slack/go.mod +++ b/providers/slack/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/slack +module go.mondoo.com/cnquery/v10/providers/slack -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -10,7 +10,7 @@ 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.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 ) require ( diff --git a/providers/slack/main.go b/providers/slack/main.go index 4a76985b41..236c68e608 100644 --- a/providers/slack/main.go +++ b/providers/slack/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/slack/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/slack/provider" ) func main() { diff --git a/providers/slack/provider/provider.go b/providers/slack/provider/provider.go index 04869b513c..f2fd68dba8 100644 --- a/providers/slack/provider/provider.go +++ b/providers/slack/provider/provider.go @@ -9,13 +9,13 @@ import ( "strconv" "strings" - "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/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/slack/connection" - "go.mondoo.com/cnquery/v9/providers/slack/resources" + "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" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/slack/connection" + "go.mondoo.com/cnquery/v10/providers/slack/resources" ) const ConnectionType = "slack" diff --git a/providers/slack/resources/accesslogs.go b/providers/slack/resources/accesslogs.go index b355daf89c..75576b0770 100644 --- a/providers/slack/resources/accesslogs.go +++ b/providers/slack/resources/accesslogs.go @@ -8,9 +8,9 @@ import ( "time" "github.com/slack-go/slack" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/slack/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/slack/connection" ) func (s *mqlSlack) accessLogs() ([]interface{}, error) { diff --git a/providers/slack/resources/conversations.go b/providers/slack/resources/conversations.go index 4cbe9dd516..09c199205b 100644 --- a/providers/slack/resources/conversations.go +++ b/providers/slack/resources/conversations.go @@ -8,10 +8,10 @@ import ( "time" "github.com/slack-go/slack" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/slack/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/slack/connection" ) func (o *mqlSlackConversations) id() (string, error) { diff --git a/providers/slack/resources/slack.lr b/providers/slack/resources/slack.lr index 793cf95f1a..b5ce2a28d6 100644 --- a/providers/slack/resources/slack.lr +++ b/providers/slack/resources/slack.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/slack" -option go_package = "go.mondoo.com/cnquery/v9/providers/slack/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/slack/resources" // Slack slack { diff --git a/providers/slack/resources/slack.lr.go b/providers/slack/resources/slack.lr.go index a65d503c13..c70e330a84 100644 --- a/providers/slack/resources/slack.lr.go +++ b/providers/slack/resources/slack.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/slack/resources/team.go b/providers/slack/resources/team.go index e2b1658574..2667317ae2 100644 --- a/providers/slack/resources/team.go +++ b/providers/slack/resources/team.go @@ -6,9 +6,9 @@ package resources import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/slack/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/slack/connection" ) func (x *mqlSlackTeam) id() (string, error) { diff --git a/providers/slack/resources/usergroups.go b/providers/slack/resources/usergroups.go index a53bb1b405..6156221d35 100644 --- a/providers/slack/resources/usergroups.go +++ b/providers/slack/resources/usergroups.go @@ -8,9 +8,9 @@ import ( "errors" "github.com/slack-go/slack" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/slack/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/slack/connection" ) func (s *mqlSlack) userGroups() ([]interface{}, error) { diff --git a/providers/slack/resources/users.go b/providers/slack/resources/users.go index 071c7550e7..c35a242dc2 100644 --- a/providers/slack/resources/users.go +++ b/providers/slack/resources/users.go @@ -9,10 +9,10 @@ import ( "time" "github.com/slack-go/slack" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/slack/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/slack/connection" ) func (o *mqlSlackUsers) id() (string, error) { diff --git a/providers/terraform/config/config.go b/providers/terraform/config/config.go index 3ec27c0bd1..d89329c593 100644 --- a/providers/terraform/config/config.go +++ b/providers/terraform/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/terraform/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/terraform/provider" ) var Config = plugin.Provider{ diff --git a/providers/terraform/connection/connection.go b/providers/terraform/connection/connection.go index 786d98c188..5447dcaa57 100644 --- a/providers/terraform/connection/connection.go +++ b/providers/terraform/connection/connection.go @@ -6,7 +6,7 @@ package connection import ( "github.com/hashicorp/hcl/v2" "github.com/hashicorp/hcl/v2/hclparse" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) type ConnectionType string diff --git a/providers/terraform/connection/hcl_manifest.go b/providers/terraform/connection/hcl_manifest.go index 203451879e..8a19e580d4 100644 --- a/providers/terraform/connection/hcl_manifest.go +++ b/providers/terraform/connection/hcl_manifest.go @@ -17,8 +17,8 @@ import ( "github.com/hashicorp/hcl/v2" "github.com/pkg/errors" "github.com/rs/zerolog/log" - "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 ParseTerraformModuleManifest(manifestPath string) (*ModuleManifest, error) { diff --git a/providers/terraform/connection/hcl_manifest_test.go b/providers/terraform/connection/hcl_manifest_test.go index e288d6f351..29d9a8efcc 100644 --- a/providers/terraform/connection/hcl_manifest_test.go +++ b/providers/terraform/connection/hcl_manifest_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func TestTerraform(t *testing.T) { diff --git a/providers/terraform/connection/hcl_parser_test.go b/providers/terraform/connection/hcl_parser_test.go index 3b1aa57bcd..58a8e03c38 100644 --- a/providers/terraform/connection/hcl_parser_test.go +++ b/providers/terraform/connection/hcl_parser_test.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/hcl/v2" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) func TestLoadHclBlocks(t *testing.T) { diff --git a/providers/terraform/connection/tfplan.go b/providers/terraform/connection/tfplan.go index 80e7fc5c0e..3b27ac09d7 100644 --- a/providers/terraform/connection/tfplan.go +++ b/providers/terraform/connection/tfplan.go @@ -8,7 +8,7 @@ import ( "os" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) type Plan struct { diff --git a/providers/terraform/connection/tfstate.go b/providers/terraform/connection/tfstate.go index 547d072891..0085a9c279 100644 --- a/providers/terraform/connection/tfstate.go +++ b/providers/terraform/connection/tfstate.go @@ -8,7 +8,7 @@ import ( "os" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) // This is designed around https://www.terraform.io/internals/json-format diff --git a/providers/terraform/gen/main.go b/providers/terraform/gen/main.go index dfbe4b5d6e..001c05618d 100644 --- a/providers/terraform/gen/main.go +++ b/providers/terraform/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/terraform/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/terraform/config" ) func main() { diff --git a/providers/terraform/go.mod b/providers/terraform/go.mod index 2c5b67c6d3..252fee45f0 100644 --- a/providers/terraform/go.mod +++ b/providers/terraform/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/terraform +module go.mondoo.com/cnquery/v10/providers/terraform -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -9,7 +9,7 @@ toolchain go1.21.3 require ( github.com/go-git/go-git/v5 v5.11.0 github.com/hashicorp/hcl/v2 v2.19.1 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 ) require ( diff --git a/providers/terraform/main.go b/providers/terraform/main.go index 16b0dad385..d8879e778e 100644 --- a/providers/terraform/main.go +++ b/providers/terraform/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/terraform/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/terraform/provider" ) func main() { diff --git a/providers/terraform/provider/detector.go b/providers/terraform/provider/detector.go index ce931ad2f0..fb79ebc5e5 100644 --- a/providers/terraform/provider/detector.go +++ b/providers/terraform/provider/detector.go @@ -13,8 +13,8 @@ import ( "path/filepath" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers/terraform/connection" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers/terraform/connection" ) func (s *Service) detect(asset *inventory.Asset, conn *connection.Connection) error { diff --git a/providers/terraform/provider/hcl_test.go b/providers/terraform/provider/hcl_test.go index 1b98413b23..6054f4d78d 100644 --- a/providers/terraform/provider/hcl_test.go +++ b/providers/terraform/provider/hcl_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/terraform/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/terraform/resources" ) const ( diff --git a/providers/terraform/provider/provider.go b/providers/terraform/provider/provider.go index 42f5774c9e..ed76913f64 100644 --- a/providers/terraform/provider/provider.go +++ b/providers/terraform/provider/provider.go @@ -9,12 +9,12 @@ import ( "strconv" "strings" - "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/v9/providers/terraform/connection" - "go.mondoo.com/cnquery/v9/providers/terraform/resources" + "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" + "go.mondoo.com/cnquery/v10/providers/terraform/connection" + "go.mondoo.com/cnquery/v10/providers/terraform/resources" ) const ( diff --git a/providers/terraform/provider/terraform_test.go b/providers/terraform/provider/terraform_test.go index a0171d0c0e..0316521c94 100644 --- a/providers/terraform/provider/terraform_test.go +++ b/providers/terraform/provider/terraform_test.go @@ -4,8 +4,8 @@ package provider import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) func newTestService(connType string, path string) (*Service, *plugin.ConnectRes) { diff --git a/providers/terraform/provider/tfplan_test.go b/providers/terraform/provider/tfplan_test.go index be954e301d..bebef1f6b5 100644 --- a/providers/terraform/provider/tfplan_test.go +++ b/providers/terraform/provider/tfplan_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/terraform/connection" - "go.mondoo.com/cnquery/v9/providers/terraform/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/terraform/connection" + "go.mondoo.com/cnquery/v10/providers/terraform/resources" ) func TestResource_Tfplan(t *testing.T) { diff --git a/providers/terraform/provider/tfstate_test.go b/providers/terraform/provider/tfstate_test.go index b3fa72944b..72681947eb 100644 --- a/providers/terraform/provider/tfstate_test.go +++ b/providers/terraform/provider/tfstate_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" ) func TestResource_Tfstate(t *testing.T) { diff --git a/providers/terraform/resources/hcl.go b/providers/terraform/resources/hcl.go index 684c8f40db..7fe0a43567 100644 --- a/providers/terraform/resources/hcl.go +++ b/providers/terraform/resources/hcl.go @@ -18,10 +18,10 @@ import ( "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/function" "github.com/zclconf/go-cty/cty/function/stdlib" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/terraform/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/terraform/connection" + "go.mondoo.com/cnquery/v10/types" ) type mqlTerraformInternal struct { diff --git a/providers/terraform/resources/terraform.lr b/providers/terraform/resources/terraform.lr index 017c3fb5ad..f0c3078ae7 100644 --- a/providers/terraform/resources/terraform.lr +++ b/providers/terraform/resources/terraform.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/terraform" -option go_package = "go.mondoo.com/cnquery/v9/providers/terraform/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/terraform/resources" // Terraform configuration files terraform { diff --git a/providers/terraform/resources/terraform.lr.go b/providers/terraform/resources/terraform.lr.go index eaab04ad6e..8dd054ace9 100644 --- a/providers/terraform/resources/terraform.lr.go +++ b/providers/terraform/resources/terraform.lr.go @@ -8,9 +8,9 @@ package resources import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/terraform/resources/tfplan.go b/providers/terraform/resources/tfplan.go index d2b4c68957..56d575fa3c 100644 --- a/providers/terraform/resources/tfplan.go +++ b/providers/terraform/resources/tfplan.go @@ -6,11 +6,11 @@ package resources import ( "encoding/json" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/terraform/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/terraform/connection" + "go.mondoo.com/cnquery/v10/types" ) func (t *mqlTerraformPlan) id() (string, error) { diff --git a/providers/terraform/resources/tfstate.go b/providers/terraform/resources/tfstate.go index 03fb8ed4b4..186f00ec35 100644 --- a/providers/terraform/resources/tfstate.go +++ b/providers/terraform/resources/tfstate.go @@ -7,11 +7,11 @@ import ( "encoding/json" "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/terraform/connection" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/terraform/connection" + "go.mondoo.com/cnquery/v10/types" ) func (t *mqlTerraformState) id() (string, error) { diff --git a/providers/vcd/config/config.go b/providers/vcd/config/config.go index 00f899ac49..363501d14f 100644 --- a/providers/vcd/config/config.go +++ b/providers/vcd/config/config.go @@ -4,8 +4,8 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/vcd/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/vcd/provider" ) var Config = plugin.Provider{ diff --git a/providers/vcd/connection/connection.go b/providers/vcd/connection/connection.go index 8326527ed0..267e740382 100644 --- a/providers/vcd/connection/connection.go +++ b/providers/vcd/connection/connection.go @@ -10,8 +10,8 @@ import ( "github.com/rs/zerolog/log" "github.com/vmware/go-vcloud-director/v2/govcd" - "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" ) type VcdConnection struct { diff --git a/providers/vcd/connection/connection_test.go b/providers/vcd/connection/connection_test.go index 1a30fccd84..b7873411e2 100644 --- a/providers/vcd/connection/connection_test.go +++ b/providers/vcd/connection/connection_test.go @@ -11,8 +11,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "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 TestApiAccess(t *testing.T) { diff --git a/providers/vcd/gen/main.go b/providers/vcd/gen/main.go index 8b3ae9206a..2c96c1b9d3 100644 --- a/providers/vcd/gen/main.go +++ b/providers/vcd/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/vcd/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/vcd/config" ) func main() { diff --git a/providers/vcd/go.mod b/providers/vcd/go.mod index fb1a64159f..3f0d5c1075 100644 --- a/providers/vcd/go.mod +++ b/providers/vcd/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/vcd +module go.mondoo.com/cnquery/v10/providers/vcd -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -10,7 +10,7 @@ require ( github.com/rs/zerolog v1.31.0 github.com/stretchr/testify v1.8.4 github.com/vmware/go-vcloud-director/v2 v2.22.0 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 ) require ( diff --git a/providers/vcd/main.go b/providers/vcd/main.go index 9a4c33d55a..d814a8b9af 100644 --- a/providers/vcd/main.go +++ b/providers/vcd/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/vcd/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/vcd/provider" ) func main() { diff --git a/providers/vcd/provider/provider.go b/providers/vcd/provider/provider.go index 41845f3150..aafd340c1a 100644 --- a/providers/vcd/provider/provider.go +++ b/providers/vcd/provider/provider.go @@ -9,13 +9,13 @@ import ( "strconv" "strings" - "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/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/vcd/connection" - "go.mondoo.com/cnquery/v9/providers/vcd/resources" + "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" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/vcd/connection" + "go.mondoo.com/cnquery/v10/providers/vcd/resources" ) const ConnectionType = "vcd" diff --git a/providers/vcd/resources/externalnetworks.go b/providers/vcd/resources/externalnetworks.go index 2cf507182d..357abaa323 100644 --- a/providers/vcd/resources/externalnetworks.go +++ b/providers/vcd/resources/externalnetworks.go @@ -6,10 +6,10 @@ package resources import ( "github.com/vmware/go-vcloud-director/v2/govcd" "github.com/vmware/go-vcloud-director/v2/types/v56" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/vcd/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/vcd/connection" ) func (v *mqlVcd) externalNetworks() ([]interface{}, error) { diff --git a/providers/vcd/resources/networkpools.go b/providers/vcd/resources/networkpools.go index ad106106fa..4f2dbd81df 100644 --- a/providers/vcd/resources/networkpools.go +++ b/providers/vcd/resources/networkpools.go @@ -5,9 +5,9 @@ package resources import ( "github.com/vmware/go-vcloud-director/v2/types/v56" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/vcd/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/vcd/connection" ) // https://developer.vmware.com/apis/1260/vmware-cloud-director/doc/doc/types/QueryResultNetworkPoolRecordType.html diff --git a/providers/vcd/resources/organization.go b/providers/vcd/resources/organization.go index bb6d2bc46f..8b8769e42f 100644 --- a/providers/vcd/resources/organization.go +++ b/providers/vcd/resources/organization.go @@ -6,12 +6,12 @@ package resources import ( "strconv" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/vcd/connection" + "go.mondoo.com/cnquery/v10/providers/vcd/connection" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" "github.com/vmware/go-vcloud-director/v2/types/v56" diff --git a/providers/vcd/resources/provider.go b/providers/vcd/resources/provider.go index bab899068c..e654506966 100644 --- a/providers/vcd/resources/provider.go +++ b/providers/vcd/resources/provider.go @@ -5,9 +5,9 @@ package resources import ( "github.com/vmware/go-vcloud-director/v2/types/v56" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/vcd/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/vcd/connection" ) func (v *mqlVcd) providerVDCs() ([]interface{}, error) { diff --git a/providers/vcd/resources/serverinstance.go b/providers/vcd/resources/serverinstance.go index 677531bdd8..279258df90 100644 --- a/providers/vcd/resources/serverinstance.go +++ b/providers/vcd/resources/serverinstance.go @@ -6,9 +6,9 @@ package resources import ( "github.com/vmware/go-vcloud-director/v2/govcd" "github.com/vmware/go-vcloud-director/v2/types/v56" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/vcd/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/vcd/connection" ) // https://developer.vmware.com/apis/1260/vmware-cloud-director/doc/doc/types/VimServerType.html diff --git a/providers/vcd/resources/vcd.lr b/providers/vcd/resources/vcd.lr index 8535feb9ab..346196845b 100644 --- a/providers/vcd/resources/vcd.lr +++ b/providers/vcd/resources/vcd.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/vcd" -option go_package = "go.mondoo.com/cnquery/v9/providers/vcd/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/vcd/resources" // VMware Cloud Director vcd { diff --git a/providers/vcd/resources/vcd.lr.go b/providers/vcd/resources/vcd.lr.go index f8c8e86e73..9c768014e6 100644 --- a/providers/vcd/resources/vcd.lr.go +++ b/providers/vcd/resources/vcd.lr.go @@ -8,9 +8,9 @@ package resources import ( "errors" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/vsphere/config/config.go b/providers/vsphere/config/config.go index 1357eeda2a..85f3b30c78 100644 --- a/providers/vsphere/config/config.go +++ b/providers/vsphere/config/config.go @@ -4,9 +4,9 @@ package config import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/vsphere/provider" - "go.mondoo.com/cnquery/v9/providers/vsphere/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/vsphere/provider" + "go.mondoo.com/cnquery/v10/providers/vsphere/resources" ) var Config = plugin.Provider{ diff --git a/providers/vsphere/connection/connection.go b/providers/vsphere/connection/connection.go index dfd0e7f1a2..3f411a9736 100644 --- a/providers/vsphere/connection/connection.go +++ b/providers/vsphere/connection/connection.go @@ -9,10 +9,10 @@ import ( "net/url" "strconv" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" "github.com/vmware/govmomi" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" ) type VsphereConnection struct { diff --git a/providers/vsphere/connection/connection_test.go b/providers/vsphere/connection/connection_test.go index cc22ae4b40..ad0450ba07 100644 --- a/providers/vsphere/connection/connection_test.go +++ b/providers/vsphere/connection/connection_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/vsphere/connection/vsimulator" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/vsphere/connection/vsimulator" ) func TestVSphereTransport(t *testing.T) { diff --git a/providers/vsphere/connection/platform.go b/providers/vsphere/connection/platform.go index 8f7f36dd9e..dfa92b0a0b 100644 --- a/providers/vsphere/connection/platform.go +++ b/providers/vsphere/connection/platform.go @@ -15,7 +15,7 @@ import ( "github.com/vmware/govmomi/govc/host/esxcli" "github.com/vmware/govmomi/object" "github.com/vmware/govmomi/vim25/types" - "go.mondoo.com/cnquery/v9/mrn" + "go.mondoo.com/cnquery/v10/mrn" ) const ( diff --git a/providers/vsphere/gen/main.go b/providers/vsphere/gen/main.go index eed6b2844a..b317520a2a 100644 --- a/providers/vsphere/gen/main.go +++ b/providers/vsphere/gen/main.go @@ -4,8 +4,8 @@ package main import ( - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin/gen" - "go.mondoo.com/cnquery/v9/providers/vsphere/config" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin/gen" + "go.mondoo.com/cnquery/v10/providers/vsphere/config" ) func main() { diff --git a/providers/vsphere/go.mod b/providers/vsphere/go.mod index f9be5263cf..f1c6eb2137 100644 --- a/providers/vsphere/go.mod +++ b/providers/vsphere/go.mod @@ -1,6 +1,6 @@ -module go.mondoo.com/cnquery/v9/providers/vsphere +module go.mondoo.com/cnquery/v10/providers/vsphere -replace go.mondoo.com/cnquery/v9 => ../.. +replace go.mondoo.com/cnquery/v10 => ../.. go 1.21 @@ -11,7 +11,7 @@ require ( github.com/rs/zerolog v1.31.0 github.com/stretchr/testify v1.8.4 github.com/vmware/govmomi v0.34.2 - go.mondoo.com/cnquery/v9 v9.14.0 + go.mondoo.com/cnquery/v10 v10.0.0 go.mondoo.com/mondoo-go v0.0.0-20240103050411-fa7e920c6784 ) diff --git a/providers/vsphere/main.go b/providers/vsphere/main.go index 86ac116781..7bf7b1f418 100644 --- a/providers/vsphere/main.go +++ b/providers/vsphere/main.go @@ -6,8 +6,8 @@ package main import ( "os" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/vsphere/provider" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/vsphere/provider" ) func main() { diff --git a/providers/vsphere/provider/provider.go b/providers/vsphere/provider/provider.go index dd3151a8fd..0d8af9569c 100644 --- a/providers/vsphere/provider/provider.go +++ b/providers/vsphere/provider/provider.go @@ -9,13 +9,13 @@ import ( "strconv" "strings" - "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/v9/providers-sdk/v1/vault" - "go.mondoo.com/cnquery/v9/providers/vsphere/connection" - "go.mondoo.com/cnquery/v9/providers/vsphere/resources" + "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" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/v10/providers/vsphere/connection" + "go.mondoo.com/cnquery/v10/providers/vsphere/resources" ) const ConnectionType = "vsphere" diff --git a/providers/vsphere/provider/provider_test.go b/providers/vsphere/provider/provider_test.go index dac0874f53..951bbb0107 100644 --- a/providers/vsphere/provider/provider_test.go +++ b/providers/vsphere/provider/provider_test.go @@ -10,10 +10,10 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/assert" - "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/vault" - "go.mondoo.com/cnquery/v9/providers/vsphere/connection/vsimulator" + "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/vault" + "go.mondoo.com/cnquery/v10/providers/vsphere/connection/vsimulator" ) func newTestService() (*vsimulator.VsphereSimulator, *Service, *plugin.ConnectRes) { diff --git a/providers/vsphere/resources/asset_advisories.go b/providers/vsphere/resources/asset_advisories.go index 7b45fcd821..3882cf7811 100644 --- a/providers/vsphere/resources/asset_advisories.go +++ b/providers/vsphere/resources/asset_advisories.go @@ -5,10 +5,10 @@ package resources import ( "context" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/mvd" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/vsphere/connection" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/mvd" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/vsphere/connection" ) // fetches the vulnerability report and returns the full report diff --git a/providers/vsphere/resources/asset_cpe.go b/providers/vsphere/resources/asset_cpe.go index 077fa31f02..631d069ae3 100644 --- a/providers/vsphere/resources/asset_cpe.go +++ b/providers/vsphere/resources/asset_cpe.go @@ -5,8 +5,8 @@ package resources import ( "github.com/facebookincubator/nvdtools/wfn" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers/vsphere/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers/vsphere/connection" ) func (a *mqlAsset) cpes() ([]interface{}, error) { diff --git a/providers/vsphere/resources/datacenter.go b/providers/vsphere/resources/datacenter.go index 6428457c8c..dccef22943 100644 --- a/providers/vsphere/resources/datacenter.go +++ b/providers/vsphere/resources/datacenter.go @@ -5,10 +5,10 @@ package resources import ( "github.com/vmware/govmomi/object" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/vsphere/connection" - "go.mondoo.com/cnquery/v9/providers/vsphere/resources/resourceclient" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/vsphere/connection" + "go.mondoo.com/cnquery/v10/providers/vsphere/resources/resourceclient" ) func newVsphereHostResources(vClient *resourceclient.Client, runtime *plugin.Runtime, vhosts []*object.HostSystem) ([]interface{}, error) { diff --git a/providers/vsphere/resources/discovery.go b/providers/vsphere/resources/discovery.go index 682d7aa63d..a96e9e2a19 100644 --- a/providers/vsphere/resources/discovery.go +++ b/providers/vsphere/resources/discovery.go @@ -6,11 +6,11 @@ package resources import ( "github.com/rs/zerolog/log" "github.com/vmware/govmomi/vim25/types" - "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/vsphere/connection" - "go.mondoo.com/cnquery/v9/utils/stringx" + "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/vsphere/connection" + "go.mondoo.com/cnquery/v10/utils/stringx" ) // Discovery Flags diff --git a/providers/vsphere/resources/host.go b/providers/vsphere/resources/host.go index 4b53366b47..47c5769e71 100644 --- a/providers/vsphere/resources/host.go +++ b/providers/vsphere/resources/host.go @@ -9,12 +9,12 @@ import ( "github.com/vmware/govmomi/vim25/mo" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" - "go.mondoo.com/cnquery/v9/providers/vsphere/connection" - "go.mondoo.com/cnquery/v9/providers/vsphere/resources/resourceclient" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers/vsphere/connection" + "go.mondoo.com/cnquery/v10/providers/vsphere/resources/resourceclient" + "go.mondoo.com/cnquery/v10/types" ) type mqlVsphereHostInternal struct { diff --git a/providers/vsphere/resources/network.go b/providers/vsphere/resources/network.go index 1fb3af19c7..e87aece8f0 100644 --- a/providers/vsphere/resources/network.go +++ b/providers/vsphere/resources/network.go @@ -7,8 +7,8 @@ import ( "errors" "reflect" - "go.mondoo.com/cnquery/v9/providers/vsphere/connection" - "go.mondoo.com/cnquery/v9/providers/vsphere/resources/resourceclient" + "go.mondoo.com/cnquery/v10/providers/vsphere/connection" + "go.mondoo.com/cnquery/v10/providers/vsphere/resources/resourceclient" ) type mqlVsphereVswitchStandardInternal struct { diff --git a/providers/vsphere/resources/resourceclient/esxi.go b/providers/vsphere/resources/resourceclient/esxi.go index a531df2f75..41c3f97668 100644 --- a/providers/vsphere/resources/resourceclient/esxi.go +++ b/providers/vsphere/resources/resourceclient/esxi.go @@ -8,7 +8,7 @@ import ( "regexp" "strings" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/util/convert" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/util/convert" "github.com/rs/zerolog/log" "github.com/vmware/govmomi" diff --git a/providers/vsphere/resources/resourceclient/vsphere_test.go b/providers/vsphere/resources/resourceclient/vsphere_test.go index 7379ea7c9d..be8281f2a8 100644 --- a/providers/vsphere/resources/resourceclient/vsphere_test.go +++ b/providers/vsphere/resources/resourceclient/vsphere_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/vmware/govmomi" - "go.mondoo.com/cnquery/v9/providers/vsphere/connection/vsimulator" + "go.mondoo.com/cnquery/v10/providers/vsphere/connection/vsimulator" ) func newClient(host string, user string, password string) (*Client, error) { diff --git a/providers/vsphere/resources/vm.go b/providers/vsphere/resources/vm.go index d6cd5503c4..77cc173b84 100644 --- a/providers/vsphere/resources/vm.go +++ b/providers/vsphere/resources/vm.go @@ -6,10 +6,10 @@ package resources import ( "github.com/vmware/govmomi/object" "github.com/vmware/govmomi/vim25/mo" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/vsphere/connection" - "go.mondoo.com/cnquery/v9/providers/vsphere/resources/resourceclient" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/vsphere/connection" + "go.mondoo.com/cnquery/v10/providers/vsphere/resources/resourceclient" ) func newMqlVm(runtime *plugin.Runtime, vm *object.VirtualMachine, vmInfo *mo.VirtualMachine) (*mqlVsphereVm, error) { diff --git a/providers/vsphere/resources/vsphere.go b/providers/vsphere/resources/vsphere.go index 83543403bc..27696ded42 100644 --- a/providers/vsphere/resources/vsphere.go +++ b/providers/vsphere/resources/vsphere.go @@ -8,10 +8,10 @@ import ( "github.com/vmware/govmomi/object" "github.com/vmware/govmomi/vim25/mo" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers/vsphere/connection" - "go.mondoo.com/cnquery/v9/providers/vsphere/resources/resourceclient" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers/vsphere/connection" + "go.mondoo.com/cnquery/v10/providers/vsphere/resources/resourceclient" ) func getClientInstance(conn *connection.VsphereConnection) *resourceclient.Client { diff --git a/providers/vsphere/resources/vsphere.lr b/providers/vsphere/resources/vsphere.lr index 26325f1667..7fe4e42f39 100644 --- a/providers/vsphere/resources/vsphere.lr +++ b/providers/vsphere/resources/vsphere.lr @@ -2,7 +2,7 @@ // SPDX-License-Identifier: BUSL-1.1 option provider = "go.mondoo.com/cnquery/providers/vsphere" -option go_package = "go.mondoo.com/cnquery/v9/providers/vsphere/resources" +option go_package = "go.mondoo.com/cnquery/v10/providers/vsphere/resources" // vSphere asset resource extend asset { diff --git a/providers/vsphere/resources/vsphere.lr.go b/providers/vsphere/resources/vsphere.lr.go index f56ab1a204..839c4e91b6 100644 --- a/providers/vsphere/resources/vsphere.lr.go +++ b/providers/vsphere/resources/vsphere.lr.go @@ -9,9 +9,9 @@ import ( "errors" "time" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/types" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/types" ) var resourceFactories map[string]plugin.ResourceFactory diff --git a/providers/vsphere/resources/vulnmgmt.go b/providers/vsphere/resources/vulnmgmt.go index c18a4d5649..6c1de8cb10 100644 --- a/providers/vsphere/resources/vulnmgmt.go +++ b/providers/vsphere/resources/vulnmgmt.go @@ -8,11 +8,11 @@ import ( "time" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/v9/llx" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/plugin" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/resources" - "go.mondoo.com/cnquery/v9/providers-sdk/v1/upstream/gql" - "go.mondoo.com/cnquery/v9/providers/vsphere/connection" + "go.mondoo.com/cnquery/v10/llx" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/plugin" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/resources" + "go.mondoo.com/cnquery/v10/providers-sdk/v1/upstream/gql" + "go.mondoo.com/cnquery/v10/providers/vsphere/connection" mondoogql "go.mondoo.com/mondoo-go" ) diff --git a/sbom/list.go b/sbom/list.go index 871d1e5658..11de1a0fe5 100644 --- a/sbom/list.go +++ b/sbom/list.go @@ -5,7 +5,7 @@ package sbom import ( "github.com/muesli/termenv" - "go.mondoo.com/cnquery/v9/cli/theme/colors" + "go.mondoo.com/cnquery/v10/cli/theme/colors" "io" "sort" "strings" diff --git a/sbom/sbom.go b/sbom/sbom.go index 3e996e19cb..3f341c7113 100644 --- a/sbom/sbom.go +++ b/sbom/sbom.go @@ -13,9 +13,9 @@ import ( "time" "github.com/mitchellh/hashstructure/v2" - "go.mondoo.com/cnquery/v9" - "go.mondoo.com/cnquery/v9/explorer" - "go.mondoo.com/cnquery/v9/mrn" + "go.mondoo.com/cnquery/v10" + "go.mondoo.com/cnquery/v10/explorer" + "go.mondoo.com/cnquery/v10/mrn" ) // SBOMQueryPack is a protobuf message that contains the SBOM query pack diff --git a/shared/grpc.go b/shared/grpc.go index 051115b958..e272cdc66a 100644 --- a/shared/grpc.go +++ b/shared/grpc.go @@ -8,8 +8,8 @@ import ( hclog "github.com/hashicorp/go-hclog" plugin "github.com/hashicorp/go-plugin" - "go.mondoo.com/cnquery/v9/providers" - "go.mondoo.com/cnquery/v9/shared/proto" + "go.mondoo.com/cnquery/v10/providers" + "go.mondoo.com/cnquery/v10/shared/proto" "golang.org/x/net/context" "google.golang.org/grpc" ) diff --git a/shared/interface.go b/shared/interface.go index 51127c5376..a9e4a78b39 100644 --- a/shared/interface.go +++ b/shared/interface.go @@ -6,8 +6,8 @@ package shared import ( "github.com/hashicorp/go-plugin" - "go.mondoo.com/cnquery/v9/providers" - "go.mondoo.com/cnquery/v9/shared/proto" + "go.mondoo.com/cnquery/v10/providers" + "go.mondoo.com/cnquery/v10/shared/proto" "golang.org/x/net/context" "google.golang.org/grpc" ) diff --git a/shared/proto/cnquery.pb.go b/shared/proto/cnquery.pb.go index dbf1cacd69..9d5faa0c47 100644 --- a/shared/proto/cnquery.pb.go +++ b/shared/proto/cnquery.pb.go @@ -10,7 +10,7 @@ package proto import ( - inventory "go.mondoo.com/cnquery/v9/providers-sdk/v1/inventory" + inventory "go.mondoo.com/cnquery/v10/providers-sdk/v1/inventory" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/shared/proto/cnquery.proto b/shared/proto/cnquery.proto index 1adda03179..1146077652 100644 --- a/shared/proto/cnquery.proto +++ b/shared/proto/cnquery.proto @@ -6,7 +6,7 @@ package proto; import "providers-sdk/v1/inventory/inventory.proto"; -option go_package = "go.mondoo.com/cnquery/v9/shared/proto"; +option go_package = "go.mondoo.com/cnquery/v10/shared/proto"; message RunQueryConfig { string command = 1; diff --git a/test/cli/cli_test.go b/test/cli/cli_test.go index cb40d6a55b..31cbc57c18 100644 --- a/test/cli/cli_test.go +++ b/test/cli/cli_test.go @@ -6,7 +6,7 @@ package cli import ( "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "go.mondoo.com/cnquery/v9/apps/cnquery/cmd" + "go.mondoo.com/cnquery/v10/apps/cnquery/cmd" "os" "sync" "testing" diff --git a/utils/multierr/errors_test.go b/utils/multierr/errors_test.go index 7db5f7abcd..794d4f6667 100644 --- a/utils/multierr/errors_test.go +++ b/utils/multierr/errors_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/utils/multierr" + "go.mondoo.com/cnquery/v10/utils/multierr" ) func TestMultiErr(t *testing.T) { diff --git a/utils/stringx/contains_test.go b/utils/stringx/contains_test.go index dac4cd438f..38ebf790b4 100644 --- a/utils/stringx/contains_test.go +++ b/utils/stringx/contains_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/utils/stringx" ) func TestContains(t *testing.T) { diff --git a/utils/stringx/dedup_test.go b/utils/stringx/dedup_test.go index 29c80406de..45225c4faf 100644 --- a/utils/stringx/dedup_test.go +++ b/utils/stringx/dedup_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/utils/stringx" ) func TestDedupStringArray(t *testing.T) { diff --git a/utils/stringx/intersection_test.go b/utils/stringx/intersection_test.go index 34742758de..3d6e2c4574 100644 --- a/utils/stringx/intersection_test.go +++ b/utils/stringx/intersection_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/utils/stringx" ) func TestIntersection(t *testing.T) { diff --git a/utils/stringx/merge_test.go b/utils/stringx/merge_test.go index 3245ba55ac..f241917a54 100644 --- a/utils/stringx/merge_test.go +++ b/utils/stringx/merge_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "go.mondoo.com/cnquery/v9/utils/stringx" + "go.mondoo.com/cnquery/v10/utils/stringx" ) func TestMerge(t *testing.T) {