Certificate Manager audit logging

This document describes audit logging for Certificate Manager. Google Cloud services generate audit logs that record administrative and access activities within your Google Cloud resources. For more information about Cloud Audit Logs, see the following:

Service name

Certificate Manager audit logs use the service name certificatemanager.googleapis.com. Filter for this service:

    protoPayload.serviceName="certificatemanager.googleapis.com"
  

Methods by permission type

Each IAM permission has a type property, whose value is an enum that can be one of four values: ADMIN_READ, ADMIN_WRITE, DATA_READ, or DATA_WRITE. When you call a method, Certificate Manager generates an audit log whose category is dependent on the type property of the permission required to perform the method. Methods that require an IAM permission with the type property value of DATA_READ, DATA_WRITE, or ADMIN_READ generate Data Access audit logs. Methods that require an IAM permission with the type property value of ADMIN_WRITE generate Admin Activity audit logs.

Permission type Methods
ADMIN_READ google.cloud.certificatemanager.v1.CertificateManager.GetCertificate
google.cloud.certificatemanager.v1.CertificateManager.GetCertificateIssuanceConfig
google.cloud.certificatemanager.v1.CertificateManager.GetCertificateMap
google.cloud.certificatemanager.v1.CertificateManager.GetCertificateMapEntry
google.cloud.certificatemanager.v1.CertificateManager.GetDnsAuthorization
google.cloud.certificatemanager.v1.CertificateManager.GetTrustConfig
google.cloud.certificatemanager.v1.CertificateManager.ListCertificateIssuanceConfigs
google.cloud.certificatemanager.v1.CertificateManager.ListCertificateMapEntries
google.cloud.certificatemanager.v1.CertificateManager.ListCertificateMaps
google.cloud.certificatemanager.v1.CertificateManager.ListCertificates
google.cloud.certificatemanager.v1.CertificateManager.ListDnsAuthorizations
google.cloud.certificatemanager.v1.CertificateManager.ListTrustConfigs
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations
ADMIN_WRITE google.cloud.certificatemanager.v1.CertificateManager.CreateCertificate
google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateIssuanceConfig
google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMap
google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMapEntry
google.cloud.certificatemanager.v1.CertificateManager.CreateDnsAuthorization
google.cloud.certificatemanager.v1.CertificateManager.CreateTrustConfig
google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificate
google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateIssuanceConfig
google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMap
google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMapEntry
google.cloud.certificatemanager.v1.CertificateManager.DeleteDnsAuthorization
google.cloud.certificatemanager.v1.CertificateManager.DeleteTrustConfig
google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificate
google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateIssuanceConfig
google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMap
google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMapEntry
google.cloud.certificatemanager.v1.CertificateManager.UpdateDnsAuthorization
google.cloud.certificatemanager.v1.CertificateManager.UpdateTrustConfig
google.longrunning.Operations.CancelOperation
google.longrunning.Operations.DeleteOperation

API interface audit logs

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

google.cloud.certificatemanager.v1.CertificateManager

The following audit logs are associated with methods belonging to google.cloud.certificatemanager.v1.CertificateManager.

CreateCertificate

  • Method: google.cloud.certificatemanager.v1.CertificateManager.CreateCertificate
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.certs.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.CreateCertificate"

CreateCertificateIssuanceConfig

  • Method: google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateIssuanceConfig
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.certissuanceconfigs.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateIssuanceConfig"

CreateCertificateMap

  • Method: google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMap
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.certmaps.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMap"

CreateCertificateMapEntry

  • Method: google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMapEntry
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.certmapentries.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.CreateCertificateMapEntry"

CreateDnsAuthorization

  • Method: google.cloud.certificatemanager.v1.CertificateManager.CreateDnsAuthorization
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.dnsauthorizations.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.CreateDnsAuthorization"

CreateTrustConfig

  • Method: google.cloud.certificatemanager.v1.CertificateManager.CreateTrustConfig
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.trustconfigs.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.CreateTrustConfig"

DeleteCertificate

  • Method: google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificate
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.certs.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificate"

DeleteCertificateIssuanceConfig

  • Method: google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateIssuanceConfig
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.certissuanceconfigs.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateIssuanceConfig"

DeleteCertificateMap

  • Method: google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMap
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.certmaps.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMap"

DeleteCertificateMapEntry

  • Method: google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMapEntry
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.certmapentries.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.DeleteCertificateMapEntry"

DeleteDnsAuthorization

  • Method: google.cloud.certificatemanager.v1.CertificateManager.DeleteDnsAuthorization
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.dnsauthorizations.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.DeleteDnsAuthorization"

