Edit

Share via


policyScopeBase resource type

Namespace: microsoft.graph

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.

Abstract base type defining the scope of applicability for a data governance policy, including locations, activities, and execution mode.

Used as a base type for more specific policy scopes like policyTenantScope and policyUserScope.

Properties

Property Type Description
activities microsoft.graph.security.userActivityTypes Flags specifying the user activities the calling application supports or is interested. Possible values are none, uploadText, uploadFile, downloadText, downloadFile, unknownFutureValue. Required. This object is a multi-valued enumeration.
executionMode microsoft.graph.security.executionMode Specifies how the policy should be executed. Possible values are evaluateInline, evaluateOffline, unknownFutureValue. Required.
locations Collection(microsoft.graph.policyLocation) The locations (like domains or URLs) to be protected. Required.
policyActions Collection(microsoft.graph.dlpActionInfo) The enforcement actions to take if the policy conditions are met within this scope. Required.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.policyScopeBase",
  "activities": "String",
  "executionMode": "String",
  "locations": [
    {
      "@odata.type": "microsoft.graph.policyLocation"
    }
  ],
  "policyActions": [
    {
      "@odata.type": "microsoft.graph.dlpActionInfo"
    }
  ]
}