Cloud Functions (Cloud Run functions)

methodNameDescriptionLog typeSampleRule
anyCatch-all entry for cloudfunctions.googleapis.com. Source-only rules that attribute to the service without a specific method attribute here. Not a distinct audit log operation.activityNY
google.cloud.functions.CloudFunctionsService.CreateFunctionCreates a Cloud Functions 1st gen function from source; gated by cloudfunctions.functions.create, a documented privilege-escalation path.activityNN
google.cloud.functions.CloudFunctionsService.UpdateFunctionUpdates a 1st gen function's code or configuration; gated by cloudfunctions.functions.update.activityNN
google.cloud.functions.CloudFunctionsService.DeleteFunctionDeletes a 1st gen function.activityNN
google.cloud.functions.CloudFunctionsService.GenerateUploadUrlGenerates a signed URL to which function source code is uploaded before create or update.activityNN
SetIamPolicySets the IAM policy on a function; Google documents the bare method name as covering all API versions.activityNN
google.cloud.functions.CloudFunctionsService.GetFunctionReads a single 1st gen function's configuration.data_accessNN
google.cloud.functions.CloudFunctionsService.ListFunctionsLists 1st gen functions in a region and project.data_accessNN
GetIamPolicyReads the IAM policy on a function; Google documents the bare method name as covering all API versions.data_accessNN
google.cloud.functions.CloudFunctionsService.GenerateDownloadUrlGenerates a signed URL for downloading a function's deployed source archive.data_accessNN
google.cloud.functions.CloudFunctionsService.CallFunctionSynchronously invokes a function directly through the Cloud Functions admin API (DATA_READ); distinct from the function's own HTTP or event trigger, which Cloud Audit Logs do not cover.data_accessNN
google.cloud.functions.FunctionService.CreateFunctionCreates a Cloud Functions 2nd gen (Cloud Run functions) function, provisioning an underlying Cloud Run service; gated by the same cloudfunctions.functions.create permission as 1st gen.activityNN
google.cloud.functions.FunctionService.UpdateFunctionUpdates a 2nd gen function's code, trigger, or configuration.activityNN
google.cloud.functions.FunctionService.DeleteFunctionDeletes a 2nd gen function and its underlying Cloud Run service.activityNN
google.cloud.functions.FunctionService.GetFunctionReads a single 2nd gen function's configuration.data_accessNN
google.cloud.functions.FunctionService.ListFunctionsLists 2nd gen functions in a region and project.data_accessNN

any: cloudfunctions.googleapis.com (any method)

#
ServiceName
cloudfunctions.googleapis.com

Description

Catch-all entry for cloudfunctions.googleapis.com. Source-only rules that attribute to the service without a specific method attribute here. Not a distinct audit log operation.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
protoPayload.authorizationInfo (panther rule field)is_not_null2 rulespanther

Detection Rules #

Full rule details for this event, including ATT&CK technique mappings and native queries →

Panther #

  • GCP cloudfunctions functions create source high: The Identity and Access Management (IAM) service manages authorization and authentication for a GCP environment. This means that there are very likely multiple privilege escalation methods that use the IAM service and/or its permissions.T1548
  • GCP cloudfunctions functions update source high: The Identity and Access Management (IAM) service manages authorization and authentication for a GCP environment. This means that there are very likely multiple privilege escalation methods that use the IAM service and/or its permissions.T1548

google.cloud.functions.CloudFunctionsService.CreateFunction: Create function (1st gen)

#
ServiceName
cloudfunctions.googleapis.com

Description

Creates a Cloud Functions 1st gen function from source; gated by cloudfunctions.functions.create, a documented privilege-escalation path.

google.cloud.functions.CloudFunctionsService.UpdateFunction: Update function (1st gen)

#
ServiceName
cloudfunctions.googleapis.com

Description

Updates a 1st gen function's code or configuration; gated by cloudfunctions.functions.update.

google.cloud.functions.CloudFunctionsService.DeleteFunction: Delete function (1st gen)

#
ServiceName
cloudfunctions.googleapis.com

Description

Deletes a 1st gen function.

google.cloud.functions.CloudFunctionsService.GenerateUploadUrl: Generate upload URL

#
ServiceName
cloudfunctions.googleapis.com

Description

Generates a signed URL to which function source code is uploaded before create or update.

SetIamPolicy: Set function IAM policy

#
ServiceName
cloudfunctions.googleapis.com

Description

Sets the IAM policy on a function; Google documents the bare method name as covering all API versions.

google.cloud.functions.CloudFunctionsService.GetFunction: Get function (1st gen)

#
ServiceName
cloudfunctions.googleapis.com

Description

Reads a single 1st gen function's configuration.

Data Access audit logs are disabled by default.

google.cloud.functions.CloudFunctionsService.ListFunctions: List functions (1st gen)

#
ServiceName
cloudfunctions.googleapis.com

Description

Lists 1st gen functions in a region and project.

Data Access audit logs are disabled by default.

GetIamPolicy: Get function IAM policy

#
ServiceName
cloudfunctions.googleapis.com

Description

Reads the IAM policy on a function; Google documents the bare method name as covering all API versions.

Data Access audit logs are disabled by default.

google.cloud.functions.CloudFunctionsService.GenerateDownloadUrl: Generate download URL

#
ServiceName
cloudfunctions.googleapis.com

Description

Generates a signed URL for downloading a function's deployed source archive.

Data Access audit logs are disabled by default.

google.cloud.functions.CloudFunctionsService.CallFunction: Call function

#
ServiceName
cloudfunctions.googleapis.com

Description

Synchronously invokes a function directly through the Cloud Functions admin API (DATA_READ); distinct from the function's own HTTP or event trigger, which Cloud Audit Logs do not cover.

Data Access audit logs are disabled by default.

google.cloud.functions.FunctionService.CreateFunction: Create function (2nd gen)

#
ServiceName
cloudfunctions.googleapis.com

Description

Creates a Cloud Functions 2nd gen (Cloud Run functions) function, provisioning an underlying Cloud Run service; gated by the same cloudfunctions.functions.create permission as 1st gen.

google.cloud.functions.FunctionService.UpdateFunction: Update function (2nd gen)

#
ServiceName
cloudfunctions.googleapis.com

Description

Updates a 2nd gen function's code, trigger, or configuration.

google.cloud.functions.FunctionService.DeleteFunction: Delete function (2nd gen)

#
ServiceName
cloudfunctions.googleapis.com

Description

Deletes a 2nd gen function and its underlying Cloud Run service.

google.cloud.functions.FunctionService.GetFunction: Get function (2nd gen)

#
ServiceName
cloudfunctions.googleapis.com

Description

Reads a single 2nd gen function's configuration.

Data Access audit logs are disabled by default.

google.cloud.functions.FunctionService.ListFunctions: List functions (2nd gen)

#
ServiceName
cloudfunctions.googleapis.com

Description

Lists 2nd gen functions in a region and project.

Data Access audit logs are disabled by default.