{"Name":"gcp","ID":"go.mondoo.com/cnquery/v9/providers/gcp","Version":"13.33.3","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},{"Long":"filters","Desc":"Filter discovered resources, e.g., --filters storage:bucket-names=my-bucket --filters storage:exclude:bucket-names=noisy-bucket --filters propagate-project-labels=true","Type":5}],"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","alloydb-clusters","spanner-instances","firestore-databases","bigtable-instances","vertexai-endpoints","vertexai-pipelinejobs","vertexai-notebookruntimetemplates","modelarmor-templates","datastream-connectionprofiles"]}],"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"}],"Platforms":[{"name":"gcp-org","title":"GCP Organization","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-project","title":"GCP Project","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-folder","title":"GCP Folder","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-compute-image","title":"GCP Compute Image","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-compute-network","title":"GCP Compute Network","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-compute-subnetwork","title":"GCP Compute Subnetwork","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-compute-firewall","title":"GCP Compute Firewall","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-compute-instance","title":"GCP Compute Instance","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-gke-cluster","title":"GCP GKE Cluster","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-storage-bucket","title":"GCP Storage Bucket","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-bigquery-dataset","title":"GCP BigQuery Dataset","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-sql-mysql","title":"GCP Cloud SQL for MySQL","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-sql-postgresql","title":"GCP Cloud SQL for PostgreSQL","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-sql-sqlserver","title":"GCP Cloud SQL for SQL Server","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-dns-zone","title":"GCP Cloud DNS Zone","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-kms-keyring","title":"GCP Cloud KMS Keyring","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-memorystore-redis","title":"GCP Memorystore for Redis","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-memorystore-rediscluster","title":"GCP Memorystore for Redis Cluster","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-memorystore-instance","title":"GCP Memorystore Instance","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-artifactregistry-repository","title":"GCP Artifact Registry Repository","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-memcache-instance","title":"GCP Memorystore for Memcached Instance","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-vertexai-job","title":"GCP Vertex AI Custom Job","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-vertexai-endpoint","title":"GCP Vertex AI Endpoint","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-vertexai-pipelinejob","title":"GCP Vertex AI Pipeline Job","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-vertexai-notebookruntimetemplate","title":"GCP Vertex AI Notebook Runtime Template","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-secretmanager-secret","title":"GCP Secret Manager Secret","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-pubsub-topic","title":"GCP Pub/Sub Topic","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-pubsub-subscription","title":"GCP Pub/Sub Subscription","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-pubsub-snapshot","title":"GCP Pub/Sub Snapshot","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-cloudrun-service","title":"GCP Cloud Run Service","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-cloudrun-job","title":"GCP Cloud Run Job","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-cloud-function","title":"GCP Cloud Function","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-dataproc-cluster","title":"GCP Dataproc Cluster","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-alloydb-cluster","title":"GCP AlloyDB Cluster","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-spanner-instance","title":"GCP Spanner Instance","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-firestore-database","title":"GCP Firestore Database","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-bigtable-instance","title":"GCP Bigtable Instance","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-logging-bucket","title":"GCP Logging Bucket","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-apikey","title":"GCP API Key","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-iam-service-account","title":"GCP IAM Service Account","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-modelarmor-template","title":"GCP Model Armor Template","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]},{"name":"gcp-datastream-connectionprofile","title":"GCP Datastream Connection Profile","family":["google"],"kind":["gcp-object"],"runtime":["gcp"]}]}