本頁面中的部分或全部資訊可能不適用於 Trusted Cloud by S3NS。
本文件說明如何使用 Cloud Logging 稽核政策標記相關活動。舉例來說,您可以決定:
授予或移除政策標記存取權的主體電子郵件地址
獲得授權或遭撤銷權限的使用者電子郵件地址
存取權異動的政策標記
存取記錄檔
如要進一步瞭解查看記錄所需的權限,請參閱 Cloud Logging 存取權控管指南。
查看政策標記事件的記錄
前往 Trusted Cloud 控制台的「Logs Explorer」頁面。
前往「Logs Explorer」
在資源下拉式選單中,依序點選「Audited Resource」和「Audited Resources」,然後點選「datacatalog.googleapis.com」。您會看到 Data Catalog 資源的近期稽核記錄項目。
如要查看記錄項目,請選取 Data Catalog SetIamPolicy
方法。
按一下記錄項目,即可查看對 SetIamPolicy
方法的呼叫詳細資料。
按一下記錄項目欄位,即可查看 SetIamPolicy
項目的詳細資料。
後續步驟
瞭解政策標記的最佳做法。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-17 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-17 (世界標準時間)。"],[[["This guide explains how to use Cloud Logging to monitor activities related to policy tags, including who granted or removed access."],["You can view logs to determine the email of the principal granting or removing access, as well as the email of the user who was granted or removed from access."],["Access the logs through the Logs Explorer page in the Google Cloud console by selecting Audited Resources, and then datacatalog.googleapis.com."],["You can filter log entries to view calls made to the `SetIamPolicy` method, where details about policy changes are stored."]]],[]]