Mondoo Docs

GCP cloud function

gcp.project.cloudFunction MQL resource for querying Google Cloud infrastructure with cnquery and cnspec.

Google CloudPrivate Resource

GCP cloud function

Min version: latestDefaults: name

Relationships

Mini Map
Google Cloud
3 resources · 4 relationshipsClick to select, expand fields to see properties.

Fields (33)

FieldTypeDescription
availableMemoryMbrequired
intAmount of memory in MB available for a function
buildEnvVarsrequired
map[string]stringBuild environment variables that are available during build time
buildIdrequired
stringCloud Build ID of the latest successful deployment of the function
buildNamerequired
stringCloud Build name of the function deployment
buildWorkerPoolrequired
stringName of the Cloud Build custom WorkerPool that should be used to build the function
descriptionrequired
stringCloud function description
dockerRegistryrequired
stringDocker registry to use for this deployment
dockerRepositoryrequired
stringUser-managed repository created in Artifact Registry
egressSettingsrequired
stringEgress settings for the connector controlling what traffic is diverted
entryPointrequired
stringName of the function (as defined in source code) that is executed
envVarsrequired
map[string]stringEnvironment variables that are available during function execution
eventTriggerrequired
dictSource that fires events in response to a condition in another service
httpsTriggerrequired
dictHTTPS endpoint of source that can be triggered via URL
ingressSettingsrequired
stringIngress settings for the function controlling what traffic can reach
kmsKeyNamerequired
stringResource name of a KMS crypto key used to encrypt/decrypt function resources
labelsrequired
map[string]stringLabels associated with this cloud function
maxInstancesrequired
intMaximum number of function instances that may coexist at a given time
minInstancesrequired
intLower bound for the number of function instances that may coexist at a given time
namerequired
stringCloud function name
networkrequired
stringVPC network that this cloud function can connect to
projectIdrequired
stringProject ID
runtimerequired
stringRuntime in which to run the function
secretEnvVarsrequired
map[string]dictSecret environment variables
secretVolumesrequired
[]dictSecret volumes
serviceAccountEmailrequired
stringEmail of the function's service account
sourceArchiveUrlrequired
stringLocation of the archive with the function's source code
sourceRepositoryrequired
dictRepository reference for the function's source code
sourceUploadUrlrequired
stringLocation of the upload with the function's source code
statusrequired
stringStatus of the function deployment
timeoutrequired
timeFunction execution timeout
updatedrequired
timeUpdate timestamp
versionIdrequired
intVersion identifier of the cloud function
vpcConnectorrequired
stringVPC network connector that this cloud function can connect to