This document describes how to use Cloud Logging to audit activities related to policy tags. For example, you can determine:
The email address for the principal that grants or removes access on a policy tag
The email address for whom the access was granted or removed
The policy tag whose access was changed
Policy tags are Data Catalog resources.
Access to logs
For information about the permission you need to view logs, see the Cloud Logging access control guide.
Viewing logs for policy tag events
Go to the Logs Viewer page in the Cloud Console.
In the resources drop-down list, click Audited Resource, click Audited Resources again, and then click datacatalog.googleapis.com. You will see recent audit log entries of Data Catalog resources.
To view the log entries, select the Data Catalog
Click the log entry to see details about the call to the
Click the log entry fields to see details for the
protoPayload, then click
authenticationInfoto see the
principalEmailfor the entity that set the IAM policy.
policy, and then click
bindingsto see the bindings, including principals and roles, that were changed.
Learn about best practices for policy tags.