DeleteTrustConfig

  • Method: google.cloud.certificatemanager.v1.CertificateManager.DeleteTrustConfig
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.trustconfigs.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.DeleteTrustConfig"

GetCertificate

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

GetCertificateIssuanceConfig

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

GetCertificateMap

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

GetCertificateMapEntry

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

GetDnsAuthorization

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

GetTrustConfig

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

ListCertificateIssuanceConfigs

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

ListCertificateMapEntries

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

ListCertificateMaps

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

ListCertificates

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

ListDnsAuthorizations

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

ListTrustConfigs

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

UpdateCertificate

  • Method: google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificate
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.certs.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificate"

UpdateCertificateIssuanceConfig

  • Method: google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateIssuanceConfig
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.certissuanceconfigs.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateIssuanceConfig"

UpdateCertificateMap

  • Method: google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMap
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.certmaps.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMap"

UpdateCertificateMapEntry

  • Method: google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMapEntry
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.certmapentries.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.UpdateCertificateMapEntry"

UpdateDnsAuthorization

  • Method: google.cloud.certificatemanager.v1.CertificateManager.UpdateDnsAuthorization
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.dnsauthorizations.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.UpdateDnsAuthorization"

UpdateTrustConfig

  • Method: google.cloud.certificatemanager.v1.CertificateManager.UpdateTrustConfig
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.trustconfigs.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.certificatemanager.v1.CertificateManager.UpdateTrustConfig"

google.longrunning.Operations

The following audit logs are associated with methods belonging to google.longrunning.Operations.

CancelOperation

  • Method: google.longrunning.Operations.CancelOperation
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.operations.cancel - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.longrunning.Operations.CancelOperation"

DeleteOperation

  • Method: google.longrunning.Operations.DeleteOperation
  • Audit log type: Admin activity
  • Permissions:
    • certificatemanager.operations.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.longrunning.Operations.DeleteOperation"

GetOperation

  • Method: google.longrunning.Operations.GetOperation
  • Audit log type: Data access
  • Permissions:
    • certificatemanager.operations.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.longrunning.Operations.GetOperation"

ListOperations

  • Method: google.longrunning.Operations.ListOperations
  • Audit log type: Data access
  • Permissions:
    • certificatemanager.operations.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.longrunning.Operations.ListOperations"

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.location.Locations.GetLocation
  • google.cloud.location.Locations.ListLocations
  • google.longrunning.Operations.WaitOperation

Available audit logs

The following types of audit logs are available for Public Certificate Authority:

  • Admin Activity audit logs

    Includes "admin write" operations that write metadata or configuration information.

    You can't disable Admin Activity audit logs.

  • Data Access audit logs

    Includes "admin read" operations that read metadata or configuration information.

    To receive Data Access audit logs, you must explicitly enable them.

For fuller descriptions of the audit log types, see Types of audit logs.

Audit log format

Audit log entries include the following objects:

  • The log entry itself, which is an object of type LogEntry. Useful fields include the following:

    • The logName contains the resource ID and audit log type.
    • The resource contains the target of the audited operation.
    • The timeStamp contains the time of the audited operation.
    • The protoPayload contains the audited information.
  • The audit logging data, which is an AuditLog object held in the protoPayload field of the log entry.

  • Optional service-specific audit information, which is a service-specific object. For earlier integrations, this object is held in the serviceData field of the AuditLog object; later integrations use the metadata field.

For other fields in these objects, and how to interpret them, review Understand audit logs.

Log name

Cloud Audit Logs log names include resource identifiers indicating the Google Cloud project or other Google Cloud entity that owns the audit logs, and whether the log contains Admin Activity, Data Access, Policy Denied, or System Event audit logging data.

The following are the audit log names, including variables for the resource identifiers:

   projects/PROJECT_ID/logs/cloudaudit.googleapis.com%2Factivity
   projects/PROJECT_ID/logs/cloudaudit.googleapis.com%2Fdata_access
   projects/PROJECT_ID/logs/cloudaudit.googleapis.com%2Fsystem_event
   projects/PROJECT_ID/logs/cloudaudit.googleapis.com%2Fpolicy

   folders/FOLDER_ID/logs/cloudaudit.googleapis.com%2Factivity
   folders/FOLDER_ID/logs/cloudaudit.googleapis.com%2Fdata_access
   folders/FOLDER_ID/logs/cloudaudit.googleapis.com%2Fsystem_event
   folders/FOLDER_ID/logs/cloudaudit.googleapis.com%2Fpolicy

   billingAccounts/BILLING_ACCOUNT_ID/logs/cloudaudit.googleapis.com%2Factivity
   billingAccounts/BILLING_ACCOUNT_ID/logs/cloudaudit.googleapis.com%2Fdata_access
   billingAccounts/BILLING_ACCOUNT_ID/logs/cloudaudit.googleapis.com%2Fsystem_event
   billingAccounts/BILLING_ACCOUNT_ID/logs/cloudaudit.googleapis.com%2Fpolicy

   organizations/ORGANIZATION_ID/logs/cloudaudit.googleapis.com%2Factivity
   organizations/ORGANIZATION_ID/logs/cloudaudit.googleapis.com%2Fdata_access
   organizations/ORGANIZATION_ID/logs/cloudaudit.googleapis.com%2Fsystem_event
   organizations/ORGANIZATION_ID/logs/cloudaudit.googleapis.com%2Fpolicy

