Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | Specifies the user activities the calling application supports or is interested in. This flagged enumeration allows multiple members to be selected simultaneously. The possible values are: none, uploadText, uploadFile, downloadText, downloadFile, unknownFutureValue. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: copyToClipboard, pasteFromClipboard, print, accessDebugTools, contentFiltering. The contentFiltering value represents evaluating application content against data loss prevention policies. Required. |
| executionMode | microsoft.graph.security.executionMode | Specifies how the policy should be executed. Possible values are evaluateInline, evaluateOffline, unknownFutureValue. Required. |
| locationExclusions | Collection(microsoft.graph.policyLocation) | Locations excluded from the policy scope. When specified, the effective scope is the set of locations in locations minus the locations in locationExclusions. 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. |
| policyConfiguration | policyConfiguration | The effective configuration for policy evaluation scenarios. This property can be omitted or null when no configuration is available or applicable. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.policyScopeBase",
"activities": "String",
"executionMode": "String",
"locationExclusions": [
{
"@odata.type": "microsoft.graph.policyLocation"
}
],
"locations": [
{
"@odata.type": "microsoft.graph.policyLocation"
}
],
"policyActions": [
{
"@odata.type": "microsoft.graph.dlpActionInfo"
}
],
"policyConfiguration": {
"@odata.type": "#microsoft.graph.policyConfiguration"
}
}