Cloud DNS audit logging information

This document describes audit logging for Cloud DNS. 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

Cloud DNS audit logs use the service name dns.googleapis.com. Filter for this service:

    protoPayload.serviceName="dns.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, Cloud DNS 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 dns.changes.get
dns.changes.list
dns.managedZones.get
dns.managedZones.list
dns.policies.get
dns.policies.list
dns.projects.get
dns.resourceRecordSets.get
dns.resourceRecordSets.list
dns.responsePolicies.get
dns.responsePolicies.list
dns.responsePolicyRules.get
dns.responsePolicyRules.list
dns.changes.get
dns.changes.list
dns.managedZones.get
dns.managedZones.list
dns.policies.get
dns.policies.list
dns.projects.get
dns.resourceRecordSets.get
dns.resourceRecordSets.list
dns.responsePolicies.get
dns.responsePolicies.list
dns.responsePolicyRules.get
dns.responsePolicyRules.list
ADMIN_WRITE dns.changes.create
dns.managedZones.create
dns.managedZones.delete
dns.managedZones.patch
dns.managedZones.update
dns.policies.create
dns.policies.delete
dns.policies.patch
dns.policies.update
dns.resourceRecordSets.create
dns.resourceRecordSets.delete
dns.resourceRecordSets.patch
dns.responsePolicies.create
dns.responsePolicies.delete
dns.responsePolicies.patch
dns.responsePolicies.update
dns.responsePolicyRules.create
dns.responsePolicyRules.delete
dns.responsePolicyRules.patch
dns.responsePolicyRules.update
dns.changes.create
dns.managedZones.create
dns.managedZones.delete
dns.managedZones.patch
dns.managedZones.update
dns.policies.create
dns.policies.delete
dns.policies.patch
dns.policies.update
dns.resourceRecordSets.create
dns.resourceRecordSets.delete
dns.resourceRecordSets.patch
dns.responsePolicies.create
dns.responsePolicies.delete
dns.responsePolicies.patch
dns.responsePolicies.update
dns.responsePolicyRules.create
dns.responsePolicyRules.delete
dns.responsePolicyRules.patch
dns.responsePolicyRules.update

API interface audit logs

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

cloud.dns.api.v1.ChangesService

The following audit logs are associated with methods belonging to cloud.dns.api.v1.ChangesService.

create

  • Method: dns.changes.create
  • Audit log type: Admin activity
  • Permissions:
    • dns.changes.create - ADMIN_WRITE
    • dns.resourceRecordSets.create - ADMIN_WRITE
    • dns.resourceRecordSets.delete - ADMIN_WRITE
    • dns.resourceRecordSets.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.changes.create"

get

  • Method: dns.changes.get
  • Audit log type: Data access
  • Permissions:
    • dns.changes.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.changes.get"

list

  • Method: dns.changes.list
  • Audit log type: Data access
  • Permissions:
    • dns.changes.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.changes.list"

cloud.dns.api.v1.ManagedZonesService

The following audit logs are associated with methods belonging to cloud.dns.api.v1.ManagedZonesService.

create

  • Method: dns.managedZones.create
  • Audit log type: Admin activity
  • Permissions:
    • dns.managedZones.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.managedZones.create"

delete

  • Method: dns.managedZones.delete
  • Audit log type: Admin activity
  • Permissions:
    • dns.managedZones.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.managedZones.delete"

get

  • Method: dns.managedZones.get
  • Audit log type: Data access
  • Permissions:
    • dns.managedZones.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.managedZones.get"

list

  • Method: dns.managedZones.list
  • Audit log type: Data access
  • Permissions:
    • dns.managedZones.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.managedZones.list"

patch

  • Method: dns.managedZones.patch
  • Audit log type: Admin activity
  • Permissions:
    • dns.managedZones.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.managedZones.patch"

update

  • Method: dns.managedZones.update
  • Audit log type: Admin activity
  • Permissions:
    • dns.managedZones.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.managedZones.update"

cloud.dns.api.v1.PoliciesService

The following audit logs are associated with methods belonging to cloud.dns.api.v1.PoliciesService.

create

  • Method: dns.policies.create
  • Audit log type: Admin activity
  • Permissions:
    • dns.policies.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.policies.create"

delete

  • Method: dns.policies.delete
  • Audit log type: Admin activity
  • Permissions:
    • dns.policies.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.policies.delete"

get

  • Method: dns.policies.get
  • Audit log type: Data access
  • Permissions:
    • dns.policies.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.policies.get"

list

  • Method: dns.policies.list
  • Audit log type: Data access
  • Permissions:
    • dns.policies.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.policies.list"

patch

  • Method: dns.policies.patch
  • Audit log type: Admin activity
  • Permissions:
    • dns.policies.list - ADMIN_READ
    • dns.policies.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.policies.patch"