Enable audit logging

Admin Activity audit logs are always enabled; you can't disable them.

Data Access audit logs are disabled by default and aren't written unless explicitly enabled (the exception is Data Access audit logs for BigQuery, which can't be disabled).

For information about enabling some or all of your Data Access audit logs, see Enable Data Access audit logs.

View audit logs

You can query for all audit logs or you can query for logs by their audit log name. The audit log name includes the resource identifier of the Google Cloud project, folder, billing account, or organization for which you want to view audit logging information. Your queries can specify indexed LogEntry fields, and if you use the Log Analytics page, which supports SQL queries, then you can view your query results as a chart.

For more information about querying your logs, see the following pages:

You can view audit logs in Cloud Logging by using the Google Cloud console, the Google Cloud CLI, or the Logging API.

Console

In the Google Cloud console, you can use the Logs Explorer to retrieve your audit log entries for your Google Cloud project, folder, or organization:

  1. In the Google Cloud console, go to the Logs Explorer page:

    Go to Logs Explorer

    If you use the search bar to find this page, then select the result whose subheading is Logging.

  2. Select an existing Google Cloud project, folder, or organization.

  3. To display all audit logs, enter either of the following queries into the query-editor field, and then click Run query:

    logName:"cloudaudit.googleapis.com"
    
    protoPayload."@type"="type.googleapis.com/google.cloud.audit.AuditLog"
    
  4. To display the audit logs for a specific resource and audit log type, in the Query builder pane, do the following:

    • In Resource type, select the Google Cloud resource whose audit logs you want to see.

    • In Log name, select the audit log type that you want to see:

      • For Admin Activity audit logs, select activity.
      • For Data Access audit logs, select data_access.
      • For System Event audit logs, select system_event.
      • For Policy Denied audit logs, select policy.
    • Click Run query.

    If you don't see these options, then there aren't any audit logs of that type available in the Google Cloud project, folder, or organization.

    If you're experiencing issues when trying to view logs in the Logs Explorer, see the troubleshooting information.

    For more information about querying by using the Logs Explorer, see Build queries in the Logs Explorer.

gcloud

The Google Cloud CLI provides a command-line interface to the Logging API. Supply a valid resource identifier in each of the log names. For example, if your query includes a PROJECT_ID, then the project identifier you supply must refer to the currently selected Google Cloud project.

To read your Google Cloud project-level audit log entries, run the following command:

gcloud logging read "logName : projects/PROJECT_ID/logs/cloudaudit.googleapis.com" \
    --project=PROJECT_ID

To read your folder-level audit log entries, run the following command:

gcloud logging read "logName : folders/FOLDER_ID/logs/cloudaudit.googleapis.com" \
    --folder=FOLDER_ID

To read your organization-level audit log entries, run the following command:

gcloud logging read "logName : organizations/ORGANIZATION_ID/logs/cloudaudit.googleapis.com" \
    --organization=ORGANIZATION_ID

To read your Cloud Billing account-level audit log entries, run the following command:

gcloud logging read "logName : billingAccounts/BILLING_ACCOUNT_ID/logs/cloudaudit.googleapis.com" \
    --billing-account=BILLING_ACCOUNT_ID

Add the --freshness flag to your command to read logs that are more than 1 day old.

For more information about using the gcloud CLI, see gcloud logging read.

API

When building your queries, supply a valid resource identifier in each of the log names. For example, if your query includes a PROJECT_ID, then the project identifier you supply must refer to the currently selected Google Cloud project.

For example, to use the Logging API to view your project-level audit log entries, do the following:

  1. Go to the Try this API section in the documentation for the entries.list method.

  2. Put the following into the Request body part of the Try this API form. Clicking this prepopulated form automatically fills the request body, but you need to supply a valid PROJECT_ID in each of the log names.

    {
      "resourceNames": [
        "projects/PROJECT_ID"
      ],
      "pageSize": 5,
      "filter": "logName : projects/PROJECT_ID/logs/cloudaudit.googleapis.com"
    }
    
  3. Click Execute.