{"Name":"gcp","ID":"go.mondoo.com/cnquery/v9/providers/gcp","Version":"13.8.2","ConnectionTypes":["gcp","gcp-snapshot"],"CrossProviderTypes":null,"Connectors":[{"Name":"gcp","Use":"gcp","Short":"a Google Cloud project or folder","Long":"Use the gcp provider to query resources within Google Cloud Platform (GCP), including databases, services, instances, containers, and more.\n\nExamples without logging into and configuring GCP:\n  cnspec shell gcp org \u003cORGANIZATION-ID\u003e --credentials-path \u003cPATH-TO-YOUR-SERVICE-ACCT\u003e\n  cnspec scan gcp project \u003cPROJECT-ID\u003e --credentials-path \u003cPATH-TO-YOUR-SERVICE-ACCT\u003e\n\nNote:\n  If you log into GCP and configure the project you want to query or scan, you can omit credentials. To learn how, read https://mondoo.com/docs/cnspec/cloud/gcp/.\n\nExamples with the GCP project configured:\n  cnspec scan gcp folder \u003cFOLDER-ID\u003e\n  cnspec shell gcp project\n","MaxArgs":2,"Flags":[{"Long":"credentials-path","Desc":"The path to the service account credentials to access the APIs with","Type":3},{"Long":"repository","Desc":"[gcp gcr] specify the GCR repository to scan","Type":3},{"Long":"project-id","Desc":"[gcp snapshot, gcp instance] specify the GCP project ID where the target instance is located","Type":3},{"Long":"zone","Desc":"[gcp snapshot, gcp instance] specify the GCP zone where the target instance is located","Type":3},{"Long":"create-snapshot","Default":"false","Desc":"[gcp snapshot, gcp instance] create a new snapshot instead of using the latest available snapshot (only used for instance)","Type":1}],"Discovery":["organization","folders","instances","projects","compute-images","compute-networks","compute-subnetworks","compute-firewalls","gke-clusters","storage-buckets","bigquery-datasets","cloud-sql-mysql","cloud-sql-postgresql","cloud-sql-sqlserver","cloud-dns-zones","cloud-kms-keyrings","memorystore-redis","memorystore-rediscluster","secretmanager-secrets","pubsub-topics","pubsub-subscriptions","pubsub-snapshots","cloudrun-services","cloudrun-jobs","cloud-functions","dataproc-clusters","logging-buckets","apikeys","iam-service-accounts"]}],"AssetUrlTrees":[{"path_segments":["technology=gcp"],"key":"project","values":{"*":{"key":"service","values":{"compute":{"key":"region","values":{"*":{"key":"object","values":{"image":null,"instance":{"key":"type","values":{"resource":null}},"network":null,"other":null,"subnetwork":null},"title":"Compute Object"}},"title":"Region"},"gke":{"key":"region","values":{"*":{"key":"object","values":{"cluster":null,"other":null},"title":"GKE Object"}},"title":"Region"},"other":null,"project":null,"storage":{"key":"region","values":{"*":{"key":"object","values":{"bucket":null,"other":null},"title":"Storage Object"}},"title":"Region"}},"title":"Service"}},"title":"Project"}]}