update

  • Method: dns.policies.update
  • Audit log type: Admin activity
  • Permissions:
    • dns.policies.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.policies.update"

cloud.dns.api.v1.ProjectsService

The following audit logs are associated with methods belonging to cloud.dns.api.v1.ProjectsService.

get

  • Method: dns.projects.get
  • Audit log type: Data access
  • Permissions:
    • dns.projects.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.projects.get"

cloud.dns.api.v1.ResourceRecordSetsService

The following audit logs are associated with methods belonging to cloud.dns.api.v1.ResourceRecordSetsService.

create

  • Method: dns.resourceRecordSets.create
  • Audit log type: Admin activity
  • Permissions:
    • dns.changes.create - ADMIN_WRITE
    • dns.resourceRecordSets.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.resourceRecordSets.create"

delete

  • Method: dns.resourceRecordSets.delete
  • Audit log type: Admin activity
  • Permissions:
    • dns.changes.create - ADMIN_WRITE
    • dns.resourceRecordSets.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.resourceRecordSets.delete"

get

  • Method: dns.resourceRecordSets.get
  • Audit log type: Data access
  • Permissions:
    • dns.resourceRecordSets.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.resourceRecordSets.get"

list

  • Method: dns.resourceRecordSets.list
  • Audit log type: Data access
  • Permissions:
    • dns.resourceRecordSets.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.resourceRecordSets.list"

patch

  • Method: dns.resourceRecordSets.patch
  • Audit log type: Admin activity
  • Permissions:
    • dns.changes.create - ADMIN_WRITE
    • dns.resourceRecordSets.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.resourceRecordSets.patch"

cloud.dns.api.v1.ResponsePoliciesService

The following audit logs are associated with methods belonging to cloud.dns.api.v1.ResponsePoliciesService.

create

  • Method: dns.responsePolicies.create
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicies.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicies.create"

delete

  • Method: dns.responsePolicies.delete
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicies.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicies.delete"

get

  • Method: dns.responsePolicies.get
  • Audit log type: Data access
  • Permissions:
    • dns.responsePolicies.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicies.get"

list

  • Method: dns.responsePolicies.list
  • Audit log type: Data access
  • Permissions:
    • dns.responsePolicies.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicies.list"

patch

  • Method: dns.responsePolicies.patch
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicies.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicies.patch"

update

  • Method: dns.responsePolicies.update
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicies.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicies.update"

cloud.dns.api.v1.ResponsePolicyRulesService

The following audit logs are associated with methods belonging to cloud.dns.api.v1.ResponsePolicyRulesService.

create

  • Method: dns.responsePolicyRules.create
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicyRules.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicyRules.create"

delete

  • Method: dns.responsePolicyRules.delete
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicyRules.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicyRules.delete"

get

  • Method: dns.responsePolicyRules.get
  • Audit log type: Data access
  • Permissions:
    • dns.responsePolicyRules.get - ADMIN_READ
    • dns.responsePolicyRules.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicyRules.get"

list

  • Method: dns.responsePolicyRules.list
  • Audit log type: Data access
  • Permissions:
    • dns.responsePolicyRules.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicyRules.list"

patch

  • Method: dns.responsePolicyRules.patch
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicyRules.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicyRules.patch"

update

  • Method: dns.responsePolicyRules.update
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicyRules.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicyRules.update"

cloud.dns.api.v1beta2.ChangesService

The following audit logs are associated with methods belonging to cloud.dns.api.v1beta2.ChangesService.

create

  • Method: dns.changes.create
  • Audit log type: Admin activity
  • Permissions:
    • dns.changes.create - ADMIN_WRITE
    • dns.resourceRecordSets.create - ADMIN_WRITE
    • dns.resourceRecordSets.delete - ADMIN_WRITE
    • dns.resourceRecordSets.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.changes.create"

get

  • Method: dns.changes.get
  • Audit log type: Data access
  • Permissions:
    • dns.changes.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.changes.get"

list

  • Method: dns.changes.list
  • Audit log type: Data access
  • Permissions:
    • dns.changes.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.changes.list"

cloud.dns.api.v1beta2.ManagedZonesService

The following audit logs are associated with methods belonging to cloud.dns.api.v1beta2.ManagedZonesService.

create

  • Method: dns.managedZones.create
  • Audit log type: Admin activity
  • Permissions:
    • dns.managedZones.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.managedZones.create"

delete

  • Method: dns.managedZones.delete
  • Audit log type: Admin activity
  • Permissions:
    • dns.managedZones.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.managedZones.delete"

get

  • Method: dns.managedZones.get
  • Audit log type: Data access
  • Permissions:
    • dns.managedZones.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.managedZones.get"

list

  • Method: dns.managedZones.list
  • Audit log type: Data access
  • Permissions:
    • dns.managedZones.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.managedZones.list"

