DlpRuleViolation

違反資料遺失防護 (DLP) 規則的快訊。

JSON 表示法
{
  "ruleViolationInfo": {
    object (RuleViolationInfo)
  }
}
欄位
ruleViolationInfo

object (RuleViolationInfo)

違反資料遺失防護規則的詳細資料。

管理員可以在設定資料遺失防護規則時,使用 Google Cloud DLP https://cloud.google.com/dlp/ 提供的預先定義偵測工具。這項違規要求中如有相符的 Cloud DLP 偵測工具,會在 MatchInfo.predefined_detector 中擷取。

違反規則

違反 Google Workspace 管理員設定規則的常見快訊資訊。

JSON 表示法
{
  "ruleInfo": {
    object (RuleInfo)
  },
  "dataSource": enum (DataSource),
  "trigger": enum (Trigger),
  "triggeringUserEmail": string,
  "recipients": [
    string
  ],
  "resourceInfo": {
    object (ResourceInfo)
  },
  "matchInfo": [
    {
      object (MatchInfo)
    }
  ],
  "triggeredActionTypes": [
    enum (ActionType)
  ],
  "triggeredActionInfo": [
    {
      object (ActionInfo)
    }
  ],
  "suppressedActionTypes": [
    enum (ActionType)
  ]
}
欄位
ruleInfo

object (RuleInfo)

違規規則的詳細資料。

dataSource

enum (DataSource)

資料來源。

trigger

enum (Trigger)

規則的觸發方式。

triggeringUserEmail

string

違規使用者的電子郵件。如果留空,例如雲端硬碟持續掃描作業所發現的違規問題,則可留空。

recipients[]

string

資源收件者。

如果是雲端硬碟,代表在規則觸發時共用的雲端硬碟檔案。有效值包括使用者電子郵件地址、群組電子郵件、網域或檔案「可公開存取」;如果檔案設為私人,收件者清單就不會顯示任何內容。

以 Gmail 來說,這些收件者是指接收 Gmail 郵件的使用者或群組的電子郵件。

resourceInfo

object (ResourceInfo)

違反規則的資源詳細資料。

matchInfo[]

object (MatchInfo)

在資源內容中找到的相符項目清單。

triggeredActionTypes[]

enum (ActionType)

為觸發規則而產生的動作。

triggeredActionInfo[]

object (ActionInfo)

與已觸發動作相關的中繼資料。

suppressedActionTypes[]

enum (ActionType)

發生其他優先順序較高的動作而略過的動作。

規則資訊

含有規則資訊的 Proto。

JSON 表示法
{
  "resourceName": string,
  "displayName": string
}
欄位
resourceName

string

專門用來識別規則的資源名稱,

displayName

string

使用者提供規則名稱。

ResourceInfo

含有資源資訊的 Proto。

JSON 表示法
{
  "resourceTitle": string,

  // Union field resource_id can be only one of the following:
  "documentId": string
  // End of list of possible types for union field resource_id.
}
欄位
resourceTitle

string

資源標題,例如電子郵件主旨或文件標題。

聯集欄位 resource_id。資源的 ID。resource_id 只能是下列其中一項:
documentId

string

雲端硬碟檔案 ID。

比對資訊

含有規則條件部分相符的 Proto。

JSON 表示法
{

  // Union field detector_info can be only one of the following:
  "userDefinedDetector": {
    object (UserDefinedDetectorInfo)
  },
  "predefinedDetector": {
    object (PredefinedDetectorInfo)
  }
  // End of list of possible types for union field detector_info.
}
欄位
聯集欄位 detector_info。相符的偵測工具資訊,detector_info 只能是下列其中一項:
userDefinedDetector

object (UserDefinedDetectorInfo)

用於管理員定義的比對偵測工具。

predefinedDetector

object (PredefinedDetectorInfo)

適用於 Google 預先定義的比對偵測工具。

UserDefinitiondDetectorInfo

由管理員定義的偵測工具。

JSON 表示法
{
  "resourceName": string,
  "displayName": string
}
欄位
resourceName

string

專門用來識別偵測工具的資源名稱。

displayName

string

偵測工具的顯示名稱。

Pre 預先定義的 DetectorInfo

由 Google 提供的偵測工具,

JSON 表示法
{
  "detectorName": string
}
欄位
detectorName

string

專門用來識別偵測工具的名稱。

動作資訊

這個類型沒有欄位。

與動作相關的中繼資料。