稽核記錄資訊

本頁面提供 contactcenteraiplatform.googleapis.com API 的 Cloud 稽核記錄資訊。舉例來說,建立或刪除 Contact Center AI 平台 (CCAI Platform) 時,系統會記錄項目。

本頁面不會說明 Contact Center AI 平台 使用者動作的稽核記錄。例如客服中心使用者 (管理員、主管、服務專員) 登入或變更設定時。如要取得使用者動作的稽核記錄,請與 Cloud 支援團隊聯絡,並提供下列資訊:

  • CCAI 平台客服中心的Google Cloud 專案。

  • 客服中心的 CCAI 平台網址

  • CCAI 平台客服中心的區域,例如 us-central1。

  • 您希望 Cloud 支援團隊上傳記錄檔的 Cloud Storage bucket (gs://bucketname)。您必須授予 Cloud 支援團隊這個 bucket 的寫入權限,他們才能上傳記錄。

    過去 30 天內,您要取得記錄的時間範圍,包括開始和結束時間、日期和時區 (建議使用世界標準時間)。系統會刪除超過 30 天的記錄,因此無法提供。

Google Cloud Contact Center as a Service 的 Cloud 稽核記錄可讓您追蹤資源的管理和資料存取作業,協助您監控存取權和設定變更。您可以在 Logs Explorer 中查詢這些記錄,並查看哪些 Google Cloud Contact Center as a Service API 方法會產生 Cloud 稽核記錄。

如要進一步瞭解 Cloud 稽核記錄,請參閱下列文件:

服務名稱

如要查看 Google Cloud Contact Center as a Service 稽核記錄,請按照下列步驟操作:

  1. 前往 Google Cloud 控制台的「Logs Explorer」頁面:

    前往 Logs Explorer

  2. 複製下列查詢並貼到 Logs Explorer 的「Query」(查詢) 欄位,然後按一下「Run query」(執行查詢)。

        protoPayload.serviceName="contactcenteraiplatform.googleapis.com"
      

依權限類型區分的方法

每個 IAM 權限都具有 type 屬性,其值為以下四個列舉值之一:ADMIN_READ、ADMIN_WRITE、DATA_READ 或 DATA_WRITE。呼叫方法時,Google Cloud Contact Center as a Service 會產生一筆稽核記錄,類別取決於執行該方法所需權限的 type 屬性。若方法需要的 IAM 權限,type 屬性值為 DATA_READ、DATA_WRITE 或 ADMIN_READ,就會產生資料存取稽核記錄;若所需 IAM 權限的 type 屬性值為 ADMIN_WRITE,則會產生管理員活動稽核記錄。

下表列出的 API 方法中,如標有 (LRO) 字樣,表示為長時間執行的作業。這類方法通常會產生兩個稽核記錄項目,作業開始和結束時各一個。詳情請參閱「長時間執行的作業稽核記錄」。
權限類型 方法
ADMIN_READ google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.GetContactCenter
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.ListContactCenters
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.QueryContactCenterQuota
google.cloud.contactcenteraiplatform.v1alpha1.WorkforceScheduling.GenerateShifts (LRO)
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations
ADMIN_WRITE google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.CreateContactCenter (LRO)
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.DeleteContactCenter (LRO)
google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.UpdateContactCenter (LRO)
google.longrunning.Operations.CancelOperation
google.longrunning.Operations.DeleteOperation

API 介面稽核記錄

如要瞭解各方法所需的權限及評估方式,請參閱 Google Cloud Contact Center as a Service 的 Identity and Access Management 說明文件。

google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform

屬於 google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform 的方法會產生以下稽核記錄。

CreateContactCenter

  • 方法:google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.CreateContactCenter
  • 稽核記錄類型:管理員活動
  • 權限:
    • contactcenteraiplatform.contactCenters.create - ADMIN_WRITE
  • 方法的作業種類: 長時間執行的作業
  • 篩選條件: protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.CreateContactCenter"

DeleteContactCenter

  • 方法:google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.DeleteContactCenter
  • 稽核記錄類型:管理員活動
  • 權限:
    • contactcenteraiplatform.contactCenters.delete - ADMIN_WRITE
  • 方法的作業種類: 長時間執行的作業
  • 篩選條件: protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.DeleteContactCenter"

GetContactCenter

  • 方法:google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.GetContactCenter
  • 稽核記錄類型:資料存取
  • 權限:
    • contactcenteraiplatform.contactCenters.get - ADMIN_READ
  • 方法的作業種類: 非長時間執行或串流作業。
  • 篩選條件: protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.GetContactCenter"

ListContactCenters

  • 方法:google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.ListContactCenters
  • 稽核記錄類型:資料存取
  • 權限:
    • contactcenteraiplatform.contactCenters.list - ADMIN_READ
  • 方法的作業種類: 非長時間執行或串流作業。
  • 篩選條件: protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.ListContactCenters"

QueryContactCenterQuota

  • 方法:google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.QueryContactCenterQuota
  • 稽核記錄類型:資料存取
  • 權限:
    • contactcenteraiplatform.contactCenters.queryQuota - ADMIN_READ
  • 方法的作業種類: 非長時間執行或串流作業。
  • 篩選條件: protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.QueryContactCenterQuota"

UpdateContactCenter

  • 方法:google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.UpdateContactCenter
  • 稽核記錄類型:管理員活動
  • 權限:
    • contactcenteraiplatform.contactCenters.update - ADMIN_WRITE
  • 方法的作業種類: 長時間執行的作業
  • 篩選條件: protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.ContactCenterAiPlatform.UpdateContactCenter"

google.cloud.contactcenteraiplatform.v1alpha1.WorkforceScheduling

屬於 google.cloud.contactcenteraiplatform.v1alpha1.WorkforceScheduling 的方法會產生以下稽核記錄。

GenerateShifts

  • 方法:google.cloud.contactcenteraiplatform.v1alpha1.WorkforceScheduling.GenerateShifts
  • 稽核記錄類型:資料存取
  • 權限:
    • contactcenteraiplatform.locations.generateShifts - ADMIN_READ
  • 方法的作業種類: 長時間執行的作業
  • 篩選條件: protoPayload.methodName="google.cloud.contactcenteraiplatform.v1alpha1.WorkforceScheduling.GenerateShifts"

google.longrunning.Operations

屬於 google.longrunning.Operations 的方法會產生以下稽核記錄。

CancelOperation

  • 方法:google.longrunning.Operations.CancelOperation
  • 稽核記錄類型:管理員活動
  • 權限:
    • contactcenteraiplatform.operations.cancel - ADMIN_WRITE
  • 方法的作業種類: 非長時間執行或串流作業。
  • 篩選條件: protoPayload.methodName="google.longrunning.Operations.CancelOperation"

DeleteOperation

  • 方法:google.longrunning.Operations.DeleteOperation
  • 稽核記錄類型:管理員活動
  • 權限:
    • contactcenteraiplatform.operations.delete - ADMIN_WRITE
  • 方法的作業種類: 非長時間執行或串流作業。
  • 篩選條件: protoPayload.methodName="google.longrunning.Operations.DeleteOperation"

GetOperation

  • 方法:google.longrunning.Operations.GetOperation
  • 稽核記錄類型:資料存取
  • 權限:
    • contactcenteraiplatform.operations.get - ADMIN_READ
  • 方法的作業種類: 非長時間執行或串流作業。
  • 篩選條件: protoPayload.methodName="google.longrunning.Operations.GetOperation"

ListOperations

  • 方法:google.longrunning.Operations.ListOperations
  • 稽核記錄類型:資料存取
  • 權限:
    • contactcenteraiplatform.operations.list - ADMIN_READ
  • 方法的作業種類: 非長時間執行或串流作業。
  • 篩選條件: protoPayload.methodName="google.longrunning.Operations.ListOperations"

不會產生稽核記錄的方法

某些方法可能不會產生稽核記錄,原因包括以下一或多項:

  • 該方法的流量使用量高,若產生稽核記錄,會導致記錄與儲存成本過高。
  • 稽核價值低。
  • 其他稽核記錄或平台記錄已涵蓋該方法的活動。

下列方法不會產生稽核記錄:

  • google.cloud.location.Locations.GetLocation
  • google.cloud.location.Locations.ListLocations
  • google.longrunning.Operations.WaitOperation