From 59a9fd47264f3642541fbe331fc659b4df411bd0 Mon Sep 17 00:00:00 2001 From: Christian Zunker Date: Thu, 31 Aug 2023 13:39:07 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20gcp=20snapshot=20connection=20for?= =?UTF-8?q?=20v9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1613 Fixes #1627 Signed-off-by: Christian Zunker --- _motor/providers/os/snapshot/localcmd.go | 21 --- apps/cnquery/cmd/plugin.go | 23 ++- providers/builtin.go | 41 +++-- providers/gcp.resources.json | 1 + providers/gcp/config/config.go | 12 ++ providers/gcp/connection/connection.go | 34 ++-- .../gcpinstancesnapshot/platform.go | 0 .../gcpinstancesnapshot/provider.go | 158 +++++++++--------- .../gcpinstancesnapshot/snapshot.go | 23 ++- .../snapshot_debug_test.go | 0 .../gcpinstancesnapshot/snapshot_test.go | 0 providers/gcp/connection/shared/shared.go | 24 +++ providers/gcp/go.mod | 45 ++++- providers/gcp/go.sum | 112 +++++++++++++ providers/gcp/provider/provider.go | 90 ++++++---- providers/github/go.mod | 1 + providers/github/go.sum | 10 ++ providers/google-workspace/go.mod | 1 + providers/google-workspace/go.sum | 11 ++ providers/os/connection/filesystem.go | 4 +- providers/os/connection/local.go | 6 +- .../os/connection}/snapshot/blockdevices.go | 0 .../connection}/snapshot/blockdevices_test.go | 0 providers/os/connection/snapshot/localcmd.go | 21 +++ .../os/connection}/snapshot/mount_linux.go | 0 .../os/connection}/snapshot/mount_other.go | 0 .../connection}/snapshot/testdata/rhel8.json | 0 .../snapshot/testdata/rhel8_nolabels.json | 0 .../os/connection}/snapshot/volumemounter.go | 5 +- providers/os/provider/provider.go | 2 +- 30 files changed, 470 insertions(+), 175 deletions(-) delete mode 100644 _motor/providers/os/snapshot/localcmd.go create mode 100644 providers/gcp.resources.json rename {_motor/providers => providers/gcp/connection}/gcpinstancesnapshot/platform.go (100%) rename {_motor/providers => providers/gcp/connection}/gcpinstancesnapshot/provider.go (64%) rename {_motor/providers => providers/gcp/connection}/gcpinstancesnapshot/snapshot.go (90%) rename {_motor/providers => providers/gcp/connection}/gcpinstancesnapshot/snapshot_debug_test.go (100%) rename {_motor/providers => providers/gcp/connection}/gcpinstancesnapshot/snapshot_test.go (100%) create mode 100644 providers/gcp/connection/shared/shared.go rename {_motor/providers/os => providers/os/connection}/snapshot/blockdevices.go (100%) rename {_motor/providers/os => providers/os/connection}/snapshot/blockdevices_test.go (100%) create mode 100644 providers/os/connection/snapshot/localcmd.go rename {_motor/providers/os => providers/os/connection}/snapshot/mount_linux.go (100%) rename {_motor/providers/os => providers/os/connection}/snapshot/mount_other.go (100%) rename {_motor/providers/os => providers/os/connection}/snapshot/testdata/rhel8.json (100%) rename {_motor/providers/os => providers/os/connection}/snapshot/testdata/rhel8_nolabels.json (100%) rename {_motor/providers/os => providers/os/connection}/snapshot/volumemounter.go (96%) diff --git a/_motor/providers/os/snapshot/localcmd.go b/_motor/providers/os/snapshot/localcmd.go deleted file mode 100644 index 54048b2c7c..0000000000 --- a/_motor/providers/os/snapshot/localcmd.go +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Mondoo, Inc. -// SPDX-License-Identifier: BUSL-1.1 - -package snapshot - -import ( - "go.mondoo.com/cnquery/motor/providers/os" - "go.mondoo.com/cnquery/motor/providers/os/cmd" -) - -type LocalCommandRunner struct { - shell []string -} - -func (r *LocalCommandRunner) RunCommand(command string) (*os.Command, error) { - c := cmd.CommandRunner{Shell: r.shell} - args := []string{} - - res, err := c.Exec(command, args) - return res, err -} diff --git a/apps/cnquery/cmd/plugin.go b/apps/cnquery/cmd/plugin.go index 9cc32821da..4e124bd505 100644 --- a/apps/cnquery/cmd/plugin.go +++ b/apps/cnquery/cmd/plugin.go @@ -79,16 +79,23 @@ func (c *cnqueryPlugin) RunQuery(conf *run.RunQueryConfig, runtime *providers.Ru return nil } - err := runtime.Connect(&pp.ConnectReq{ - Features: config.Features, - Asset: conf.Inventory.Spec.Assets[0], - Upstream: nil, - }) - if err != nil { - return err + assetList := []*inventory.Asset{} + assetList = append(assetList, conf.Inventory.Spec.Assets...) + + if conf.Inventory.Spec.Assets[0].Connections[0].Discover != nil { + err := runtime.Connect(&pp.ConnectReq{ + Features: config.Features, + Asset: conf.Inventory.Spec.Assets[0], + Upstream: nil, + }) + if err != nil { + return err + } + if runtime.Provider.Connection.Inventory != nil { + assetList = append(assetList, runtime.Provider.Connection.Inventory.Spec.Assets...) + } } - assetList := runtime.Provider.Connection.Inventory.Spec.Assets log.Debug().Msgf("resolved %d assets", len(assetList)) filteredAssets := []*inventory.Asset{} diff --git a/providers/builtin.go b/providers/builtin.go index f620c36bc4..b8be4dbd06 100644 --- a/providers/builtin.go +++ b/providers/builtin.go @@ -17,6 +17,10 @@ import ( "go.mondoo.com/cnquery/providers-sdk/v1/resources" coreconf "go.mondoo.com/cnquery/providers/core/config" core "go.mondoo.com/cnquery/providers/core/provider" + gcpconf "go.mondoo.com/cnquery/providers/gcp/config" + gcp "go.mondoo.com/cnquery/providers/gcp/provider" + osconf "go.mondoo.com/cnquery/providers/os/config" + os "go.mondoo.com/cnquery/providers/os/provider" ) var BuiltinCoreID = coreconf.Config.ID @@ -24,8 +28,11 @@ var BuiltinCoreID = coreconf.Config.ID //go:embed core/resources/core.resources.json var coreInfo []byte -// //go:embed os/resources/os.resources.json -// var osInfo []byte +//go:embed gcp.resources.json +var gcpInfo []byte + +//go:embed os.resources.json +var osInfo []byte // //go:embed network/resources/network.resources.json // var networkInfo []byte @@ -47,16 +54,26 @@ var builtinProviders = map[string]*builtinProvider{ }, Config: &coreconf.Config, }, - // osconf.Config.ID: { - // Runtime: &RunningProvider{ - // Name: osconf.Config.Name, - // ID: osconf.Config.ID, - // Plugin: os.Init(), - // Schema: MustLoadSchema("os", osInfo), - // isClosed: false, - // }, - // Config: &osconf.Config, - // }, + osconf.Config.ID: { + Runtime: &RunningProvider{ + Name: osconf.Config.Name, + ID: osconf.Config.ID, + Plugin: os.Init(), + Schema: MustLoadSchema("os", osInfo), + isClosed: false, + }, + Config: &osconf.Config, + }, + gcpconf.Config.ID: { + Runtime: &RunningProvider{ + Name: gcpconf.Config.Name, + ID: gcpconf.Config.ID, + Plugin: gcp.Init(), + Schema: MustLoadSchema("gcp", gcpInfo), + isClosed: false, + }, + Config: &gcpconf.Config, + }, // networkconf.Config.ID: { // Runtime: &RunningProvider{ // Name: networkconf.Config.Name, diff --git a/providers/gcp.resources.json b/providers/gcp.resources.json new file mode 100644 index 0000000000..ee06150dda --- /dev/null +++ b/providers/gcp.resources.json @@ -0,0 +1 @@ +{"resources":{"gcloud":{"id":"gcloud","fields":{"compute":{"name":"compute","type":"\u001bgcloud.compute","title":"GCP Compute Engine","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"organization":{"name":"organization","type":"\u001bgcloud.organization","title":"GCP Cloud Organization","provider":"go.mondoo.com/cnquery/providers/gcp"},"project":{"name":"project","type":"\u001bgcloud.project","title":"Google Cloud Platform Project","provider":"go.mondoo.com/cnquery/providers/gcp"},"resourcemanager":{"name":"resourcemanager","type":"\u001bgcloud.resourcemanager","provider":"go.mondoo.com/cnquery/providers/gcp"},"sql":{"name":"sql","type":"\u001bgcloud.sql","title":"GCP Cloud SQL Resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"storage":{"name":"storage","type":"\u001bgcloud.storage","title":"GCP Cloud Storage","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"}}},"gcloud.compute":{"id":"gcp.project.computeService","name":"gcp.project.computeService","fields":{"address":{"name":"address","type":"\u001bgcp.project.computeService.address","title":"GCP Compute Address","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"addresses":{"name":"addresses","type":"\u0019\u001bgcp.project.computeService.address","title":"List of IP addresses","provider":"go.mondoo.com/cnquery/providers/gcp"},"attachedDisk":{"name":"attachedDisk","type":"\u001bgcp.project.computeService.attachedDisk","title":"GCP Compute Attached Disk","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"backendService":{"name":"backendService","type":"\u001bgcp.project.computeService.backendService","title":"GCP Compute backend service","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"backendServices":{"name":"backendServices","type":"\u0019\u001bgcp.project.computeService.backendService","title":"List of backend services","provider":"go.mondoo.com/cnquery/providers/gcp"},"disk":{"name":"disk","type":"\u001bgcp.project.computeService.disk","title":"GCP Compute Persistent Disk","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"disks":{"name":"disks","type":"\u0019\u001bgcp.project.computeService.disk","title":"Google Compute Engine disks in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"firewall":{"name":"firewall","type":"\u001bgcp.project.computeService.firewall","title":"GCP Compute Firewall","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"firewalls":{"name":"firewalls","type":"\u0019\u001bgcp.project.computeService.firewall","title":"Google Compute Engine firewalls in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"forwardingRule":{"name":"forwardingRule","type":"\u001bgcp.project.computeService.forwardingRule","title":"GCP Compute Forwarding Rules","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"forwardingRules":{"name":"forwardingRules","type":"\u0019\u001bgcp.project.computeService.forwardingRule","title":"List of forwarding rules","provider":"go.mondoo.com/cnquery/providers/gcp"},"image":{"name":"image","type":"\u001bgcp.project.computeService.image","title":"GCP Compute","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"images":{"name":"images","type":"\u0019\u001bgcp.project.computeService.image","title":"Google Compute Engine images in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"instance":{"name":"instance","type":"\u001bgcp.project.computeService.instance","title":"GCP Compute Instances","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"instances":{"name":"instances","type":"\u0019\u001bgcp.project.computeService.instance","title":"Google Compute Engine instances in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"machineType":{"name":"machineType","type":"\u001bgcp.project.computeService.machineType","title":"GCP Machine Type","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"machineTypes":{"name":"machineTypes","type":"\u0019\u001bgcp.project.computeService.machineType","title":"Google Compute Engine machine types in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"network":{"name":"network","type":"\u001bgcp.project.computeService.network","title":"GCP Compute VPC Network resource","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"networks":{"name":"networks","type":"\u0019\u001bgcp.project.computeService.network","title":"Google Compute Engine VPC Network in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"region":{"name":"region","type":"\u001bgcp.project.computeService.region","title":"GCP Compute Region","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"regions":{"name":"regions","type":"\u0019\u001bgcp.project.computeService.region","title":"Project Regions","provider":"go.mondoo.com/cnquery/providers/gcp"},"router":{"name":"router","type":"\u001bgcp.project.computeService.router","title":"GCP Compute Cloud Router","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"routers":{"name":"routers","type":"\u0019\u001bgcp.project.computeService.router","title":"Cloud Routers in project","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceaccount":{"name":"serviceaccount","type":"\u001bgcloud.compute.serviceaccount","title":"GCP Compute Service Account","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"snapshot":{"name":"snapshot","type":"\u001bgcp.project.computeService.snapshot","title":"GCP Compute Persistent Disk Snapshot","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"snapshots":{"name":"snapshots","type":"\u0019\u001bgcp.project.computeService.snapshot","title":"Google Compute Engine snapshots in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetwork":{"name":"subnetwork","type":"\u001bgcp.project.computeService.subnetwork","title":"GCP Compute VPC Network Partitioning","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetworks":{"name":"subnetworks","type":"\u0019\u001bgcp.project.computeService.subnetwork","title":"Logical partition of a Virtual Private Cloud network","provider":"go.mondoo.com/cnquery/providers/gcp"},"zone":{"name":"zone","type":"\u001bgcp.project.computeService.zone","title":"GCP Compute Zone","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"zones":{"name":"zones","type":"\u0019\u001bgcp.project.computeService.zone","title":"Project Zones","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Engine","private":true,"min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcloud.compute.instance":{"id":"gcp.project.computeService.instance","name":"gcp.project.computeService.instance","fields":{"canIpForward":{"name":"canIpForward","type":"\u0004","is_mandatory":true,"title":"Indicates if this instance is allowed to send and receive packets with non-matching destination or source IPs","provider":"go.mondoo.com/cnquery/providers/gcp"},"confidentialInstanceConfig":{"name":"confidentialInstanceConfig","type":"\n","is_mandatory":true,"title":"Confidential instance configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"cpuPlatform":{"name":"cpuPlatform","type":"\u0007","is_mandatory":true,"title":"The CPU platform used by this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"deletionProtection":{"name":"deletionProtection","type":"\u0004","is_mandatory":true,"title":"Indicates if instance is protected against deletion","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"User-friendly name for this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"disks":{"name":"disks","type":"\u0019\u001bgcp.project.computeService.attachedDisk","is_mandatory":true,"title":"Disks associated with this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableDisplay":{"name":"enableDisplay","type":"\u0004","is_mandatory":true,"title":"Indicates if the instance has Display enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableIntegrityMonitoring":{"name":"enableIntegrityMonitoring","type":"\u0004","is_mandatory":true,"title":"Indicates if Shielded Instance integrity monitoring is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableSecureBoot":{"name":"enableSecureBoot","type":"\u0004","is_mandatory":true,"title":"Indicates if Shielded Instance secure boot is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableVtpm":{"name":"enableVtpm","type":"\u0004","is_mandatory":true,"title":"Indicates if Shielded Instance vTPM is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"fingerprint":{"name":"fingerprint","type":"\u0007","is_mandatory":true,"title":"Instance Fingerprint","provider":"go.mondoo.com/cnquery/providers/gcp"},"guestAccelerators":{"name":"guestAccelerators","type":"\u0019\n","is_mandatory":true,"title":"Attached list of accelerator cards","provider":"go.mondoo.com/cnquery/providers/gcp"},"hostname":{"name":"hostname","type":"\u0007","is_mandatory":true,"title":"Hostname of the instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique identifier for the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"keyRevocationActionType":{"name":"keyRevocationActionType","type":"\u0007","is_mandatory":true,"title":"KeyRevocationActionType of the instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-provided labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"lastStartTimestamp":{"name":"lastStartTimestamp","type":"\t","is_mandatory":true,"title":"Last start timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"lastStopTimestamp":{"name":"lastStopTimestamp","type":"\t","is_mandatory":true,"title":"Last stop timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"lastSuspendedTimestamp":{"name":"lastSuspendedTimestamp","type":"\t","is_mandatory":true,"title":"Last suspended timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"machineType":{"name":"machineType","type":"\u001bgcp.project.computeService.machineType","title":"Machine type","provider":"go.mondoo.com/cnquery/providers/gcp"},"metadata":{"name":"metadata","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Instance Metadata","provider":"go.mondoo.com/cnquery/providers/gcp"},"minCpuPlatform":{"name":"minCpuPlatform","type":"\u0007","is_mandatory":true,"title":"Minimum CPU platform for the VM instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"User-friendly name for this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkInterfaces":{"name":"networkInterfaces","type":"\u0019\n","is_mandatory":true,"title":"Network configurations for this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"physicalHostResourceStatus":{"name":"physicalHostResourceStatus","type":"\u0007","is_mandatory":true,"title":"Resource status for physical host","provider":"go.mondoo.com/cnquery/providers/gcp"},"privateIpv6GoogleAccess":{"name":"privateIpv6GoogleAccess","type":"\u0007","is_mandatory":true,"title":"private IPv6 google access type for the VM","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"reservationAffinity":{"name":"reservationAffinity","type":"\n","is_mandatory":true,"title":"Reservations that this instance can consume from","provider":"go.mondoo.com/cnquery/providers/gcp"},"resourcePolicies":{"name":"resourcePolicies","type":"\u0019\u0007","is_mandatory":true,"title":"Resource policies applied to this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"scheduling":{"name":"scheduling","type":"\n","is_mandatory":true,"title":"Scheduling options","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccounts":{"name":"serviceAccounts","type":"\u0019\u001bgcp.project.computeService.serviceaccount","is_mandatory":true,"title":"Service accounts authorized for this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"sourceMachineImage":{"name":"sourceMachineImage","type":"\u0007","is_mandatory":true,"title":"Source machine image","provider":"go.mondoo.com/cnquery/providers/gcp"},"startRestricted":{"name":"startRestricted","type":"\u0004","is_mandatory":true,"title":"Indicates if VM has been restricted for start because Compute Engine has detected suspicious activity","provider":"go.mondoo.com/cnquery/providers/gcp"},"status":{"name":"status","type":"\u0007","is_mandatory":true,"title":"Instance status","provider":"go.mondoo.com/cnquery/providers/gcp"},"statusMessage":{"name":"statusMessage","type":"\u0007","is_mandatory":true,"title":"Human-readable explanation of the status","provider":"go.mondoo.com/cnquery/providers/gcp"},"tags":{"name":"tags","type":"\u0019\u0007","is_mandatory":true,"title":"Tags associated with this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"totalEgressBandwidthTier":{"name":"totalEgressBandwidthTier","type":"\u0007","is_mandatory":true,"title":"Network performance configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"zone":{"name":"zone","type":"\u001bgcp.project.computeService.zone","is_mandatory":true,"title":"Instance zone","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Instances","private":true,"min_mondoo_version":"5.15.0","defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcloud.compute.serviceaccount":{"id":"gcp.project.computeService.serviceaccount","name":"gcp.project.computeService.serviceaccount","fields":{"email":{"name":"email","type":"\u0007","is_mandatory":true,"title":"Service account email address","provider":"go.mondoo.com/cnquery/providers/gcp"},"scopes":{"name":"scopes","type":"\u0019\u0007","is_mandatory":true,"title":"Service account scopes","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Service Account","private":true,"min_mondoo_version":"5.15.0","defaults":"email","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcloud.organization":{"id":"gcp.organization","name":"gcp.organization","fields":{"accessApprovalSettings":{"name":"accessApprovalSettings","type":"\u001bgcp.accessApprovalSettings","title":"Access approval settings","provider":"go.mondoo.com/cnquery/providers/gcp"},"folders":{"name":"folders","type":"\u001bgcp.folders","title":"List of folders","provider":"go.mondoo.com/cnquery/providers/gcp"},"iamPolicy":{"name":"iamPolicy","type":"\u0019\u001bgcp.resourcemanager.binding","title":"Organization IAM policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Organization ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"lifecycleState":{"name":"lifecycleState","type":"\u0007","title":"Deprecated. Use `state` instead.","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","title":"Organization name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projects":{"name":"projects","type":"\u001bgcp.projects","title":"List of projects","provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\u0007","title":"Organization state","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Organization","min_mondoo_version":"5.15.0","defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcloud.project":{"id":"gcp.project","name":"gcp.project","fields":{"accessApprovalSettings":{"name":"accessApprovalSettings","type":"\u001bgcp.accessApprovalSettings","title":"Access approval settings","provider":"go.mondoo.com/cnquery/providers/gcp"},"apiKey":{"name":"apiKey","type":"\u001bgcp.project.apiKey","title":"GCP Project API key","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"apiKeys":{"name":"apiKeys","type":"\u0019\u001bgcp.project.apiKey","title":"API keys","provider":"go.mondoo.com/cnquery/providers/gcp"},"bigquery":{"name":"bigquery","type":"\u001bgcp.project.bigqueryService","title":"GCP BigQuery Resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"bigqueryService":{"name":"bigqueryService","type":"\u001bgcp.project.bigqueryService","title":"GCP BigQuery Resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"cloudFunction":{"name":"cloudFunction","type":"\u001bgcp.project.cloudFunction","title":"GCP Cloud Function","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"cloudFunctions":{"name":"cloudFunctions","type":"\u0019\u001bgcp.project.cloudFunction","title":"GCP Cloud Functions","provider":"go.mondoo.com/cnquery/providers/gcp"},"cloudRun":{"name":"cloudRun","type":"\u001bgcp.project.cloudRunService","title":"GCP Cloud Run Resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"cloudRunService":{"name":"cloudRunService","type":"\u001bgcp.project.cloudRunService","title":"GCP Cloud Run resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"commonInstanceMetadata":{"name":"commonInstanceMetadata","type":"\u001a\u0007\u0007","title":"Common instance metadata for the project","provider":"go.mondoo.com/cnquery/providers/gcp"},"compute":{"name":"compute","type":"\u001bgcp.project.computeService","title":"GCP Compute Resources for the Project","provider":"go.mondoo.com/cnquery/providers/gcp"},"computeService":{"name":"computeService","type":"\u001bgcp.project.computeService","title":"GCP Compute Engine","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"createTime":{"name":"createTime","type":"\t","title":"Creation time","provider":"go.mondoo.com/cnquery/providers/gcp"},"dataproc":{"name":"dataproc","type":"\u001bgcp.project.dataprocService","title":"GCP Dataproc resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"dataprocService":{"name":"dataprocService","type":"\u001bgcp.project.dataprocService","title":"GCP Dataproc Resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"dns":{"name":"dns","type":"\u001bgcp.project.dnsService","title":"GCP Cloud DNS","provider":"go.mondoo.com/cnquery/providers/gcp"},"dnsService":{"name":"dnsService","type":"\u001bgcp.project.dnsService","title":"GCP Cloud DNS","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"essentialContacts":{"name":"essentialContacts","type":"\u0019\u001bgcp.essentialContact","title":"GCP Contacts for the project","provider":"go.mondoo.com/cnquery/providers/gcp"},"gke":{"name":"gke","type":"\u001bgcp.project.gkeService","title":"GCP GKE resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"gkeService":{"name":"gkeService","type":"\u001bgcp.project.gkeService","title":"GCP GKE","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"iam":{"name":"iam","type":"\u001bgcp.project.iamService","title":"GCP IAM Resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"iamPolicy":{"name":"iamPolicy","type":"\u0019\u001bgcp.resourcemanager.binding","title":"IAM policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"iamService":{"name":"iamService","type":"\u001bgcp.project.iamService","title":"GCP IAM Resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique, user-assigned id of the project","provider":"go.mondoo.com/cnquery/providers/gcp"},"kms":{"name":"kms","type":"\u001bgcp.project.kmsService","title":"KMS-related resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"kmsService":{"name":"kmsService","type":"\u001bgcp.project.kmsService","title":"GCP KMS resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","title":"The labels associated with this project","provider":"go.mondoo.com/cnquery/providers/gcp"},"lifecycleState":{"name":"lifecycleState","type":"\u0007","title":"Deprecated. Use `state` instead.","provider":"go.mondoo.com/cnquery/providers/gcp"},"logging":{"name":"logging","type":"\u001bgcp.project.loggingservice","title":"Logging resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"loggingservice":{"name":"loggingservice","type":"\u001bgcp.project.loggingservice","title":"GCP Logging resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"monitoring":{"name":"monitoring","type":"\u001bgcp.project.monitoringService","title":"Monitoring resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"monitoringService":{"name":"monitoringService","type":"\u001bgcp.project.monitoringService","title":"GCP monitoring resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","title":"The unique resource name","provider":"go.mondoo.com/cnquery/providers/gcp"},"number":{"name":"number","type":"\u0007","title":"Deprecated. Use `id` instead.","provider":"go.mondoo.com/cnquery/providers/gcp"},"parentId":{"name":"parentId","type":"\u0007","title":"Parent ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"pubsub":{"name":"pubsub","type":"\u001bgcp.project.pubsubService","title":"GCP Pub/Sub-related Resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"pubsubService":{"name":"pubsubService","type":"\u001bgcp.project.pubsubService","title":"GCP Pub/Sub resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"recommendations":{"name":"recommendations","type":"\u0019\u001bgcp.recommendation","title":"List of recommendations","provider":"go.mondoo.com/cnquery/providers/gcp"},"services":{"name":"services","type":"\u0019\u001bgcp.service","title":"List of available and enabled services for project","provider":"go.mondoo.com/cnquery/providers/gcp"},"sql":{"name":"sql","type":"\u001bgcp.project.sqlService","title":"GCP Cloud SQL Resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"sqlService":{"name":"sqlService","type":"\u001bgcp.project.sqlService","title":"GCP Cloud SQL Resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\u0007","title":"The project lifecycle state","provider":"go.mondoo.com/cnquery/providers/gcp"},"storage":{"name":"storage","type":"\u001bgcp.project.storageService","title":"GCP Storage resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"storageService":{"name":"storageService","type":"\u001bgcp.project.storageService","title":"GCP Cloud Storage","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"Google Cloud Platform Project","min_mondoo_version":"5.15.0","defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcloud.resourcemanager":{"id":"gcloud.resourcemanager","fields":{"binding":{"name":"binding","type":"\u001bgcloud.resourcemanager.binding","title":"GCP Resource Manager Binding","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"}}},"gcloud.resourcemanager.binding":{"id":"gcp.resourcemanager.binding","name":"gcp.resourcemanager.binding","fields":{"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"members":{"name":"members","type":"\u0019\u0007","is_mandatory":true,"title":"Principals requesting access for a Google Cloud resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"role":{"name":"role","type":"\u0007","is_mandatory":true,"title":"Role assigned to the list of members or principals","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Resource Manager Binding","private":true,"min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcloud.sql":{"id":"gcp.project.sqlService","name":"gcp.project.sqlService","fields":{"instance":{"name":"instance","type":"\u001bgcp.project.sqlService.instance","title":"GCP Cloud SQL Instance","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"instances":{"name":"instances","type":"\u0019\u001bgcp.project.sqlService.instance","title":"List of Cloud SQL instances in the current project","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Resources","private":true,"min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcloud.sql.instance":{"id":"gcp.project.sqlService.instance","name":"gcp.project.sqlService.instance","fields":{"availableMaintenanceVersions":{"name":"availableMaintenanceVersions","type":"\u0019\u0007","is_mandatory":true,"title":"All maintenance versions applicable on the instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"backendType":{"name":"backendType","type":"\u0007","is_mandatory":true,"title":"Backend type","provider":"go.mondoo.com/cnquery/providers/gcp"},"connectionName":{"name":"connectionName","type":"\u0007","is_mandatory":true,"title":"Connection name of the instance used in connection strings","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"currentDiskSize":{"name":"currentDiskSize","type":"\u0005","is_mandatory":true,"title":"Current disk usage of the instance in bytes. This is deprecated; use monitoring should be used instead.","provider":"go.mondoo.com/cnquery/providers/gcp"},"database":{"name":"database","type":"\u001bgcp.project.sqlService.instance.database","title":"GCP Cloud SQL Instance database","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"databaseInstalledVersion":{"name":"databaseInstalledVersion","type":"\u0007","is_mandatory":true,"title":"Current database version running on the instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"databaseVersion":{"name":"databaseVersion","type":"\u0007","is_mandatory":true,"title":"Database engine type and version","provider":"go.mondoo.com/cnquery/providers/gcp"},"databases":{"name":"databases","type":"\u0019\u001bgcp.project.sqlService.instance.database","title":"List of the databases in the current SQL instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"diskEncryptionConfiguration":{"name":"diskEncryptionConfiguration","type":"\n","is_mandatory":true,"title":"Disk encryption configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"diskEncryptionStatus":{"name":"diskEncryptionStatus","type":"\n","is_mandatory":true,"title":"Disk encryption status","provider":"go.mondoo.com/cnquery/providers/gcp"},"failoverReplica":{"name":"failoverReplica","type":"\n","is_mandatory":true,"title":"Name and status of the failover replica","provider":"go.mondoo.com/cnquery/providers/gcp"},"gceZone":{"name":"gceZone","type":"\u0007","is_mandatory":true,"title":"Compute Engine zone that the instance is currently serviced from","provider":"go.mondoo.com/cnquery/providers/gcp"},"instanceType":{"name":"instanceType","type":"\u0007","is_mandatory":true,"title":"Instance type","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipAddresses":{"name":"ipAddresses","type":"\u0019\u001bgcp.project.sqlService.instance.ipMapping","is_mandatory":true,"title":"Assigned IP addresses","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipMapping":{"name":"ipMapping","type":"\u001bgcp.project.sqlService.instance.ipMapping","title":"GCP Cloud SQL Instance IP Mapping","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"maintenanceVersion":{"name":"maintenanceVersion","type":"\u0007","is_mandatory":true,"title":"Current software version on the instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"masterInstanceName":{"name":"masterInstanceName","type":"\u0007","is_mandatory":true,"title":"Name of the instance that will act as primary in the replica","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxDiskSize":{"name":"maxDiskSize","type":"\u0005","is_mandatory":true,"title":"Maximum disk size in bytes","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Instance name","provider":"go.mondoo.com/cnquery/providers/gcp"},"project":{"name":"project","type":"\u0007","is_mandatory":true,"title":"This is deprecated; use projectId instead.","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"region":{"name":"region","type":"\u0007","is_mandatory":true,"title":"Region","provider":"go.mondoo.com/cnquery/providers/gcp"},"replicaNames":{"name":"replicaNames","type":"\u0019\u0007","is_mandatory":true,"title":"Replicas","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccountEmailAddress":{"name":"serviceAccountEmailAddress","type":"\u0007","is_mandatory":true,"title":"Service account email address","provider":"go.mondoo.com/cnquery/providers/gcp"},"settings":{"name":"settings","type":"\u001bgcp.project.sqlService.instance.settings","is_mandatory":true,"title":"Settings","provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\u0007","is_mandatory":true,"title":"Instance state","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Instance","private":true,"min_mondoo_version":"5.15.0","defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcloud.storage":{"id":"gcp.project.storageService","name":"gcp.project.storageService","fields":{"bucket":{"name":"bucket","type":"\u001bgcp.project.storageService.bucket","title":"GCP Cloud Storage Bucket","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"buckets":{"name":"buckets","type":"\u0019\u001bgcp.project.storageService.bucket","title":"List all buckets","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Storage","private":true,"min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcloud.storage.bucket":{"id":"gcp.project.storageService.bucket","name":"gcp.project.storageService.bucket","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"iamConfiguration":{"name":"iamConfiguration","type":"\n","is_mandatory":true,"title":"IAM configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"iamPolicy":{"name":"iamPolicy","type":"\u0019\u001bgcp.resourcemanager.binding","title":"IAM policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Bucket ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-defined labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"location":{"name":"location","type":"\u0007","is_mandatory":true,"title":"Bucket location","provider":"go.mondoo.com/cnquery/providers/gcp"},"locationType":{"name":"locationType","type":"\u0007","is_mandatory":true,"title":"Bucket location type","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Bucket name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectNumber":{"name":"projectNumber","type":"\u0007","is_mandatory":true,"title":"Project number","provider":"go.mondoo.com/cnquery/providers/gcp"},"retentionPolicy":{"name":"retentionPolicy","type":"\n","is_mandatory":true,"title":"Retention policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"storageClass":{"name":"storageClass","type":"\u0007","is_mandatory":true,"title":"Default storage class","provider":"go.mondoo.com/cnquery/providers/gcp"},"updated":{"name":"updated","type":"\t","is_mandatory":true,"title":"Update timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Storage Bucket","private":true,"min_mondoo_version":"5.15.0","defaults":"id","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp":{"id":"gcp","fields":{"accessApprovalSettings":{"name":"accessApprovalSettings","type":"\u001bgcp.accessApprovalSettings","title":"GCP access approval settings","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"bigquery":{"name":"bigquery","type":"\u001bgcp.bigquery","title":"GCP BigQuery Resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"compute":{"name":"compute","type":"\u001bgcp.compute","title":"GCP Compute Engine","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"dns":{"name":"dns","type":"\u001bgcp.dns","title":"GCP Cloud DNS","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"essentialContact":{"name":"essentialContact","type":"\u001bgcp.essentialContact","title":"GCP Contact","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"folder":{"name":"folder","type":"\u001bgcp.folder","title":"GCP Folder","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"folders":{"name":"folders","type":"\u001bgcp.folders","title":"GCP Folders","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"organization":{"name":"organization","type":"\u001bgcp.organization","title":"GCP Cloud Organization","provider":"go.mondoo.com/cnquery/providers/gcp"},"project":{"name":"project","type":"\u001bgcp.project","title":"Google Cloud Platform Project","provider":"go.mondoo.com/cnquery/providers/gcp"},"projects":{"name":"projects","type":"\u001bgcp.projects","title":"GCP Projects","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"recommendation":{"name":"recommendation","type":"\u001bgcp.recommendation","title":"GCP recommendation along with a suggested action","provider":"go.mondoo.com/cnquery/providers/gcp"},"resourcemanager":{"name":"resourcemanager","type":"\u001bgcp.resourcemanager","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"service":{"name":"service","type":"\u001bgcp.service","title":"GCP Service","provider":"go.mondoo.com/cnquery/providers/gcp"},"sql":{"name":"sql","type":"\u001bgcp.sql","title":"GCP Cloud SQL Resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"storage":{"name":"storage","type":"\u001bgcp.storage","title":"GCP Cloud Storage","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"}}},"gcp.accessApprovalSettings":{"id":"gcp.accessApprovalSettings","name":"gcp.accessApprovalSettings","fields":{"activeKeyVersion":{"name":"activeKeyVersion","type":"\u0007","is_mandatory":true,"title":"Asymmetric crypto key version to use for signing approval requests","provider":"go.mondoo.com/cnquery/providers/gcp"},"ancestorHasActiveKeyVersion":{"name":"ancestorHasActiveKeyVersion","type":"\u0004","is_mandatory":true,"title":"Whether an ancestor of this project or folder has set active key version (unset for organizations since organizations do not have ancestors)","provider":"go.mondoo.com/cnquery/providers/gcp"},"enrolledAncestor":{"name":"enrolledAncestor","type":"\u0004","is_mandatory":true,"title":"Whether at least one service is enrolled for access approval in one or more ancestors of the project or folder (unset for organizations since organizations do not have ancestors)","provider":"go.mondoo.com/cnquery/providers/gcp"},"enrolledServices":{"name":"enrolledServices","type":"\u0019\n","is_mandatory":true,"title":"List of Google Cloud services for which the given resource has access approval enrolled","provider":"go.mondoo.com/cnquery/providers/gcp"},"invalidKeyVersion":{"name":"invalidKeyVersion","type":"\u0004","is_mandatory":true,"title":"Whether there is some configuration issue with the active key version configured at this level of the resource hierarchy","provider":"go.mondoo.com/cnquery/providers/gcp"},"notificationEmails":{"name":"notificationEmails","type":"\u0019\u0007","is_mandatory":true,"title":"List of email addresses to which notifications relating to approval requests should be sent","provider":"go.mondoo.com/cnquery/providers/gcp"},"resourcePath":{"name":"resourcePath","type":"\u0007","is_mandatory":true,"title":"Resource path","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP access approval settings","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.bigquery":{"id":"gcp.project.bigqueryService","name":"gcp.project.bigqueryService","fields":{"dataset":{"name":"dataset","type":"\u001bgcp.project.bigqueryService.dataset","title":"GCP BigQuery dataset","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"datasets":{"name":"datasets","type":"\u0019\u001bgcp.project.bigqueryService.dataset","title":"List of BigQuery datasets","provider":"go.mondoo.com/cnquery/providers/gcp"},"model":{"name":"model","type":"\u001bgcp.project.bigqueryService.model","title":"GCP BigQuery ML model","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"routine":{"name":"routine","type":"\u001bgcp.project.bigqueryService.routine","title":"GCP BigQuery routine","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"table":{"name":"table","type":"\u001bgcp.project.bigqueryService.table","title":"GCP BigQuery table","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP BigQuery Resources","private":true,"defaults":"projectId","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.compute":{"id":"gcp.project.computeService","name":"gcp.project.computeService","fields":{"address":{"name":"address","type":"\u001bgcp.project.computeService.address","title":"GCP Compute Address","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"addresses":{"name":"addresses","type":"\u0019\u001bgcp.project.computeService.address","title":"List of IP addresses","provider":"go.mondoo.com/cnquery/providers/gcp"},"attachedDisk":{"name":"attachedDisk","type":"\u001bgcp.project.computeService.attachedDisk","title":"GCP Compute Attached Disk","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"backendService":{"name":"backendService","type":"\u001bgcp.project.computeService.backendService","title":"GCP Compute backend service","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"backendServices":{"name":"backendServices","type":"\u0019\u001bgcp.project.computeService.backendService","title":"List of backend services","provider":"go.mondoo.com/cnquery/providers/gcp"},"disk":{"name":"disk","type":"\u001bgcp.project.computeService.disk","title":"GCP Compute Persistent Disk","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"disks":{"name":"disks","type":"\u0019\u001bgcp.project.computeService.disk","title":"Google Compute Engine disks in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"firewall":{"name":"firewall","type":"\u001bgcp.project.computeService.firewall","title":"GCP Compute Firewall","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"firewalls":{"name":"firewalls","type":"\u0019\u001bgcp.project.computeService.firewall","title":"Google Compute Engine firewalls in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"forwardingRule":{"name":"forwardingRule","type":"\u001bgcp.project.computeService.forwardingRule","title":"GCP Compute Forwarding Rules","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"forwardingRules":{"name":"forwardingRules","type":"\u0019\u001bgcp.project.computeService.forwardingRule","title":"List of forwarding rules","provider":"go.mondoo.com/cnquery/providers/gcp"},"image":{"name":"image","type":"\u001bgcp.project.computeService.image","title":"GCP Compute","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"images":{"name":"images","type":"\u0019\u001bgcp.project.computeService.image","title":"Google Compute Engine images in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"instance":{"name":"instance","type":"\u001bgcp.project.computeService.instance","title":"GCP Compute Instances","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"instances":{"name":"instances","type":"\u0019\u001bgcp.project.computeService.instance","title":"Google Compute Engine instances in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"machineType":{"name":"machineType","type":"\u001bgcp.project.computeService.machineType","title":"GCP Machine Type","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"machineTypes":{"name":"machineTypes","type":"\u0019\u001bgcp.project.computeService.machineType","title":"Google Compute Engine machine types in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"network":{"name":"network","type":"\u001bgcp.project.computeService.network","title":"GCP Compute VPC Network resource","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"networks":{"name":"networks","type":"\u0019\u001bgcp.project.computeService.network","title":"Google Compute Engine VPC Network in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"region":{"name":"region","type":"\u001bgcp.project.computeService.region","title":"GCP Compute Region","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"regions":{"name":"regions","type":"\u0019\u001bgcp.project.computeService.region","title":"Project Regions","provider":"go.mondoo.com/cnquery/providers/gcp"},"router":{"name":"router","type":"\u001bgcp.project.computeService.router","title":"GCP Compute Cloud Router","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"routers":{"name":"routers","type":"\u0019\u001bgcp.project.computeService.router","title":"Cloud Routers in project","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceaccount":{"name":"serviceaccount","type":"\u001bgcloud.compute.serviceaccount","title":"GCP Compute Service Account","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"snapshot":{"name":"snapshot","type":"\u001bgcp.project.computeService.snapshot","title":"GCP Compute Persistent Disk Snapshot","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"snapshots":{"name":"snapshots","type":"\u0019\u001bgcp.project.computeService.snapshot","title":"Google Compute Engine snapshots in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetwork":{"name":"subnetwork","type":"\u001bgcp.project.computeService.subnetwork","title":"GCP Compute VPC Network Partitioning","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetworks":{"name":"subnetworks","type":"\u0019\u001bgcp.project.computeService.subnetwork","title":"Logical partition of a Virtual Private Cloud network","provider":"go.mondoo.com/cnquery/providers/gcp"},"zone":{"name":"zone","type":"\u001bgcp.project.computeService.zone","title":"GCP Compute Zone","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"zones":{"name":"zones","type":"\u0019\u001bgcp.project.computeService.zone","title":"Project Zones","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Engine","private":true,"min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.dns":{"id":"gcp.project.dnsService","name":"gcp.project.dnsService","fields":{"managedZones":{"name":"managedZones","type":"\u0019\u001bgcp.project.dnsService.managedzone","title":"Cloud DNS managed zone in project","provider":"go.mondoo.com/cnquery/providers/gcp"},"managedzone":{"name":"managedzone","type":"\u001bgcp.project.dnsService.managedzone","title":"Cloud DNS managed zone is a resource that represents a DNS zone hosted by the Cloud DNS service","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"policies":{"name":"policies","type":"\u0019\u001bgcp.project.dnsService.policy","title":"Cloud DNS rules in project","provider":"go.mondoo.com/cnquery/providers/gcp"},"policy":{"name":"policy","type":"\u001bgcp.project.dnsService.policy","title":"Cloud DNS rules applied to one or more Virtual Private Cloud resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"recordset":{"name":"recordset","type":"\u001bgcp.project.dnsService.recordset","title":"Cloud DNS RecordSet","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud DNS","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.essentialContact":{"id":"gcp.essentialContact","name":"gcp.essentialContact","fields":{"email":{"name":"email","type":"\u0007","is_mandatory":true,"title":"Email address to send notifications to","provider":"go.mondoo.com/cnquery/providers/gcp"},"languageTag":{"name":"languageTag","type":"\u0007","is_mandatory":true,"title":"Preferred language for notifications, as a ISO 639-1 language code","provider":"go.mondoo.com/cnquery/providers/gcp"},"notificationCategories":{"name":"notificationCategories","type":"\u0019\u0007","is_mandatory":true,"title":"Categories of notifications that the contact will receive communication for","provider":"go.mondoo.com/cnquery/providers/gcp"},"resourcePath":{"name":"resourcePath","type":"\u0007","is_mandatory":true,"title":"Full resource path","provider":"go.mondoo.com/cnquery/providers/gcp"},"validated":{"name":"validated","type":"\t","is_mandatory":true,"title":"Last time the validation state was updated","provider":"go.mondoo.com/cnquery/providers/gcp"},"validationState":{"name":"validationState","type":"\u0007","is_mandatory":true,"title":"Validity of the contact","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Contact","private":true,"defaults":"email notificationCategories","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.folder":{"id":"gcp.folder","name":"gcp.folder","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"folders":{"name":"folders","type":"\u001bgcp.folders","title":"List of folders","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Folder ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Folder name","provider":"go.mondoo.com/cnquery/providers/gcp"},"parentId":{"name":"parentId","type":"\u0007","is_mandatory":true,"title":"Parent ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"projects":{"name":"projects","type":"\u001bgcp.projects","title":"List of projects","provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\u0007","is_mandatory":true,"title":"Folder state","provider":"go.mondoo.com/cnquery/providers/gcp"},"updated":{"name":"updated","type":"\t","is_mandatory":true,"title":"Update timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Folder","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.folders":{"id":"gcp.folders","name":"gcp.folders","fields":{"children":{"name":"children","type":"\u0019\u001bgcp.folder","title":"List of the children folders only (non-recursive)","provider":"go.mondoo.com/cnquery/providers/gcp"},"list":{"name":"list","type":"\u0019\u001bgcp.folder","provider":"go.mondoo.com/cnquery/providers/gcp"},"parentId":{"name":"parentId","type":"\u0007","is_mandatory":true,"title":"Parent ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"list_type":"\u001bgcp.folder","title":"GCP Folders","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.organization":{"id":"gcp.organization","name":"gcp.organization","fields":{"accessApprovalSettings":{"name":"accessApprovalSettings","type":"\u001bgcp.accessApprovalSettings","title":"Access approval settings","provider":"go.mondoo.com/cnquery/providers/gcp"},"folders":{"name":"folders","type":"\u001bgcp.folders","title":"List of folders","provider":"go.mondoo.com/cnquery/providers/gcp"},"iamPolicy":{"name":"iamPolicy","type":"\u0019\u001bgcp.resourcemanager.binding","title":"Organization IAM policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Organization ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"lifecycleState":{"name":"lifecycleState","type":"\u0007","title":"Deprecated. Use `state` instead.","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","title":"Organization name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projects":{"name":"projects","type":"\u001bgcp.projects","title":"List of projects","provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\u0007","title":"Organization state","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Organization","min_mondoo_version":"5.15.0","defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project":{"id":"gcp.project","name":"gcp.project","fields":{"accessApprovalSettings":{"name":"accessApprovalSettings","type":"\u001bgcp.accessApprovalSettings","title":"Access approval settings","provider":"go.mondoo.com/cnquery/providers/gcp"},"apiKey":{"name":"apiKey","type":"\u001bgcp.project.apiKey","title":"GCP Project API key","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"apiKeys":{"name":"apiKeys","type":"\u0019\u001bgcp.project.apiKey","title":"API keys","provider":"go.mondoo.com/cnquery/providers/gcp"},"bigquery":{"name":"bigquery","type":"\u001bgcp.project.bigqueryService","title":"GCP BigQuery Resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"bigqueryService":{"name":"bigqueryService","type":"\u001bgcp.project.bigqueryService","title":"GCP BigQuery Resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"cloudFunction":{"name":"cloudFunction","type":"\u001bgcp.project.cloudFunction","title":"GCP Cloud Function","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"cloudFunctions":{"name":"cloudFunctions","type":"\u0019\u001bgcp.project.cloudFunction","title":"GCP Cloud Functions","provider":"go.mondoo.com/cnquery/providers/gcp"},"cloudRun":{"name":"cloudRun","type":"\u001bgcp.project.cloudRunService","title":"GCP Cloud Run Resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"cloudRunService":{"name":"cloudRunService","type":"\u001bgcp.project.cloudRunService","title":"GCP Cloud Run resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"commonInstanceMetadata":{"name":"commonInstanceMetadata","type":"\u001a\u0007\u0007","title":"Common instance metadata for the project","provider":"go.mondoo.com/cnquery/providers/gcp"},"compute":{"name":"compute","type":"\u001bgcp.project.computeService","title":"GCP Compute Resources for the Project","provider":"go.mondoo.com/cnquery/providers/gcp"},"computeService":{"name":"computeService","type":"\u001bgcp.project.computeService","title":"GCP Compute Engine","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"createTime":{"name":"createTime","type":"\t","title":"Creation time","provider":"go.mondoo.com/cnquery/providers/gcp"},"dataproc":{"name":"dataproc","type":"\u001bgcp.project.dataprocService","title":"GCP Dataproc resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"dataprocService":{"name":"dataprocService","type":"\u001bgcp.project.dataprocService","title":"GCP Dataproc Resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"dns":{"name":"dns","type":"\u001bgcp.project.dnsService","title":"GCP Cloud DNS","provider":"go.mondoo.com/cnquery/providers/gcp"},"dnsService":{"name":"dnsService","type":"\u001bgcp.project.dnsService","title":"GCP Cloud DNS","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"essentialContacts":{"name":"essentialContacts","type":"\u0019\u001bgcp.essentialContact","title":"GCP Contacts for the project","provider":"go.mondoo.com/cnquery/providers/gcp"},"gke":{"name":"gke","type":"\u001bgcp.project.gkeService","title":"GCP GKE resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"gkeService":{"name":"gkeService","type":"\u001bgcp.project.gkeService","title":"GCP GKE","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"iam":{"name":"iam","type":"\u001bgcp.project.iamService","title":"GCP IAM Resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"iamPolicy":{"name":"iamPolicy","type":"\u0019\u001bgcp.resourcemanager.binding","title":"IAM policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"iamService":{"name":"iamService","type":"\u001bgcp.project.iamService","title":"GCP IAM Resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique, user-assigned id of the project","provider":"go.mondoo.com/cnquery/providers/gcp"},"kms":{"name":"kms","type":"\u001bgcp.project.kmsService","title":"KMS-related resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"kmsService":{"name":"kmsService","type":"\u001bgcp.project.kmsService","title":"GCP KMS resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","title":"The labels associated with this project","provider":"go.mondoo.com/cnquery/providers/gcp"},"lifecycleState":{"name":"lifecycleState","type":"\u0007","title":"Deprecated. Use `state` instead.","provider":"go.mondoo.com/cnquery/providers/gcp"},"logging":{"name":"logging","type":"\u001bgcp.project.loggingservice","title":"Logging resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"loggingservice":{"name":"loggingservice","type":"\u001bgcp.project.loggingservice","title":"GCP Logging resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"monitoring":{"name":"monitoring","type":"\u001bgcp.project.monitoringService","title":"Monitoring resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"monitoringService":{"name":"monitoringService","type":"\u001bgcp.project.monitoringService","title":"GCP monitoring resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","title":"The unique resource name","provider":"go.mondoo.com/cnquery/providers/gcp"},"number":{"name":"number","type":"\u0007","title":"Deprecated. Use `id` instead.","provider":"go.mondoo.com/cnquery/providers/gcp"},"parentId":{"name":"parentId","type":"\u0007","title":"Parent ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"pubsub":{"name":"pubsub","type":"\u001bgcp.project.pubsubService","title":"GCP Pub/Sub-related Resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"pubsubService":{"name":"pubsubService","type":"\u001bgcp.project.pubsubService","title":"GCP Pub/Sub resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"recommendations":{"name":"recommendations","type":"\u0019\u001bgcp.recommendation","title":"List of recommendations","provider":"go.mondoo.com/cnquery/providers/gcp"},"services":{"name":"services","type":"\u0019\u001bgcp.service","title":"List of available and enabled services for project","provider":"go.mondoo.com/cnquery/providers/gcp"},"sql":{"name":"sql","type":"\u001bgcp.project.sqlService","title":"GCP Cloud SQL Resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"sqlService":{"name":"sqlService","type":"\u001bgcp.project.sqlService","title":"GCP Cloud SQL Resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\u0007","title":"The project lifecycle state","provider":"go.mondoo.com/cnquery/providers/gcp"},"storage":{"name":"storage","type":"\u001bgcp.project.storageService","title":"GCP Storage resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"storageService":{"name":"storageService","type":"\u001bgcp.project.storageService","title":"GCP Cloud Storage","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"Google Cloud Platform Project","min_mondoo_version":"5.15.0","defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.apiKey":{"id":"gcp.project.apiKey","name":"gcp.project.apiKey","fields":{"annotations":{"name":"annotations","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Annotations","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"deleted":{"name":"deleted","type":"\t","is_mandatory":true,"title":"Deletion timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"The ID of the key","provider":"go.mondoo.com/cnquery/providers/gcp"},"keyString":{"name":"keyString","type":"\u0007","is_mandatory":true,"title":"Encrypted and signed value held by this key","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Human-readable display name of this key","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"resourcePath":{"name":"resourcePath","type":"\u0007","is_mandatory":true,"title":"Full resource path","provider":"go.mondoo.com/cnquery/providers/gcp"},"restrictions":{"name":"restrictions","type":"\u001bgcp.project.apiKey.restrictions","is_mandatory":true,"title":"API key restrictions","provider":"go.mondoo.com/cnquery/providers/gcp"},"updated":{"name":"updated","type":"\t","is_mandatory":true,"title":"Update timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Project API key","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.apiKey.restrictions":{"id":"gcp.project.apiKey.restrictions","name":"gcp.project.apiKey.restrictions","fields":{"androidKeyRestrictions":{"name":"androidKeyRestrictions","type":"\n","is_mandatory":true,"title":"The Android apps that are allowed to use the key","provider":"go.mondoo.com/cnquery/providers/gcp"},"apiTargets":{"name":"apiTargets","type":"\u0019\n","is_mandatory":true,"title":"A restriction for a specific service and optionally one or more specific methods","provider":"go.mondoo.com/cnquery/providers/gcp"},"browserKeyRestrictions":{"name":"browserKeyRestrictions","type":"\n","is_mandatory":true,"title":"The HTTP referrers that are allowed to use the key","provider":"go.mondoo.com/cnquery/providers/gcp"},"iosKeyRestrictions":{"name":"iosKeyRestrictions","type":"\n","is_mandatory":true,"title":"The iOS apps that are allowed to use the key","provider":"go.mondoo.com/cnquery/providers/gcp"},"parentResourcePath":{"name":"parentResourcePath","type":"\u0007","is_mandatory":true,"title":"Parent resource path","provider":"go.mondoo.com/cnquery/providers/gcp"},"serverKeyRestrictions":{"name":"serverKeyRestrictions","type":"\n","is_mandatory":true,"title":"The IP addresses that are allowed to use the key","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Project API key restrictions","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.bigqueryService":{"id":"gcp.project.bigqueryService","name":"gcp.project.bigqueryService","fields":{"dataset":{"name":"dataset","type":"\u001bgcp.project.bigqueryService.dataset","title":"GCP BigQuery dataset","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"datasets":{"name":"datasets","type":"\u0019\u001bgcp.project.bigqueryService.dataset","title":"List of BigQuery datasets","provider":"go.mondoo.com/cnquery/providers/gcp"},"model":{"name":"model","type":"\u001bgcp.project.bigqueryService.model","title":"GCP BigQuery ML model","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"routine":{"name":"routine","type":"\u001bgcp.project.bigqueryService.routine","title":"GCP BigQuery routine","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"table":{"name":"table","type":"\u001bgcp.project.bigqueryService.table","title":"GCP BigQuery table","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP BigQuery Resources","private":true,"defaults":"projectId","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.bigqueryService.dataset":{"id":"gcp.project.bigqueryService.dataset","name":"gcp.project.bigqueryService.dataset","fields":{"access":{"name":"access","type":"\u0019\u001bgcp.project.bigqueryService.dataset.accessEntry","is_mandatory":true,"title":"Access permissions","provider":"go.mondoo.com/cnquery/providers/gcp"},"accessEntry":{"name":"accessEntry","type":"\u001bgcp.project.bigqueryService.dataset.accessEntry","title":"GCP BigQuery dataset access entry","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"User-friendly description of this dataset","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Dataset ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"kmsName":{"name":"kmsName","type":"\u0007","is_mandatory":true,"title":"Cloud KMS encryption key that will be used to protect BigQuery table","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-provided labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"location":{"name":"location","type":"\u0007","is_mandatory":true,"title":"Geo location of the dataset","provider":"go.mondoo.com/cnquery/providers/gcp"},"models":{"name":"models","type":"\u0019\u001bgcp.project.bigqueryService.model","title":"Returns models in the Dataset","provider":"go.mondoo.com/cnquery/providers/gcp"},"modified":{"name":"modified","type":"\t","is_mandatory":true,"title":"Modified timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"User-friendly name for this dataset","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"routines":{"name":"routines","type":"\u0019\u001bgcp.project.bigqueryService.routine","title":"Returns routines in the Dataset","provider":"go.mondoo.com/cnquery/providers/gcp"},"tables":{"name":"tables","type":"\u0019\u001bgcp.project.bigqueryService.table","title":"Returns tables in the Dataset","provider":"go.mondoo.com/cnquery/providers/gcp"},"tags":{"name":"tags","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Tags associated with this dataset","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP BigQuery dataset","private":true,"defaults":"id name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.bigqueryService.dataset.accessEntry":{"id":"gcp.project.bigqueryService.dataset.accessEntry","name":"gcp.project.bigqueryService.dataset.accessEntry","fields":{"datasetId":{"name":"datasetId","type":"\u0007","is_mandatory":true,"title":"Dataset ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"datasetRef":{"name":"datasetRef","type":"\n","is_mandatory":true,"title":"Resources within a dataset granted access","provider":"go.mondoo.com/cnquery/providers/gcp"},"entity":{"name":"entity","type":"\u0007","is_mandatory":true,"title":"Entity (individual or group) granted access","provider":"go.mondoo.com/cnquery/providers/gcp"},"entityType":{"name":"entityType","type":"\u0007","is_mandatory":true,"title":"Type of the entity","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"role":{"name":"role","type":"\u0007","is_mandatory":true,"title":"Role of the entity","provider":"go.mondoo.com/cnquery/providers/gcp"},"routineRef":{"name":"routineRef","type":"\n","is_mandatory":true,"title":"Routine granted access (only UDF currently supported)","provider":"go.mondoo.com/cnquery/providers/gcp"},"viewRef":{"name":"viewRef","type":"\n","is_mandatory":true,"title":"View granted access (entityType must be ViewEntity)","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP BigQuery dataset access entry","private":true,"defaults":"role entity entityType","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.bigqueryService.model":{"id":"gcp.project.bigqueryService.model","name":"gcp.project.bigqueryService.model","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"datasetId":{"name":"datasetId","type":"\u0007","is_mandatory":true,"title":"Dataset ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"User-friendly description of the model","provider":"go.mondoo.com/cnquery/providers/gcp"},"expirationTime":{"name":"expirationTime","type":"\t","is_mandatory":true,"title":"Expiration time of the model","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Model ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"kmsName":{"name":"kmsName","type":"\u0007","is_mandatory":true,"title":"Cloud KMS encryption key that will be used to protect BigQuery model","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-provided labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"location":{"name":"location","type":"\u0007","is_mandatory":true,"title":"Geographic location","provider":"go.mondoo.com/cnquery/providers/gcp"},"modified":{"name":"modified","type":"\t","is_mandatory":true,"title":"Modified timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"User-friendly name of the model","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"type":{"name":"type","type":"\u0007","is_mandatory":true,"title":"Type of the mode","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP BigQuery ML model","private":true,"defaults":"id","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.bigqueryService.routine":{"id":"gcp.project.bigqueryService.routine","name":"gcp.project.bigqueryService.routine","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"datasetId":{"name":"datasetId","type":"\u0007","is_mandatory":true,"title":"Dataset ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"User-friendly description of the routine","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Routine ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"language":{"name":"language","type":"\u0007","is_mandatory":true,"title":"Language of the routine, such as SQL or JAVASCRIPT","provider":"go.mondoo.com/cnquery/providers/gcp"},"modified":{"name":"modified","type":"\t","is_mandatory":true,"title":"Modified timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"type":{"name":"type","type":"\u0007","is_mandatory":true,"title":"Type of routine","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP BigQuery routine","private":true,"defaults":"id","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.bigqueryService.table":{"id":"gcp.project.bigqueryService.table","name":"gcp.project.bigqueryService.table","fields":{"clusteringFields":{"name":"clusteringFields","type":"\n","is_mandatory":true,"title":"Data clustering configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"datasetId":{"name":"datasetId","type":"\u0007","is_mandatory":true,"title":"Dataset ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"User-friendly description of the table","provider":"go.mondoo.com/cnquery/providers/gcp"},"expirationTime":{"name":"expirationTime","type":"\t","is_mandatory":true,"title":"Time when this table expires","provider":"go.mondoo.com/cnquery/providers/gcp"},"externalDataConfig":{"name":"externalDataConfig","type":"\n","is_mandatory":true,"title":"Information about table stored outside of BigQuery.","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Table ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"kmsName":{"name":"kmsName","type":"\u0007","is_mandatory":true,"title":"Cloud KMS encryption key that will be used to protect BigQuery table","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-provided labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"location":{"name":"location","type":"\u0007","is_mandatory":true,"title":"Location of the table","provider":"go.mondoo.com/cnquery/providers/gcp"},"materializedView":{"name":"materializedView","type":"\n","is_mandatory":true,"title":"Information for materialized views","provider":"go.mondoo.com/cnquery/providers/gcp"},"modified":{"name":"modified","type":"\t","is_mandatory":true,"title":"Modified timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"The user-friendly name for the table","provider":"go.mondoo.com/cnquery/providers/gcp"},"numBytes":{"name":"numBytes","type":"\u0005","is_mandatory":true,"title":"Size of the table in bytes","provider":"go.mondoo.com/cnquery/providers/gcp"},"numLongTermBytes":{"name":"numLongTermBytes","type":"\u0005","is_mandatory":true,"title":"Number of bytes in the table considered \"long-term storage\" for reduced billing purposes","provider":"go.mondoo.com/cnquery/providers/gcp"},"numRows":{"name":"numRows","type":"\u0005","is_mandatory":true,"title":"Number of rows of data in this table","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"rangePartitioning":{"name":"rangePartitioning","type":"\n","is_mandatory":true,"title":"Integer-range-based partitioning on a table","provider":"go.mondoo.com/cnquery/providers/gcp"},"requirePartitionFilter":{"name":"requirePartitionFilter","type":"\u0004","is_mandatory":true,"title":"Indicates if queries that reference this table must specify a partition filter","provider":"go.mondoo.com/cnquery/providers/gcp"},"schema":{"name":"schema","type":"\u0019\n","is_mandatory":true,"title":"Table schema","provider":"go.mondoo.com/cnquery/providers/gcp"},"snapshotTime":{"name":"snapshotTime","type":"\t","is_mandatory":true,"title":"Indicates when the base table was snapshot","provider":"go.mondoo.com/cnquery/providers/gcp"},"timePartitioning":{"name":"timePartitioning","type":"\n","is_mandatory":true,"title":"Time-based date partitioning on a table","provider":"go.mondoo.com/cnquery/providers/gcp"},"type":{"name":"type","type":"\u0007","is_mandatory":true,"title":"Table Type","provider":"go.mondoo.com/cnquery/providers/gcp"},"useLegacySQL":{"name":"useLegacySQL","type":"\u0004","is_mandatory":true,"title":"Indicates if Legacy SQL is used for the view query","provider":"go.mondoo.com/cnquery/providers/gcp"},"viewQuery":{"name":"viewQuery","type":"\u0007","is_mandatory":true,"title":"Query to use for a logical view","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP BigQuery table","private":true,"defaults":"id","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.cloudFunction":{"id":"gcp.project.cloudFunction","name":"gcp.project.cloudFunction","fields":{"availableMemoryMb":{"name":"availableMemoryMb","type":"\u0005","is_mandatory":true,"title":"Amount of memory in MB available for a function","provider":"go.mondoo.com/cnquery/providers/gcp"},"buildEnvVars":{"name":"buildEnvVars","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Build environment variables that are available during build time","provider":"go.mondoo.com/cnquery/providers/gcp"},"buildId":{"name":"buildId","type":"\u0007","is_mandatory":true,"title":"Cloud Build ID of the latest successful deployment of the function","provider":"go.mondoo.com/cnquery/providers/gcp"},"buildName":{"name":"buildName","type":"\u0007","is_mandatory":true,"title":"Cloud Build name of the function deployment","provider":"go.mondoo.com/cnquery/providers/gcp"},"buildWorkerPool":{"name":"buildWorkerPool","type":"\u0007","is_mandatory":true,"title":"Name of the Cloud Build custom WorkerPool that should be used to build the function","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Cloud Function description","provider":"go.mondoo.com/cnquery/providers/gcp"},"dockerRegistry":{"name":"dockerRegistry","type":"\u0007","is_mandatory":true,"title":"Docker registry to use for this deployment","provider":"go.mondoo.com/cnquery/providers/gcp"},"dockerRepository":{"name":"dockerRepository","type":"\u0007","is_mandatory":true,"title":"User-managed repository created in Artifact Registry","provider":"go.mondoo.com/cnquery/providers/gcp"},"egressSettings":{"name":"egressSettings","type":"\u0007","is_mandatory":true,"title":"Egress settings for the connector controlling what traffic is diverted","provider":"go.mondoo.com/cnquery/providers/gcp"},"entryPoint":{"name":"entryPoint","type":"\u0007","is_mandatory":true,"title":"Name of the function (as defined in source code) that is executed","provider":"go.mondoo.com/cnquery/providers/gcp"},"envVars":{"name":"envVars","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Environment variables that are available during function execution","provider":"go.mondoo.com/cnquery/providers/gcp"},"eventTrigger":{"name":"eventTrigger","type":"\n","is_mandatory":true,"title":"Source that fires events in response to a condition in another service","provider":"go.mondoo.com/cnquery/providers/gcp"},"httpsTrigger":{"name":"httpsTrigger","type":"\n","is_mandatory":true,"title":"HTTPS endpoint of source that can be triggered via URL","provider":"go.mondoo.com/cnquery/providers/gcp"},"ingressSettings":{"name":"ingressSettings","type":"\u0007","is_mandatory":true,"title":"Ingress settings for the function controlling what traffic can reach","provider":"go.mondoo.com/cnquery/providers/gcp"},"kmsKeyName":{"name":"kmsKeyName","type":"\u0007","is_mandatory":true,"title":"Resource name of a KMS crypto key used to encrypt/decrypt function resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Labels associated with this cloud function","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxInstances":{"name":"maxInstances","type":"\u0005","is_mandatory":true,"title":"Maximum number of function instances that may coexist at a given time","provider":"go.mondoo.com/cnquery/providers/gcp"},"minInstances":{"name":"minInstances","type":"\u0005","is_mandatory":true,"title":"Lower bound for the number of function instances that may coexist at a given time","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Cloud Function name","provider":"go.mondoo.com/cnquery/providers/gcp"},"network":{"name":"network","type":"\u0007","is_mandatory":true,"title":"VPC network that this cloud function can connect to","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"runtime":{"name":"runtime","type":"\u0007","is_mandatory":true,"title":"Runtime in which to run the function","provider":"go.mondoo.com/cnquery/providers/gcp"},"secretEnvVars":{"name":"secretEnvVars","type":"\u001a\u0007\n","is_mandatory":true,"title":"Secret environment variables","provider":"go.mondoo.com/cnquery/providers/gcp"},"secretVolumes":{"name":"secretVolumes","type":"\u0019\n","is_mandatory":true,"title":"Secret volumes","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccountEmail":{"name":"serviceAccountEmail","type":"\u0007","is_mandatory":true,"title":"Email of the function's service account","provider":"go.mondoo.com/cnquery/providers/gcp"},"sourceArchiveUrl":{"name":"sourceArchiveUrl","type":"\u0007","is_mandatory":true,"title":"Location of the archive with the function's source code","provider":"go.mondoo.com/cnquery/providers/gcp"},"sourceRepository":{"name":"sourceRepository","type":"\n","is_mandatory":true,"title":"Repository reference for the function's source code","provider":"go.mondoo.com/cnquery/providers/gcp"},"sourceUploadUrl":{"name":"sourceUploadUrl","type":"\u0007","is_mandatory":true,"title":"Location of the upload with the function's source code","provider":"go.mondoo.com/cnquery/providers/gcp"},"status":{"name":"status","type":"\u0007","is_mandatory":true,"title":"Status of the function deployment","provider":"go.mondoo.com/cnquery/providers/gcp"},"timeout":{"name":"timeout","type":"\t","is_mandatory":true,"title":"Function execution timeout","provider":"go.mondoo.com/cnquery/providers/gcp"},"updated":{"name":"updated","type":"\t","is_mandatory":true,"title":"Update timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"versionId":{"name":"versionId","type":"\u0005","is_mandatory":true,"title":"Version identifier of the cloud function","provider":"go.mondoo.com/cnquery/providers/gcp"},"vpcConnector":{"name":"vpcConnector","type":"\u0007","is_mandatory":true,"title":"VPC network connector that this cloud function can connect to","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Function","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.cloudRunService":{"id":"gcp.project.cloudRunService","name":"gcp.project.cloudRunService","fields":{"condition":{"name":"condition","type":"\u001bgcp.project.cloudRunService.condition","title":"GCP Cloud Run condition","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"container":{"name":"container","type":"\u001bgcp.project.cloudRunService.container","title":"GCP Cloud Run service revision template container","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"job":{"name":"job","type":"\u001bgcp.project.cloudRunService.job","title":"GCP Cloud Run job","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"jobs":{"name":"jobs","type":"\u0019\u001bgcp.project.cloudRunService.job","title":"List of jobs","provider":"go.mondoo.com/cnquery/providers/gcp"},"operation":{"name":"operation","type":"\u001bgcp.project.cloudRunService.operation","title":"GCP Cloud Run operation","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"operations":{"name":"operations","type":"\u0019\u001bgcp.project.cloudRunService.operation","title":"List of operations","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"regions":{"name":"regions","type":"\u0019\u0007","title":"List of available regions","provider":"go.mondoo.com/cnquery/providers/gcp"},"service":{"name":"service","type":"\u001bgcp.project.cloudRunService.service","title":"GCP Cloud Run service","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"services":{"name":"services","type":"\u0019\u001bgcp.project.cloudRunService.service","title":"List of services","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Run resources","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.cloudRunService.condition":{"id":"gcp.project.cloudRunService.condition","name":"gcp.project.cloudRunService.condition","fields":{"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"lastTransitionTime":{"name":"lastTransitionTime","type":"\t","is_mandatory":true,"title":"Last time the condition transitioned from one status to another","provider":"go.mondoo.com/cnquery/providers/gcp"},"message":{"name":"message","type":"\u0007","is_mandatory":true,"title":"Human-readable message indicating details about the current status","provider":"go.mondoo.com/cnquery/providers/gcp"},"severity":{"name":"severity","type":"\u0007","is_mandatory":true,"title":"How to interpret failures of this condition","provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\u0007","is_mandatory":true,"title":"Condition state","provider":"go.mondoo.com/cnquery/providers/gcp"},"type":{"name":"type","type":"\u0007","is_mandatory":true,"title":"Status of the reconciliation process","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Run condition","private":true,"defaults":"type state message","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.cloudRunService.container":{"id":"gcp.project.cloudRunService.container","name":"gcp.project.cloudRunService.container","fields":{"args":{"name":"args","type":"\u0019\u0007","is_mandatory":true,"title":"Arguments to the entrypoint","provider":"go.mondoo.com/cnquery/providers/gcp"},"command":{"name":"command","type":"\u0019\u0007","is_mandatory":true,"title":"Entrypoint array","provider":"go.mondoo.com/cnquery/providers/gcp"},"env":{"name":"env","type":"\u0019\n","is_mandatory":true,"title":"Environment variables","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"image":{"name":"image","type":"\u0007","is_mandatory":true,"title":"URL of the container image in Google Container Registry or Google Artifact Registry","provider":"go.mondoo.com/cnquery/providers/gcp"},"livenessProbe":{"name":"livenessProbe","type":"\u001bgcp.project.cloudRunService.container.probe","is_mandatory":true,"title":"Periodic probe of container liveness","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Container name","provider":"go.mondoo.com/cnquery/providers/gcp"},"ports":{"name":"ports","type":"\u0019\n","is_mandatory":true,"title":"List of ports to expose from the container","provider":"go.mondoo.com/cnquery/providers/gcp"},"probe":{"name":"probe","type":"\u001bgcp.project.cloudRunService.container.probe","title":"GCP Cloud Run service revision template container probe","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"resources":{"name":"resources","type":"\n","is_mandatory":true,"title":"Compute resource requirements by the container","provider":"go.mondoo.com/cnquery/providers/gcp"},"startupProbe":{"name":"startupProbe","type":"\u001bgcp.project.cloudRunService.container.probe","is_mandatory":true,"title":"Startup probe of application within the container","provider":"go.mondoo.com/cnquery/providers/gcp"},"volumeMounts":{"name":"volumeMounts","type":"\u0019\n","is_mandatory":true,"title":"Volumes to mount into the container's filesystem","provider":"go.mondoo.com/cnquery/providers/gcp"},"workingDir":{"name":"workingDir","type":"\u0007","is_mandatory":true,"title":"Container's working directory","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Run service revision template container","private":true,"defaults":"name image","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.cloudRunService.container.probe":{"id":"gcp.project.cloudRunService.container.probe","name":"gcp.project.cloudRunService.container.probe","fields":{"failureThreshold":{"name":"failureThreshold","type":"\u0005","is_mandatory":true,"title":"Minimum consecutive successes for the probe to be considered failed","provider":"go.mondoo.com/cnquery/providers/gcp"},"httpGet":{"name":"httpGet","type":"\n","is_mandatory":true,"title":"HTTP GET probe configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"initialDelaySeconds":{"name":"initialDelaySeconds","type":"\u0005","is_mandatory":true,"title":"Number of seconds after the container has started before the probe is initiated","provider":"go.mondoo.com/cnquery/providers/gcp"},"periodSeconds":{"name":"periodSeconds","type":"\u0005","is_mandatory":true,"title":"Number of seconds indicating how often to perform the probe","provider":"go.mondoo.com/cnquery/providers/gcp"},"tcpSocket":{"name":"tcpSocket","type":"\n","is_mandatory":true,"title":"TCP socket probe configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"timeoutSeconds":{"name":"timeoutSeconds","type":"\u0005","is_mandatory":true,"title":"Number of seconds after which the probe times out","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Run service revision template container probe","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.cloudRunService.job":{"id":"gcp.project.cloudRunService.job","name":"gcp.project.cloudRunService.job","fields":{"annotations":{"name":"annotations","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Unstructured key-value map that may be set by external tools to store an arbitrary metadata","provider":"go.mondoo.com/cnquery/providers/gcp"},"client":{"name":"client","type":"\u0007","is_mandatory":true,"title":"Arbitrary identifier for the API client","provider":"go.mondoo.com/cnquery/providers/gcp"},"clientVersion":{"name":"clientVersion","type":"\u0007","is_mandatory":true,"title":"Arbitrary version identifier for the API client","provider":"go.mondoo.com/cnquery/providers/gcp"},"conditions":{"name":"conditions","type":"\u0019\u001bgcp.project.cloudRunService.condition","is_mandatory":true,"title":"Conditions of all other associated sub-resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"creator":{"name":"creator","type":"\u0007","is_mandatory":true,"title":"Email address of the authenticated creator","provider":"go.mondoo.com/cnquery/providers/gcp"},"deleted":{"name":"deleted","type":"\t","is_mandatory":true,"title":"Deletion timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"executionCount":{"name":"executionCount","type":"\u0005","is_mandatory":true,"title":"Number of executions created for this job","provider":"go.mondoo.com/cnquery/providers/gcp"},"executionTemplate":{"name":"executionTemplate","type":"\u001bgcp.project.cloudRunService.job.executionTemplate","title":"GCP Cloud Run job execution template","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"expired":{"name":"expired","type":"\t","is_mandatory":true,"title":"Timestamp after which a deleted service will be permanently deleted","provider":"go.mondoo.com/cnquery/providers/gcp"},"generation":{"name":"generation","type":"\u0005","is_mandatory":true,"title":"Number that monotonically increases every time the user modifies the desired state","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Job identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-defined labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"lastModifier":{"name":"lastModifier","type":"\u0007","is_mandatory":true,"title":"Email address of the last authenticated modifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"launchStage":{"name":"launchStage","type":"\u0007","is_mandatory":true,"title":"Launch stage","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Job name","provider":"go.mondoo.com/cnquery/providers/gcp"},"observedGeneration":{"name":"observedGeneration","type":"\u0005","is_mandatory":true,"title":"Generation of this service currently serving traffic","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"reconciling":{"name":"reconciling","type":"\u0004","is_mandatory":true,"title":"Whether the service is currently being acted upon by the system to bring it into the desired state","provider":"go.mondoo.com/cnquery/providers/gcp"},"region":{"name":"region","type":"\u0007","is_mandatory":true,"title":"Region","provider":"go.mondoo.com/cnquery/providers/gcp"},"template":{"name":"template","type":"\u001bgcp.project.cloudRunService.job.executionTemplate","is_mandatory":true,"title":"Template used to create executions for this job","provider":"go.mondoo.com/cnquery/providers/gcp"},"terminalCondition":{"name":"terminalCondition","type":"\u001bgcp.project.cloudRunService.condition","is_mandatory":true,"title":"Conditions of this service, containing its readiness status and detailed error information in case it did not reach a serving state","provider":"go.mondoo.com/cnquery/providers/gcp"},"updated":{"name":"updated","type":"\t","is_mandatory":true,"title":"Update timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Run job","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.cloudRunService.job.executionTemplate":{"id":"gcp.project.cloudRunService.job.executionTemplate","name":"gcp.project.cloudRunService.job.executionTemplate","fields":{"annotations":{"name":"annotations","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Unstructured key-value map that may be set by external tools to store an arbitrary metadata","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-defined labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"parallelism":{"name":"parallelism","type":"\u0005","is_mandatory":true,"title":"Specifies the maximum desired number of tasks the execution should run at a given time","provider":"go.mondoo.com/cnquery/providers/gcp"},"taskCount":{"name":"taskCount","type":"\u0005","is_mandatory":true,"title":"Specifies the desired number of tasks the execution should run","provider":"go.mondoo.com/cnquery/providers/gcp"},"taskTemplate":{"name":"taskTemplate","type":"\u001bgcp.project.cloudRunService.job.executionTemplate.taskTemplate","title":"GCP Cloud Run job execution template task template","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"template":{"name":"template","type":"\u001bgcp.project.cloudRunService.job.executionTemplate.taskTemplate","is_mandatory":true,"title":"Describes the task that will be create when executing an execution","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Run job execution template","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.cloudRunService.job.executionTemplate.taskTemplate":{"id":"gcp.project.cloudRunService.job.executionTemplate.taskTemplate","name":"gcp.project.cloudRunService.job.executionTemplate.taskTemplate","fields":{"containers":{"name":"containers","type":"\u0019\u001bgcp.project.cloudRunService.container","is_mandatory":true,"title":"Containers for this revision","provider":"go.mondoo.com/cnquery/providers/gcp"},"encryptionKey":{"name":"encryptionKey","type":"\u0007","is_mandatory":true,"title":"Reference to a customer-managed encryption key to use to encrypt this container image","provider":"go.mondoo.com/cnquery/providers/gcp"},"executionEnvironment":{"name":"executionEnvironment","type":"\u0007","is_mandatory":true,"title":"Sandbox environment to host the revision","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxRetries":{"name":"maxRetries","type":"\u0005","is_mandatory":true,"title":"Number of retries allowed per task","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccount":{"name":"serviceAccount","type":"\u001bgcp.project.iamService.serviceAccount","title":"IAM service account associated with the revision of the service","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccountEmail":{"name":"serviceAccountEmail","type":"\u0007","is_mandatory":true,"title":"Email address of the IAM service account associated with the revision of the service","provider":"go.mondoo.com/cnquery/providers/gcp"},"timeout":{"name":"timeout","type":"\t","is_mandatory":true,"title":"Maximum allowed time for an instance to respond to a request","provider":"go.mondoo.com/cnquery/providers/gcp"},"volumes":{"name":"volumes","type":"\u0019\n","is_mandatory":true,"title":"List of volumes to make available to containers","provider":"go.mondoo.com/cnquery/providers/gcp"},"vpcAccess":{"name":"vpcAccess","type":"\n","is_mandatory":true,"title":"VPC access configuration","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Run job execution template task template","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.cloudRunService.operation":{"id":"gcp.project.cloudRunService.operation","name":"gcp.project.cloudRunService.operation","fields":{"done":{"name":"done","type":"\u0004","is_mandatory":true,"title":"Whether the operation is completed","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Operation name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Run operation","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.cloudRunService.service":{"id":"gcp.project.cloudRunService.service","name":"gcp.project.cloudRunService.service","fields":{"annotations":{"name":"annotations","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Unstructured key-value map that may be set by external tools to store an arbitrary metadata","provider":"go.mondoo.com/cnquery/providers/gcp"},"conditions":{"name":"conditions","type":"\u0019\u001bgcp.project.cloudRunService.condition","is_mandatory":true,"title":"Conditions of all other associated sub-resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"creator":{"name":"creator","type":"\u0007","is_mandatory":true,"title":"Email address of the authenticated creator","provider":"go.mondoo.com/cnquery/providers/gcp"},"deleted":{"name":"deleted","type":"\t","is_mandatory":true,"title":"Deletion timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Service description","provider":"go.mondoo.com/cnquery/providers/gcp"},"expired":{"name":"expired","type":"\t","is_mandatory":true,"title":"Timestamp after which a deleted service will be permanently deleted","provider":"go.mondoo.com/cnquery/providers/gcp"},"generation":{"name":"generation","type":"\u0005","is_mandatory":true,"title":"Number that monotonically increases every time the user modifies the desired state","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Service identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"ingress":{"name":"ingress","type":"\u0007","is_mandatory":true,"title":"Ingress settings","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-provided labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"lastModifier":{"name":"lastModifier","type":"\u0007","is_mandatory":true,"title":"Email address of the last authenticated modifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"latestCreatedRevision":{"name":"latestCreatedRevision","type":"\u0007","is_mandatory":true,"title":"Name of the last created revision","provider":"go.mondoo.com/cnquery/providers/gcp"},"latestReadyRevision":{"name":"latestReadyRevision","type":"\u0007","is_mandatory":true,"title":"Name of the latest revision that is serving traffic","provider":"go.mondoo.com/cnquery/providers/gcp"},"launchStage":{"name":"launchStage","type":"\u0007","is_mandatory":true,"title":"Launch stage","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Service name","provider":"go.mondoo.com/cnquery/providers/gcp"},"observedGeneration":{"name":"observedGeneration","type":"\u0005","is_mandatory":true,"title":"Generation of this service currently serving traffic","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"reconciling":{"name":"reconciling","type":"\u0004","is_mandatory":true,"title":"Whether the service is currently being acted upon by the system to bring it into the desired state","provider":"go.mondoo.com/cnquery/providers/gcp"},"region":{"name":"region","type":"\u0007","is_mandatory":true,"title":"Region","provider":"go.mondoo.com/cnquery/providers/gcp"},"revisionTemplate":{"name":"revisionTemplate","type":"\u001bgcp.project.cloudRunService.service.revisionTemplate","title":"GCP Cloud Run service revision template","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"template":{"name":"template","type":"\u001bgcp.project.cloudRunService.service.revisionTemplate","is_mandatory":true,"title":"Template used to create revisions for the service","provider":"go.mondoo.com/cnquery/providers/gcp"},"terminalCondition":{"name":"terminalCondition","type":"\u001bgcp.project.cloudRunService.condition","is_mandatory":true,"title":"Conditions of this service, containing its readiness status and detailed error information in case it did not reach a serving state","provider":"go.mondoo.com/cnquery/providers/gcp"},"traffic":{"name":"traffic","type":"\u0019\n","is_mandatory":true,"title":"Specifies how to distribute traffic over a collection of revisions belonging to the service","provider":"go.mondoo.com/cnquery/providers/gcp"},"trafficStatuses":{"name":"trafficStatuses","type":"\u0019\n","is_mandatory":true,"title":"Detailed status information for corresponding traffic targets","provider":"go.mondoo.com/cnquery/providers/gcp"},"updated":{"name":"updated","type":"\t","is_mandatory":true,"title":"Update timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"uri":{"name":"uri","type":"\u0007","is_mandatory":true,"title":"Main URI in which this service is serving traffic","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Run service","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.cloudRunService.service.revisionTemplate":{"id":"gcp.project.cloudRunService.service.revisionTemplate","name":"gcp.project.cloudRunService.service.revisionTemplate","fields":{"annotations":{"name":"annotations","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Unstructured key-value map that may be set by external tools to store an arbitrary metadata","provider":"go.mondoo.com/cnquery/providers/gcp"},"containers":{"name":"containers","type":"\u0019\u001bgcp.project.cloudRunService.container","is_mandatory":true,"title":"Containers for this revision","provider":"go.mondoo.com/cnquery/providers/gcp"},"encryptionKey":{"name":"encryptionKey","type":"\u0007","is_mandatory":true,"title":"Reference to a customer-managed encryption key to use to encrypt this container image","provider":"go.mondoo.com/cnquery/providers/gcp"},"executionEnvironment":{"name":"executionEnvironment","type":"\u0007","is_mandatory":true,"title":"Sandbox environment to host the revision","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-provided labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxInstanceRequestConcurrency":{"name":"maxInstanceRequestConcurrency","type":"\u0005","is_mandatory":true,"title":"Maximum number of requests that each serving instance can receive","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Revision name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"scaling":{"name":"scaling","type":"\n","is_mandatory":true,"title":"Scaling settings","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccount":{"name":"serviceAccount","type":"\u001bgcp.project.iamService.serviceAccount","title":"IAM service account associated with the revision of the service","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccountEmail":{"name":"serviceAccountEmail","type":"\u0007","is_mandatory":true,"title":"Email address of the IAM service account associated with the revision of the service","provider":"go.mondoo.com/cnquery/providers/gcp"},"timeout":{"name":"timeout","type":"\t","is_mandatory":true,"title":"Maximum allowed time for an instance to respond to a request","provider":"go.mondoo.com/cnquery/providers/gcp"},"volumes":{"name":"volumes","type":"\u0019\n","is_mandatory":true,"title":"List of volumes to make available to containers","provider":"go.mondoo.com/cnquery/providers/gcp"},"vpcAccess":{"name":"vpcAccess","type":"\n","is_mandatory":true,"title":"VPC access configuration","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Run service revision template","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService":{"id":"gcp.project.computeService","name":"gcp.project.computeService","fields":{"address":{"name":"address","type":"\u001bgcp.project.computeService.address","title":"GCP Compute Address","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"addresses":{"name":"addresses","type":"\u0019\u001bgcp.project.computeService.address","title":"List of IP addresses","provider":"go.mondoo.com/cnquery/providers/gcp"},"attachedDisk":{"name":"attachedDisk","type":"\u001bgcp.project.computeService.attachedDisk","title":"GCP Compute Attached Disk","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"backendService":{"name":"backendService","type":"\u001bgcp.project.computeService.backendService","title":"GCP Compute backend service","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"backendServices":{"name":"backendServices","type":"\u0019\u001bgcp.project.computeService.backendService","title":"List of backend services","provider":"go.mondoo.com/cnquery/providers/gcp"},"disk":{"name":"disk","type":"\u001bgcp.project.computeService.disk","title":"GCP Compute Persistent Disk","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"disks":{"name":"disks","type":"\u0019\u001bgcp.project.computeService.disk","title":"Google Compute Engine disks in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"firewall":{"name":"firewall","type":"\u001bgcp.project.computeService.firewall","title":"GCP Compute Firewall","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"firewalls":{"name":"firewalls","type":"\u0019\u001bgcp.project.computeService.firewall","title":"Google Compute Engine firewalls in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"forwardingRule":{"name":"forwardingRule","type":"\u001bgcp.project.computeService.forwardingRule","title":"GCP Compute Forwarding Rules","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"forwardingRules":{"name":"forwardingRules","type":"\u0019\u001bgcp.project.computeService.forwardingRule","title":"List of forwarding rules","provider":"go.mondoo.com/cnquery/providers/gcp"},"image":{"name":"image","type":"\u001bgcp.project.computeService.image","title":"GCP Compute","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"images":{"name":"images","type":"\u0019\u001bgcp.project.computeService.image","title":"Google Compute Engine images in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"instance":{"name":"instance","type":"\u001bgcp.project.computeService.instance","title":"GCP Compute Instances","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"instances":{"name":"instances","type":"\u0019\u001bgcp.project.computeService.instance","title":"Google Compute Engine instances in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"machineType":{"name":"machineType","type":"\u001bgcp.project.computeService.machineType","title":"GCP Machine Type","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"machineTypes":{"name":"machineTypes","type":"\u0019\u001bgcp.project.computeService.machineType","title":"Google Compute Engine machine types in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"network":{"name":"network","type":"\u001bgcp.project.computeService.network","title":"GCP Compute VPC Network resource","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"networks":{"name":"networks","type":"\u0019\u001bgcp.project.computeService.network","title":"Google Compute Engine VPC Network in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"region":{"name":"region","type":"\u001bgcp.project.computeService.region","title":"GCP Compute Region","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"regions":{"name":"regions","type":"\u0019\u001bgcp.project.computeService.region","title":"Project Regions","provider":"go.mondoo.com/cnquery/providers/gcp"},"router":{"name":"router","type":"\u001bgcp.project.computeService.router","title":"GCP Compute Cloud Router","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"routers":{"name":"routers","type":"\u0019\u001bgcp.project.computeService.router","title":"Cloud Routers in project","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceaccount":{"name":"serviceaccount","type":"\u001bgcloud.compute.serviceaccount","title":"GCP Compute Service Account","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"snapshot":{"name":"snapshot","type":"\u001bgcp.project.computeService.snapshot","title":"GCP Compute Persistent Disk Snapshot","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"snapshots":{"name":"snapshots","type":"\u0019\u001bgcp.project.computeService.snapshot","title":"Google Compute Engine snapshots in a project","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetwork":{"name":"subnetwork","type":"\u001bgcp.project.computeService.subnetwork","title":"GCP Compute VPC Network Partitioning","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetworks":{"name":"subnetworks","type":"\u0019\u001bgcp.project.computeService.subnetwork","title":"Logical partition of a Virtual Private Cloud network","provider":"go.mondoo.com/cnquery/providers/gcp"},"zone":{"name":"zone","type":"\u001bgcp.project.computeService.zone","title":"GCP Compute Zone","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"zones":{"name":"zones","type":"\u0019\u001bgcp.project.computeService.zone","title":"Project Zones","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Engine","private":true,"min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.address":{"id":"gcp.project.computeService.address","name":"gcp.project.computeService.address","fields":{"address":{"name":"address","type":"\u0007","is_mandatory":true,"title":"Static IP address","provider":"go.mondoo.com/cnquery/providers/gcp"},"addressType":{"name":"addressType","type":"\u0007","is_mandatory":true,"title":"Address type","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Address description","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipVersion":{"name":"ipVersion","type":"\u0007","is_mandatory":true,"title":"IP version","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipv6EndpointType":{"name":"ipv6EndpointType","type":"\u0007","is_mandatory":true,"title":"Endpoint type","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Address name","provider":"go.mondoo.com/cnquery/providers/gcp"},"network":{"name":"network","type":"\u001bgcp.project.computeService.network","title":"Network in which to reserve the address","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkTier":{"name":"networkTier","type":"\u0007","is_mandatory":true,"title":"Network tier used for configuring this address","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkUrl":{"name":"networkUrl","type":"\u0007","is_mandatory":true,"title":"URL of the network in which to reserve the address","provider":"go.mondoo.com/cnquery/providers/gcp"},"prefixLength":{"name":"prefixLength","type":"\u0005","is_mandatory":true,"title":"Prefix length if the resource represents an IP range","provider":"go.mondoo.com/cnquery/providers/gcp"},"purpose":{"name":"purpose","type":"\u0007","is_mandatory":true,"title":"Address purpose","provider":"go.mondoo.com/cnquery/providers/gcp"},"regionUrl":{"name":"regionUrl","type":"\u0007","is_mandatory":true,"title":"Region URL","provider":"go.mondoo.com/cnquery/providers/gcp"},"resourceUrls":{"name":"resourceUrls","type":"\u0019\u0007","is_mandatory":true,"title":"URLs of the resources that are using this address","provider":"go.mondoo.com/cnquery/providers/gcp"},"status":{"name":"status","type":"\u0007","is_mandatory":true,"title":"Address status","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetwork":{"name":"subnetwork","type":"\u001bgcp.project.computeService.subnetwork","title":"Subnetwork in which to reserve the address","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetworkUrl":{"name":"subnetworkUrl","type":"\u0007","is_mandatory":true,"title":"URL of the subnetwork in which to reserve the address","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Address","private":true,"defaults":"name address addressType","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.attachedDisk":{"id":"gcp.project.computeService.attachedDisk","name":"gcp.project.computeService.attachedDisk","fields":{"architecture":{"name":"architecture","type":"\u0007","is_mandatory":true,"title":"Architecture of the attached disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"autoDelete":{"name":"autoDelete","type":"\u0004","is_mandatory":true,"title":"Indicates if disk will be auto-deleted","provider":"go.mondoo.com/cnquery/providers/gcp"},"boot":{"name":"boot","type":"\u0004","is_mandatory":true,"title":"Indicates that this is a boot disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"deviceName":{"name":"deviceName","type":"\u0007","is_mandatory":true,"title":"Unique device name","provider":"go.mondoo.com/cnquery/providers/gcp"},"diskSizeGb":{"name":"diskSizeGb","type":"\u0005","is_mandatory":true,"title":"Size of the disk in GB","provider":"go.mondoo.com/cnquery/providers/gcp"},"forceAttach":{"name":"forceAttach","type":"\u0004","is_mandatory":true,"title":"Indicates whether to force attach the regional disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"guestOsFeatures":{"name":"guestOsFeatures","type":"\u0019\u0007","is_mandatory":true,"title":"Features to enable on the guest operating","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Attached Disk ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"index":{"name":"index","type":"\u0005","is_mandatory":true,"title":"Index to this disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"interface":{"name":"interface","type":"\u0007","is_mandatory":true,"title":"Disk interface","provider":"go.mondoo.com/cnquery/providers/gcp"},"licenses":{"name":"licenses","type":"\u0019\u0007","is_mandatory":true,"title":"Publicly visible licenses","provider":"go.mondoo.com/cnquery/providers/gcp"},"mode":{"name":"mode","type":"\u0007","is_mandatory":true,"title":"Mode in which to the disk is attached","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"source":{"name":"source","type":"\u001bgcp.project.computeService.disk","title":"Attached Persistent Disk resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"type":{"name":"type","type":"\u0007","is_mandatory":true,"title":"Disk Type","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Attached Disk","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.backendService":{"id":"gcp.project.computeService.backendService","name":"gcp.project.computeService.backendService","fields":{"affinityCookieTtlSec":{"name":"affinityCookieTtlSec","type":"\u0005","is_mandatory":true,"title":"Lifetime of cookies in seconds","provider":"go.mondoo.com/cnquery/providers/gcp"},"backend":{"name":"backend","type":"\u001bgcp.project.computeService.backendService.backend","title":"GCP Compute backend service backend","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"backends":{"name":"backends","type":"\u0019\u001bgcp.project.computeService.backendService.backend","is_mandatory":true,"title":"List of backends that serve this backend service","provider":"go.mondoo.com/cnquery/providers/gcp"},"cdnPolicy":{"name":"cdnPolicy","type":"\u001bgcp.project.computeService.backendService.cdnPolicy","is_mandatory":true,"title":"Cloud CDN configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"circuitBreakers":{"name":"circuitBreakers","type":"\n","is_mandatory":true,"title":"Circuit breakers","provider":"go.mondoo.com/cnquery/providers/gcp"},"compressionMode":{"name":"compressionMode","type":"\u0007","is_mandatory":true,"title":"Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header","provider":"go.mondoo.com/cnquery/providers/gcp"},"connectionDraining":{"name":"connectionDraining","type":"\n","is_mandatory":true,"title":"Connection draining configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"connectionTrackingPolicy":{"name":"connectionTrackingPolicy","type":"\n","is_mandatory":true,"title":"Connection tracking configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"consistentHash":{"name":"consistentHash","type":"\n","is_mandatory":true,"title":"Consistent hash-based load balancing used to provide soft session affinity based on HTTP headers, cookies or other properties","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"customRequestHeaders":{"name":"customRequestHeaders","type":"\u0019\u0007","is_mandatory":true,"title":"Headers that the load balancer adds to proxied requests","provider":"go.mondoo.com/cnquery/providers/gcp"},"customResponseHeaders":{"name":"customResponseHeaders","type":"\u0019\u0007","is_mandatory":true,"title":"Headers that the load balancer adds to proxied responses","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Backend service description","provider":"go.mondoo.com/cnquery/providers/gcp"},"edgeSecurityPolicy":{"name":"edgeSecurityPolicy","type":"\u0007","is_mandatory":true,"title":"Resource URL for the edge security policy associated with this backend service","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableCDN":{"name":"enableCDN","type":"\u0004","is_mandatory":true,"title":"Whether to enable Cloud CDN","provider":"go.mondoo.com/cnquery/providers/gcp"},"failoverPolicy":{"name":"failoverPolicy","type":"\n","is_mandatory":true,"title":"Failover policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"healthChecks":{"name":"healthChecks","type":"\u0019\u0007","is_mandatory":true,"title":"List of URLs to the health checks","provider":"go.mondoo.com/cnquery/providers/gcp"},"iap":{"name":"iap","type":"\n","is_mandatory":true,"title":"Identity-aware proxy configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"loadBalancingScheme":{"name":"loadBalancingScheme","type":"\u0007","is_mandatory":true,"title":"Load balancer type","provider":"go.mondoo.com/cnquery/providers/gcp"},"localityLbPolicies":{"name":"localityLbPolicies","type":"\u0019\n","is_mandatory":true,"title":"List of locality load balancing policies to be used in order of preference","provider":"go.mondoo.com/cnquery/providers/gcp"},"localityLbPolicy":{"name":"localityLbPolicy","type":"\u0007","is_mandatory":true,"title":"Load balancing algorithm used within the scope of the locality","provider":"go.mondoo.com/cnquery/providers/gcp"},"logConfig":{"name":"logConfig","type":"\n","is_mandatory":true,"title":"Log configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxStreamDuration":{"name":"maxStreamDuration","type":"\t","is_mandatory":true,"title":"Default maximum duration (timeout) for streams to this service","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Backend service name","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkUrl":{"name":"networkUrl","type":"\u0007","is_mandatory":true,"title":"URL to the network to which this backend service belongs","provider":"go.mondoo.com/cnquery/providers/gcp"},"portName":{"name":"portName","type":"\u0007","is_mandatory":true,"title":"Named port on a backend instance group representing the port for communication to the backend VMs in that group","provider":"go.mondoo.com/cnquery/providers/gcp"},"protocol":{"name":"protocol","type":"\u0007","is_mandatory":true,"title":"Protocol used for communication","provider":"go.mondoo.com/cnquery/providers/gcp"},"regionUrl":{"name":"regionUrl","type":"\u0007","is_mandatory":true,"title":"Region URL","provider":"go.mondoo.com/cnquery/providers/gcp"},"securityPolicyUrl":{"name":"securityPolicyUrl","type":"\u0007","is_mandatory":true,"title":"Security policy URL","provider":"go.mondoo.com/cnquery/providers/gcp"},"securitySettings":{"name":"securitySettings","type":"\n","is_mandatory":true,"title":"Security settings","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceBindingUrls":{"name":"serviceBindingUrls","type":"\u0019\u0007","is_mandatory":true,"title":"Service binding URLs","provider":"go.mondoo.com/cnquery/providers/gcp"},"sessionAffinity":{"name":"sessionAffinity","type":"\u0007","is_mandatory":true,"title":"Session affinity type","provider":"go.mondoo.com/cnquery/providers/gcp"},"timeoutSec":{"name":"timeoutSec","type":"\u0005","is_mandatory":true,"title":"Backend service timeout in settings","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute backend service","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.backendService.backend":{"id":"gcp.project.computeService.backendService.backend","name":"gcp.project.computeService.backendService.backend","fields":{"balancingMode":{"name":"balancingMode","type":"\u0007","is_mandatory":true,"title":"How to determine whether the backend of a load balancer can handle additional traffic or is fully loaded","provider":"go.mondoo.com/cnquery/providers/gcp"},"capacityScaler":{"name":"capacityScaler","type":"\u0006","is_mandatory":true,"title":"Multiplier applied to the backend's target capacity of its balancing mode","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Backend description","provider":"go.mondoo.com/cnquery/providers/gcp"},"failover":{"name":"failover","type":"\u0004","is_mandatory":true,"title":"Whether this is a failover backend","provider":"go.mondoo.com/cnquery/providers/gcp"},"groupUrl":{"name":"groupUrl","type":"\u0007","is_mandatory":true,"title":"Fully-qualified URL of an instance group or network endpoint group determining what types of backends a load balancer supports","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxConnections":{"name":"maxConnections","type":"\u0005","is_mandatory":true,"title":"Maximum number of simultaneous connections","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxConnectionsPerEndpoint":{"name":"maxConnectionsPerEndpoint","type":"\u0005","is_mandatory":true,"title":"Maximum number of simultaneous connections per endpoint","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxConnectionsPerInstance":{"name":"maxConnectionsPerInstance","type":"\u0005","is_mandatory":true,"title":"Maximum number of simultaneous connections per instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxRate":{"name":"maxRate","type":"\u0005","is_mandatory":true,"title":"Maximum number of HTTP requests per second","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxRatePerEndpoint":{"name":"maxRatePerEndpoint","type":"\u0006","is_mandatory":true,"title":"Maximum number for requests per second per endpoint","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxRatePerInstance":{"name":"maxRatePerInstance","type":"\u0006","is_mandatory":true,"title":"Maximum number for requests per second per instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxUtilization":{"name":"maxUtilization","type":"\u0006","is_mandatory":true,"title":"Target capacity for the utilization balancing mode","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute backend service backend","private":true,"defaults":"description","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.backendService.cdnPolicy":{"id":"gcp.project.computeService.backendService.cdnPolicy","name":"gcp.project.computeService.backendService.cdnPolicy","fields":{"bypassCacheOnRequestHeaders":{"name":"bypassCacheOnRequestHeaders","type":"\u0019\n","is_mandatory":true,"title":"Bypass the cache when the specified request headers are matched","provider":"go.mondoo.com/cnquery/providers/gcp"},"cacheKeyPolicy":{"name":"cacheKeyPolicy","type":"\n","is_mandatory":true,"title":"Cache key policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"cacheMode":{"name":"cacheMode","type":"\u0007","is_mandatory":true,"title":"Cache mode for all responses from this backend","provider":"go.mondoo.com/cnquery/providers/gcp"},"clientTtl":{"name":"clientTtl","type":"\u0005","is_mandatory":true,"title":"Client maximum TTL","provider":"go.mondoo.com/cnquery/providers/gcp"},"defaultTtl":{"name":"defaultTtl","type":"\u0005","is_mandatory":true,"title":"Default TTL for cached content","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxTtl":{"name":"maxTtl","type":"\u0005","is_mandatory":true,"title":"Maximum allowed TTL for cached content","provider":"go.mondoo.com/cnquery/providers/gcp"},"negativeCaching":{"name":"negativeCaching","type":"\u0004","is_mandatory":true,"title":"Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects","provider":"go.mondoo.com/cnquery/providers/gcp"},"negativeCachingPolicy":{"name":"negativeCachingPolicy","type":"\u0019\n","is_mandatory":true,"title":"Negative caching policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"requestCoalescing":{"name":"requestCoalescing","type":"\u0004","is_mandatory":true,"title":"Whether Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin","provider":"go.mondoo.com/cnquery/providers/gcp"},"serveWhileStale":{"name":"serveWhileStale","type":"\u0005","is_mandatory":true,"title":"Serve existing content from the cache when revalidating content with the origin","provider":"go.mondoo.com/cnquery/providers/gcp"},"signedUrlCacheMaxAgeSec":{"name":"signedUrlCacheMaxAgeSec","type":"\u0005","is_mandatory":true,"title":"Maximum number of seconds the response to a signed URL request will be considered fresh","provider":"go.mondoo.com/cnquery/providers/gcp"},"signedUrlKeyNames":{"name":"signedUrlKeyNames","type":"\u0019\u0007","is_mandatory":true,"title":"Names of the keys for signing request URLs","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute backend service CDN policy","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.disk":{"id":"gcp.project.computeService.disk","name":"gcp.project.computeService.disk","fields":{"architecture":{"name":"architecture","type":"\u0007","is_mandatory":true,"title":"The architecture of the disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Optional description","provider":"go.mondoo.com/cnquery/providers/gcp"},"diskEncryptionKey":{"name":"diskEncryptionKey","type":"\n","is_mandatory":true,"title":"Disk encryption key","provider":"go.mondoo.com/cnquery/providers/gcp"},"guestOsFeatures":{"name":"guestOsFeatures","type":"\u0019\u0007","is_mandatory":true,"title":"Features to enable on the guest operating","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique identifier for the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Labels to apply to this disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"lastAttachTimestamp":{"name":"lastAttachTimestamp","type":"\t","is_mandatory":true,"title":"Last attach timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"lastDetachTimestamp":{"name":"lastDetachTimestamp","type":"\t","is_mandatory":true,"title":"Last detach timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"licenses":{"name":"licenses","type":"\u0019\u0007","is_mandatory":true,"title":"Publicly visible licenses","provider":"go.mondoo.com/cnquery/providers/gcp"},"locationHint":{"name":"locationHint","type":"\u0007","is_mandatory":true,"title":"An opaque location hint","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"User-friendly name for this disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"physicalBlockSizeBytes":{"name":"physicalBlockSizeBytes","type":"\u0005","is_mandatory":true,"title":"Physical block size of the persistent disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"provisionedIops":{"name":"provisionedIops","type":"\u0005","is_mandatory":true,"title":"Indicates how many IOPS to provision for the disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"sizeGb":{"name":"sizeGb","type":"\u0005","is_mandatory":true,"title":"Size, in GB, of the persistent disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"status":{"name":"status","type":"\u0007","is_mandatory":true,"title":"The status of disk creation","provider":"go.mondoo.com/cnquery/providers/gcp"},"zone":{"name":"zone","type":"\u001bgcp.project.computeService.zone","is_mandatory":true,"title":"Disk Zone","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Persistent Disk","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.firewall":{"id":"gcp.project.computeService.firewall","name":"gcp.project.computeService.firewall","fields":{"allowed":{"name":"allowed","type":"\u0019\n","is_mandatory":true,"title":"List of ALLOW rules specified by this firewall","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"denied":{"name":"denied","type":"\u0019\n","is_mandatory":true,"title":"List of DENY rules specified by this firewall","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"An optional description of this resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"destinationRanges":{"name":"destinationRanges","type":"\u0019\u0007","is_mandatory":true,"title":"If defined the rule applies only to traffic that has destination IP address","provider":"go.mondoo.com/cnquery/providers/gcp"},"direction":{"name":"direction","type":"\u0007","is_mandatory":true,"title":"Direction of traffic","provider":"go.mondoo.com/cnquery/providers/gcp"},"disabled":{"name":"disabled","type":"\u0004","is_mandatory":true,"title":"Indicates whether the firewall rule is disabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique Identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"User-provided name","provider":"go.mondoo.com/cnquery/providers/gcp"},"priority":{"name":"priority","type":"\u0005","is_mandatory":true,"title":"Priority for this rule","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"sourceRanges":{"name":"sourceRanges","type":"\u0019\u0007","is_mandatory":true,"title":"Source Ranges","provider":"go.mondoo.com/cnquery/providers/gcp"},"sourceServiceAccounts":{"name":"sourceServiceAccounts","type":"\u0019\u0007","is_mandatory":true,"title":"Source Service Accounts","provider":"go.mondoo.com/cnquery/providers/gcp"},"sourceTags":{"name":"sourceTags","type":"\u0019\u0007","is_mandatory":true,"title":"Source Tags","provider":"go.mondoo.com/cnquery/providers/gcp"},"targetServiceAccounts":{"name":"targetServiceAccounts","type":"\u0019\u0007","is_mandatory":true,"title":"List of service accounts","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Firewall","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.forwardingRule":{"id":"gcp.project.computeService.forwardingRule","name":"gcp.project.computeService.forwardingRule","fields":{"allPorts":{"name":"allPorts","type":"\u0004","is_mandatory":true,"title":"Whether to use all ports for forwarding traffic","provider":"go.mondoo.com/cnquery/providers/gcp"},"allowGlobalAccess":{"name":"allowGlobalAccess","type":"\u0004","is_mandatory":true,"title":"Whether to allow accessing the load balancer from all regions","provider":"go.mondoo.com/cnquery/providers/gcp"},"backendService":{"name":"backendService","type":"\u0007","is_mandatory":true,"title":"Backend service to which the forwarding rule sends traffic","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Optional resource description","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipAddress":{"name":"ipAddress","type":"\u0007","is_mandatory":true,"title":"IP address for which this forwarding rule accepts traffic","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipProtocol":{"name":"ipProtocol","type":"\u0007","is_mandatory":true,"title":"IP protocol to which this rule applies","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipVersion":{"name":"ipVersion","type":"\u0007","is_mandatory":true,"title":"IP version that is used by this forwarding rule","provider":"go.mondoo.com/cnquery/providers/gcp"},"isMirroringCollector":{"name":"isMirroringCollector","type":"\u0004","is_mandatory":true,"title":"Whether this load balancer can be used as a collector for packet mirroring","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-defined labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"loadBalancingScheme":{"name":"loadBalancingScheme","type":"\u0007","is_mandatory":true,"title":"Forwarding rule type","provider":"go.mondoo.com/cnquery/providers/gcp"},"metadataFilters":{"name":"metadataFilters","type":"\u0019\n","is_mandatory":true,"title":"Opaque filter criteria used by load balancer to restrict routing configuration to a limited set of xDS compliant clients","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Forwarding rule name","provider":"go.mondoo.com/cnquery/providers/gcp"},"network":{"name":"network","type":"\u001bgcp.project.computeService.network","title":"Network used for internal load balancing","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkTier":{"name":"networkTier","type":"\u0007","is_mandatory":true,"title":"Network tier used for configuring this load balancer","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkUrl":{"name":"networkUrl","type":"\u0007","is_mandatory":true,"title":"URL of the network used for internal load balancing","provider":"go.mondoo.com/cnquery/providers/gcp"},"noAutomateDnsZone":{"name":"noAutomateDnsZone","type":"\u0004","is_mandatory":true,"title":"Whether the forwarding rule should try to auto-generate a DNS zone or not","provider":"go.mondoo.com/cnquery/providers/gcp"},"portRange":{"name":"portRange","type":"\u0007","is_mandatory":true,"title":"Port range to forward","provider":"go.mondoo.com/cnquery/providers/gcp"},"ports":{"name":"ports","type":"\u0019\u0007","is_mandatory":true,"title":"Ports to forward","provider":"go.mondoo.com/cnquery/providers/gcp"},"regionUrl":{"name":"regionUrl","type":"\u0007","is_mandatory":true,"title":"Region URL","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceDirectoryRegistrations":{"name":"serviceDirectoryRegistrations","type":"\u0019\n","is_mandatory":true,"title":"Service Directory resources to register this forwarding rule with","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceLabel":{"name":"serviceLabel","type":"\u0007","is_mandatory":true,"title":"Optional prefix to the service name for this forwarding rule","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceName":{"name":"serviceName","type":"\u0007","is_mandatory":true,"title":"Internal fully qualified service name for this forwarding rule","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetwork":{"name":"subnetwork","type":"\u001bgcp.project.computeService.subnetwork","title":"Subnetwork that the load balanced IP belongs to","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetworkUrl":{"name":"subnetworkUrl","type":"\u0007","is_mandatory":true,"title":"URL of the subnetwork that the load balanced IP belongs to","provider":"go.mondoo.com/cnquery/providers/gcp"},"targetUrl":{"name":"targetUrl","type":"\u0007","is_mandatory":true,"title":"URL of the target resource to receive the matched traffic","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Forwarding Rules","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.image":{"id":"gcp.project.computeService.image","name":"gcp.project.computeService.image","fields":{"architecture":{"name":"architecture","type":"\u0007","is_mandatory":true,"title":"Architecture of the snapshot","provider":"go.mondoo.com/cnquery/providers/gcp"},"archiveSizeBytes":{"name":"archiveSizeBytes","type":"\u0005","is_mandatory":true,"title":"Size of the image tar.gz archive stored in Google Cloud Storage (in bytes)","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Optional description","provider":"go.mondoo.com/cnquery/providers/gcp"},"diskSizeGb":{"name":"diskSizeGb","type":"\u0005","is_mandatory":true,"title":"Size of the image when restored onto a persistent disk (in GB)","provider":"go.mondoo.com/cnquery/providers/gcp"},"family":{"name":"family","type":"\u0007","is_mandatory":true,"title":"The name of the image family to which this image belongs","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Snapshot Labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"licenses":{"name":"licenses","type":"\u0019\u0007","is_mandatory":true,"title":"Public visible licenses","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Name of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"status":{"name":"status","type":"\u0007","is_mandatory":true,"title":"The status of the image","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute","private":true,"defaults":"id name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.instance":{"id":"gcp.project.computeService.instance","name":"gcp.project.computeService.instance","fields":{"canIpForward":{"name":"canIpForward","type":"\u0004","is_mandatory":true,"title":"Indicates if this instance is allowed to send and receive packets with non-matching destination or source IPs","provider":"go.mondoo.com/cnquery/providers/gcp"},"confidentialInstanceConfig":{"name":"confidentialInstanceConfig","type":"\n","is_mandatory":true,"title":"Confidential instance configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"cpuPlatform":{"name":"cpuPlatform","type":"\u0007","is_mandatory":true,"title":"The CPU platform used by this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"deletionProtection":{"name":"deletionProtection","type":"\u0004","is_mandatory":true,"title":"Indicates if instance is protected against deletion","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"User-friendly name for this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"disks":{"name":"disks","type":"\u0019\u001bgcp.project.computeService.attachedDisk","is_mandatory":true,"title":"Disks associated with this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableDisplay":{"name":"enableDisplay","type":"\u0004","is_mandatory":true,"title":"Indicates if the instance has Display enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableIntegrityMonitoring":{"name":"enableIntegrityMonitoring","type":"\u0004","is_mandatory":true,"title":"Indicates if Shielded Instance integrity monitoring is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableSecureBoot":{"name":"enableSecureBoot","type":"\u0004","is_mandatory":true,"title":"Indicates if Shielded Instance secure boot is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableVtpm":{"name":"enableVtpm","type":"\u0004","is_mandatory":true,"title":"Indicates if Shielded Instance vTPM is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"fingerprint":{"name":"fingerprint","type":"\u0007","is_mandatory":true,"title":"Instance Fingerprint","provider":"go.mondoo.com/cnquery/providers/gcp"},"guestAccelerators":{"name":"guestAccelerators","type":"\u0019\n","is_mandatory":true,"title":"Attached list of accelerator cards","provider":"go.mondoo.com/cnquery/providers/gcp"},"hostname":{"name":"hostname","type":"\u0007","is_mandatory":true,"title":"Hostname of the instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique identifier for the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"keyRevocationActionType":{"name":"keyRevocationActionType","type":"\u0007","is_mandatory":true,"title":"KeyRevocationActionType of the instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-provided labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"lastStartTimestamp":{"name":"lastStartTimestamp","type":"\t","is_mandatory":true,"title":"Last start timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"lastStopTimestamp":{"name":"lastStopTimestamp","type":"\t","is_mandatory":true,"title":"Last stop timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"lastSuspendedTimestamp":{"name":"lastSuspendedTimestamp","type":"\t","is_mandatory":true,"title":"Last suspended timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"machineType":{"name":"machineType","type":"\u001bgcp.project.computeService.machineType","title":"Machine type","provider":"go.mondoo.com/cnquery/providers/gcp"},"metadata":{"name":"metadata","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Instance Metadata","provider":"go.mondoo.com/cnquery/providers/gcp"},"minCpuPlatform":{"name":"minCpuPlatform","type":"\u0007","is_mandatory":true,"title":"Minimum CPU platform for the VM instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"User-friendly name for this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkInterfaces":{"name":"networkInterfaces","type":"\u0019\n","is_mandatory":true,"title":"Network configurations for this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"physicalHostResourceStatus":{"name":"physicalHostResourceStatus","type":"\u0007","is_mandatory":true,"title":"Resource status for physical host","provider":"go.mondoo.com/cnquery/providers/gcp"},"privateIpv6GoogleAccess":{"name":"privateIpv6GoogleAccess","type":"\u0007","is_mandatory":true,"title":"private IPv6 google access type for the VM","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"reservationAffinity":{"name":"reservationAffinity","type":"\n","is_mandatory":true,"title":"Reservations that this instance can consume from","provider":"go.mondoo.com/cnquery/providers/gcp"},"resourcePolicies":{"name":"resourcePolicies","type":"\u0019\u0007","is_mandatory":true,"title":"Resource policies applied to this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"scheduling":{"name":"scheduling","type":"\n","is_mandatory":true,"title":"Scheduling options","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccounts":{"name":"serviceAccounts","type":"\u0019\u001bgcp.project.computeService.serviceaccount","is_mandatory":true,"title":"Service accounts authorized for this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"sourceMachineImage":{"name":"sourceMachineImage","type":"\u0007","is_mandatory":true,"title":"Source machine image","provider":"go.mondoo.com/cnquery/providers/gcp"},"startRestricted":{"name":"startRestricted","type":"\u0004","is_mandatory":true,"title":"Indicates if VM has been restricted for start because Compute Engine has detected suspicious activity","provider":"go.mondoo.com/cnquery/providers/gcp"},"status":{"name":"status","type":"\u0007","is_mandatory":true,"title":"Instance status","provider":"go.mondoo.com/cnquery/providers/gcp"},"statusMessage":{"name":"statusMessage","type":"\u0007","is_mandatory":true,"title":"Human-readable explanation of the status","provider":"go.mondoo.com/cnquery/providers/gcp"},"tags":{"name":"tags","type":"\u0019\u0007","is_mandatory":true,"title":"Tags associated with this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"totalEgressBandwidthTier":{"name":"totalEgressBandwidthTier","type":"\u0007","is_mandatory":true,"title":"Network performance configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"zone":{"name":"zone","type":"\u001bgcp.project.computeService.zone","is_mandatory":true,"title":"Instance zone","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Instances","private":true,"min_mondoo_version":"5.15.0","defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.machineType":{"id":"gcp.project.computeService.machineType","name":"gcp.project.computeService.machineType","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Resource Description","provider":"go.mondoo.com/cnquery/providers/gcp"},"guestCpus":{"name":"guestCpus","type":"\u0005","is_mandatory":true,"title":"Number of virtual CPUs that are available to the instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"isSharedCpu":{"name":"isSharedCpu","type":"\u0004","is_mandatory":true,"title":"Indicates if the machine has a shared CPU","provider":"go.mondoo.com/cnquery/providers/gcp"},"maximumPersistentDisks":{"name":"maximumPersistentDisks","type":"\u0005","is_mandatory":true,"title":"Maximum persistent disks allowed","provider":"go.mondoo.com/cnquery/providers/gcp"},"maximumPersistentDisksSizeGb":{"name":"maximumPersistentDisksSizeGb","type":"\u0005","is_mandatory":true,"title":"Maximum total persistent disks size (GB) allowed.","provider":"go.mondoo.com/cnquery/providers/gcp"},"memoryMb":{"name":"memoryMb","type":"\u0005","is_mandatory":true,"title":"Physical memory available to the instance (MB)","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Name of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"zone":{"name":"zone","type":"\u001bgcp.project.computeService.zone","is_mandatory":true,"title":"The zone where the machine type resides","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Machine Type","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.network":{"id":"gcp.project.computeService.network","name":"gcp.project.computeService.network","fields":{"autoCreateSubnetworks":{"name":"autoCreateSubnetworks","type":"\u0004","is_mandatory":true,"title":"If not set, indicates a legacy network","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"An optional description of this resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableUlaInternalIpv6":{"name":"enableUlaInternalIpv6","type":"\u0004","is_mandatory":true,"title":"Indicates if ULA internal IPv6 is enabled on this network","provider":"go.mondoo.com/cnquery/providers/gcp"},"gatewayIPv4":{"name":"gatewayIPv4","type":"\u0007","is_mandatory":true,"title":"Gateway address for default routing","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique Identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"mode":{"name":"mode","type":"\u0007","is_mandatory":true,"title":"Network mode - legacy, custom or auto","provider":"go.mondoo.com/cnquery/providers/gcp"},"mtu":{"name":"mtu","type":"\u0005","is_mandatory":true,"title":"Maximum Transmission Unit in bytes","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Name of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkFirewallPolicyEnforcementOrder":{"name":"networkFirewallPolicyEnforcementOrder","type":"\u0007","is_mandatory":true,"title":"Network firewall policy enforcement order","provider":"go.mondoo.com/cnquery/providers/gcp"},"peerings":{"name":"peerings","type":"\u0019\n","is_mandatory":true,"title":"Network peerings for the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"routingMode":{"name":"routingMode","type":"\u0007","is_mandatory":true,"title":"The network-wide routing mode to use","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetworkUrls":{"name":"subnetworkUrls","type":"\u0019\u0007","is_mandatory":true,"title":"List of URLs for the subnetwork in this network","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetworks":{"name":"subnetworks","type":"\u0019\u001bgcp.project.computeService.subnetwork","title":"Subnetworks in this network","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute VPC Network resource","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.region":{"id":"gcp.project.computeService.region","name":"gcp.project.computeService.region","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"deprecated":{"name":"deprecated","type":"\n","is_mandatory":true,"title":"Deprecation status","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Resource Description","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Name of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"quotas":{"name":"quotas","type":"\u001a\u0007\u0006","is_mandatory":true,"title":"Quotas assigned to this region","provider":"go.mondoo.com/cnquery/providers/gcp"},"status":{"name":"status","type":"\u0007","is_mandatory":true,"title":"Status of the region","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Region","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.router":{"id":"gcp.project.computeService.router","name":"gcp.project.computeService.router","fields":{"bgp":{"name":"bgp","type":"\n","is_mandatory":true,"title":"BGP information","provider":"go.mondoo.com/cnquery/providers/gcp"},"bgpPeers":{"name":"bgpPeers","type":"\u0019\n","is_mandatory":true,"title":"BGP routing stack configuration to establish BGP peering","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"An optional description of this resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"encryptedInterconnectRouter":{"name":"encryptedInterconnectRouter","type":"\u0004","is_mandatory":true,"title":"Indicates if a router is dedicated for use with encrypted VLAN attachments","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique Identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Name of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"nats":{"name":"nats","type":"\u0019\n","is_mandatory":true,"title":"NAT services created in this router","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Cloud Router","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.serviceaccount":{"id":"gcp.project.computeService.serviceaccount","name":"gcp.project.computeService.serviceaccount","fields":{"email":{"name":"email","type":"\u0007","is_mandatory":true,"title":"Service account email address","provider":"go.mondoo.com/cnquery/providers/gcp"},"scopes":{"name":"scopes","type":"\u0019\u0007","is_mandatory":true,"title":"Service account scopes","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Service Account","private":true,"min_mondoo_version":"5.15.0","defaults":"email","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.snapshot":{"id":"gcp.project.computeService.snapshot","name":"gcp.project.computeService.snapshot","fields":{"architecture":{"name":"architecture","type":"\u0007","is_mandatory":true,"title":"Architecture of the snapshot","provider":"go.mondoo.com/cnquery/providers/gcp"},"autoCreated":{"name":"autoCreated","type":"\u0004","is_mandatory":true,"title":"Indicates if snapshot was automatically created","provider":"go.mondoo.com/cnquery/providers/gcp"},"chainName":{"name":"chainName","type":"\u0007","is_mandatory":true,"title":"Snapshot Chain","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"creationSizeBytes":{"name":"creationSizeBytes","type":"\u0005","is_mandatory":true,"title":"Size in bytes of the snapshot at creation time","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Optional description","provider":"go.mondoo.com/cnquery/providers/gcp"},"diskSizeGb":{"name":"diskSizeGb","type":"\u0005","is_mandatory":true,"title":"Size of the source disk, specified in GB","provider":"go.mondoo.com/cnquery/providers/gcp"},"downloadBytes":{"name":"downloadBytes","type":"\u0005","is_mandatory":true,"title":"Number of bytes downloaded to restore a snapshot to a disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Snapshot Labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"licenses":{"name":"licenses","type":"\u0019\u0007","is_mandatory":true,"title":"Public visible licenses","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Name of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"snapshotType":{"name":"snapshotType","type":"\u0007","is_mandatory":true,"title":"Indicates the type of the snapshot","provider":"go.mondoo.com/cnquery/providers/gcp"},"status":{"name":"status","type":"\u0007","is_mandatory":true,"title":"The status of the snapshot","provider":"go.mondoo.com/cnquery/providers/gcp"},"storageBytes":{"name":"storageBytes","type":"\u0005","is_mandatory":true,"title":"Size of the storage used by the snapshot","provider":"go.mondoo.com/cnquery/providers/gcp"},"storageBytesStatus":{"name":"storageBytesStatus","type":"\u0007","is_mandatory":true,"title":"An indicator whether storageBytes is in a stable state or in storage reallocation","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Persistent Disk Snapshot","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.subnetwork":{"id":"gcp.project.computeService.subnetwork","name":"gcp.project.computeService.subnetwork","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"An optional description of this resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableFlowLogs":{"name":"enableFlowLogs","type":"\u0004","is_mandatory":true,"title":"Indicates if flow logging for this subnetwork","provider":"go.mondoo.com/cnquery/providers/gcp"},"externalIpv6Prefix":{"name":"externalIpv6Prefix","type":"\u0007","is_mandatory":true,"title":"External IPv6 address range","provider":"go.mondoo.com/cnquery/providers/gcp"},"fingerprint":{"name":"fingerprint","type":"\u0007","is_mandatory":true,"title":"Fingerprint of this resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"gatewayAddress":{"name":"gatewayAddress","type":"\u0007","is_mandatory":true,"title":"Gateway address for default routes","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique Identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"internalIpv6Prefix":{"name":"internalIpv6Prefix","type":"\u0007","is_mandatory":true,"title":"Internal IPv6 address range","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipCidrRange":{"name":"ipCidrRange","type":"\u0007","is_mandatory":true,"title":"Range of internal addresses","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipv6AccessType":{"name":"ipv6AccessType","type":"\u0007","is_mandatory":true,"title":"Access type of IPv6 address","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipv6CidrRange":{"name":"ipv6CidrRange","type":"\u0007","is_mandatory":true,"title":"Range of internal IPv6 addresses","provider":"go.mondoo.com/cnquery/providers/gcp"},"logConfig":{"name":"logConfig","type":"\u001bgcp.project.computeService.subnetwork.logConfig","is_mandatory":true,"title":"VPC flow logging configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Name of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"privateIpGoogleAccess":{"name":"privateIpGoogleAccess","type":"\u0004","is_mandatory":true,"title":"VMs in this subnet can access Google services without assigned external IP addresses","provider":"go.mondoo.com/cnquery/providers/gcp"},"privateIpv6GoogleAccess":{"name":"privateIpv6GoogleAccess","type":"\u0007","is_mandatory":true,"title":"VMs in this subnet can access Google services without assigned external IPv6 addresses","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"purpose":{"name":"purpose","type":"\u0007","is_mandatory":true,"title":"Purpose of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"region":{"name":"region","type":"\u001bgcp.project.computeService.region","title":"Region","provider":"go.mondoo.com/cnquery/providers/gcp"},"regionUrl":{"name":"regionUrl","type":"\u0007","is_mandatory":true,"title":"Region URL","provider":"go.mondoo.com/cnquery/providers/gcp"},"role":{"name":"role","type":"\u0007","is_mandatory":true,"title":"Role of subnetwork","provider":"go.mondoo.com/cnquery/providers/gcp"},"stackType":{"name":"stackType","type":"\u0007","is_mandatory":true,"title":"Stack type for the subnet","provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\u0007","is_mandatory":true,"title":"State of the subnetwork","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute VPC Network Partitioning","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.subnetwork.logConfig":{"id":"gcp.project.computeService.subnetwork.logConfig","name":"gcp.project.computeService.subnetwork.logConfig","fields":{"aggregationInterval":{"name":"aggregationInterval","type":"\u0007","is_mandatory":true,"title":"Toggles the aggregation interval for collecting flow logs","provider":"go.mondoo.com/cnquery/providers/gcp"},"enable":{"name":"enable","type":"\u0004","is_mandatory":true,"title":"Whether to enable flow logging for this subnetwork","provider":"go.mondoo.com/cnquery/providers/gcp"},"filterExpression":{"name":"filterExpression","type":"\u0007","is_mandatory":true,"title":"Used to define which VPC flow logs should be exported to Cloud Logging","provider":"go.mondoo.com/cnquery/providers/gcp"},"flowSampling":{"name":"flowSampling","type":"\u0006","is_mandatory":true,"title":"Sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"metadata":{"name":"metadata","type":"\u0007","is_mandatory":true,"title":"Whether all, none or a subset of metadata should be added to the reported VPC flow logs","provider":"go.mondoo.com/cnquery/providers/gcp"},"metadataFields":{"name":"metadataFields","type":"\u0019\u0007","is_mandatory":true,"title":"Metadata fields to be added to the reported VPC flow logs","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute VPC Network Partitioning log configuration","private":true,"defaults":"enable","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.computeService.zone":{"id":"gcp.project.computeService.zone","name":"gcp.project.computeService.zone","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Resource Description","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique identifier","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Name of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"status":{"name":"status","type":"\u0007","is_mandatory":true,"title":"Status of the zone","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Compute Zone","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dataprocService":{"id":"gcp.project.dataprocService","name":"gcp.project.dataprocService","fields":{"cluster":{"name":"cluster","type":"\u001bgcp.project.dataprocService.cluster","title":"GCP Dataproc cluster","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"clusters":{"name":"clusters","type":"\u0019\u001bgcp.project.dataprocService.cluster","title":"List of Dataproc clusters in the current project","provider":"go.mondoo.com/cnquery/providers/gcp"},"enabled":{"name":"enabled","type":"\u0004","is_mandatory":true,"title":"Whether the DataProc service is enabled in the project or not","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"regions":{"name":"regions","type":"\u0019\u0007","title":"List of available regions","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Dataproc Resources","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dataprocService.cluster":{"id":"gcp.project.dataprocService.cluster","name":"gcp.project.dataprocService.cluster","fields":{"config":{"name":"config","type":"\u001bgcp.project.dataprocService.cluster.config","is_mandatory":true,"title":"Cluster configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Labels associated with the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"metrics":{"name":"metrics","type":"\n","is_mandatory":true,"title":"Contains cluster daemon metrics such as HDF and YARN stats","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Cluster name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"status":{"name":"status","type":"\u001bgcp.project.dataprocService.cluster.status","is_mandatory":true,"title":"Cluster status","provider":"go.mondoo.com/cnquery/providers/gcp"},"statusHistory":{"name":"statusHistory","type":"\u0019\u001bgcp.project.dataprocService.cluster.status","is_mandatory":true,"title":"Previous cluster status","provider":"go.mondoo.com/cnquery/providers/gcp"},"uuid":{"name":"uuid","type":"\u0007","is_mandatory":true,"title":"Cluster UUID","provider":"go.mondoo.com/cnquery/providers/gcp"},"virtualClusterConfig":{"name":"virtualClusterConfig","type":"\u001bgcp.project.dataprocService.cluster.virtualClusterConfig","is_mandatory":true,"title":"Virtual cluster config used when creating a Dataproc cluster that does not directly control the underlying compute resources","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Dataproc cluster","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dataprocService.cluster.config":{"id":"gcp.project.dataprocService.cluster.config","name":"gcp.project.dataprocService.cluster.config","fields":{"autoscaling":{"name":"autoscaling","type":"\n","is_mandatory":true,"title":"Autoscaling configuration for the policy associated with the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"configBucket":{"name":"configBucket","type":"\u0007","is_mandatory":true,"title":"Cloud Storage bucket used to stage job dependencies, config files, and job driver console output","provider":"go.mondoo.com/cnquery/providers/gcp"},"encryption":{"name":"encryption","type":"\n","is_mandatory":true,"title":"Encryption configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"endpoint":{"name":"endpoint","type":"\n","is_mandatory":true,"title":"Port/endpoint configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"gceCluster":{"name":"gceCluster","type":"\u001bgcp.project.dataprocService.cluster.config.gceCluster","is_mandatory":true,"title":"Shared Compute Engine configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"gkeCluster":{"name":"gkeCluster","type":"\u001bgcp.project.dataprocService.cluster.config.gkeCluster","is_mandatory":true,"title":"Kubernetes Engine config for Dataproc clusters deployed to Kubernetes","provider":"go.mondoo.com/cnquery/providers/gcp"},"initializationActions":{"name":"initializationActions","type":"\u0019\n","is_mandatory":true,"title":"Commands to execute on each node after config is completed","provider":"go.mondoo.com/cnquery/providers/gcp"},"instance":{"name":"instance","type":"\u001bgcp.project.dataprocService.cluster.config.instance","title":"GCP Dataproc cluster instance config","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"lifecycle":{"name":"lifecycle","type":"\u001bgcp.project.dataprocService.cluster.config.lifecycle","is_mandatory":true,"title":"Lifecycle configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"master":{"name":"master","type":"\u001bgcp.project.dataprocService.cluster.config.instance","is_mandatory":true,"title":"Compute Engine config for the cluster's master instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"metastore":{"name":"metastore","type":"\n","is_mandatory":true,"title":"Metastore configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"metrics":{"name":"metrics","type":"\n","is_mandatory":true,"title":"Dataproc metrics configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"parentResourcePath":{"name":"parentResourcePath","type":"\u0007","is_mandatory":true,"title":"Parent resource path","provider":"go.mondoo.com/cnquery/providers/gcp"},"secondaryWorker":{"name":"secondaryWorker","type":"\u001bgcp.project.dataprocService.cluster.config.instance","is_mandatory":true,"title":"Compute Engine configuration for the cluster's secondary worker instances","provider":"go.mondoo.com/cnquery/providers/gcp"},"security":{"name":"security","type":"\n","is_mandatory":true,"title":"Security configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"software":{"name":"software","type":"\n","is_mandatory":true,"title":"Cluster software configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"tempBucket":{"name":"tempBucket","type":"\u0007","is_mandatory":true,"title":"Cloud Storage bucket used to store ephemeral cluster and jobs data","provider":"go.mondoo.com/cnquery/providers/gcp"},"worker":{"name":"worker","type":"\u001bgcp.project.dataprocService.cluster.config.instance","is_mandatory":true,"title":"Compute Engine configuration for the cluster's worker instances","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Dataproc cluster config","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dataprocService.cluster.config.gceCluster":{"id":"gcp.project.dataprocService.cluster.config.gceCluster","name":"gcp.project.dataprocService.cluster.config.gceCluster","fields":{"confidentialInstance":{"name":"confidentialInstance","type":"\n","is_mandatory":true,"title":"Confidential instance configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"internalIpOnly":{"name":"internalIpOnly","type":"\u0004","is_mandatory":true,"title":"Whether the cluster has only internal IP addresses","provider":"go.mondoo.com/cnquery/providers/gcp"},"metadata":{"name":"metadata","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Compute Engine metadata entries","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkUri":{"name":"networkUri","type":"\u0007","is_mandatory":true,"title":"Compute Engine network to be used for machine communications","provider":"go.mondoo.com/cnquery/providers/gcp"},"nodeGroupAffinity":{"name":"nodeGroupAffinity","type":"\n","is_mandatory":true,"title":"Node Group Affinity for sole-tenant clusters","provider":"go.mondoo.com/cnquery/providers/gcp"},"privateIpv6GoogleAccess":{"name":"privateIpv6GoogleAccess","type":"\u0007","is_mandatory":true,"title":"Type of IPv6 access for the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"reservationAffinity":{"name":"reservationAffinity","type":"\u001bgcp.project.dataprocService.cluster.config.gceCluster.reservationAffinity","is_mandatory":true,"title":"Reservation affinity for consuming zonal reservations","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccount":{"name":"serviceAccount","type":"\u001bgcp.project.iamService.serviceAccount","title":"Service account used by the Dataproc cluster VM instances","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccountEmail":{"name":"serviceAccountEmail","type":"\u0007","is_mandatory":true,"title":"Email of the service account used by the Dataproc cluster VM instances","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccountScopes":{"name":"serviceAccountScopes","type":"\u0019\u0007","is_mandatory":true,"title":"URIs of service account scopes to be included in Compute Engine instances","provider":"go.mondoo.com/cnquery/providers/gcp"},"shieldedInstanceConfig":{"name":"shieldedInstanceConfig","type":"\u001bgcp.project.dataprocService.cluster.config.gceCluster.shieldedInstanceConfig","is_mandatory":true,"title":"Shielded instance config for clusters using Compute Engine Shielded VMs","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetworkUri":{"name":"subnetworkUri","type":"\u0007","is_mandatory":true,"title":"Compute Engine subnetwork to use for machine communications","provider":"go.mondoo.com/cnquery/providers/gcp"},"tags":{"name":"tags","type":"\u0019\u0007","is_mandatory":true,"title":"Compute Engine tags","provider":"go.mondoo.com/cnquery/providers/gcp"},"zoneUri":{"name":"zoneUri","type":"\u0007","is_mandatory":true,"title":"Zone where the Compute Engine cluster is located","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Dataproc cluster endpoint config","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dataprocService.cluster.config.gceCluster.reservationAffinity":{"id":"gcp.project.dataprocService.cluster.config.gceCluster.reservationAffinity","name":"gcp.project.dataprocService.cluster.config.gceCluster.reservationAffinity","fields":{"consumeReservationType":{"name":"consumeReservationType","type":"\u0007","is_mandatory":true,"title":"Type of reservation to consume","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"key":{"name":"key","type":"\u0007","is_mandatory":true,"title":"Corresponds to the label key of the reservation resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"values":{"name":"values","type":"\u0019\u0007","is_mandatory":true,"title":"Corresponds to the label values of the reservation resource","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Dataproc cluster GCE Cluster reservation affinity config","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dataprocService.cluster.config.gceCluster.shieldedInstanceConfig":{"id":"gcp.project.dataprocService.cluster.config.gceCluster.shieldedInstanceConfig","name":"gcp.project.dataprocService.cluster.config.gceCluster.shieldedInstanceConfig","fields":{"enableIntegrityMonitoring":{"name":"enableIntegrityMonitoring","type":"\u0004","is_mandatory":true,"title":"Whether the instances have integrity monitoring enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableSecureBoot":{"name":"enableSecureBoot","type":"\u0004","is_mandatory":true,"title":"Whether the instances have Secure Boot enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableVtpm":{"name":"enableVtpm","type":"\u0004","is_mandatory":true,"title":"Whether the instances have the vTPM enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Dataproc cluster GCE Cluster shielded instance config","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dataprocService.cluster.config.gkeCluster":{"id":"gcp.project.dataprocService.cluster.config.gkeCluster","name":"gcp.project.dataprocService.cluster.config.gkeCluster","fields":{"gkeClusterTarget":{"name":"gkeClusterTarget","type":"\u0007","is_mandatory":true,"title":"Target GKE cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"nodePoolTarget":{"name":"nodePoolTarget","type":"\u0019\n","is_mandatory":true,"title":"GKE node pools where workloads are scheduled","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Dataproc cluster GKE Cluster config","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dataprocService.cluster.config.instance":{"id":"gcp.project.dataprocService.cluster.config.instance","name":"gcp.project.dataprocService.cluster.config.instance","fields":{"accelerators":{"name":"accelerators","type":"\u0019\n","is_mandatory":true,"title":"Compute Engine accelerators","provider":"go.mondoo.com/cnquery/providers/gcp"},"diskConfig":{"name":"diskConfig","type":"\u001bgcp.project.dataprocService.cluster.config.instance.diskConfig","is_mandatory":true,"title":"Disk options","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"imageUri":{"name":"imageUri","type":"\u0007","is_mandatory":true,"title":"Compute Engine imager resource used for cluster instances","provider":"go.mondoo.com/cnquery/providers/gcp"},"instanceNames":{"name":"instanceNames","type":"\u0019\u0007","is_mandatory":true,"title":"List of instance names","provider":"go.mondoo.com/cnquery/providers/gcp"},"instanceReferences":{"name":"instanceReferences","type":"\u0019\n","is_mandatory":true,"title":"List of references to Compute Engine instances","provider":"go.mondoo.com/cnquery/providers/gcp"},"isPreemptible":{"name":"isPreemptible","type":"\u0004","is_mandatory":true,"title":"Whether the instance group contains preemptible instances","provider":"go.mondoo.com/cnquery/providers/gcp"},"machineTypeUri":{"name":"machineTypeUri","type":"\u0007","is_mandatory":true,"title":"Compute Engine machine type used for cluster instances","provider":"go.mondoo.com/cnquery/providers/gcp"},"managedGroupConfig":{"name":"managedGroupConfig","type":"\n","is_mandatory":true,"title":"Config for Compute Engine Instance Group Manager that manages this group","provider":"go.mondoo.com/cnquery/providers/gcp"},"minCpuPlatform":{"name":"minCpuPlatform","type":"\u0007","is_mandatory":true,"title":"Minimum CPU platform for the instance group","provider":"go.mondoo.com/cnquery/providers/gcp"},"numInstances":{"name":"numInstances","type":"\u0005","is_mandatory":true,"title":"Number of VM instances in the instance group","provider":"go.mondoo.com/cnquery/providers/gcp"},"preemptibility":{"name":"preemptibility","type":"\u0007","is_mandatory":true,"title":"The preemptibility of the instance group","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Dataproc cluster instance config","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dataprocService.cluster.config.instance.diskConfig":{"id":"gcp.project.dataprocService.cluster.config.instance.diskConfig","name":"gcp.project.dataprocService.cluster.config.instance.diskConfig","fields":{"bootDiskSizeGb":{"name":"bootDiskSizeGb","type":"\u0005","is_mandatory":true,"title":"Size in GB of the boot disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"bootDiskType":{"name":"bootDiskType","type":"\u0007","is_mandatory":true,"title":"Type of the boot disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"localSsdInterface":{"name":"localSsdInterface","type":"\u0007","is_mandatory":true,"title":"Interface type of local SSDs","provider":"go.mondoo.com/cnquery/providers/gcp"},"numLocalSsds":{"name":"numLocalSsds","type":"\u0005","is_mandatory":true,"title":"Number of attached SSDs","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Dataproc cluster instance disk config","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dataprocService.cluster.config.lifecycle":{"id":"gcp.project.dataprocService.cluster.config.lifecycle","name":"gcp.project.dataprocService.cluster.config.lifecycle","fields":{"autoDeleteTime":{"name":"autoDeleteTime","type":"\u0007","is_mandatory":true,"title":"Time when the cluster will be auto-deleted","provider":"go.mondoo.com/cnquery/providers/gcp"},"autoDeleteTtl":{"name":"autoDeleteTtl","type":"\u0007","is_mandatory":true,"title":"Lifetime duration of the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"idleDeleteTtl":{"name":"idleDeleteTtl","type":"\u0007","is_mandatory":true,"title":"Duration to keep the cluster alive while idling","provider":"go.mondoo.com/cnquery/providers/gcp"},"idleStartTime":{"name":"idleStartTime","type":"\u0007","is_mandatory":true,"title":"Time when the cluster will be auto-resumed","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Dataproc cluster lifecycle config","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dataprocService.cluster.status":{"id":"gcp.project.dataprocService.cluster.status","name":"gcp.project.dataprocService.cluster.status","fields":{"detail":{"name":"detail","type":"\u0007","is_mandatory":true,"title":"Details of the cluster's state","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"started":{"name":"started","type":"\t","is_mandatory":true,"title":"Started timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\u0007","is_mandatory":true,"title":"Cluster's state","provider":"go.mondoo.com/cnquery/providers/gcp"},"substate":{"name":"substate","type":"\u0007","is_mandatory":true,"title":"Additional state information that includes status reported by the agent","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Dataproc cluster status","private":true,"defaults":"state","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dataprocService.cluster.virtualClusterConfig":{"id":"gcp.project.dataprocService.cluster.virtualClusterConfig","name":"gcp.project.dataprocService.cluster.virtualClusterConfig","fields":{"auxiliaryServices":{"name":"auxiliaryServices","type":"\n","is_mandatory":true,"title":"Auxiliary services configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"kubernetesCluster":{"name":"kubernetesCluster","type":"\n","is_mandatory":true,"title":"Kubernetes cluster configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"parentResourcePath":{"name":"parentResourcePath","type":"\u0007","is_mandatory":true,"title":"Parent resource path","provider":"go.mondoo.com/cnquery/providers/gcp"},"stagingBucket":{"name":"stagingBucket","type":"\u0007","is_mandatory":true,"title":"Cloud Storage bucket used to stage job dependencies, config files, and job driver console output","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Dataproc cluster virtual cluster config","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dnsService":{"id":"gcp.project.dnsService","name":"gcp.project.dnsService","fields":{"managedZones":{"name":"managedZones","type":"\u0019\u001bgcp.project.dnsService.managedzone","title":"Cloud DNS managed zone in project","provider":"go.mondoo.com/cnquery/providers/gcp"},"managedzone":{"name":"managedzone","type":"\u001bgcp.project.dnsService.managedzone","title":"Cloud DNS managed zone is a resource that represents a DNS zone hosted by the Cloud DNS service","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"policies":{"name":"policies","type":"\u0019\u001bgcp.project.dnsService.policy","title":"Cloud DNS rules in project","provider":"go.mondoo.com/cnquery/providers/gcp"},"policy":{"name":"policy","type":"\u001bgcp.project.dnsService.policy","title":"Cloud DNS rules applied to one or more Virtual Private Cloud resources","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"recordset":{"name":"recordset","type":"\u001bgcp.project.dnsService.recordset","title":"Cloud DNS RecordSet","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud DNS","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dnsService.managedzone":{"id":"gcp.project.dnsService.managedzone","name":"gcp.project.dnsService.managedzone","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"User-friendly description of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"dnsName":{"name":"dnsName","type":"\u0007","is_mandatory":true,"title":"DNS name of this managed zone","provider":"go.mondoo.com/cnquery/providers/gcp"},"dnssecConfig":{"name":"dnssecConfig","type":"\n","is_mandatory":true,"title":"DNSSEC configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Managed Zone ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"User-friendly name of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"nameServerSet":{"name":"nameServerSet","type":"\u0007","is_mandatory":true,"title":"Optionally specifies the NameServerSet for this ManagedZone","provider":"go.mondoo.com/cnquery/providers/gcp"},"nameServers":{"name":"nameServers","type":"\u0019\u0007","is_mandatory":true,"title":"Delegated to these virtual name servers","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"recordSets":{"name":"recordSets","type":"\u0019\u001bgcp.project.dnsService.recordset","title":"Cloud DNS RecordSet in zone","provider":"go.mondoo.com/cnquery/providers/gcp"},"visibility":{"name":"visibility","type":"\u0007","is_mandatory":true,"title":"Zone's visibility","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"Cloud DNS managed zone is a resource that represents a DNS zone hosted by the Cloud DNS service","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dnsService.policy":{"id":"gcp.project.dnsService.policy","name":"gcp.project.dnsService.policy","fields":{"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"User-friendly description of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableInboundForwarding":{"name":"enableInboundForwarding","type":"\u0004","is_mandatory":true,"title":"Indicates if DNS queries sent by VMs or applications over VPN connections are allowed","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableLogging":{"name":"enableLogging","type":"\u0004","is_mandatory":true,"title":"Indicates if logging is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Managed Zone ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"User-friendly name of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkNames":{"name":"networkNames","type":"\u0019\u0007","is_mandatory":true,"title":"List of network names specifying networks to which this policy is applied","provider":"go.mondoo.com/cnquery/providers/gcp"},"networks":{"name":"networks","type":"\u0019\u001bgcp.project.computeService.network","title":"List of networks to which this policy is applied","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"Cloud DNS rules applied to one or more Virtual Private Cloud resources","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.dnsService.recordset":{"id":"gcp.project.dnsService.recordset","name":"gcp.project.dnsService.recordset","fields":{"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"User-friendly name of the resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"rrdatas":{"name":"rrdatas","type":"\u0019\u0007","is_mandatory":true,"title":"Rrdatas: As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)","provider":"go.mondoo.com/cnquery/providers/gcp"},"signatureRrdatas":{"name":"signatureRrdatas","type":"\u0019\u0007","is_mandatory":true,"title":"SignatureRrdatas: As defined in RFC 4034","provider":"go.mondoo.com/cnquery/providers/gcp"},"ttl":{"name":"ttl","type":"\u0005","is_mandatory":true,"title":"Number of seconds that this ResourceRecordSet can be cached by resolvers","provider":"go.mondoo.com/cnquery/providers/gcp"},"type":{"name":"type","type":"\u0007","is_mandatory":true,"title":"The identifier of a supported record type","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"Cloud DNS RecordSet","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService":{"id":"gcp.project.gkeService","name":"gcp.project.gkeService","fields":{"cluster":{"name":"cluster","type":"\u001bgcp.project.gkeService.cluster","title":"GCP GKE Cluster","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"clusters":{"name":"clusters","type":"\u0019\u001bgcp.project.gkeService.cluster","title":"List of GKE clusters in the current project","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster":{"id":"gcp.project.gkeService.cluster","name":"gcp.project.gkeService.cluster","fields":{"addonsConfig":{"name":"addonsConfig","type":"\u001bgcp.project.gkeService.cluster.addonsConfig","is_mandatory":true,"title":"Configurations for the various addons available to run in the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"autopilotEnabled":{"name":"autopilotEnabled","type":"\u0004","is_mandatory":true,"title":"Whether Autopilot is enabled for the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"binaryAuthorization":{"name":"binaryAuthorization","type":"\n","is_mandatory":true,"title":"Binary authorization configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"clusterIpv4Cidr":{"name":"clusterIpv4Cidr","type":"\u0007","is_mandatory":true,"title":"The IP address range of the container pods in this cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation time","provider":"go.mondoo.com/cnquery/providers/gcp"},"currentMasterVersion":{"name":"currentMasterVersion","type":"\u0007","is_mandatory":true,"title":"The current software version of the master endpoint","provider":"go.mondoo.com/cnquery/providers/gcp"},"databaseEncryption":{"name":"databaseEncryption","type":"\n","is_mandatory":true,"title":"Etcd encryption configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Optional description for the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableKubernetesAlpha":{"name":"enableKubernetesAlpha","type":"\u0004","is_mandatory":true,"title":"Enable Kubernetes alpha features","provider":"go.mondoo.com/cnquery/providers/gcp"},"endpoint":{"name":"endpoint","type":"\u0007","is_mandatory":true,"title":"The IP address of this cluster's master endpoint","provider":"go.mondoo.com/cnquery/providers/gcp"},"expirationTime":{"name":"expirationTime","type":"\t","is_mandatory":true,"title":"The time the cluster will be automatically deleted in","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Unique identifier for the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"initialClusterVersion":{"name":"initialClusterVersion","type":"\u0007","is_mandatory":true,"title":"The initial Kubernetes version for this cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipAllocationPolicy":{"name":"ipAllocationPolicy","type":"\u001bgcp.project.gkeService.cluster.ipAllocationPolicy","is_mandatory":true,"title":"Configuration for cluster IP allocation","provider":"go.mondoo.com/cnquery/providers/gcp"},"legacyAbac":{"name":"legacyAbac","type":"\n","is_mandatory":true,"title":"Legacy ABAC authorization configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"location":{"name":"location","type":"\u0007","is_mandatory":true,"title":"Name of the Google Compute Engine zone/region in which the cluster exists","provider":"go.mondoo.com/cnquery/providers/gcp"},"locations":{"name":"locations","type":"\u0019\u0007","is_mandatory":true,"title":"The list of Google Compute Engine zones in which the cluster's nodes should be located.","provider":"go.mondoo.com/cnquery/providers/gcp"},"loggingService":{"name":"loggingService","type":"\u0007","is_mandatory":true,"title":"The logging service the cluster should use to write logs","provider":"go.mondoo.com/cnquery/providers/gcp"},"masterAuth":{"name":"masterAuth","type":"\n","is_mandatory":true,"title":"Authentication information for accessing the master endpoint","provider":"go.mondoo.com/cnquery/providers/gcp"},"masterAuthorizedNetworksConfig":{"name":"masterAuthorizedNetworksConfig","type":"\n","is_mandatory":true,"title":"Master authorized networks configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"monitoringService":{"name":"monitoringService","type":"\u0007","is_mandatory":true,"title":"The monitoring service the cluster should use to write metrics","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"The name of the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"network":{"name":"network","type":"\u0007","is_mandatory":true,"title":"The name of the Google Compute Engine network to which the cluster is connected","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkConfig":{"name":"networkConfig","type":"\u001bgcp.project.gkeService.cluster.networkConfig","is_mandatory":true,"title":"Configuration for cluster networking","provider":"go.mondoo.com/cnquery/providers/gcp"},"nodePools":{"name":"nodePools","type":"\u0019\u001bgcp.project.gkeService.cluster.nodepool","is_mandatory":true,"title":"The list of node pools for the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"nodepool":{"name":"nodepool","type":"\u001bgcp.project.gkeService.cluster.nodepool","title":"GKE Cluster Node Pool","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"privateClusterConfig":{"name":"privateClusterConfig","type":"\n","is_mandatory":true,"title":"Private cluster configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"resourceLabels":{"name":"resourceLabels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"The resource labels for the cluster to use to annotate any related Google Compute Engine resources.","provider":"go.mondoo.com/cnquery/providers/gcp"},"status":{"name":"status","type":"\u0007","is_mandatory":true,"title":"The current status of this cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetwork":{"name":"subnetwork","type":"\u0007","is_mandatory":true,"title":"The name of the Google Compute Engine subnetwork to which the cluster is connected.","provider":"go.mondoo.com/cnquery/providers/gcp"},"workloadIdentityConfig":{"name":"workloadIdentityConfig","type":"\n","is_mandatory":true,"title":"Configuration for the use of Kubernetes Service Accounts in GCP IAM policies","provider":"go.mondoo.com/cnquery/providers/gcp"},"zone":{"name":"zone","type":"\u0007","is_mandatory":true,"title":"Deprecated. Use location instead.","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE Cluster","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.addonsConfig":{"id":"gcp.project.gkeService.cluster.addonsConfig","name":"gcp.project.gkeService.cluster.addonsConfig","fields":{"cloudRunConfig":{"name":"cloudRunConfig","type":"\n","is_mandatory":true,"title":"Configuration for the Cloud Run addon","provider":"go.mondoo.com/cnquery/providers/gcp"},"configConnectorConfig":{"name":"configConnectorConfig","type":"\n","is_mandatory":true,"title":"Configuration for the ConfigConnector addon","provider":"go.mondoo.com/cnquery/providers/gcp"},"dnsCacheConfig":{"name":"dnsCacheConfig","type":"\n","is_mandatory":true,"title":"Configuration for NodeLocalDNS, a DNS cache running on cluster nodes","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcePersistentDiskCsiDriverConfig":{"name":"gcePersistentDiskCsiDriverConfig","type":"\n","is_mandatory":true,"title":"Configuration for the Compute Engine Persistent Disk CSI driver","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcpFilestoreCsiDriverConfig":{"name":"gcpFilestoreCsiDriverConfig","type":"\n","is_mandatory":true,"title":"Configuration for the GCP Filestore CSI driver","provider":"go.mondoo.com/cnquery/providers/gcp"},"gkeBackupAgentConfig":{"name":"gkeBackupAgentConfig","type":"\n","is_mandatory":true,"title":"Configuration for the backup for GKE agent addon","provider":"go.mondoo.com/cnquery/providers/gcp"},"horizontalPodAutoscaling":{"name":"horizontalPodAutoscaling","type":"\n","is_mandatory":true,"title":"Configuration for the horizontal pod autoscaling feature","provider":"go.mondoo.com/cnquery/providers/gcp"},"httpLoadBalancing":{"name":"httpLoadBalancing","type":"\n","is_mandatory":true,"title":"Configuration for the HTTP (L7) load balancing controller addon","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"kubernetesDashboard":{"name":"kubernetesDashboard","type":"\n","is_mandatory":true,"title":"Configuration for the Kubernetes Dashboard","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkPolicyConfig":{"name":"networkPolicyConfig","type":"\n","is_mandatory":true,"title":"Configuration for NetworkPolicy","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GKE Cluster Addons Config","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.ipAllocationPolicy":{"id":"gcp.project.gkeService.cluster.ipAllocationPolicy","name":"gcp.project.gkeService.cluster.ipAllocationPolicy","fields":{"clusterIpv4CidrBlock":{"name":"clusterIpv4CidrBlock","type":"\u0007","is_mandatory":true,"title":"IP address range for the cluster pod IPs","provider":"go.mondoo.com/cnquery/providers/gcp"},"clusterSecondaryRangeName":{"name":"clusterSecondaryRangeName","type":"\u0007","is_mandatory":true,"title":"Name of the secondary range to be used for the cluster CIDR block","provider":"go.mondoo.com/cnquery/providers/gcp"},"createSubnetwork":{"name":"createSubnetwork","type":"\u0004","is_mandatory":true,"title":"Whether a new subnetwork will be created automatically for the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipv6AccessType":{"name":"ipv6AccessType","type":"\u0007","is_mandatory":true,"title":"IPv6 access type","provider":"go.mondoo.com/cnquery/providers/gcp"},"nodeIpv4CidrBlock":{"name":"nodeIpv4CidrBlock","type":"\u0007","is_mandatory":true,"title":"IP address range of the instance IPs in this cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"servicesIpv4CidrBlock":{"name":"servicesIpv4CidrBlock","type":"\u0007","is_mandatory":true,"title":"IP address range of the services IPs in this cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"servicesSecondaryRangeName":{"name":"servicesSecondaryRangeName","type":"\u0007","is_mandatory":true,"title":"Name of the secondary range to be used for the services CIDR block","provider":"go.mondoo.com/cnquery/providers/gcp"},"stackType":{"name":"stackType","type":"\u0007","is_mandatory":true,"title":"IP stack type","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetworkName":{"name":"subnetworkName","type":"\u0007","is_mandatory":true,"title":"Custom subnetwork name to be used if createSubnetwork is true","provider":"go.mondoo.com/cnquery/providers/gcp"},"tpuIpv4CidrBlock":{"name":"tpuIpv4CidrBlock","type":"\u0007","is_mandatory":true,"title":"IP address range of the Cloud TPUs in this cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"useIpAliases":{"name":"useIpAliases","type":"\u0004","is_mandatory":true,"title":"Whether alias IPs will be used for pod IPs in the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"useRoutes":{"name":"useRoutes","type":"\u0004","is_mandatory":true,"title":"Whether routes will be used for pod IPs in this cluster","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GKE Cluster IP Allocation Policy","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.networkConfig":{"id":"gcp.project.gkeService.cluster.networkConfig","name":"gcp.project.gkeService.cluster.networkConfig","fields":{"datapathProvider":{"name":"datapathProvider","type":"\u0007","is_mandatory":true,"title":"Desired datapath provider for this cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"defaultSnatStatus":{"name":"defaultSnatStatus","type":"\n","is_mandatory":true,"title":"Whether the cluster disables default in-node sNAT rules","provider":"go.mondoo.com/cnquery/providers/gcp"},"dnsConfig":{"name":"dnsConfig","type":"\n","is_mandatory":true,"title":"Cluster DNS configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableIntraNodeVisibility":{"name":"enableIntraNodeVisibility","type":"\u0004","is_mandatory":true,"title":"Whether intra-node visibility is enabled for this cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableL4IlbSubsetting":{"name":"enableL4IlbSubsetting","type":"\u0004","is_mandatory":true,"title":"Whether L4ILB subsetting is enabled for this cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"network":{"name":"network","type":"\u001bgcp.project.computeService.network","title":"Network to which the cluster is connected","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkPath":{"name":"networkPath","type":"\u0007","is_mandatory":true,"title":"Relative path of the network to which the cluster is connected","provider":"go.mondoo.com/cnquery/providers/gcp"},"privateIpv6GoogleAccess":{"name":"privateIpv6GoogleAccess","type":"\u0007","is_mandatory":true,"title":"Desired state of IPv6 connectivity to Google Services","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceExternalIpsConfig":{"name":"serviceExternalIpsConfig","type":"\n","is_mandatory":true,"title":"Configuration specifying whether services with externalIPs field are blocked","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetwork":{"name":"subnetwork","type":"\u001bgcp.project.computeService.subnetwork","title":"Subnetwork to which the cluster is connected","provider":"go.mondoo.com/cnquery/providers/gcp"},"subnetworkPath":{"name":"subnetworkPath","type":"\u0007","is_mandatory":true,"title":"Relative path of the subnetwork to which the cluster is connected","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GKE Cluster Network Config","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool":{"id":"gcp.project.gkeService.cluster.nodepool","name":"gcp.project.gkeService.cluster.nodepool","fields":{"config":{"name":"config","type":"\u001bgcp.project.gkeService.cluster.nodepool.config","is_mandatory":true,"title":"The node configuration of the pool","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"initialNodeCount":{"name":"initialNodeCount","type":"\u0005","is_mandatory":true,"title":"The initial node count for the pool","provider":"go.mondoo.com/cnquery/providers/gcp"},"instanceGroupUrls":{"name":"instanceGroupUrls","type":"\u0019\u0007","is_mandatory":true,"title":"The resource URLs of the managed instance groups associated with this node pool","provider":"go.mondoo.com/cnquery/providers/gcp"},"locations":{"name":"locations","type":"\u0019\u0007","is_mandatory":true,"title":"The list of Google Compute Engine zones in which the NodePool's nodes should be located.","provider":"go.mondoo.com/cnquery/providers/gcp"},"management":{"name":"management","type":"\n","is_mandatory":true,"title":"Node management configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"The name of the node pool","provider":"go.mondoo.com/cnquery/providers/gcp"},"networkConfig":{"name":"networkConfig","type":"\u001bgcp.project.gkeService.cluster.nodepool.networkConfig","is_mandatory":true,"title":"Networking configuration for this node pool.","provider":"go.mondoo.com/cnquery/providers/gcp"},"status":{"name":"status","type":"\u0007","is_mandatory":true,"title":"The current status of this node pool","provider":"go.mondoo.com/cnquery/providers/gcp"},"version":{"name":"version","type":"\u0007","is_mandatory":true,"title":"The Kubernetes version","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GKE Cluster Node Pool","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.config":{"id":"gcp.project.gkeService.cluster.nodepool.config","name":"gcp.project.gkeService.cluster.nodepool.config","fields":{"accelerator":{"name":"accelerator","type":"\u001bgcp.project.gkeService.cluster.nodepool.config.accelerator","title":"GCP GKE node pool hardware accelerators configuration","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"accelerators":{"name":"accelerators","type":"\u0019\u001bgcp.project.gkeService.cluster.nodepool.config.accelerator","is_mandatory":true,"title":"A list of hardware accelerators to be attached to each node","provider":"go.mondoo.com/cnquery/providers/gcp"},"advancedMachineFeatures":{"name":"advancedMachineFeatures","type":"\u001bgcp.project.gkeService.cluster.nodepool.config.advancedMachineFeatures","is_mandatory":true,"title":"Advanced features for the Compute Engine VM","provider":"go.mondoo.com/cnquery/providers/gcp"},"bootDiskKmsKey":{"name":"bootDiskKmsKey","type":"\u0007","is_mandatory":true,"title":"The Customer Managed Encryption Key used to encrypt the boot disk attached to each node","provider":"go.mondoo.com/cnquery/providers/gcp"},"confidentialNodes":{"name":"confidentialNodes","type":"\u001bgcp.project.gkeService.cluster.nodepool.config.confidentialNodes","is_mandatory":true,"title":"Confidential nodes configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"diskSizeGb":{"name":"diskSizeGb","type":"\u0005","is_mandatory":true,"title":"Size of the disk attached to each node, specified in GB","provider":"go.mondoo.com/cnquery/providers/gcp"},"diskType":{"name":"diskType","type":"\u0007","is_mandatory":true,"title":"Type of the disk attached to each node","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcfsConfig":{"name":"gcfsConfig","type":"\u001bgcp.project.gkeService.cluster.nodepool.config.gcfsConfig","is_mandatory":true,"title":"Google Container File System (image streaming) configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"gvnicConfig":{"name":"gvnicConfig","type":"\u001bgcp.project.gkeService.cluster.nodepool.config.gvnicConfig","is_mandatory":true,"title":"GVNIC configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"imageType":{"name":"imageType","type":"\u0007","is_mandatory":true,"title":"The image type to use for this node","provider":"go.mondoo.com/cnquery/providers/gcp"},"kubeletConfig":{"name":"kubeletConfig","type":"\u001bgcp.project.gkeService.cluster.nodepool.config.kubeletConfig","is_mandatory":true,"title":"Node kubelet configs","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"The map of Kubernetes labels to be applied to each node","provider":"go.mondoo.com/cnquery/providers/gcp"},"linuxNodeConfig":{"name":"linuxNodeConfig","type":"\u001bgcp.project.gkeService.cluster.nodepool.config.linuxNodeConfig","is_mandatory":true,"title":"Parameters that can be configured on Linux nodes","provider":"go.mondoo.com/cnquery/providers/gcp"},"localSsdCount":{"name":"localSsdCount","type":"\u0005","is_mandatory":true,"title":"The number of local SSD disks to be attached to the node","provider":"go.mondoo.com/cnquery/providers/gcp"},"machineType":{"name":"machineType","type":"\u0007","is_mandatory":true,"title":"The name of a Google Compute Engine machine type","provider":"go.mondoo.com/cnquery/providers/gcp"},"metadata":{"name":"metadata","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"The metadata key/value pairs assigned to instances in the cluster","provider":"go.mondoo.com/cnquery/providers/gcp"},"minCpuPlatform":{"name":"minCpuPlatform","type":"\u0007","is_mandatory":true,"title":"Minimum CPU platform to be used by this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"nodeTaint":{"name":"nodeTaint","type":"\u001bgcp.project.gkeService.cluster.nodepool.config.nodeTaint","title":"GCP GKE Kubernetes node taint","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"oauthScopes":{"name":"oauthScopes","type":"\u0019\u0007","is_mandatory":true,"title":"The set of Google API scopes to be made available on all of the node VMs under the \"default\" service account","provider":"go.mondoo.com/cnquery/providers/gcp"},"preemptible":{"name":"preemptible","type":"\u0004","is_mandatory":true,"title":"Whether the nodes are created as preemptible VM instances.","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"sandboxConfig":{"name":"sandboxConfig","type":"\u001bgcp.project.gkeService.cluster.nodepool.config.sandboxConfig","is_mandatory":true,"title":"Sandbox configuration for this node","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccount":{"name":"serviceAccount","type":"\u001bgcp.project.iamService.serviceAccount","title":"Google Cloud Platform Service Account to be used by the node VMs","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccountEmail":{"name":"serviceAccountEmail","type":"\u0007","is_mandatory":true,"title":"Email of the Google Cloud Platform Service Account to be used by the node VMs","provider":"go.mondoo.com/cnquery/providers/gcp"},"shieldedInstanceConfig":{"name":"shieldedInstanceConfig","type":"\u001bgcp.project.gkeService.cluster.nodepool.config.shieldedInstanceConfig","is_mandatory":true,"title":"Shielded instance configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"spot":{"name":"spot","type":"\u0004","is_mandatory":true,"title":"Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag","provider":"go.mondoo.com/cnquery/providers/gcp"},"tags":{"name":"tags","type":"\u0019\u0007","is_mandatory":true,"title":"The list of instance tags applied to all nodes","provider":"go.mondoo.com/cnquery/providers/gcp"},"taints":{"name":"taints","type":"\u0019\u001bgcp.project.gkeService.cluster.nodepool.config.nodeTaint","is_mandatory":true,"title":"List of Kubernetes taints to be applied to each node","provider":"go.mondoo.com/cnquery/providers/gcp"},"workloadMetadataMode":{"name":"workloadMetadataMode","type":"\u0007","is_mandatory":true,"title":"The workload metadata mode for this node","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE node pool configuration","private":true,"defaults":"machineType diskSizeGb","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.config.accelerator":{"id":"gcp.project.gkeService.cluster.nodepool.config.accelerator","name":"gcp.project.gkeService.cluster.nodepool.config.accelerator","fields":{"count":{"name":"count","type":"\u0005","is_mandatory":true,"title":"The number of the accelerator cards exposed to an instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"gpuPartitionSize":{"name":"gpuPartitionSize","type":"\u0007","is_mandatory":true,"title":"Size of partitions to create on the GPU","provider":"go.mondoo.com/cnquery/providers/gcp"},"gpuSharingConfig":{"name":"gpuSharingConfig","type":"\u001bgcp.project.gkeService.cluster.nodepool.config.accelerator.gpuSharingConfig","is_mandatory":true,"title":"The configuration for GPU sharing","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"type":{"name":"type","type":"\u0007","is_mandatory":true,"title":"The accelerator type resource name","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE node pool hardware accelerators configuration","private":true,"defaults":"type count","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.config.accelerator.gpuSharingConfig":{"id":"gcp.project.gkeService.cluster.nodepool.config.accelerator.gpuSharingConfig","name":"gcp.project.gkeService.cluster.nodepool.config.accelerator.gpuSharingConfig","fields":{"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxSharedClientsPerGpu":{"name":"maxSharedClientsPerGpu","type":"\u0005","is_mandatory":true,"title":"The max number of containers that can share a GPU","provider":"go.mondoo.com/cnquery/providers/gcp"},"strategy":{"name":"strategy","type":"\u0007","is_mandatory":true,"title":"The GPU sharing strategy","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GPU sharing configuration","private":true,"defaults":"strategy","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.config.advancedMachineFeatures":{"id":"gcp.project.gkeService.cluster.nodepool.config.advancedMachineFeatures","name":"gcp.project.gkeService.cluster.nodepool.config.advancedMachineFeatures","fields":{"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"threadsPerCore":{"name":"threadsPerCore","type":"\u0005","is_mandatory":true,"title":"The number of threads per physical core. If unset, the maximum number of threads supported per core by the underlying processor is assumed","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE node pool advanced machine features configuration","private":true,"defaults":"threadsPerCore","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.config.confidentialNodes":{"id":"gcp.project.gkeService.cluster.nodepool.config.confidentialNodes","name":"gcp.project.gkeService.cluster.nodepool.config.confidentialNodes","fields":{"enabled":{"name":"enabled","type":"\u0004","is_mandatory":true,"title":"Whether to use confidential nodes","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE node pool confidential nodes configuration","private":true,"defaults":"enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.config.gcfsConfig":{"id":"gcp.project.gkeService.cluster.nodepool.config.gcfsConfig","name":"gcp.project.gkeService.cluster.nodepool.config.gcfsConfig","fields":{"enabled":{"name":"enabled","type":"\u0004","is_mandatory":true,"title":"Whether to use GCFS","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE node pool GCFS configuration","private":true,"defaults":"enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.config.gvnicConfig":{"id":"gcp.project.gkeService.cluster.nodepool.config.gvnicConfig","name":"gcp.project.gkeService.cluster.nodepool.config.gvnicConfig","fields":{"enabled":{"name":"enabled","type":"\u0004","is_mandatory":true,"title":"Whether to use GVNIC","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE node pool GVNIC configuration","private":true,"defaults":"enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.config.kubeletConfig":{"id":"gcp.project.gkeService.cluster.nodepool.config.kubeletConfig","name":"gcp.project.gkeService.cluster.nodepool.config.kubeletConfig","fields":{"cpuCfsQuotaPeriod":{"name":"cpuCfsQuotaPeriod","type":"\u0007","is_mandatory":true,"title":"Set the CPU CFS quota period value 'cpu.cfs_period_us'","provider":"go.mondoo.com/cnquery/providers/gcp"},"cpuManagerPolicy":{"name":"cpuManagerPolicy","type":"\u0007","is_mandatory":true,"title":"Control the CPU management policy on the node","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"podPidsLimit":{"name":"podPidsLimit","type":"\u0005","is_mandatory":true,"title":"Set the Pod PID limits","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE node pool kubelet configuration","private":true,"defaults":"cpuManagerPolicy podPidsLimit","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.config.linuxNodeConfig":{"id":"gcp.project.gkeService.cluster.nodepool.config.linuxNodeConfig","name":"gcp.project.gkeService.cluster.nodepool.config.linuxNodeConfig","fields":{"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"sysctls":{"name":"sysctls","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"The Linux kernel parameters to be applied to the nodes and all pods running on them","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE node pool parameters that can be configured on Linux nodes","private":true,"defaults":"sysctls","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.config.nodeTaint":{"id":"gcp.project.gkeService.cluster.nodepool.config.nodeTaint","name":"gcp.project.gkeService.cluster.nodepool.config.nodeTaint","fields":{"effect":{"name":"effect","type":"\u0007","is_mandatory":true,"title":"Effect for the taint","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"key":{"name":"key","type":"\u0007","is_mandatory":true,"title":"Key for the taint","provider":"go.mondoo.com/cnquery/providers/gcp"},"value":{"name":"value","type":"\u0007","is_mandatory":true,"title":"Value for the taint","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE Kubernetes node taint","private":true,"defaults":"key value effect","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.config.sandboxConfig":{"id":"gcp.project.gkeService.cluster.nodepool.config.sandboxConfig","name":"gcp.project.gkeService.cluster.nodepool.config.sandboxConfig","fields":{"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"type":{"name":"type","type":"\u0007","is_mandatory":true,"title":"Type of the sandbox to use for this node","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE node pool sandbox configuration","private":true,"defaults":"type","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.config.shieldedInstanceConfig":{"id":"gcp.project.gkeService.cluster.nodepool.config.shieldedInstanceConfig","name":"gcp.project.gkeService.cluster.nodepool.config.shieldedInstanceConfig","fields":{"enableIntegrityMonitoring":{"name":"enableIntegrityMonitoring","type":"\u0004","is_mandatory":true,"title":"Defines whether the instance has integrity monitoring enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"enableSecureBoot":{"name":"enableSecureBoot","type":"\u0004","is_mandatory":true,"title":"Defines whether the instance has Secure Boot enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE node pool shielded instance configuration","private":true,"defaults":"enableSecureBoot enableIntegrityMonitoring","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.networkConfig":{"id":"gcp.project.gkeService.cluster.nodepool.networkConfig","name":"gcp.project.gkeService.cluster.nodepool.networkConfig","fields":{"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"performanceConfig":{"name":"performanceConfig","type":"\u001bgcp.project.gkeService.cluster.nodepool.networkConfig.performanceConfig","is_mandatory":true,"title":"Network performance tier configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"podIpv4CidrBlock":{"name":"podIpv4CidrBlock","type":"\u0007","is_mandatory":true,"title":"The IP address range for pod IPs in this node pool","provider":"go.mondoo.com/cnquery/providers/gcp"},"podRange":{"name":"podRange","type":"\u0007","is_mandatory":true,"title":"The ID of the secondary range for pod IPs","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE node pool-level network configuration","private":true,"defaults":"podRange podIpv4CidrBlock","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.gkeService.cluster.nodepool.networkConfig.performanceConfig":{"id":"gcp.project.gkeService.cluster.nodepool.networkConfig.performanceConfig","name":"gcp.project.gkeService.cluster.nodepool.networkConfig.performanceConfig","fields":{"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"totalEgressBandwidthTier":{"name":"totalEgressBandwidthTier","type":"\u0007","is_mandatory":true,"title":"Specifies the total network bandwidth tier for the node pool","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP GKE node pool network performance configuration","private":true,"defaults":"totalEgressBandwidthTier","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.iamService":{"id":"gcp.project.iamService","name":"gcp.project.iamService","fields":{"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccount":{"name":"serviceAccount","type":"\u001bgcp.project.iamService.serviceAccount","title":"GCP Service Account","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccounts":{"name":"serviceAccounts","type":"\u0019\u001bgcp.project.iamService.serviceAccount","title":"List of service accounts","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP IAM Resources","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.iamService.serviceAccount":{"id":"gcp.project.iamService.serviceAccount","name":"gcp.project.iamService.serviceAccount","fields":{"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Service account description","provider":"go.mondoo.com/cnquery/providers/gcp"},"disabled":{"name":"disabled","type":"\u0004","is_mandatory":true,"title":"Whether the service account is disabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"displayName":{"name":"displayName","type":"\u0007","is_mandatory":true,"title":"User-specified, human-readable name for the service account","provider":"go.mondoo.com/cnquery/providers/gcp"},"email":{"name":"email","type":"\u0007","is_mandatory":true,"title":"Email address of the service account","provider":"go.mondoo.com/cnquery/providers/gcp"},"key":{"name":"key","type":"\u001bgcp.project.iamService.serviceAccount.key","title":"GCP service account keys","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"keys":{"name":"keys","type":"\u0019\u001bgcp.project.iamService.serviceAccount.key","title":"Service account keys","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Service account name","provider":"go.mondoo.com/cnquery/providers/gcp"},"oauth2ClientId":{"name":"oauth2ClientId","type":"\u0007","is_mandatory":true,"title":"OAuth 2.0 client ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"uniqueId":{"name":"uniqueId","type":"\u0007","is_mandatory":true,"title":"Unique, stable, numeric ID for the service account","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Service Account","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.iamService.serviceAccount.key":{"id":"gcp.project.iamService.serviceAccount.key","name":"gcp.project.iamService.serviceAccount.key","fields":{"disabled":{"name":"disabled","type":"\u0004","is_mandatory":true,"title":"Whether the key is disabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"keyAlgorithm":{"name":"keyAlgorithm","type":"\u0007","is_mandatory":true,"title":"Algorithm (and possibly key size) of the key","provider":"go.mondoo.com/cnquery/providers/gcp"},"keyOrigin":{"name":"keyOrigin","type":"\u0007","is_mandatory":true,"title":"Key origin","provider":"go.mondoo.com/cnquery/providers/gcp"},"keyType":{"name":"keyType","type":"\u0007","is_mandatory":true,"title":"Key type","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Service account key name","provider":"go.mondoo.com/cnquery/providers/gcp"},"validAfterTime":{"name":"validAfterTime","type":"\t","is_mandatory":true,"title":"Key can be used after this timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"validBeforeTime":{"name":"validBeforeTime","type":"\t","is_mandatory":true,"title":"Key can be used before this timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP service account keys","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.kmsService":{"id":"gcp.project.kmsService","name":"gcp.project.kmsService","fields":{"keyring":{"name":"keyring","type":"\u001bgcp.project.kmsService.keyring","title":"GCP KMS keyring","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"keyrings":{"name":"keyrings","type":"\u0019\u001bgcp.project.kmsService.keyring","title":"List of keyrings in the current project","provider":"go.mondoo.com/cnquery/providers/gcp"},"locations":{"name":"locations","type":"\u0019\u0007","title":"Available locations for the service","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP KMS resources","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.kmsService.keyring":{"id":"gcp.project.kmsService.keyring","name":"gcp.project.kmsService.keyring","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Time created","provider":"go.mondoo.com/cnquery/providers/gcp"},"cryptokey":{"name":"cryptokey","type":"\u001bgcp.project.kmsService.keyring.cryptokey","title":"GCP KMS crypto key","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"cryptokeys":{"name":"cryptokeys","type":"\u0019\u001bgcp.project.kmsService.keyring.cryptokey","title":"List of cryptokeys in the current keyring","provider":"go.mondoo.com/cnquery/providers/gcp"},"location":{"name":"location","type":"\u0007","is_mandatory":true,"title":"Keyring location","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Keyring name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"resourcePath":{"name":"resourcePath","type":"\u0007","is_mandatory":true,"title":"Full resource path","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP KMS keyring","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.kmsService.keyring.cryptokey":{"id":"gcp.project.kmsService.keyring.cryptokey","name":"gcp.project.kmsService.keyring.cryptokey","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"cryptoKeyBackend":{"name":"cryptoKeyBackend","type":"\u0007","is_mandatory":true,"title":"Resource name of the backend environment where the key material for all crypto key versions reside","provider":"go.mondoo.com/cnquery/providers/gcp"},"destroyScheduledDuration":{"name":"destroyScheduledDuration","type":"\t","is_mandatory":true,"title":"Period of time that versions of this key spend in DESTROY_SCHEDULED state before being destroyed","provider":"go.mondoo.com/cnquery/providers/gcp"},"iamPolicy":{"name":"iamPolicy","type":"\u0019\u001bgcp.resourcemanager.binding","title":"Crypto key IAM policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"importOnly":{"name":"importOnly","type":"\u0004","is_mandatory":true,"title":"Whether this key may contain imported versions only","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-defined labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Crypto key name","provider":"go.mondoo.com/cnquery/providers/gcp"},"nextRotation":{"name":"nextRotation","type":"\t","is_mandatory":true,"title":"Time at which KMS will create a new version of this key and mark it as primary","provider":"go.mondoo.com/cnquery/providers/gcp"},"primary":{"name":"primary","type":"\u001bgcp.project.kmsService.keyring.cryptokey.version","is_mandatory":true,"title":"Primary version for encrypt to use for this crypto key","provider":"go.mondoo.com/cnquery/providers/gcp"},"purpose":{"name":"purpose","type":"\u0007","is_mandatory":true,"title":"Crypto key purpose","provider":"go.mondoo.com/cnquery/providers/gcp"},"resourcePath":{"name":"resourcePath","type":"\u0007","is_mandatory":true,"title":"Full resource path","provider":"go.mondoo.com/cnquery/providers/gcp"},"rotationPeriod":{"name":"rotationPeriod","type":"\t","is_mandatory":true,"title":"Rotation period","provider":"go.mondoo.com/cnquery/providers/gcp"},"version":{"name":"version","type":"\u001bgcp.project.kmsService.keyring.cryptokey.version","title":"GCP KMS crypto key version","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"versionTemplate":{"name":"versionTemplate","type":"\n","is_mandatory":true,"title":"Template describing the settings for new crypto key versions","provider":"go.mondoo.com/cnquery/providers/gcp"},"versions":{"name":"versions","type":"\u0019\u001bgcp.project.kmsService.keyring.cryptokey.version","title":"List of cryptokey versions","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP KMS crypto key","private":true,"defaults":"name purpose","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.kmsService.keyring.cryptokey.version":{"id":"gcp.project.kmsService.keyring.cryptokey.version","name":"gcp.project.kmsService.keyring.cryptokey.version","fields":{"algorithm":{"name":"algorithm","type":"\u0007","is_mandatory":true,"title":"Algorithm that this crypto key version supports","provider":"go.mondoo.com/cnquery/providers/gcp"},"attestation":{"name":"attestation","type":"\u001bgcp.project.kmsService.keyring.cryptokey.version.attestation","is_mandatory":true,"title":"Statement generated and signed by HSM at key creation time","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Time created","provider":"go.mondoo.com/cnquery/providers/gcp"},"destroyEventTime":{"name":"destroyEventTime","type":"\t","is_mandatory":true,"title":"Destroy event timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"destroyed":{"name":"destroyed","type":"\t","is_mandatory":true,"title":"Time destroyed","provider":"go.mondoo.com/cnquery/providers/gcp"},"externalProtectionLevelOptions":{"name":"externalProtectionLevelOptions","type":"\u001bgcp.project.kmsService.keyring.cryptokey.version.externalProtectionLevelOptions","is_mandatory":true,"title":"Additional fields for configuring external protection level","provider":"go.mondoo.com/cnquery/providers/gcp"},"generated":{"name":"generated","type":"\t","is_mandatory":true,"title":"Time generated","provider":"go.mondoo.com/cnquery/providers/gcp"},"importFailureReason":{"name":"importFailureReason","type":"\u0007","is_mandatory":true,"title":"The root cause of an import failure","provider":"go.mondoo.com/cnquery/providers/gcp"},"importJob":{"name":"importJob","type":"\u0007","is_mandatory":true,"title":"Name of the import job used in the most recent import of this crypto key version","provider":"go.mondoo.com/cnquery/providers/gcp"},"importTime":{"name":"importTime","type":"\t","is_mandatory":true,"title":"Time at which this crypto key version's key material was imported","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Crypto key version name","provider":"go.mondoo.com/cnquery/providers/gcp"},"protectionLevel":{"name":"protectionLevel","type":"\u0007","is_mandatory":true,"title":"The protection level describing how crypto operations perform with this crypto key version","provider":"go.mondoo.com/cnquery/providers/gcp"},"reimportEligible":{"name":"reimportEligible","type":"\u0004","is_mandatory":true,"title":"Whether the crypto key version is eligible for reimport","provider":"go.mondoo.com/cnquery/providers/gcp"},"resourcePath":{"name":"resourcePath","type":"\u0007","is_mandatory":true,"title":"Full resource path","provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\u0007","is_mandatory":true,"title":"Crypto key version's current state","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP KMS crypto key version","private":true,"defaults":"name state","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.kmsService.keyring.cryptokey.version.attestation":{"id":"gcp.project.kmsService.keyring.cryptokey.version.attestation","name":"gcp.project.kmsService.keyring.cryptokey.version.attestation","fields":{"certificateChains":{"name":"certificateChains","type":"\u001bgcp.project.kmsService.keyring.cryptokey.version.attestation.certificatechains","is_mandatory":true,"title":"Certificate chains needed to validate the attestation","provider":"go.mondoo.com/cnquery/providers/gcp"},"certificatechains":{"name":"certificatechains","type":"\u001bgcp.project.kmsService.keyring.cryptokey.version.attestation.certificatechains","title":"GCP KMS crypto key version attestation certificate chains","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"cryptoKeyVersionName":{"name":"cryptoKeyVersionName","type":"\u0007","is_mandatory":true,"title":"Crypto key version name","provider":"go.mondoo.com/cnquery/providers/gcp"},"format":{"name":"format","type":"\u0007","is_mandatory":true,"title":"Format of the attestation data","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP KMS crypto key version attestation","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.kmsService.keyring.cryptokey.version.attestation.certificatechains":{"id":"gcp.project.kmsService.keyring.cryptokey.version.attestation.certificatechains","name":"gcp.project.kmsService.keyring.cryptokey.version.attestation.certificatechains","fields":{"caviumCerts":{"name":"caviumCerts","type":"\u0019\u0007","is_mandatory":true,"title":"Cavium certificate chain corresponding to the attestation","provider":"go.mondoo.com/cnquery/providers/gcp"},"cryptoKeyVersionName":{"name":"cryptoKeyVersionName","type":"\u0007","is_mandatory":true,"title":"Crypto key version name","provider":"go.mondoo.com/cnquery/providers/gcp"},"googleCardCerts":{"name":"googleCardCerts","type":"\u0019\u0007","is_mandatory":true,"title":"Google card certificate chain corresponding to the attestation","provider":"go.mondoo.com/cnquery/providers/gcp"},"googlePartitionCerts":{"name":"googlePartitionCerts","type":"\u0019\u0007","is_mandatory":true,"title":"Google partition certificate chain corresponding to the attestation","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP KMS crypto key version attestation certificate chains","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.kmsService.keyring.cryptokey.version.externalProtectionLevelOptions":{"id":"gcp.project.kmsService.keyring.cryptokey.version.externalProtectionLevelOptions","name":"gcp.project.kmsService.keyring.cryptokey.version.externalProtectionLevelOptions","fields":{"cryptoKeyVersionName":{"name":"cryptoKeyVersionName","type":"\u0007","is_mandatory":true,"title":"Crypto key version name","provider":"go.mondoo.com/cnquery/providers/gcp"},"ekmConnectionKeyPath":{"name":"ekmConnectionKeyPath","type":"\u0007","is_mandatory":true,"title":"Path to the external key material on the EKM when using EKM connection","provider":"go.mondoo.com/cnquery/providers/gcp"},"externalKeyUri":{"name":"externalKeyUri","type":"\u0007","is_mandatory":true,"title":"URI for an external resource that the crypto key version represents","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP KMS crypto key version external protection level options","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.loggingservice":{"id":"gcp.project.loggingservice","name":"gcp.project.loggingservice","fields":{"bucket":{"name":"bucket","type":"\u001bgcp.project.loggingservice.bucket","title":"GCP Logging bucket","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"buckets":{"name":"buckets","type":"\u0019\u001bgcp.project.loggingservice.bucket","title":"List of logging buckets","provider":"go.mondoo.com/cnquery/providers/gcp"},"metric":{"name":"metric","type":"\u001bgcp.project.loggingservice.metric","title":"GCP Logging metric","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"metrics":{"name":"metrics","type":"\u0019\u001bgcp.project.loggingservice.metric","title":"List of metrics","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"sink":{"name":"sink","type":"\u001bgcp.project.loggingservice.sink","title":"GCP Logging sink","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"sinks":{"name":"sinks","type":"\u0019\u001bgcp.project.loggingservice.sink","title":"List of log sinks","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Logging resources","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.loggingservice.bucket":{"id":"gcp.project.loggingservice.bucket","name":"gcp.project.loggingservice.bucket","fields":{"cmekSettings":{"name":"cmekSettings","type":"\n","is_mandatory":true,"title":"CMEK settings of the log bucket","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Description of the bucket","provider":"go.mondoo.com/cnquery/providers/gcp"},"indexConfig":{"name":"indexConfig","type":"\u001bgcp.project.loggingservice.bucket.indexConfig","title":"GCP Logging bucket index config","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"indexConfigs":{"name":"indexConfigs","type":"\u0019\u001bgcp.project.loggingservice.bucket.indexConfig","is_mandatory":true,"title":"List of indexed fields and related configuration data","provider":"go.mondoo.com/cnquery/providers/gcp"},"lifecycleState":{"name":"lifecycleState","type":"\u0007","is_mandatory":true,"title":"Bucket lifecycle state","provider":"go.mondoo.com/cnquery/providers/gcp"},"locked":{"name":"locked","type":"\u0004","is_mandatory":true,"title":"Whether the bucket is locked","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Bucket name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"restrictedFields":{"name":"restrictedFields","type":"\u0019\u0007","is_mandatory":true,"title":"Log entry field paths that are denied access in this bucket","provider":"go.mondoo.com/cnquery/providers/gcp"},"retentionDays":{"name":"retentionDays","type":"\u0005","is_mandatory":true,"title":"Logs will be retained by default for this amount of time, after which they will automatically be deleted","provider":"go.mondoo.com/cnquery/providers/gcp"},"updated":{"name":"updated","type":"\t","is_mandatory":true,"title":"Last update timestamp of the bucket","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Logging bucket","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.loggingservice.bucket.indexConfig":{"id":"gcp.project.loggingservice.bucket.indexConfig","name":"gcp.project.loggingservice.bucket.indexConfig","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"fieldPath":{"name":"fieldPath","type":"\u0007","is_mandatory":true,"title":"Log entry field path to index","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"type":{"name":"type","type":"\u0007","is_mandatory":true,"title":"Type of data in this index","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Logging bucket index config","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.loggingservice.metric":{"id":"gcp.project.loggingservice.metric","name":"gcp.project.loggingservice.metric","fields":{"alertPolicies":{"name":"alertPolicies","type":"\u0019\u001bgcp.project.monitoringService.alertPolicy","title":"Alert policies for this metric","provider":"go.mondoo.com/cnquery/providers/gcp"},"description":{"name":"description","type":"\u0007","is_mandatory":true,"title":"Metric description","provider":"go.mondoo.com/cnquery/providers/gcp"},"filter":{"name":"filter","type":"\u0007","is_mandatory":true,"title":"Advanced log filter","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Metric ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Logging metric","private":true,"defaults":"description filter","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.loggingservice.sink":{"id":"gcp.project.loggingservice.sink","name":"gcp.project.loggingservice.sink","fields":{"destination":{"name":"destination","type":"\u0007","is_mandatory":true,"title":"Export destination","provider":"go.mondoo.com/cnquery/providers/gcp"},"filter":{"name":"filter","type":"\u0007","is_mandatory":true,"title":"Optional advanced logs filter","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Sink ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"includeChildren":{"name":"includeChildren","type":"\u0004","is_mandatory":true,"title":"Whether to allow the sink to export log entries from the organization or folder, plus (recursively) from any contained folders, billings accounts, or projects","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"storageBucket":{"name":"storageBucket","type":"\u001bgcp.project.storageService.bucket","title":"Storage bucket to which the sink exports. Only set for sinks with a destination storage bucket","provider":"go.mondoo.com/cnquery/providers/gcp"},"writerIdentity":{"name":"writerIdentity","type":"\u0007","is_mandatory":true,"title":"When exporting logs, logging adopts this identity for authorization","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Logging sink","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.monitoringService":{"id":"gcp.project.monitoringService","name":"gcp.project.monitoringService","fields":{"alertPolicies":{"name":"alertPolicies","type":"\u0019\u001bgcp.project.monitoringService.alertPolicy","title":"List of alert policies","provider":"go.mondoo.com/cnquery/providers/gcp"},"alertPolicy":{"name":"alertPolicy","type":"\u001bgcp.project.monitoringService.alertPolicy","title":"GCP monitoring alert policy","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP monitoring resources","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.monitoringService.alertPolicy":{"id":"gcp.project.monitoringService.alertPolicy","name":"gcp.project.monitoringService.alertPolicy","fields":{"alertStrategy":{"name":"alertStrategy","type":"\n","is_mandatory":true,"title":"Configuration for notification channels notifications","provider":"go.mondoo.com/cnquery/providers/gcp"},"combiner":{"name":"combiner","type":"\u0007","is_mandatory":true,"title":"How to combine the results of multiple conditions to determine if an incident should be opened","provider":"go.mondoo.com/cnquery/providers/gcp"},"conditions":{"name":"conditions","type":"\u0019\n","is_mandatory":true,"title":"List of conditions for the policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"createdBy":{"name":"createdBy","type":"\u0007","is_mandatory":true,"title":"Email address of the user who created the alert policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"displayName":{"name":"displayName","type":"\u0007","is_mandatory":true,"title":"Display name","provider":"go.mondoo.com/cnquery/providers/gcp"},"documentation":{"name":"documentation","type":"\n","is_mandatory":true,"title":"Documentation included with notifications and incidents related to this policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"enabled":{"name":"enabled","type":"\u0004","is_mandatory":true,"title":"Whether the policy is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-defined labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Alert policy name","provider":"go.mondoo.com/cnquery/providers/gcp"},"notificationChannelUrls":{"name":"notificationChannelUrls","type":"\u0019\u0007","is_mandatory":true,"title":"Notification channel URLs to which notifications should be sent when incidents are opened or closed","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"updated":{"name":"updated","type":"\t","is_mandatory":true,"title":"Update timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"updatedBy":{"name":"updatedBy","type":"\u0007","is_mandatory":true,"title":"Email address of the user who last updated the alert policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"validity":{"name":"validity","type":"\n","is_mandatory":true,"title":"Description of how the alert policy is invalid","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP monitoring alert policy","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.pubsubService":{"id":"gcp.project.pubsubService","name":"gcp.project.pubsubService","fields":{"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"snapshot":{"name":"snapshot","type":"\u001bgcp.project.pubsubService.snapshot","title":"GCP Pub/Sub snapshot","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"snapshots":{"name":"snapshots","type":"\u0019\u001bgcp.project.pubsubService.snapshot","title":"List of snapshots in the current project","provider":"go.mondoo.com/cnquery/providers/gcp"},"subscription":{"name":"subscription","type":"\u001bgcp.project.pubsubService.subscription","title":"GCP Pub/Sub subscription","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"subscriptions":{"name":"subscriptions","type":"\u0019\u001bgcp.project.pubsubService.subscription","title":"List of subscriptions in the current project","provider":"go.mondoo.com/cnquery/providers/gcp"},"topic":{"name":"topic","type":"\u001bgcp.project.pubsubService.topic","title":"GCP Pub/Sub topic","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"topics":{"name":"topics","type":"\u0019\u001bgcp.project.pubsubService.topic","title":"List of topics in the current project","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Pub/Sub resources","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.pubsubService.snapshot":{"id":"gcp.project.pubsubService.snapshot","name":"gcp.project.pubsubService.snapshot","fields":{"expiration":{"name":"expiration","type":"\t","is_mandatory":true,"title":"When the snapshot expires","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Subscription name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"topic":{"name":"topic","type":"\u001bgcp.project.pubsubService.topic","is_mandatory":true,"title":"The topic for which the snapshot is","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Pub/Sub snapshot","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.pubsubService.subscription":{"id":"gcp.project.pubsubService.subscription","name":"gcp.project.pubsubService.subscription","fields":{"config":{"name":"config","type":"\u001bgcp.project.pubsubService.subscription.config","title":"Subscription configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Subscription name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Pub/Sub subscription","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.pubsubService.subscription.config":{"id":"gcp.project.pubsubService.subscription.config","name":"gcp.project.pubsubService.subscription.config","fields":{"ackDeadline":{"name":"ackDeadline","type":"\t","is_mandatory":true,"title":"Default maximum time a subscriber can take to acknowledge a message after receiving it","provider":"go.mondoo.com/cnquery/providers/gcp"},"expirationPolicy":{"name":"expirationPolicy","type":"\t","is_mandatory":true,"title":"Specifies the conditions for a subscription's expiration","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"The labels associated with this subscription","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"pushConfig":{"name":"pushConfig","type":"\u001bgcp.project.pubsubService.subscription.config.pushconfig","is_mandatory":true,"title":"Configuration for subscriptions that operate in push mode","provider":"go.mondoo.com/cnquery/providers/gcp"},"pushconfig":{"name":"pushconfig","type":"\u001bgcp.project.pubsubService.subscription.config.pushconfig","title":"GCP Pub/Sub Configuration for subscriptions that operate in push mode","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"retainAckedMessages":{"name":"retainAckedMessages","type":"\u0004","is_mandatory":true,"title":"Whether to retain acknowledged messages","provider":"go.mondoo.com/cnquery/providers/gcp"},"retentionDuration":{"name":"retentionDuration","type":"\t","is_mandatory":true,"title":"How long to retain messages in the backlog after they're published","provider":"go.mondoo.com/cnquery/providers/gcp"},"subscriptionName":{"name":"subscriptionName","type":"\u0007","is_mandatory":true,"title":"Subscription name","provider":"go.mondoo.com/cnquery/providers/gcp"},"topic":{"name":"topic","type":"\u001bgcp.project.pubsubService.topic","is_mandatory":true,"title":"Topic to which the subscription points","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Pub/Sub subscription configuration","private":true,"defaults":"topic.name ackDeadline expirationPolicy","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.pubsubService.subscription.config.pushconfig":{"id":"gcp.project.pubsubService.subscription.config.pushconfig","name":"gcp.project.pubsubService.subscription.config.pushconfig","fields":{"attributes":{"name":"attributes","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Endpoint configuration attributes","provider":"go.mondoo.com/cnquery/providers/gcp"},"configId":{"name":"configId","type":"\u0007","is_mandatory":true,"title":"Parent configuration ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"endpoint":{"name":"endpoint","type":"\u0007","is_mandatory":true,"title":"URL of the endpoint to which to push messages","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Pub/Sub Configuration for subscriptions that operate in push mode","private":true,"defaults":"attributes","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.pubsubService.topic":{"id":"gcp.project.pubsubService.topic","name":"gcp.project.pubsubService.topic","fields":{"config":{"name":"config","type":"\u001bgcp.project.pubsubService.topic.config","title":"Topic configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Topic name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Pub/Sub topic","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.pubsubService.topic.config":{"id":"gcp.project.pubsubService.topic.config","name":"gcp.project.pubsubService.topic.config","fields":{"kmsKeyName":{"name":"kmsKeyName","type":"\u0007","is_mandatory":true,"title":"Cloud KMS key used to protect access to messages published to this topic","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Labels associated with this topic","provider":"go.mondoo.com/cnquery/providers/gcp"},"messageStoragePolicy":{"name":"messageStoragePolicy","type":"\u001bgcp.project.pubsubService.topic.config.messagestoragepolicy","is_mandatory":true,"title":"Message storage policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"messagestoragepolicy":{"name":"messagestoragepolicy","type":"\u001bgcp.project.pubsubService.topic.config.messagestoragepolicy","title":"GCP Pub/Sub topic message storage policy","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"topicName":{"name":"topicName","type":"\u0007","is_mandatory":true,"title":"Topic name","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Pub/Sub topic configuration","private":true,"defaults":"kmsKeyName messageStoragePolicy","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.pubsubService.topic.config.messagestoragepolicy":{"id":"gcp.project.pubsubService.topic.config.messagestoragepolicy","name":"gcp.project.pubsubService.topic.config.messagestoragepolicy","fields":{"allowedPersistenceRegions":{"name":"allowedPersistenceRegions","type":"\u0019\u0007","is_mandatory":true,"title":"List of GCP regions where messages published to the topic can persist in storage","provider":"go.mondoo.com/cnquery/providers/gcp"},"configId":{"name":"configId","type":"\u0007","is_mandatory":true,"title":"Parent configuration ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Pub/Sub topic message storage policy","private":true,"defaults":"allowedPersistenceRegions","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.sqlService":{"id":"gcp.project.sqlService","name":"gcp.project.sqlService","fields":{"instance":{"name":"instance","type":"\u001bgcp.project.sqlService.instance","title":"GCP Cloud SQL Instance","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"instances":{"name":"instances","type":"\u0019\u001bgcp.project.sqlService.instance","title":"List of Cloud SQL instances in the current project","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Resources","private":true,"min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.sqlService.instance":{"id":"gcp.project.sqlService.instance","name":"gcp.project.sqlService.instance","fields":{"availableMaintenanceVersions":{"name":"availableMaintenanceVersions","type":"\u0019\u0007","is_mandatory":true,"title":"All maintenance versions applicable on the instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"backendType":{"name":"backendType","type":"\u0007","is_mandatory":true,"title":"Backend type","provider":"go.mondoo.com/cnquery/providers/gcp"},"connectionName":{"name":"connectionName","type":"\u0007","is_mandatory":true,"title":"Connection name of the instance used in connection strings","provider":"go.mondoo.com/cnquery/providers/gcp"},"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"currentDiskSize":{"name":"currentDiskSize","type":"\u0005","is_mandatory":true,"title":"Current disk usage of the instance in bytes. This is deprecated; use monitoring should be used instead.","provider":"go.mondoo.com/cnquery/providers/gcp"},"database":{"name":"database","type":"\u001bgcp.project.sqlService.instance.database","title":"GCP Cloud SQL Instance database","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"databaseInstalledVersion":{"name":"databaseInstalledVersion","type":"\u0007","is_mandatory":true,"title":"Current database version running on the instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"databaseVersion":{"name":"databaseVersion","type":"\u0007","is_mandatory":true,"title":"Database engine type and version","provider":"go.mondoo.com/cnquery/providers/gcp"},"databases":{"name":"databases","type":"\u0019\u001bgcp.project.sqlService.instance.database","title":"List of the databases in the current SQL instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"diskEncryptionConfiguration":{"name":"diskEncryptionConfiguration","type":"\n","is_mandatory":true,"title":"Disk encryption configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"diskEncryptionStatus":{"name":"diskEncryptionStatus","type":"\n","is_mandatory":true,"title":"Disk encryption status","provider":"go.mondoo.com/cnquery/providers/gcp"},"failoverReplica":{"name":"failoverReplica","type":"\n","is_mandatory":true,"title":"Name and status of the failover replica","provider":"go.mondoo.com/cnquery/providers/gcp"},"gceZone":{"name":"gceZone","type":"\u0007","is_mandatory":true,"title":"Compute Engine zone that the instance is currently serviced from","provider":"go.mondoo.com/cnquery/providers/gcp"},"instanceType":{"name":"instanceType","type":"\u0007","is_mandatory":true,"title":"Instance type","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipAddresses":{"name":"ipAddresses","type":"\u0019\u001bgcp.project.sqlService.instance.ipMapping","is_mandatory":true,"title":"Assigned IP addresses","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipMapping":{"name":"ipMapping","type":"\u001bgcp.project.sqlService.instance.ipMapping","title":"GCP Cloud SQL Instance IP Mapping","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"maintenanceVersion":{"name":"maintenanceVersion","type":"\u0007","is_mandatory":true,"title":"Current software version on the instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"masterInstanceName":{"name":"masterInstanceName","type":"\u0007","is_mandatory":true,"title":"Name of the instance that will act as primary in the replica","provider":"go.mondoo.com/cnquery/providers/gcp"},"maxDiskSize":{"name":"maxDiskSize","type":"\u0005","is_mandatory":true,"title":"Maximum disk size in bytes","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Instance name","provider":"go.mondoo.com/cnquery/providers/gcp"},"project":{"name":"project","type":"\u0007","is_mandatory":true,"title":"This is deprecated; use projectId instead.","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"region":{"name":"region","type":"\u0007","is_mandatory":true,"title":"Region","provider":"go.mondoo.com/cnquery/providers/gcp"},"replicaNames":{"name":"replicaNames","type":"\u0019\u0007","is_mandatory":true,"title":"Replicas","provider":"go.mondoo.com/cnquery/providers/gcp"},"serviceAccountEmailAddress":{"name":"serviceAccountEmailAddress","type":"\u0007","is_mandatory":true,"title":"Service account email address","provider":"go.mondoo.com/cnquery/providers/gcp"},"settings":{"name":"settings","type":"\u001bgcp.project.sqlService.instance.settings","is_mandatory":true,"title":"Settings","provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\u0007","is_mandatory":true,"title":"Instance state","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Instance","private":true,"min_mondoo_version":"5.15.0","defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.sqlService.instance.database":{"id":"gcp.project.sqlService.instance.database","name":"gcp.project.sqlService.instance.database","fields":{"charset":{"name":"charset","type":"\u0007","is_mandatory":true,"title":"Charset value","provider":"go.mondoo.com/cnquery/providers/gcp"},"collation":{"name":"collation","type":"\u0007","is_mandatory":true,"title":"Collation","provider":"go.mondoo.com/cnquery/providers/gcp"},"instance":{"name":"instance","type":"\u0007","is_mandatory":true,"title":"Name of the Cloud SQL instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Name of the database","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"sqlserverDatabaseDetails":{"name":"sqlserverDatabaseDetails","type":"\n","is_mandatory":true,"title":"SQL Server database details","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Instance database","private":true,"defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.sqlService.instance.ipMapping":{"id":"gcp.project.sqlService.instance.ipMapping","name":"gcp.project.sqlService.instance.ipMapping","fields":{"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipAddress":{"name":"ipAddress","type":"\u0007","is_mandatory":true,"title":"Assigned IP address","provider":"go.mondoo.com/cnquery/providers/gcp"},"timeToRetire":{"name":"timeToRetire","type":"\t","is_mandatory":true,"title":"Due time for this IP to retire","provider":"go.mondoo.com/cnquery/providers/gcp"},"type":{"name":"type","type":"\u0007","is_mandatory":true,"title":"Type of this IP address","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Instance IP Mapping","private":true,"defaults":"ipAddress","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.sqlService.instance.settings":{"id":"gcp.project.sqlService.instance.settings","name":"gcp.project.sqlService.instance.settings","fields":{"activationPolicy":{"name":"activationPolicy","type":"\u0007","is_mandatory":true,"title":"When the instance is activated","provider":"go.mondoo.com/cnquery/providers/gcp"},"activeDirectoryConfig":{"name":"activeDirectoryConfig","type":"\n","is_mandatory":true,"title":"Active Directory configuration (relevant only for Cloud SQL for SQL Server)","provider":"go.mondoo.com/cnquery/providers/gcp"},"availabilityType":{"name":"availabilityType","type":"\u0007","is_mandatory":true,"title":"Availability type","provider":"go.mondoo.com/cnquery/providers/gcp"},"backupConfiguration":{"name":"backupConfiguration","type":"\u001bgcp.project.sqlService.instance.settings.backupconfiguration","is_mandatory":true,"title":"Daily backup configuration for the instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"backupconfiguration":{"name":"backupconfiguration","type":"\u001bgcp.project.sqlService.instance.settings.backupconfiguration","title":"GCP Cloud SQL Instance Settings Backup Configuration","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"collation":{"name":"collation","type":"\u0007","is_mandatory":true,"title":"Name of the server collation","provider":"go.mondoo.com/cnquery/providers/gcp"},"connectorEnforcement":{"name":"connectorEnforcement","type":"\u0007","is_mandatory":true,"title":"Whether connections must use Cloud SQL connectors","provider":"go.mondoo.com/cnquery/providers/gcp"},"crashSafeReplicationEnabled":{"name":"crashSafeReplicationEnabled","type":"\u0004","is_mandatory":true,"title":"Whether database flags for crash-safe replication are enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"dataDiskSizeGb":{"name":"dataDiskSizeGb","type":"\u0005","is_mandatory":true,"title":"Size of data disk, in GB","provider":"go.mondoo.com/cnquery/providers/gcp"},"dataDiskType":{"name":"dataDiskType","type":"\u0007","is_mandatory":true,"title":"Type of the data disk","provider":"go.mondoo.com/cnquery/providers/gcp"},"databaseFlags":{"name":"databaseFlags","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"Database flags passed to the instance at startup","provider":"go.mondoo.com/cnquery/providers/gcp"},"databaseReplicationEnabled":{"name":"databaseReplicationEnabled","type":"\u0004","is_mandatory":true,"title":"Whether replication is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"deletionProtectionEnabled":{"name":"deletionProtectionEnabled","type":"\u0004","is_mandatory":true,"title":"Whether to protect against accidental instance deletion","provider":"go.mondoo.com/cnquery/providers/gcp"},"denyMaintenancePeriod":{"name":"denyMaintenancePeriod","type":"\u001bgcp.project.sqlService.instance.settings.denyMaintenancePeriod","title":"GCP Cloud SQL Instance Settings Deny Maintenance Period","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"denyMaintenancePeriods":{"name":"denyMaintenancePeriods","type":"\u0019\u001bgcp.project.sqlService.instance.settings.denyMaintenancePeriod","is_mandatory":true,"title":"Deny maintenance periods","provider":"go.mondoo.com/cnquery/providers/gcp"},"insightsConfig":{"name":"insightsConfig","type":"\n","is_mandatory":true,"title":"Insights configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"instanceName":{"name":"instanceName","type":"\u0007","is_mandatory":true,"title":"Instance name","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipConfiguration":{"name":"ipConfiguration","type":"\u001bgcp.project.sqlService.instance.settings.ipConfiguration","is_mandatory":true,"title":"IP Management settings","provider":"go.mondoo.com/cnquery/providers/gcp"},"locationPreference":{"name":"locationPreference","type":"\n","is_mandatory":true,"title":"Location preference settings","provider":"go.mondoo.com/cnquery/providers/gcp"},"maintenanceWindow":{"name":"maintenanceWindow","type":"\u001bgcp.project.sqlService.instance.settings.maintenanceWindow","is_mandatory":true,"title":"Maintenance window","provider":"go.mondoo.com/cnquery/providers/gcp"},"passwordValidationPolicy":{"name":"passwordValidationPolicy","type":"\u001bgcp.project.sqlService.instance.settings.passwordValidationPolicy","is_mandatory":true,"title":"Local user password validation policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"pricingPlan":{"name":"pricingPlan","type":"\u0007","is_mandatory":true,"title":"Pricing plan","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"replicationType":{"name":"replicationType","type":"\u0007","is_mandatory":true,"title":"Replication type","provider":"go.mondoo.com/cnquery/providers/gcp"},"settingsVersion":{"name":"settingsVersion","type":"\u0005","is_mandatory":true,"title":"Instance settings version","provider":"go.mondoo.com/cnquery/providers/gcp"},"sqlServerAuditConfig":{"name":"sqlServerAuditConfig","type":"\n","is_mandatory":true,"title":"SQL server specific audit configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"storageAutoResize":{"name":"storageAutoResize","type":"\u0004","is_mandatory":true,"title":"Configuration to increase storage size automatically","provider":"go.mondoo.com/cnquery/providers/gcp"},"storageAutoResizeLimit":{"name":"storageAutoResizeLimit","type":"\u0005","is_mandatory":true,"title":"Maximum size to which storage capacity can be automatically increased","provider":"go.mondoo.com/cnquery/providers/gcp"},"tier":{"name":"tier","type":"\u0007","is_mandatory":true,"title":"Service tier for this instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"timeZone":{"name":"timeZone","type":"\u0007","is_mandatory":true,"title":"Server timezone","provider":"go.mondoo.com/cnquery/providers/gcp"},"userLabels":{"name":"userLabels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-provided labels","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Instance Settings","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.sqlService.instance.settings.backupconfiguration":{"id":"gcp.project.sqlService.instance.settings.backupconfiguration","name":"gcp.project.sqlService.instance.settings.backupconfiguration","fields":{"backupRetentionSettings":{"name":"backupRetentionSettings","type":"\n","is_mandatory":true,"title":"Backup retention settings","provider":"go.mondoo.com/cnquery/providers/gcp"},"binaryLogEnabled":{"name":"binaryLogEnabled","type":"\u0004","is_mandatory":true,"title":"Whether binary log is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"enabled":{"name":"enabled","type":"\u0004","is_mandatory":true,"title":"Whether this configuration is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"location":{"name":"location","type":"\u0007","is_mandatory":true,"title":"Location of the backup","provider":"go.mondoo.com/cnquery/providers/gcp"},"pointInTimeRecoveryEnabled":{"name":"pointInTimeRecoveryEnabled","type":"\u0004","is_mandatory":true,"title":"Whether point-in-time recovery is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"startTime":{"name":"startTime","type":"\u0007","is_mandatory":true,"title":"Start time for the daily backup configuration (in UTC timezone, in the 24 hour format)","provider":"go.mondoo.com/cnquery/providers/gcp"},"transactionLogRetentionDays":{"name":"transactionLogRetentionDays","type":"\u0005","is_mandatory":true,"title":"Number of days of transaction logs retained for point-in-time restore","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Instance Settings Backup Configuration","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.sqlService.instance.settings.denyMaintenancePeriod":{"id":"gcp.project.sqlService.instance.settings.denyMaintenancePeriod","name":"gcp.project.sqlService.instance.settings.denyMaintenancePeriod","fields":{"endDate":{"name":"endDate","type":"\u0007","is_mandatory":true,"title":"Deny maintenance period end date","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"startDate":{"name":"startDate","type":"\u0007","is_mandatory":true,"title":"Deny maintenance period start date","provider":"go.mondoo.com/cnquery/providers/gcp"},"time":{"name":"time","type":"\u0007","is_mandatory":true,"title":"Time in UTC when the deny maintenance period starts and ends","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Instance Settings Deny Maintenance Period","private":true,"defaults":"startDate endDate","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.sqlService.instance.settings.ipConfiguration":{"id":"gcp.project.sqlService.instance.settings.ipConfiguration","name":"gcp.project.sqlService.instance.settings.ipConfiguration","fields":{"allocatedIpRange":{"name":"allocatedIpRange","type":"\u0007","is_mandatory":true,"title":"Name of the allocated IP range for the private IP Cloud SQL instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"authorizedNetworks":{"name":"authorizedNetworks","type":"\u0019\n","is_mandatory":true,"title":"List of external networks that are allowed to connect to the instance using the IP","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"ipv4Enabled":{"name":"ipv4Enabled","type":"\u0004","is_mandatory":true,"title":"Whether the instance is assigned a public IP address","provider":"go.mondoo.com/cnquery/providers/gcp"},"privateNetwork":{"name":"privateNetwork","type":"\u0007","is_mandatory":true,"title":"Resource link for the VPC network from which the private IPs can access the Cloud SQL instance","provider":"go.mondoo.com/cnquery/providers/gcp"},"requireSsl":{"name":"requireSsl","type":"\u0004","is_mandatory":true,"title":"Whether SSL connections over IP are enforced","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Instance Settings IP Configuration","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.sqlService.instance.settings.maintenanceWindow":{"id":"gcp.project.sqlService.instance.settings.maintenanceWindow","name":"gcp.project.sqlService.instance.settings.maintenanceWindow","fields":{"day":{"name":"day","type":"\u0005","is_mandatory":true,"title":"Day of week (1-7), starting on Monday","provider":"go.mondoo.com/cnquery/providers/gcp"},"hour":{"name":"hour","type":"\u0005","is_mandatory":true,"title":"Hour of day - 0 to 23","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"updateTrack":{"name":"updateTrack","type":"\u0007","is_mandatory":true,"title":"Maintenance timing setting: canary (Earlier) or stable (Later)","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Instance Settings Maintenance Window","private":true,"defaults":"day hour","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.sqlService.instance.settings.passwordValidationPolicy":{"id":"gcp.project.sqlService.instance.settings.passwordValidationPolicy","name":"gcp.project.sqlService.instance.settings.passwordValidationPolicy","fields":{"complexity":{"name":"complexity","type":"\u0007","is_mandatory":true,"title":"Password complexity","provider":"go.mondoo.com/cnquery/providers/gcp"},"disallowUsernameSubstring":{"name":"disallowUsernameSubstring","type":"\u0004","is_mandatory":true,"title":"Whether username is forbidden as a part of the password","provider":"go.mondoo.com/cnquery/providers/gcp"},"enabledPasswordPolicy":{"name":"enabledPasswordPolicy","type":"\u0004","is_mandatory":true,"title":"Whether the password policy is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"minLength":{"name":"minLength","type":"\u0005","is_mandatory":true,"title":"Minimum number of characters required in passwords","provider":"go.mondoo.com/cnquery/providers/gcp"},"passwordChangeInterval":{"name":"passwordChangeInterval","type":"\u0007","is_mandatory":true,"title":"Minimum interval after which the password can be changed","provider":"go.mondoo.com/cnquery/providers/gcp"},"reuseInterval":{"name":"reuseInterval","type":"\u0005","is_mandatory":true,"title":"Number of previous passwords that cannot be reused","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Instance Settings Password Validation Policy","private":true,"defaults":"enabledPasswordPolicy","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.storageService":{"id":"gcp.project.storageService","name":"gcp.project.storageService","fields":{"bucket":{"name":"bucket","type":"\u001bgcp.project.storageService.bucket","title":"GCP Cloud Storage Bucket","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"buckets":{"name":"buckets","type":"\u0019\u001bgcp.project.storageService.bucket","title":"List all buckets","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Storage","private":true,"min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.project.storageService.bucket":{"id":"gcp.project.storageService.bucket","name":"gcp.project.storageService.bucket","fields":{"created":{"name":"created","type":"\t","is_mandatory":true,"title":"Creation timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"},"iamConfiguration":{"name":"iamConfiguration","type":"\n","is_mandatory":true,"title":"IAM configuration","provider":"go.mondoo.com/cnquery/providers/gcp"},"iamPolicy":{"name":"iamPolicy","type":"\u0019\u001bgcp.resourcemanager.binding","title":"IAM policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Bucket ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"labels":{"name":"labels","type":"\u001a\u0007\u0007","is_mandatory":true,"title":"User-defined labels","provider":"go.mondoo.com/cnquery/providers/gcp"},"location":{"name":"location","type":"\u0007","is_mandatory":true,"title":"Bucket location","provider":"go.mondoo.com/cnquery/providers/gcp"},"locationType":{"name":"locationType","type":"\u0007","is_mandatory":true,"title":"Bucket location type","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Bucket name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectNumber":{"name":"projectNumber","type":"\u0007","is_mandatory":true,"title":"Project number","provider":"go.mondoo.com/cnquery/providers/gcp"},"retentionPolicy":{"name":"retentionPolicy","type":"\n","is_mandatory":true,"title":"Retention policy","provider":"go.mondoo.com/cnquery/providers/gcp"},"storageClass":{"name":"storageClass","type":"\u0007","is_mandatory":true,"title":"Default storage class","provider":"go.mondoo.com/cnquery/providers/gcp"},"updated":{"name":"updated","type":"\t","is_mandatory":true,"title":"Update timestamp","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Storage Bucket","private":true,"min_mondoo_version":"5.15.0","defaults":"id","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.projects":{"id":"gcp.projects","name":"gcp.projects","fields":{"children":{"name":"children","type":"\u0019\u001bgcp.project","title":"List of the children projects only (non-recursive)","provider":"go.mondoo.com/cnquery/providers/gcp"},"list":{"name":"list","type":"\u0019\u001bgcp.project","provider":"go.mondoo.com/cnquery/providers/gcp"},"parentId":{"name":"parentId","type":"\u0007","is_mandatory":true,"title":"Parent ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"list_type":"\u001bgcp.project","title":"GCP Projects","private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.recommendation":{"id":"gcp.recommendation","name":"gcp.recommendation","fields":{"additionalImpact":{"name":"additionalImpact","type":"\u0019\n","is_mandatory":true,"title":"Optional set of additional impact that this recommendation may have","provider":"go.mondoo.com/cnquery/providers/gcp"},"category":{"name":"category","type":"\u0007","is_mandatory":true,"title":"Category of Primary Impact","provider":"go.mondoo.com/cnquery/providers/gcp"},"content":{"name":"content","type":"\n","is_mandatory":true,"title":"Describing recommended changes to resources","provider":"go.mondoo.com/cnquery/providers/gcp"},"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"ID of recommendation","provider":"go.mondoo.com/cnquery/providers/gcp"},"lastRefreshTime":{"name":"lastRefreshTime","type":"\t","is_mandatory":true,"title":"Last time this recommendation was refreshed","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Description of the recommendation","provider":"go.mondoo.com/cnquery/providers/gcp"},"primaryImpact":{"name":"primaryImpact","type":"\n","is_mandatory":true,"title":"The primary impact that this recommendation can have","provider":"go.mondoo.com/cnquery/providers/gcp"},"priority":{"name":"priority","type":"\u0007","is_mandatory":true,"title":"Recommendation's priority","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"recommender":{"name":"recommender","type":"\u0007","is_mandatory":true,"title":"Recommender","provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\n","is_mandatory":true,"title":"State and Metadata about Recommendation","provider":"go.mondoo.com/cnquery/providers/gcp"},"zoneName":{"name":"zoneName","type":"\u0007","is_mandatory":true,"title":"Zone Name","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP recommendation along with a suggested action","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.resourcemanager":{"id":"gcp.resourcemanager","fields":{"binding":{"name":"binding","type":"\u001bgcp.resourcemanager.binding","title":"GCP Resource Manager Binding","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"}}},"gcp.resourcemanager.binding":{"id":"gcp.resourcemanager.binding","name":"gcp.resourcemanager.binding","fields":{"id":{"name":"id","type":"\u0007","is_mandatory":true,"title":"Internal ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"members":{"name":"members","type":"\u0019\u0007","is_mandatory":true,"title":"Principals requesting access for a Google Cloud resource","provider":"go.mondoo.com/cnquery/providers/gcp"},"role":{"name":"role","type":"\u0007","is_mandatory":true,"title":"Role assigned to the list of members or principals","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Resource Manager Binding","private":true,"min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.service":{"id":"gcp.service","name":"gcp.service","fields":{"enabled":{"name":"enabled","type":"\u0004","title":"Checks if the service is enabled","provider":"go.mondoo.com/cnquery/providers/gcp"},"name":{"name":"name","type":"\u0007","is_mandatory":true,"title":"Service name","provider":"go.mondoo.com/cnquery/providers/gcp"},"parentName":{"name":"parentName","type":"\u0007","is_mandatory":true,"title":"Service parent name","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"},"state":{"name":"state","type":"\u0007","is_mandatory":true,"title":"Service state","provider":"go.mondoo.com/cnquery/providers/gcp"},"title":{"name":"title","type":"\u0007","is_mandatory":true,"title":"Service title","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Service","defaults":"name","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.sql":{"id":"gcp.project.sqlService","name":"gcp.project.sqlService","fields":{"instance":{"name":"instance","type":"\u001bgcp.project.sqlService.instance","title":"GCP Cloud SQL Instance","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"instances":{"name":"instances","type":"\u0019\u001bgcp.project.sqlService.instance","title":"List of Cloud SQL instances in the current project","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud SQL Resources","private":true,"min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/gcp"},"gcp.storage":{"id":"gcp.project.storageService","name":"gcp.project.storageService","fields":{"bucket":{"name":"bucket","type":"\u001bgcp.project.storageService.bucket","title":"GCP Cloud Storage Bucket","is_private":true,"provider":"go.mondoo.com/cnquery/providers/gcp"},"buckets":{"name":"buckets","type":"\u0019\u001bgcp.project.storageService.bucket","title":"List all buckets","provider":"go.mondoo.com/cnquery/providers/gcp"},"projectId":{"name":"projectId","type":"\u0007","is_mandatory":true,"title":"Project ID","provider":"go.mondoo.com/cnquery/providers/gcp"}},"title":"GCP Cloud Storage","private":true,"min_mondoo_version":"5.15.0","provider":"go.mondoo.com/cnquery/providers/gcp"}}} \ No newline at end of file diff --git a/providers/gcp/config/config.go b/providers/gcp/config/config.go index a19a907682..eb783b4076 100644 --- a/providers/gcp/config/config.go +++ b/providers/gcp/config/config.go @@ -49,6 +49,18 @@ var Config = plugin.Provider{ Default: "", Desc: "The path to the service account credentials to access the APIs with", }, + { + Long: "project-id", + Type: plugin.FlagType_String, + Default: "", + Desc: "specify the GCP project ID where the target instance is located (only used for snapshots)", + }, + { + Long: "zone", + Type: plugin.FlagType_String, + Default: "", + Desc: "specify the GCP zone where the target instance is located (only used for snapshots)", + }, }, }, }, diff --git a/providers/gcp/connection/connection.go b/providers/gcp/connection/connection.go index 2ed80d7580..ea003b7cf4 100644 --- a/providers/gcp/connection/connection.go +++ b/providers/gcp/connection/connection.go @@ -5,10 +5,16 @@ package connection import ( "errors" + "github.com/rs/zerolog/log" "go.mondoo.com/cnquery/providers-sdk/v1/inventory" "go.mondoo.com/cnquery/providers-sdk/v1/plugin" "go.mondoo.com/cnquery/providers-sdk/v1/vault" + "go.mondoo.com/cnquery/providers/gcp/connection/shared" +) + +const ( + Gcp shared.ConnectionType = "gcp" ) type ResourceType int @@ -18,6 +24,7 @@ const ( Project Organization Folder + Snapshot ) type GcpConnection struct { @@ -47,10 +54,7 @@ func NewGcpConnection(id uint32, asset *inventory.Asset, conf *inventory.Config) cred = conf.Credentials[0] } if conf.Type == "gcp" { - // FIXME: DEPRECATED, update in v8.0 vv - // The options "project" and "organization" have been deprecated in favor of project-id and organization-id - if conf.Options == nil || (conf.Options["project-id"] == "" && conf.Options["project"] == "" && conf.Options["organization-id"] == "" && conf.Options["organization"] == "" && conf.Options["folder-id"] == "") { - // ^^ + if conf.Options == nil || (conf.Options["project-id"] == "" && conf.Options["organization-id"] == "" && conf.Options["folder-id"] == "") { return nil, errors.New("google provider requires a gcp organization id, gcp project id or google workspace customer id. please set option `project-id` or `organization-id` or `customer-id` or `folder-id`") } } else { @@ -59,24 +63,18 @@ func NewGcpConnection(id uint32, asset *inventory.Asset, conf *inventory.Config) var resourceType ResourceType var resourceID string - if conf.Options["project-id"] != "" { + if conf.Options["project-id"] != "" && conf.Options["snapshot-name"] == "" { resourceType = Project resourceID = conf.Options["project-id"] - - // FIXME: DEPRECATED, remove in v8.0 vv - // The options "project" and "organization" have been deprecated in favor of project-id and organization-id - } else if conf.Options["project"] != "" { - resourceType = Project - resourceID = conf.Options["project"] - // ^^ - } else if conf.Options["organization-id"] != "" { resourceType = Organization resourceID = conf.Options["organization-id"] - } else if conf.Options["folder-id"] != "" { resourceType = Folder resourceID = conf.Options["folder-id"] + } else if conf.Options["snapshot-name"] != "" { + resourceType = Snapshot + resourceID = conf.Options["snapshot-name"] } var override string @@ -119,3 +117,11 @@ func (c *GcpConnection) ID() uint32 { func (c *GcpConnection) Asset() *inventory.Asset { return c.asset } + +func (c *GcpConnection) Type() shared.ConnectionType { + return Gcp +} + +func (c *GcpConnection) Config() *inventory.Config { + return c.Conf +} diff --git a/_motor/providers/gcpinstancesnapshot/platform.go b/providers/gcp/connection/gcpinstancesnapshot/platform.go similarity index 100% rename from _motor/providers/gcpinstancesnapshot/platform.go rename to providers/gcp/connection/gcpinstancesnapshot/platform.go diff --git a/_motor/providers/gcpinstancesnapshot/provider.go b/providers/gcp/connection/gcpinstancesnapshot/provider.go similarity index 64% rename from _motor/providers/gcpinstancesnapshot/provider.go rename to providers/gcp/connection/gcpinstancesnapshot/provider.go index 2d7b47a757..4095841cbb 100644 --- a/_motor/providers/gcpinstancesnapshot/provider.go +++ b/providers/gcp/connection/gcpinstancesnapshot/provider.go @@ -9,24 +9,17 @@ import ( "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - "go.mondoo.com/cnquery/motor/motorid/gce" - "go.mondoo.com/cnquery/motor/platform/detector" - "go.mondoo.com/cnquery/motor/providers" - "go.mondoo.com/cnquery/motor/providers/fs" - "go.mondoo.com/cnquery/motor/providers/local" - "go.mondoo.com/cnquery/motor/providers/os" - "go.mondoo.com/cnquery/motor/providers/os/snapshot" "go.mondoo.com/cnquery/mrn" + "go.mondoo.com/cnquery/providers-sdk/v1/inventory" + "go.mondoo.com/cnquery/providers/gcp/connection/shared" + "go.mondoo.com/cnquery/providers/os/connection" + "go.mondoo.com/cnquery/providers/os/connection/snapshot" + "go.mondoo.com/cnquery/providers/os/detector" + "go.mondoo.com/cnquery/providers/os/id/gce" "go.mondoo.com/ranger-rpc/codes" "go.mondoo.com/ranger-rpc/status" ) -var ( - _ providers.Instance = (*Provider)(nil) - _ providers.PlatformIdentifier = (*Provider)(nil) - _ os.OperatingSystemProvider = (*Provider)(nil) -) - type scanTarget struct { TargetType string ProjectID string @@ -35,6 +28,10 @@ type scanTarget struct { SnapshotName string } +const ( + GcpSnapshot shared.ConnectionType = "gcp-snapshot" +) + type scannerInstance struct { projectID string zone string @@ -46,23 +43,20 @@ type mountInfo struct { diskUrl string } -func determineScannerInstanceInfo() (*scannerInstance, error) { - localProvider, err := local.New() - if err != nil { - return nil, err +func determineScannerInstanceInfo(id uint32, conf *inventory.Config, asset *inventory.Asset) (*scannerInstance, error) { + // FIXME: need to pass conf + localConn := connection.NewLocalConnection(id, conf, asset) + pf, detected := detector.DetectOS(localConn) + if !detected { + return nil, errors.New("could not detect platform") } - localProviderDetector := detector.New(localProvider) - pf, err := localProviderDetector.Platform() + scannerInstanceInfo, err := gce.Resolve(localConn, pf) if err != nil { - return nil, err - } - scannerInstanceInfo, err := gce.Resolve(localProvider, pf) - if err != nil { - return nil, errors.New("gcp snapshot provider needs to run on a gcp instance") + return nil, errors.New("GCP snapshot provider must run from a GCP VM instance") } identity, err := scannerInstanceInfo.Identify() if err != nil { - return nil, errors.New("gcp snapshot provider needs to run on a gcp instance") + return nil, errors.New("GCP snapshot provider must run from a GCP VM instance") } instanceID := identity.PlatformMrn @@ -92,21 +86,21 @@ func determineScannerInstanceInfo() (*scannerInstance, error) { }, nil } -func ParseTarget(pCfg *providers.Config) scanTarget { +func ParseTarget(conf *inventory.Config) scanTarget { return scanTarget{ - TargetType: pCfg.Options["type"], - ProjectID: pCfg.Options["project-id"], - Zone: pCfg.Options["zone"], - InstanceName: pCfg.Options["instance-name"], - SnapshotName: pCfg.Options["snapshot-name"], + TargetType: conf.Options["type"], + ProjectID: conf.Options["project-id"], + Zone: conf.Options["zone"], + InstanceName: conf.Options["instance-name"], + SnapshotName: conf.Options["snapshot-name"], } } -func New(pCfg *providers.Config) (*Provider, error) { - target := ParseTarget(pCfg) +func NewGcpSnapshotConnection(id uint32, conf *inventory.Config, asset *inventory.Asset) (*GcpSnapshotConnection, error) { + target := ParseTarget(conf) // check if we run on a gcp instance - scanner, err := determineScannerInstanceInfo() + scanner, err := determineScannerInstanceInfo(id, conf, asset) if err != nil { return nil, err } @@ -132,7 +126,7 @@ func New(pCfg *providers.Config) (*Provider, error) { return nil, fmt.Errorf("could not find boot disk for instance %s", target.InstanceName) } - if pCfg.Options["create-snapshot"] != "true" { + if conf.Options["create-snapshot"] != "true" { // search for the latest snapshot for this machine snapshotUrl, created, err := sc.searchLatestSnapshot(target.ProjectID, instanceInfo.BootDiskSourceURL) if status.Code(err) == codes.NotFound { @@ -215,35 +209,48 @@ func New(pCfg *providers.Config) (*Provider, error) { return nil, err } + conf.Options["path"] = volumeMounter.ScanDir // create and initialize fs provider - fsProvider, err := fs.New(&providers.Config{ + fsConn, err := connection.NewFileSystemConnection(id, &inventory.Config{ Path: volumeMounter.ScanDir, - Backend: providers.ProviderType_FS, - PlatformId: pCfg.PlatformId, - Options: pCfg.Options, - }) + Backend: "fs", + PlatformId: conf.PlatformId, + Options: conf.Options, + }, asset) if err != nil { errorHandler() return nil, err } - p := &Provider{ - Provider: fsProvider, - opts: pCfg.Options, - targetType: target.TargetType, - volumeMounter: volumeMounter, - snapshotCreator: sc, - target: target, - scanner: *scanner, - mountInfo: mi, - identifier: pCfg.PlatformId, + p := &GcpSnapshotConnection{ + FileSystemConnection: fsConn, + opts: conf.Options, + targetType: target.TargetType, + volumeMounter: volumeMounter, + snapshotCreator: sc, + target: target, + scanner: *scanner, + mountInfo: mi, + identifier: conf.PlatformId, + } + + var ok bool + asset.Platform, ok = detector.DetectOS(fsConn) + if !ok { + return nil, errors.New("failed to detect OS") } + asset.Id = conf.Type + asset.Name = conf.Options["snapshot-name"] + asset.Platform.Kind = "api" + asset.Platform.Runtime = "gcp-vm" + platformId := fmt.Sprintf("//platformid.api.mondoo.app/runtime/gcp/compute/v1/projects/%s/snapshots/%s", conf.Options["project-id"], conf.Options["snapshot-name"]) + asset.PlatformIds = []string{platformId} return p, nil } -type Provider struct { - *fs.Provider +type GcpSnapshotConnection struct { + *connection.FileSystemConnection opts map[string]string // the type of object we're targeting (instance, disk, snapshot) targetType string @@ -255,60 +262,61 @@ type Provider struct { identifier string } -func (p *Provider) Close() { - if p == nil { +func (c *GcpSnapshotConnection) Close() { + if c == nil { return } - if p.opts != nil { - if p.opts[snapshot.NoSetup] == "true" { + if c.opts != nil { + if c.opts[snapshot.NoSetup] == "true" { return } } - err := p.volumeMounter.UnmountVolumeFromInstance() + err := c.volumeMounter.UnmountVolumeFromInstance() if err != nil { log.Error().Err(err).Msg("unable to unmount volume") } - if p.snapshotCreator != nil { - err = p.snapshotCreator.detachDisk(p.scanner.projectID, p.scanner.zone, p.scanner.instanceName, p.mountInfo.deviceName) + if c.snapshotCreator != nil { + err = c.snapshotCreator.detachDisk(c.scanner.projectID, c.scanner.zone, c.scanner.instanceName, c.mountInfo.deviceName) if err != nil { log.Error().Err(err).Msg("unable to detach volume") } - err = p.snapshotCreator.deleteCreatedDisk(p.mountInfo.diskUrl) + err = c.snapshotCreator.deleteCreatedDisk(c.mountInfo.diskUrl) if err != nil { log.Error().Err(err).Msg("could not delete created disk") } } - err = p.volumeMounter.RemoveTempScanDir() + err = c.volumeMounter.RemoveTempScanDir() if err != nil { log.Error().Err(err).Msg("unable to remove dir") } } -func (p *Provider) Capabilities() providers.Capabilities { - return providers.Capabilities{ - providers.Capability_Aws_Ebs, - } +func (c *GcpSnapshotConnection) Capabilities() shared.Capabilities { + // FIXME: this looks strange in a gcp package, but it's C&P from v8 + return shared.Capability_Aws_Ebs } -func (p *Provider) Kind() providers.Kind { - return providers.Kind_KIND_API +func (c *GcpSnapshotConnection) Kind() string { + return "api" } -func (p *Provider) Runtime() string { - return providers.RUNTIME_GCP_COMPUTE +func (c *GcpSnapshotConnection) Runtime() string { + return "gcp-vm" } -func (p *Provider) PlatformIdDetectors() []providers.PlatformIdDetector { - return []providers.PlatformIdDetector{ - providers.TransportPlatformIdentifierDetector, - } +func (c *GcpSnapshotConnection) Identifier() (string, error) { + return c.identifier, nil +} + +func (c *GcpSnapshotConnection) Type() shared.ConnectionType { + return GcpSnapshot } -func (p *Provider) Identifier() (string, error) { - return p.identifier, nil +func (c *GcpSnapshotConnection) Config() *inventory.Config { + return c.FileSystemConnection.Conf } diff --git a/_motor/providers/gcpinstancesnapshot/snapshot.go b/providers/gcp/connection/gcpinstancesnapshot/snapshot.go similarity index 90% rename from _motor/providers/gcpinstancesnapshot/snapshot.go rename to providers/gcp/connection/gcpinstancesnapshot/snapshot.go index 0ceca4536a..d8330f2523 100644 --- a/_motor/providers/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/motor/motorid/gce" + "go.mondoo.com/cnquery/providers/os/id/gce" "go.mondoo.com/ranger-rpc/codes" "go.mondoo.com/ranger-rpc/status" googleoauth "golang.org/x/oauth2/google" @@ -206,7 +206,12 @@ func (sc *SnapshotCreator) createDisk(disk *compute.Disk, projectID, zone, diskN } if operation.Status == "DONE" { if operation.Error != nil { - return clonedDiskUrl, fmt.Errorf("operation failed: %+v", operation.Error.Errors) + errMessage, _ := operation.Error.MarshalJSON() + log.Debug().Str("error", string(errMessage)).Msg("operation failed") + if len(operation.Error.Errors) > 0 { + errMessage = []byte(operation.Error.Errors[0].Message) + } + return clonedDiskUrl, fmt.Errorf("create disk failed: %s", errMessage) } clonedDiskUrl = operation.TargetLink break @@ -267,7 +272,12 @@ func (sc *SnapshotCreator) attachDisk(projectID, zone, instanceName, sourceDiskU } if operation.Status == "DONE" { if operation.Error != nil { - return fmt.Errorf("operation failed: %+v", operation.Error.Errors) + errMessage, _ := operation.Error.MarshalJSON() + log.Debug().Str("error", string(errMessage)).Msg("operation failed") + if len(operation.Error.Errors) > 0 { + errMessage = []byte(operation.Error.Errors[0].Message) + } + return fmt.Errorf("attach disk failed: %s", errMessage) } break } @@ -298,7 +308,12 @@ func (sc *SnapshotCreator) detachDisk(projectID, zone, instanceName, deviceName } if operation.Status == "DONE" { if operation.Error != nil { - return fmt.Errorf("operation failed: %+v", operation.Error.Errors) + errMessage, _ := operation.Error.MarshalJSON() + log.Debug().Str("error", string(errMessage)).Msg("operation failed") + if len(operation.Error.Errors) > 0 { + errMessage = []byte(operation.Error.Errors[0].Message) + } + return fmt.Errorf("detach disk failed: %s", errMessage) } break } diff --git a/_motor/providers/gcpinstancesnapshot/snapshot_debug_test.go b/providers/gcp/connection/gcpinstancesnapshot/snapshot_debug_test.go similarity index 100% rename from _motor/providers/gcpinstancesnapshot/snapshot_debug_test.go rename to providers/gcp/connection/gcpinstancesnapshot/snapshot_debug_test.go diff --git a/_motor/providers/gcpinstancesnapshot/snapshot_test.go b/providers/gcp/connection/gcpinstancesnapshot/snapshot_test.go similarity index 100% rename from _motor/providers/gcpinstancesnapshot/snapshot_test.go rename to providers/gcp/connection/gcpinstancesnapshot/snapshot_test.go diff --git a/providers/gcp/connection/shared/shared.go b/providers/gcp/connection/shared/shared.go new file mode 100644 index 0000000000..e8ddba915f --- /dev/null +++ b/providers/gcp/connection/shared/shared.go @@ -0,0 +1,24 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + +package shared + +import ( + "go.mondoo.com/cnquery/providers-sdk/v1/inventory" +) + +type ConnectionType string + +type GcpConnection interface { + ID() uint32 + Name() string + Type() ConnectionType + Config() *inventory.Config + Asset() *inventory.Asset +} + +type Capabilities byte + +const ( + Capability_Aws_Ebs Capabilities = 1 << iota +) diff --git a/providers/gcp/go.mod b/providers/gcp/go.mod index b57a65683d..e1f7a5bb23 100644 --- a/providers/gcp/go.mod +++ b/providers/gcp/go.mod @@ -20,10 +20,12 @@ require ( cloud.google.com/go/run v1.2.0 cloud.google.com/go/serviceusage v1.7.1 github.com/aws/smithy-go v1.14.2 + github.com/cockroachdb/errors v1.9.1 github.com/hashicorp/go-cleanhttp v0.5.2 github.com/rs/zerolog v1.30.0 github.com/stretchr/testify v1.8.4 go.mondoo.com/cnquery v0.0.0-00010101000000-000000000000 + go.mondoo.com/ranger-rpc v0.0.0-20230328135530-12135c17095f golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea golang.org/x/oauth2 v0.11.0 google.golang.org/api v0.138.0 @@ -34,17 +36,44 @@ require ( require ( cloud.google.com/go v0.110.6 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect + github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect github.com/Masterminds/semver v1.5.0 // indirect + github.com/Microsoft/go-winio v0.6.1 // indirect + github.com/StackExchange/wmi v1.2.1 // indirect github.com/andybalholm/brotli v1.0.4 // indirect github.com/apache/arrow/go/v12 v12.0.0 // indirect github.com/apache/thrift v0.16.0 // indirect + github.com/aws/aws-sdk-go-v2 v1.21.0 // indirect + github.com/aws/aws-sdk-go-v2/config v1.18.37 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.13.35 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.11 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.41 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.35 // indirect + github.com/aws/aws-sdk-go-v2/internal/ini v1.3.42 // indirect + github.com/aws/aws-sdk-go-v2/service/ec2 v1.92.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ec2instanceconnect v1.15.6 // indirect + github.com/aws/aws-sdk-go-v2/service/ecr v1.19.5 // indirect + github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.17.5 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.35 // indirect + github.com/aws/aws-sdk-go-v2/service/ssm v1.36.0 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.13.5 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.15.5 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.21.5 // indirect + github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20230823232655-ce48fc331ac7 // indirect github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect - github.com/cockroachdb/errors v1.9.1 // indirect github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f // indirect github.com/cockroachdb/redact v1.1.3 // indirect + github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect github.com/davecgh/go-spew v1.1.1 // indirect + github.com/docker/cli v24.0.0+incompatible // indirect + github.com/docker/distribution v2.8.2+incompatible // indirect + github.com/docker/docker v24.0.5+incompatible // indirect + github.com/docker/docker-credential-helpers v0.8.0 // indirect + github.com/docker/go-connections v0.4.0 // indirect + github.com/docker/go-units v0.5.0 // indirect github.com/fatih/color v1.15.0 // indirect github.com/getsentry/sentry-go v0.13.0 // indirect + github.com/go-ole/go-ole v1.2.6 // indirect github.com/goccy/go-json v0.9.11 // indirect github.com/gofrs/uuid v4.3.1+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect @@ -54,6 +83,7 @@ require ( github.com/golang/snappy v0.0.4 // indirect github.com/google/flatbuffers v2.0.8+incompatible // indirect github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-containerregistry v0.16.1 // indirect github.com/google/s2a-go v0.1.5 // indirect github.com/google/uuid v1.3.0 // indirect github.com/googleapis/enterprise-certificate-proxy v0.2.5 // indirect @@ -61,10 +91,15 @@ require ( github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-plugin v1.4.8 // indirect github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect + github.com/hnakamur/go-scp v1.0.2 // indirect github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f // indirect + github.com/jmespath/go-jmespath v0.4.0 // indirect + github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect + github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/asmfmt v1.3.2 // indirect github.com/klauspost/compress v1.16.5 // indirect github.com/klauspost/cpuid/v2 v2.0.9 // indirect + github.com/kr/fs v0.1.0 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect @@ -73,19 +108,25 @@ require ( github.com/mattn/go-runewidth v0.0.14 // indirect github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 // indirect github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/go-testing-interface v1.0.0 // indirect github.com/muesli/termenv v0.15.2 // indirect github.com/oklog/run v1.0.0 // indirect + github.com/opencontainers/go-digest v1.0.0 // indirect + github.com/opencontainers/image-spec v1.1.0-rc3 // indirect github.com/pierrec/lz4/v4 v4.1.17 // indirect github.com/pkg/errors v0.9.1 // indirect + github.com/pkg/sftp v1.13.5 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/segmentio/fasthash v1.0.3 // indirect github.com/segmentio/ksuid v1.0.4 // indirect + github.com/sethvargo/go-password v0.2.0 // indirect + github.com/sirupsen/logrus v1.9.3 // indirect github.com/spf13/afero v1.9.5 // indirect + github.com/vbatts/tar-split v0.11.3 // indirect github.com/zeebo/xxh3 v1.0.2 // indirect - go.mondoo.com/ranger-rpc v0.0.0-20230328135530-12135c17095f // indirect go.opencensus.io v0.24.0 // indirect golang.org/x/crypto v0.12.0 // indirect golang.org/x/mod v0.10.0 // indirect diff --git a/providers/gcp/go.sum b/providers/gcp/go.sum index 6ee6f3f058..0e386bba22 100644 --- a/providers/gcp/go.sum +++ b/providers/gcp/go.sum @@ -71,7 +71,11 @@ cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3f cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/oNM= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8= +github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0= +github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= +github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53/go.mod h1:+3IMCy2vIlbG1XG/0ggNQv0SvxCAIpPM5b1nCz56Xno= github.com/CloudyKit/jet/v3 v3.0.0/go.mod h1:HKQPgSJmdK8hdoAbKUUWajkHyHo4RaU5rMdUywE7VMo= @@ -79,7 +83,11 @@ github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c h1:RGWPOewvK github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY= github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= +github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= +github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/Shopify/goreferrer v0.0.0-20181106222321-ec9c9a553398/go.mod h1:a1uqRtAwp2Xwc6WNPJEufxJ7fx3npB4UV/JOLmbu5I0= +github.com/StackExchange/wmi v1.2.1 h1:VIkavFPXSjcnS+O8yTq7NI32k0R5Aj+v39y29VYDOSA= +github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8= github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= github.com/andybalholm/brotli v1.0.4 h1:V7DdXeJtZscaqfNuAdSRuRFzuiKlHSC/Zh3zl9qY3JY= github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= @@ -89,8 +97,47 @@ github.com/apache/arrow/go/v12 v12.0.0/go.mod h1:d+tV/eHZZ7Dz7RPrFKtPK02tpr+c9/P github.com/apache/thrift v0.16.0 h1:qEy6UW60iVOlUy+b9ZR0d5WzUWYGOo4HfopoyBaNmoY= github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= +github.com/aws/aws-sdk-go-v2 v1.17.7/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw= +github.com/aws/aws-sdk-go-v2 v1.21.0 h1:gMT0IW+03wtYJhRqTVYn0wLzwdnK9sRMcxmtfGzRdJc= +github.com/aws/aws-sdk-go-v2 v1.21.0/go.mod h1:/RfNgGmRxI+iFOB1OeJUyxiU+9s88k3pfHvDagGEp0M= +github.com/aws/aws-sdk-go-v2/config v1.18.37 h1:RNAfbPqw1CstCooHaTPhScz7z1PyocQj0UL+l95CgzI= +github.com/aws/aws-sdk-go-v2/config v1.18.37/go.mod h1:8AnEFxW9/XGKCbjYDCJy7iltVNyEI9Iu9qC21UzhhgQ= +github.com/aws/aws-sdk-go-v2/credentials v1.13.35 h1:QpsNitYJu0GgvMBLUIYu9H4yryA5kMksjeIVQfgXrt8= +github.com/aws/aws-sdk-go-v2/credentials v1.13.35/go.mod h1:o7rCaLtvK0hUggAGclf76mNGGkaG5a9KWlp+d9IpcV8= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.11 h1:uDZJF1hu0EVT/4bogChk8DyjSF6fof6uL/0Y26Ma7Fg= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.11/go.mod h1:TEPP4tENqBGO99KwVpV9MlOX4NSrSLP8u3KRy2CDwA8= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.31/go.mod h1:QT0BqUvX1Bh2ABdTGnjqEjvjzrCfIniM9Sc8zn9Yndo= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.41 h1:22dGT7PneFMx4+b3pz7lMTRyN8ZKH7M2cW4GP9yUS2g= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.41/go.mod h1:CrObHAuPneJBlfEJ5T3szXOUkLEThaGfvnhTf33buas= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.25/go.mod h1:zBHOPwhBc3FlQjQJE/D3IfPWiWaQmT06Vq9aNukDo0k= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.35 h1:SijA0mgjV8E+8G45ltVHs0fvKpTj8xmZJ3VwhGKtUSI= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.35/go.mod h1:SJC1nEVVva1g3pHAIdCp7QsRIkMmLAgoDquQ9Rr8kYw= +github.com/aws/aws-sdk-go-v2/internal/ini v1.3.42 h1:GPUcE/Yq7Ur8YSUk6lVkoIMWnJNO0HT18GUzCWCgCI0= +github.com/aws/aws-sdk-go-v2/internal/ini v1.3.42/go.mod h1:rzfdUlfA+jdgLDmPKjd3Chq9V7LVLYo1Nz++Wb91aRo= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.92.1 h1:xn5CI639mnWvdiweqoRx/H221Ia9Asx9XxfIRhe0MPo= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.92.1/go.mod h1:ZZLfkd1Y7fjXujjMg1CFqNmaTl314eCbShlHQO7VTWo= +github.com/aws/aws-sdk-go-v2/service/ec2instanceconnect v1.15.6 h1:KJnKe1kdcFBTroYoB9er25kadj+hdkuNb/s7WbdCnYU= +github.com/aws/aws-sdk-go-v2/service/ec2instanceconnect v1.15.6/go.mod h1:RCkBh2Z5n5/U74VwgoKB3jM7Bo9XzIT0bmnBL36LsY8= +github.com/aws/aws-sdk-go-v2/service/ecr v1.19.5 h1:hg2/a7rE9dwYr+/DPNzHQ+IsHXLNt1NsQVUecBtA8os= +github.com/aws/aws-sdk-go-v2/service/ecr v1.19.5/go.mod h1:pGwmNL8hN0jpBfKfTbmu+Rl0bJkDhaGl+9PQLrZ4KLo= +github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.17.5 h1:GCIkEQp+7Vt7NmBHB+/1qPYHl6Kg3L0Bg3DJ2v1Oi08= +github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.17.5/go.mod h1:uRNeiRoKCWT9aVtmX8mvUlDDgq+gmHLF6pGxVS7J6SY= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.25/go.mod h1:/95IA+0lMnzW6XzqYJRpjjsAbKEORVeO0anQqjd2CNU= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.35 h1:CdzPW9kKitgIiLV1+MHobfR5Xg25iYnyzWZhyQuSlDI= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.35/go.mod h1:QGF2Rs33W5MaN9gYdEQOBBFPLwTZkEhRwI33f7KIG0o= +github.com/aws/aws-sdk-go-v2/service/ssm v1.36.0 h1:L1gK0SF7Filotf8Jbhiq0Y+rKVs/W1av8MH0+AXPrAg= +github.com/aws/aws-sdk-go-v2/service/ssm v1.36.0/go.mod h1:nCdeJmEFby1HKwKhDdKdVxPOJQUNht7Ngw+ejzbzvDU= +github.com/aws/aws-sdk-go-v2/service/sso v1.13.5 h1:oCvTFSDi67AX0pOX3PuPdGFewvLRU2zzFSrTsgURNo0= +github.com/aws/aws-sdk-go-v2/service/sso v1.13.5/go.mod h1:fIAwKQKBFu90pBxx07BFOMJLpRUGu8VOzLJakeY+0K4= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.15.5 h1:dnInJb4S0oy8aQuri1mV6ipLlnZPfnsDNB9BGO9PDNY= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.15.5/go.mod h1:yygr8ACQRY2PrEcy3xsUI357stq2AxnFM6DIsR9lij4= +github.com/aws/aws-sdk-go-v2/service/sts v1.21.5 h1:CQBFElb0LS8RojMJlxRSo/HXipvTZW2S44Lt9Mk2aYQ= +github.com/aws/aws-sdk-go-v2/service/sts v1.21.5/go.mod h1:VC7JDqsqiwXukYEDjoHh9U0fOJtNWh04FPQz4ct4GGU= +github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/aws/smithy-go v1.14.2 h1:MJU9hqBGbvWZdApzpvoF2WAIJDbtjK2NDJSiJP7HblQ= github.com/aws/smithy-go v1.14.2/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20230823232655-ce48fc331ac7 h1:Q9N/BxETE9cNhAA2EOIfl+VxTQScsNNBpC8536vwkJI= +github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20230823232655-ce48fc331ac7/go.mod h1:TfHDjqSwGGoCUCnvy2LBziYXrjh+G+GbdlPc4vbiENY= github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g= @@ -115,17 +162,34 @@ github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f/go.mod h1:Vz9D github.com/cockroachdb/redact v1.1.3 h1:AKZds10rFSIj7qADf0g46UixK8NNLwWTNdCIGS5wfSQ= github.com/cockroachdb/redact v1.1.3/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg= github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0/go.mod h1:4Zcjuz89kmFXt9morQgcfYZAYZ5n8WHjt81YYWIwtTM= +github.com/containerd/stargz-snapshotter/estargz v0.14.3 h1:OqlDCK3ZVUO6C3B/5FSkDwbkEETK84kQgEeFwDC+62k= +github.com/containerd/stargz-snapshotter/estargz v0.14.3/go.mod h1:KY//uOCIkSuNAHhJogcZtrNHdKrA99/FCCRjE3HD36o= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgraph-io/badger v1.6.0/go.mod h1:zwt7syl517jmP8s94KqSxTlM6IMsdhYy6psNgSztDR4= github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= +github.com/docker/cli v24.0.0+incompatible h1:0+1VshNwBQzQAx9lOl+OYCTCEAD8fKs/qeXMx3O0wqM= +github.com/docker/cli v24.0.0+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= +github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8= +github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/docker v24.0.5+incompatible h1:WmgcE4fxyI6EEXxBRxsHnZXrO1pQ3smi0k/jho4HLeY= +github.com/docker/docker v24.0.5+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker-credential-helpers v0.8.0 h1:YQFtbBQb4VrpoPxhFuzEBPQ9E16qz5SpHLS+uswaCp8= +github.com/docker/docker-credential-helpers v0.8.0/go.mod h1:UGFXcuoQ5TxPiB54nHOZ32AWRqQdECoh/Mg0AlEYb40= +github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= +github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= +github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= +github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385/go.mod h1:0vRUJqYpeSZifjYj7uP3BG/gKcuzL9xWVV/Y+cK33KM= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= @@ -159,6 +223,10 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2 github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-martini/martini v0.0.0-20170121215854-22fa46961aab/go.mod h1:/P9AEU963A2AYjv4d1V5eVL1CQbEJq6aCNHDDjibzu8= +github.com/go-ole/go-ole v1.2.5/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= +github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= +github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= +github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= @@ -228,6 +296,8 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-containerregistry v0.16.1 h1:rUEt426sR6nyrL3gt+18ibRcvYpKYdpsa5ZW7MA08dQ= +github.com/google/go-containerregistry v0.16.1/go.mod h1:u0qB2l7mvtWVR5kNcbFIhFY1hLbf8eeGapA+vbFDCtQ= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= @@ -274,6 +344,10 @@ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1vq2e6IsrXKrZit1bv/TDYFGMp4BQ= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= +github.com/hnakamur/go-scp v1.0.2 h1:i2I0O0pjAaX4BXJFrp1blsIdjOBekc5QOaB0AbdO1d0= +github.com/hnakamur/go-scp v1.0.2/go.mod h1:Dh9GtPFBkiDI1KY1nmf+W7eVCWWmRjJitkCYgvWv+Zc= +github.com/hnakamur/go-sshd v0.0.0-20170228152141-dccc3399d26a h1:p8dbHRhXhPSwVZqk76FguLzyeCZuvCqFlaYSqXOzbyI= +github.com/hnakamur/go-sshd v0.0.0-20170228152141-dccc3399d26a/go.mod h1:R+6I3EdoV6ofbNqJsArhT9+Pnu57DxtmDJAQfxkCbGo= github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f h1:7LYC+Yfkj3CTRcShK0KOL/w6iTiKyqqBA9a41Wnggw8= github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f/go.mod h1:pFlLw2CfqZiIBOx6BuCeRLCrfxBJipTY0nIOF/VbGcI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= @@ -288,7 +362,9 @@ github.com/iris-contrib/jade v1.1.3/go.mod h1:H/geBymxJhShH5kecoiOCSssPX7QWYH7Ua github.com/iris-contrib/pongo2 v0.0.1/go.mod h1:Ssh+00+3GAZqSQb30AvBRNxBx7rf0GqwkjqxNd0u65g= github.com/iris-contrib/schema v0.0.1/go.mod h1:urYA3uvUNG1TIIjOSCzHr9/LmbQo8LrOcOqfqxa4hXw= github.com/jhump/protoreflect v1.6.0 h1:h5jfMVslIg6l29nsMs0D8Wj17RDVdNYti0vDN/PZZoE= +github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= +github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= @@ -302,6 +378,10 @@ github.com/kataras/iris/v12 v12.1.8/go.mod h1:LMYy4VlP67TQ3Zgriz8RE2h2kMZV2SgMYb github.com/kataras/neffos v0.0.14/go.mod h1:8lqADm8PnbeFfL7CLXh1WHw53dG27MC3pgi2R1rmoTE= github.com/kataras/pio v0.0.2/go.mod h1:hAoW0t9UmXi4R5Oyq5Z4irTbaTsOemSrDGUtaTl7Dro= github.com/kataras/sitemap v0.0.5/go.mod h1:KY2eugMKiPwsJgx7+U103YZehfvNGOXURubcGyk0Bz8= +github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= +github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= +github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= +github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/asmfmt v1.3.2 h1:4Ri7ox3EwapiOjCki+hw14RyKk201CN4rzyCJRFLpK4= @@ -313,12 +393,15 @@ github.com/klauspost/compress v1.16.5/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQs github.com/klauspost/cpuid v1.2.1/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/klauspost/cpuid/v2 v2.0.9 h1:lgaqFMSdTdQYdZ04uHyN2d/eKdOMyi2YLSvlQIBFYa4= github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.8 h1:AkaSdXYQOWeaO3neb8EM634ahkXXe3jYbVh/F9lq+GI= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= @@ -351,14 +434,17 @@ github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 h1:AMFGa4R4MiIpsp github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 h1:+n/aFZefKZp7spd8DFdX7uMikMLXX4oubIzJF4kv/wI= github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= +github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-testing-interface v1.0.0 h1:fzU/JVNcaqHQEcVFAKeR41fkiLdIPrefOvVG1VZ96U0= github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/moby/term v0.5.0 h1:xt8Q1nalod/v7BqbG21f8mQPqH+xAaC9C3N3wfWbVP0= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/moul/http2curl v1.0.0/go.mod h1:8UbvGypXm98wA/IqH45anm5Y2Z6ep6O31QGOAZ3H0fQ= github.com/muesli/termenv v0.15.2 h1:GohcuySI0QmI3wN8Ok9PtKGkgkFIk7y6Vpb5PvrY+Wo= github.com/muesli/termenv v0.15.2/go.mod h1:Epx+iuz8sNs7mNKhxzH4fWXGNpZwUaJKRS1noLXviQ8= @@ -371,6 +457,10 @@ github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQ github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= +github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= +github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= +github.com/opencontainers/image-spec v1.1.0-rc3 h1:fzg1mXZFj8YdPeNkRXMg+zb88BFV0Ys52cJydRwBkb8= +github.com/opencontainers/image-spec v1.1.0-rc3/go.mod h1:X4pATf0uXsnn3g5aiGIsVnJBR4mxhKzfwmvK/B2NTm8= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pierrec/lz4/v4 v4.1.17 h1:kV4Ip+/hUBC+8T6+2EgburRtkE9ef4nbY3f4dFhGjMc= github.com/pierrec/lz4/v4 v4.1.17/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= @@ -381,6 +471,8 @@ github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= +github.com/pkg/sftp v1.13.5 h1:a3RLUqkyjYRtBTZJZ1VRrKbN3zhuPLlUc3sphVz81go= +github.com/pkg/sftp v1.13.5/go.mod h1:wHDZ0IZX6JcBYRK1TH9bcVq8G7TLpVHYIGJRFnmPfxg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= @@ -398,6 +490,7 @@ github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= github.com/rs/zerolog v1.30.0 h1:SymVODrcRsaRaSInD9yQtKbtWqwsfoPcRff/oRXLj4c= github.com/rs/zerolog v1.30.0/go.mod h1:/tk+P47gFdPXq4QYjvCmT5/Gsug2nagsFWBWhAiSi1w= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g= github.com/segmentio/fasthash v1.0.3 h1:EI9+KE1EwvMLBWwjpRDc+fEM+prwxDYbslddQGtrmhM= @@ -405,7 +498,12 @@ github.com/segmentio/fasthash v1.0.3/go.mod h1:waKX8l2N8yckOgmSsXJi7x1ZfdKZ4x7KR github.com/segmentio/ksuid v1.0.4 h1:sBo2BdShXjmcugAMwjugoGUdUV0pcxY5mW4xKRn3v4c= github.com/segmentio/ksuid v1.0.4/go.mod h1:/XUiZBD3kVx5SmUOl55voK5yeAbBNNIed+2O73XgrPE= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= +github.com/sethvargo/go-password v0.2.0 h1:BTDl4CC/gjf/axHMaDQtw507ogrXLci6XRiLc7i/UHI= +github.com/sethvargo/go-password v0.2.0/go.mod h1:Ym4Mr9JXLBycr02MFuVQ/0JHidNetSgbzutTr3zsYXE= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= +github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= @@ -436,12 +534,15 @@ github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGr github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= +github.com/urfave/cli v1.22.12/go.mod h1:sSBEIC79qR6OvcmsD4U3KABeOTxDqQtdDnaFuUN30b8= github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBnvPM1Su9w= github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio= +github.com/vbatts/tar-split v0.11.3 h1:hLFqsOLQ1SsppQNTMpkpPXClLDfC2A3Zgy9OUU+RVck= +github.com/vbatts/tar-split v0.11.3/go.mod h1:9QlHN18E+fEH7RdG+QAJJcuya3rqT7eXSTY7wGrAokY= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= @@ -480,9 +581,11 @@ golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.12.0 h1:tFM/ta59kqch6LlvYnPa0yx5a83cL2nHflFhYKvv9Yk= @@ -608,6 +711,7 @@ golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -625,6 +729,7 @@ golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200828081204-131dc92a58d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -638,14 +743,18 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220906165534-d0df966e6959/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM= golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -668,6 +777,7 @@ golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181221001348-537d06c36207/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -866,6 +976,8 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= +gotest.tools/v3 v3.5.0 h1:Ljk6PdHdOhAb5aDMWXjDLMMhph+BpztA4v1QdqEW2eY= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/providers/gcp/provider/provider.go b/providers/gcp/provider/provider.go index 51e782a8c4..30a268b78f 100644 --- a/providers/gcp/provider/provider.go +++ b/providers/gcp/provider/provider.go @@ -15,6 +15,8 @@ import ( "go.mondoo.com/cnquery/providers-sdk/v1/plugin" "go.mondoo.com/cnquery/providers-sdk/v1/upstream" "go.mondoo.com/cnquery/providers/gcp/connection" + "go.mondoo.com/cnquery/providers/gcp/connection/gcpinstancesnapshot" + "go.mondoo.com/cnquery/providers/gcp/connection/shared" "go.mondoo.com/cnquery/providers/gcp/resources" ) @@ -71,7 +73,7 @@ func (s *Service) ParseCLI(req *plugin.ParseCLIReq) (*plugin.ParseCLIRes, error) } if len(req.Args) != 2 { - return nil, errors.New("missing argument, use `gcp project id` or `gcp organization id` or `gcp folder id`") + return nil, errors.New("missing argument, use `gcp project id`, `gcp organization id`, `gcp folder id` or `gcp snapshot name`") } conf := &inventory.Config{ @@ -85,6 +87,18 @@ func (s *Service) ParseCLI(req *plugin.ParseCLIReq) (*plugin.ParseCLIRes, error) credentialsPath = string(x.Value) } + // these flags are currently only used for the snapshot sub-command + var projectId string + if x, ok := flags["project-id"]; ok && len(x.Value) != 0 { + projectId = string(x.Value) + } + + var zone string + if x, ok := flags["zone"]; ok && len(x.Value) != 0 { + zone = string(x.Value) + } + // ^^ snapshot flags + envVars := []string{ "GOOGLE_APPLICATION_CREDENTIALS", "GOOGLE_CREDENTIALS", @@ -99,6 +113,17 @@ func (s *Service) ParseCLI(req *plugin.ParseCLIReq) (*plugin.ParseCLIRes, error) }) } + // parse discovery flags + conf.Discover = &inventory.Discovery{ + Targets: []string{}, + } + if x, ok := flags["discover"]; ok && len(x.Array) != 0 { + for i := range x.Array { + entry := string(x.Array[i].Value) + conf.Discover.Targets = append(conf.Discover.Targets, entry) + } + } + switch req.Args[0] { case "org": conf.Options["organization-id"] = req.Args[1] @@ -106,23 +131,19 @@ func (s *Service) ParseCLI(req *plugin.ParseCLIReq) (*plugin.ParseCLIRes, error) conf.Options["project-id"] = req.Args[1] case "folder": conf.Options["folder-id"] = req.Args[1] + case "snapshot": + conf.Options["snapshot-name"] = req.Args[1] + conf.Options["project-id"] = projectId + conf.Options["zone"] = zone + conf.Options["type"] = "snapshot" + conf.Type = "gcp-snapshot" + conf.Discover = nil } asset := inventory.Asset{ Connections: []*inventory.Config{conf}, } - // parse discovery flags - conf.Discover = &inventory.Discovery{ - Targets: []string{}, - } - if x, ok := flags["discover"]; ok && len(x.Array) != 0 { - for i := range x.Array { - entry := string(x.Array[i].Value) - conf.Discover.Targets = append(conf.Discover.Targets, entry) - } - } - return &plugin.ParseCLIRes{Asset: &asset}, nil } @@ -143,10 +164,13 @@ func (s *Service) Connect(req *plugin.ConnectReq, callback plugin.ProviderCallba } } + var inventory *inventory.Inventory // discovery assets for further scanning - inventory, err := s.discover(conn) - if err != nil { - return nil, err + if conn.Config().Discover != nil { + inventory, err = s.discover(conn) + if err != nil { + return nil, err + } } return &plugin.ConnectRes{ @@ -157,17 +181,20 @@ func (s *Service) Connect(req *plugin.ConnectReq, callback plugin.ProviderCallba }, nil } -func (s *Service) connect(req *plugin.ConnectReq, callback plugin.ProviderCallback) (*connection.GcpConnection, error) { +func (s *Service) connect(req *plugin.ConnectReq, callback plugin.ProviderCallback) (shared.GcpConnection, error) { if len(req.Asset.Connections) == 0 { return nil, errors.New("no connection options for asset") } asset := req.Asset conf := asset.Connections[0] - var conn *connection.GcpConnection + var conn shared.GcpConnection var err error switch conf.Type { + case "gcp-snapshot": + s.lastConnectionID++ + conn, err = gcpinstancesnapshot.NewGcpSnapshotConnection(s.lastConnectionID, conf, asset) default: s.lastConnectionID++ conn, err = connection.NewGcpConnection(s.lastConnectionID, asset, conf) @@ -198,25 +225,28 @@ func (s *Service) connect(req *plugin.ConnectReq, callback plugin.ProviderCallba return conn, err } -func (s *Service) detect(asset *inventory.Asset, conn *connection.GcpConnection) error { +func (s *Service) detect(asset *inventory.Asset, conn shared.GcpConnection) error { // TODO: adjust asset detection - asset.Id = conn.Conf.Type - asset.Name = conn.Conf.Host - - asset.Platform = &inventory.Platform{ - Name: "gcp", - Family: []string{"gcp"}, - Kind: "api", - Title: "GCP Cloud", + asset.Id = conn.Config().Type + asset.Name = conn.Config().Host + + switch conn.Config().Type { + default: + asset.Platform = &inventory.Platform{ + Name: "gcp", + Family: []string{"gcp"}, + Kind: "api", + Title: "GCP Cloud", + } + // TODO: Add platform IDs + asset.PlatformIds = []string{"//platformid.api.mondoo.app/runtime/gcp/"} } - // TODO: Add platform IDs - asset.PlatformIds = []string{"//platformid.api.mondoo.app/runtime/gcp/"} return nil } -func (s *Service) discover(conn *connection.GcpConnection) (*inventory.Inventory, error) { - if conn.Conf.Discover == nil { +func (s *Service) discover(conn shared.GcpConnection) (*inventory.Inventory, error) { + if conn.Config().Discover == nil { return nil, nil } diff --git a/providers/github/go.mod b/providers/github/go.mod index a90e3d75f6..0f99aedf05 100644 --- a/providers/github/go.mod +++ b/providers/github/go.mod @@ -139,6 +139,7 @@ require ( github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect github.com/hexops/gotextdiff v1.0.3 // indirect + github.com/hnakamur/go-scp v1.0.2 // indirect github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jgautheron/goconst v1.5.1 // indirect diff --git a/providers/github/go.sum b/providers/github/go.sum index c4a712b65b..daab66a9aa 100644 --- a/providers/github/go.sum +++ b/providers/github/go.sum @@ -201,7 +201,9 @@ github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf/go.mod h1:F5haX7 github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= github.com/curioswitch/go-reassign v0.2.0 h1:G9UZyOcpk/d7Gd6mqYgd8XYWFMw/znxwGDUstnC9DIo= github.com/curioswitch/go-reassign v0.2.0/go.mod h1:x6OpXuWvgfQaMGks2BZybTngWjT84hqJfKoO8Tt/Roc= github.com/daixiang0/gci v0.10.1 h1:eheNA3ljF6SxnPD/vE4lCBusVHmV3Rs3dkKvFrJ7MR0= @@ -460,6 +462,10 @@ github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1 github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= +github.com/hnakamur/go-scp v1.0.2 h1:i2I0O0pjAaX4BXJFrp1blsIdjOBekc5QOaB0AbdO1d0= +github.com/hnakamur/go-scp v1.0.2/go.mod h1:Dh9GtPFBkiDI1KY1nmf+W7eVCWWmRjJitkCYgvWv+Zc= +github.com/hnakamur/go-sshd v0.0.0-20170228152141-dccc3399d26a h1:p8dbHRhXhPSwVZqk76FguLzyeCZuvCqFlaYSqXOzbyI= +github.com/hnakamur/go-sshd v0.0.0-20170228152141-dccc3399d26a/go.mod h1:R+6I3EdoV6ofbNqJsArhT9+Pnu57DxtmDJAQfxkCbGo= github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f h1:7LYC+Yfkj3CTRcShK0KOL/w6iTiKyqqBA9a41Wnggw8= github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f/go.mod h1:pFlLw2CfqZiIBOx6BuCeRLCrfxBJipTY0nIOF/VbGcI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= @@ -536,6 +542,8 @@ github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NB github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.8 h1:AkaSdXYQOWeaO3neb8EM634ahkXXe3jYbVh/F9lq+GI= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= @@ -909,6 +917,7 @@ golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= @@ -1083,6 +1092,7 @@ golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200828081204-131dc92a58d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/providers/google-workspace/go.mod b/providers/google-workspace/go.mod index 1d729f5693..881d6dbc97 100644 --- a/providers/google-workspace/go.mod +++ b/providers/google-workspace/go.mod @@ -143,6 +143,7 @@ require ( github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect github.com/hexops/gotextdiff v1.0.3 // indirect + github.com/hnakamur/go-scp v1.0.2 // indirect github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jgautheron/goconst v1.5.1 // indirect diff --git a/providers/google-workspace/go.sum b/providers/google-workspace/go.sum index 98cb0f83d5..37fae12259 100644 --- a/providers/google-workspace/go.sum +++ b/providers/google-workspace/go.sum @@ -213,7 +213,10 @@ github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf/go.mod h1:F5haX7 github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= +github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/curioswitch/go-reassign v0.2.0 h1:G9UZyOcpk/d7Gd6mqYgd8XYWFMw/znxwGDUstnC9DIo= github.com/curioswitch/go-reassign v0.2.0/go.mod h1:x6OpXuWvgfQaMGks2BZybTngWjT84hqJfKoO8Tt/Roc= github.com/daixiang0/gci v0.10.1 h1:eheNA3ljF6SxnPD/vE4lCBusVHmV3Rs3dkKvFrJ7MR0= @@ -488,6 +491,10 @@ github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1 github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= +github.com/hnakamur/go-scp v1.0.2 h1:i2I0O0pjAaX4BXJFrp1blsIdjOBekc5QOaB0AbdO1d0= +github.com/hnakamur/go-scp v1.0.2/go.mod h1:Dh9GtPFBkiDI1KY1nmf+W7eVCWWmRjJitkCYgvWv+Zc= +github.com/hnakamur/go-sshd v0.0.0-20170228152141-dccc3399d26a h1:p8dbHRhXhPSwVZqk76FguLzyeCZuvCqFlaYSqXOzbyI= +github.com/hnakamur/go-sshd v0.0.0-20170228152141-dccc3399d26a/go.mod h1:R+6I3EdoV6ofbNqJsArhT9+Pnu57DxtmDJAQfxkCbGo= github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f h1:7LYC+Yfkj3CTRcShK0KOL/w6iTiKyqqBA9a41Wnggw8= github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f/go.mod h1:pFlLw2CfqZiIBOx6BuCeRLCrfxBJipTY0nIOF/VbGcI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= @@ -565,6 +572,8 @@ github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NB github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.8 h1:AkaSdXYQOWeaO3neb8EM634ahkXXe3jYbVh/F9lq+GI= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= @@ -951,6 +960,7 @@ golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= @@ -1127,6 +1137,7 @@ golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200828081204-131dc92a58d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/providers/os/connection/filesystem.go b/providers/os/connection/filesystem.go index 96bd554e1b..9e30e6b7b8 100644 --- a/providers/os/connection/filesystem.go +++ b/providers/os/connection/filesystem.go @@ -35,7 +35,7 @@ func NewFileSystemConnectionWithClose(id uint32, conf *inventory.Config, assert return &FileSystemConnection{ id: id, - conf: conf, + Conf: conf, asset: assert, MountedDir: path, closeFN: closeFN, @@ -49,7 +49,7 @@ func NewFileSystemConnection(id uint32, conf *inventory.Config, assert *inventor type FileSystemConnection struct { id uint32 - conf *inventory.Config + Conf *inventory.Config asset *inventory.Asset MountedDir string diff --git a/providers/os/connection/local.go b/providers/os/connection/local.go index b7d7bd11dc..6187281fd0 100644 --- a/providers/os/connection/local.go +++ b/providers/os/connection/local.go @@ -77,7 +77,7 @@ func (p *LocalConnection) RunCommand(command string) (*shared.Command, error) { command = shared.BuildSudoCommand(p.Sudo, command) } log.Debug().Msgf("local> run command %s", command) - c := &commandRunner{Shell: p.shell} + c := &CommandRunner{Shell: p.shell} args := []string{} res, err := c.Exec(command, args) @@ -121,13 +121,13 @@ func (p *LocalConnection) Close() { // TODO: we need to close all commands and file handles } -type commandRunner struct { +type CommandRunner struct { shared.Command cmdExecutor *exec.Cmd Shell []string } -func (c *commandRunner) Exec(usercmd string, args []string) (*shared.Command, error) { +func (c *CommandRunner) Exec(usercmd string, args []string) (*shared.Command, error) { c.Command.Stats.Start = time.Now() var cmd string diff --git a/_motor/providers/os/snapshot/blockdevices.go b/providers/os/connection/snapshot/blockdevices.go similarity index 100% rename from _motor/providers/os/snapshot/blockdevices.go rename to providers/os/connection/snapshot/blockdevices.go diff --git a/_motor/providers/os/snapshot/blockdevices_test.go b/providers/os/connection/snapshot/blockdevices_test.go similarity index 100% rename from _motor/providers/os/snapshot/blockdevices_test.go rename to providers/os/connection/snapshot/blockdevices_test.go diff --git a/providers/os/connection/snapshot/localcmd.go b/providers/os/connection/snapshot/localcmd.go new file mode 100644 index 0000000000..1dbd5d0ebf --- /dev/null +++ b/providers/os/connection/snapshot/localcmd.go @@ -0,0 +1,21 @@ +// Copyright (c) Mondoo, Inc. +// SPDX-License-Identifier: BUSL-1.1 + +package snapshot + +import ( + "go.mondoo.com/cnquery/providers/os/connection" + "go.mondoo.com/cnquery/providers/os/connection/shared" +) + +type LocalCommandRunner struct { + shell []string +} + +func (r *LocalCommandRunner) RunCommand(command string) (*shared.Command, error) { + c := connection.CommandRunner{Shell: r.shell} + args := []string{} + + res, err := c.Exec(command, args) + return res, err +} diff --git a/_motor/providers/os/snapshot/mount_linux.go b/providers/os/connection/snapshot/mount_linux.go similarity index 100% rename from _motor/providers/os/snapshot/mount_linux.go rename to providers/os/connection/snapshot/mount_linux.go diff --git a/_motor/providers/os/snapshot/mount_other.go b/providers/os/connection/snapshot/mount_other.go similarity index 100% rename from _motor/providers/os/snapshot/mount_other.go rename to providers/os/connection/snapshot/mount_other.go diff --git a/_motor/providers/os/snapshot/testdata/rhel8.json b/providers/os/connection/snapshot/testdata/rhel8.json similarity index 100% rename from _motor/providers/os/snapshot/testdata/rhel8.json rename to providers/os/connection/snapshot/testdata/rhel8.json diff --git a/_motor/providers/os/snapshot/testdata/rhel8_nolabels.json b/providers/os/connection/snapshot/testdata/rhel8_nolabels.json similarity index 100% rename from _motor/providers/os/snapshot/testdata/rhel8_nolabels.json rename to providers/os/connection/snapshot/testdata/rhel8_nolabels.json diff --git a/_motor/providers/os/snapshot/volumemounter.go b/providers/os/connection/snapshot/volumemounter.go similarity index 96% rename from _motor/providers/os/snapshot/volumemounter.go rename to providers/os/connection/snapshot/volumemounter.go index 4f95054fb5..6d839eb017 100644 --- a/_motor/providers/os/snapshot/volumemounter.go +++ b/providers/os/connection/snapshot/volumemounter.go @@ -9,11 +9,10 @@ import ( "os" "strings" - "go.mondoo.com/cnquery/stringx" + "go.mondoo.com/cnquery/utils/stringx" "github.com/cockroachdb/errors" "github.com/rs/zerolog/log" - osProvider "go.mondoo.com/cnquery/motor/providers/os" ) const NoSetup = "no-setup" @@ -24,7 +23,7 @@ type VolumeMounter struct { // where we tell AWS to attach the volume; it doesn't necessarily get attached there, but we have to reference this same location when detaching VolumeAttachmentLoc string opts map[string]string - cmdRunner osProvider.CommandRunner + cmdRunner *LocalCommandRunner } func NewVolumeMounter(shell []string) *VolumeMounter { diff --git a/providers/os/provider/provider.go b/providers/os/provider/provider.go index ab69f185f1..79362e3bf9 100644 --- a/providers/os/provider/provider.go +++ b/providers/os/provider/provider.go @@ -259,7 +259,7 @@ func (s *Service) connect(req *plugin.ConnectReq, callback plugin.ProviderCallba s.lastConnectionID++ conn, err = connection.NewContainerRegistryImage(s.lastConnectionID, conf, asset) - case "filesystem": + case "filesystem", "gcp-snapshot": s.lastConnectionID++ conn, err = connection.NewFileSystemConnection(s.lastConnectionID, conf, asset)