chatMessagePolicyViolation 资源类型chatMessagePolicyViolation resource type

代表聊天消息上的策略违规。Represents a policy violation on a chat message. 策略冲突通常由数据丢失防护 (DLP) 应用程序设置。Policy violations are typically set by a data loss prevention (DLP) application. DLP 应用程序监视包含用户不应发送的数据的邮件的聊天。DLP applications monitor chats for messages that contain data that users aren't supposed to send.

属性Properties

属性Property 类型Type 说明Description
dlpActiondlpAction chatMessagePolicyViolationDlpActionTypechatMessagePolicyViolationDlpActionType DLP 提供程序对包含敏感内容的邮件执行的操作。The action taken by the DLP provider on the message with sensitive content. 支持的值为:Supported values are:
  • None
  • NotifySender--将冲突的发件人通知给发件人,但允许读者阅读邮件。NotifySender -- Inform the sender of the violation but allow readers to read the message.
  • BlockAccess--阻止读者阅读邮件。BlockAccess -- Block readers from reading the message.
  • BlockAccessExternal--阻止组织外部的用户阅读邮件,同时允许组织内的用户阅读邮件。BlockAccessExternal -- Block users outside the organization from reading the message, while allowing users within the organization to read the message.
  • justificationTextjustificationText stringstring 覆盖策略违规时邮件发件人提供的两端对齐文本。Justification text provided by the sender of the message when overriding a policy violation.
    policyTippolicyTip chatMessagePolicyViolationPolicyTipchatMessagePolicyViolationPolicyTip 向邮件发件人显示邮件被标记为冲突的原因的信息。Information to display to the message sender about why the message was flagged as a violation.
    userActionuserAction chatMessagePolicyViolationUserActionTypechatMessagePolicyViolationUserActionType 指示用户对 DLP 提供程序阻止的邮件执行的操作。Indicates the action taken by the user on a message blocked by the DLP provider. 支持的值为:Supported values are:
  • None
  • OverrideOverride
  • ReportFalsePositiveReportFalsePositive
  • 当 DLP 提供程序更新邮件以阻止敏感内容时,userAction 不是必需的。When the DLP provider is updating the message for blocking sensitive content, userAction is not required.
    verdictDetailsverdictDetails chatMessagePolicyViolationVerdictDetailsTypechatMessagePolicyViolationVerdictDetailsType 指示发件人在响应策略冲突时可能采取的操作。Indicates what actions the sender may take in response to the policy violation. 支持的值为:Supported values are:
  • None
  • AllowFalsePositiveOverride--允许发件人将 policyViolation 声明为 DLP 应用及其规则中的错误,并允许读者在 dlpAction 隐藏邮件时再次查看邮件。AllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction had hidden it.
  • AllowOverrideWithoutJustification--允许发件人 overriide DLP 违规,并允许读者在 dlpAction 隐藏邮件时再次查看邮件,而无需提供有关此操作的说明。AllowOverrideWithoutJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, without needing to provide an explanation for doing so.
  • AllowOverrideWithJustification--允许发件人 overriide DLP 违规,并允许读者在提供这样做的说明之后再次查看该邮件(如果 dlpAction 已隐藏)。AllowOverrideWithJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, after providing an explanation for doing so.
  • AllowOverrideWithoutJustification 和 AllowOverrideWithJustification 是相互排斥的。AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive.

    JSON 表示形式JSON representation

    下面是资源的 JSON 表示形式。The following is a JSON representation of the resource.

    {
      "dlpAction": "string",
      "justificationText": "string",
      "policyTip": {"@odata.type": "microsoft.graph.chatMessagePolicyViolationPolicyTip"},
      "userAction": "string",
      "verdictDetails": "string"
    }