patch

  • Method: dns.managedZones.patch
  • Audit log type: Admin activity
  • Permissions:
    • dns.managedZones.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.managedZones.patch"

update

  • Method: dns.managedZones.update
  • Audit log type: Admin activity
  • Permissions:
    • dns.managedZones.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.managedZones.update"

cloud.dns.api.v1beta2.PoliciesService

The following audit logs are associated with methods belonging to cloud.dns.api.v1beta2.PoliciesService.

create

  • Method: dns.policies.create
  • Audit log type: Admin activity
  • Permissions:
    • dns.policies.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.policies.create"

delete

  • Method: dns.policies.delete
  • Audit log type: Admin activity
  • Permissions:
    • dns.policies.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.policies.delete"

get

  • Method: dns.policies.get
  • Audit log type: Data access
  • Permissions:
    • dns.policies.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.policies.get"

list

  • Method: dns.policies.list
  • Audit log type: Data access
  • Permissions:
    • dns.policies.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.policies.list"

patch

  • Method: dns.policies.patch
  • Audit log type: Admin activity
  • Permissions:
    • dns.policies.list - ADMIN_READ
    • dns.policies.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.policies.patch"

update

  • Method: dns.policies.update
  • Audit log type: Admin activity
  • Permissions:
    • dns.policies.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.policies.update"

cloud.dns.api.v1beta2.ProjectsService

The following audit logs are associated with methods belonging to cloud.dns.api.v1beta2.ProjectsService.

get

  • Method: dns.projects.get
  • Audit log type: Data access
  • Permissions:
    • dns.projects.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.projects.get"

cloud.dns.api.v1beta2.ResourceRecordSetsService

The following audit logs are associated with methods belonging to cloud.dns.api.v1beta2.ResourceRecordSetsService.

create

  • Method: dns.resourceRecordSets.create
  • Audit log type: Admin activity
  • Permissions:
    • dns.changes.create - ADMIN_WRITE
    • dns.resourceRecordSets.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.resourceRecordSets.create"

delete

  • Method: dns.resourceRecordSets.delete
  • Audit log type: Admin activity
  • Permissions:
    • dns.changes.create - ADMIN_WRITE
    • dns.resourceRecordSets.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.resourceRecordSets.delete"

get

  • Method: dns.resourceRecordSets.get
  • Audit log type: Data access
  • Permissions:
    • dns.resourceRecordSets.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.resourceRecordSets.get"

list

  • Method: dns.resourceRecordSets.list
  • Audit log type: Data access
  • Permissions:
    • dns.resourceRecordSets.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.resourceRecordSets.list"

patch

  • Method: dns.resourceRecordSets.patch
  • Audit log type: Admin activity
  • Permissions:
    • dns.changes.create - ADMIN_WRITE
    • dns.resourceRecordSets.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.resourceRecordSets.patch"

cloud.dns.api.v1beta2.ResponsePoliciesService

The following audit logs are associated with methods belonging to cloud.dns.api.v1beta2.ResponsePoliciesService.

create

  • Method: dns.responsePolicies.create
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicies.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicies.create"

delete

  • Method: dns.responsePolicies.delete
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicies.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicies.delete"

get

  • Method: dns.responsePolicies.get
  • Audit log type: Data access
  • Permissions:
    • dns.responsePolicies.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicies.get"

list

  • Method: dns.responsePolicies.list
  • Audit log type: Data access
  • Permissions:
    • dns.responsePolicies.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicies.list"

patch

  • Method: dns.responsePolicies.patch
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicies.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicies.patch"

update

  • Method: dns.responsePolicies.update
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicies.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicies.update"

cloud.dns.api.v1beta2.ResponsePolicyRulesService

The following audit logs are associated with methods belonging to cloud.dns.api.v1beta2.ResponsePolicyRulesService.

create

  • Method: dns.responsePolicyRules.create
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicyRules.create - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicyRules.create"

delete

  • Method: dns.responsePolicyRules.delete
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicyRules.delete - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicyRules.delete"

get

  • Method: dns.responsePolicyRules.get
  • Audit log type: Data access
  • Permissions:
    • dns.responsePolicyRules.get - ADMIN_READ
    • dns.responsePolicyRules.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicyRules.get"

list

  • Method: dns.responsePolicyRules.list
  • Audit log type: Data access
  • Permissions:
    • dns.responsePolicyRules.list - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicyRules.list"

patch

  • Method: dns.responsePolicyRules.patch
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicyRules.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicyRules.patch"

update

  • Method: dns.responsePolicyRules.update
  • Audit log type: Admin activity
  • Permissions:
    • dns.responsePolicyRules.update - ADMIN_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="dns.responsePolicyRules.update"

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 significant 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:

  • cloud.dns.api.v1.ManagedZonesService.TestIamPermissions
  • cloud.dns.api.v1beta2.ManagedZonesService.TestIamPermissions