reCAPTCHA audit logging

This document describes audit logging performed on reCAPTCHA. It describes which methods are audited and details about the audit log each method produces. It describes which methods generate audit logs and the content of each log. It also identifies methods that don't produce audit logs. Google Cloud generates audit logs that record administrative activities and access events within your Google Cloud resources. For more information, see Cloud Audit Logs overview.

Service name

reCAPTCHA audit logs use the service name recaptchaenterprise.googleapis.com.

Methods by permission type

Methods that check DATA_READ, DATA_WRITE, and ADMIN_READ permissions generate logs categorized as Data Access audit logs. Methods that check ADMIN_WRITE permissions generate logs categorized as Admin Activity audit logs.

Permission type Methods
ADMIN_READ google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetFirewallPolicy
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetrics
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListFirewallPolicies
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroupMemberships
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroups
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKey
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships
ADMIN_WRITE google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateFirewallPolicy
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteFirewallPolicy
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKey
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ReorderFirewallPolicies
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateFirewallPolicy
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey
DATA_WRITE google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessment
google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment

Audit logs for each API interface

For information about how and which permissions are evaluated, for each method, see the Identity and Access Management documentation for reCAPTCHA.

google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService

The following section contains details about audit logs associated with methods belonging to google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.

AnnotateAssessment

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessment
  • Audit log type: Data access
  • Permissions:
    • recaptchaenterprise.assessments.annotate - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessment"

CreateAssessment

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment
  • Audit log type: Data access
  • Permissions:
    • recaptchaenterprise.assessments.create - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment"
  • Notes: This audit log has been deprecated. To view logs for this method see Platform logs.

CreateFirewallPolicy

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateFirewallPolicy
  • Audit log type: Admin activity
  • Permissions:
    • recaptchaenterprise.firewallpolicies.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateFirewallPolicy"

CreateKey

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey
  • Audit log type: Admin activity
  • Permissions:
    • recaptchaenterprise.keys.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey"

DeleteFirewallPolicy

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteFirewallPolicy
  • Audit log type: Admin activity
  • Permissions:
    • recaptchaenterprise.firewallpolicies.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteFirewallPolicy"

DeleteKey

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey
  • Audit log type: Admin activity
  • Permissions:
    • recaptchaenterprise.keys.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey"

GetFirewallPolicy

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetFirewallPolicy
  • Audit log type: Data access
  • Permissions:
    • recaptchaenterprise.firewallpolicies.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetFirewallPolicy"

GetKey

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey
  • Audit log type: Data access
  • Permissions:
    • recaptchaenterprise.keys.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey"

GetMetrics

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetrics
  • Audit log type: Data access
  • Permissions:
    • recaptchaenterprise.metrics.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetrics"

ListFirewallPolicies

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListFirewallPolicies
  • Audit log type: Data access
  • Permissions:
    • recaptchaenterprise.firewallpolicies.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListFirewallPolicies"

ListKeys

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys
  • Audit log type: Data access
  • Permissions:
    • recaptchaenterprise.keys.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys"

ListRelatedAccountGroupMemberships

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroupMemberships
  • Audit log type: Data access
  • Permissions:
    • recaptchaenterprise.relatedaccountgroupmemberships.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroupMemberships"

ListRelatedAccountGroups

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroups
  • Audit log type: Data access
  • Permissions:
    • recaptchaenterprise.relatedaccountgroups.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroups"

MigrateKey

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKey
  • Audit log type: Admin activity
  • Permissions:
    • recaptchaenterprise.keys.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKey"

ReorderFirewallPolicies

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ReorderFirewallPolicies
  • Audit log type: Admin activity
  • Permissions:
    • recaptchaenterprise.firewallpolicies.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ReorderFirewallPolicies"

RetrieveLegacySecretKey

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKey
  • Audit log type: Data access
  • Permissions:
    • recaptchaenterprise.keys.retrievelegacysecretkey - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKey"

SearchRelatedAccountGroupMemberships

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships
  • Audit log type: Data access
  • Permissions:
    • recaptchaenterprise.relatedaccountgroupmemberships.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships"

UpdateFirewallPolicy

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateFirewallPolicy
  • Audit log type: Admin activity
  • Permissions:
    • recaptchaenterprise.firewallpolicies.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateFirewallPolicy"

UpdateKey

  • Method: google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey
  • Audit log type: Admin activity
  • Permissions:
    • recaptchaenterprise.keys.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey"

google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1

The following section contains details about audit logs associated with methods belonging to google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.

CreateAssessment

  • Method: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment
  • Audit log type: Data access
  • Permissions:
    • recaptchaenterprise.assessments.create
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment"

Methods that don't produce audit logs

A method might not produce audit logs for one or more of the following reasons:

  • It is a high volume method involving signifcant log generation and storage costs.
  • It has low auditing value.
  • Another audit or platform log already provides method coverage.

The following methods don't produce audit logs:

  • google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.AnnotateAssessment