recommendLabelAction resource type

Namespace: microsoft.graph.security

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 label that should be recommended to the user for application to the file based on discovered sensitive information types. The evaluateClassificationResults might return a recommendLabelAction if the Microsoft Purview Information Protection labeling policy is set to recommend a label rather than enforce a label. The user or application might choose to ignore or accept the recommendation.

Inherits from informationProtectionAction.

Properties

Property Type Description
actions informationProtectionAction collection Actions to take if the label is accepted by the user.
actionSource String Specifies why the label was selected. Possible values are: manual, automatic, recommended, default.
responsibleSensitiveTypeIds GUID collection The sensitive information type GUIDs that caused the recommendation to be given.

Relationships

Relationship Type Description
sensitivityLabel microsoft.graph.security.sensitivityLabel The label that is being recommended.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.security.recommendLabelAction",
  "actions": [
    {
      "@odata.type": "microsoft.graph.security.addContentFooterAction"
    }
  ],
  "actionSource": "String",
  "responsibleSensitiveTypeIds": [
    "GUID"
  ]
}