chatMessagePolicyViolation resource type

Represents a policy violation on a chat message. Policy violations are typically set by a data loss prevention (DLP) application. DLP applications monitor chats for messages that contain data that users aren't supposed to send.

Properties

Property Type Description
dlpAction chatMessagePolicyViolationDlpActionType The action taken by the DLP provider on the message with sensitive content. Supported values are:
  • None
  • NotifySender -- Inform the sender of the violation but allow readers to read the message.
  • BlockAccess -- Block readers from reading the message.
  • BlockAccessExternal -- Block users outside the organization from reading the message, while allowing users within the organization to read the message.
  • justificationText string Justification text provided by the sender of the message when overriding a policy violation.
    policyTip chatMessagePolicyViolationPolicyTip Information to display to the message sender about why the message was flagged as a violation.
    userAction chatMessagePolicyViolationUserActionType Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are:
  • None
  • Override
  • ReportFalsePositive
  • When the DLP provider is updating the message for blocking sensitive content, userAction is not required.
    verdictDetails chatMessagePolicyViolationVerdictDetailsType Indicates what actions the sender may take in response to the policy violation. Supported values are:
  • None
  • 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 -- 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 -- 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 and AllowOverrideWithJustification are mutually exclusive.

    JSON representation

    The following is a JSON representation of the resource.

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