chatMessagePolicyViolation resource type
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
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: |
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: |
verdictDetails | chatMessagePolicyViolationVerdictDetailsType | Indicates what actions the sender may take in response to the policy violation. Supported values are: |
JSON representation
The following JSON representation shows the resource type.
{
"dlpAction": "string",
"justificationText": "string",
"policyTip": {"@odata.type": "microsoft.graph.chatMessagePolicyViolationPolicyTip"},
"userAction": "string",
"verdictDetails": "string"
}