Edit

slaPolicyDefinition resource type

Namespace: microsoft.graph.security.caseManagement

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 service-level agreement (SLA) policy that defines scope criteria and warning and breach timers for a single case type.

Each policy belongs to the slaPolicies relationship of a caseTypeConfiguration. The caseTypeConfigurations/{caseTypeConfiguration-id} URL segment determines its owning case type: incidentCase, genericCase, or exposureCase. A policy can't target multiple case types. A tenant can have up to 30 policies across its case types.

Timers are evaluated in order, lowest first. The first timer whose filters match applies; otherwise, the timer with isDefault set to true applies. A policy supports up to 15 timers and must have exactly one default timer. Timers aren't independently addressable. Updating timers replaces the entire collection.

For request bodies, use the canonical #microsoft.graph... form of @odata.type on polymorphic condition objects. Service responses can omit @odata.type on non-polymorphic objects such as slaPolicyDefinition, slaPolicyTimer, and slaPolicyRecalculateCondition.

Inherits from caseManagementEntity.

Methods

Method Return type Description
List microsoft.graph.security.caseManagement.slaPolicyDefinition collection Get the SLA policies configured for a single case type.
Create microsoft.graph.security.caseManagement.slaPolicyDefinition Create an SLA policy for a single case type.
Get microsoft.graph.security.caseManagement.slaPolicyDefinition Get an SLA policy, including its criteria and timers.
Update microsoft.graph.security.caseManagement.slaPolicyDefinition Update the properties of an SLA policy.
Delete None Delete an SLA policy.

Properties

For supported query parameters when listing policies, see List slaPolicies.

Property Type Description
createdBy String The identifier of the identity that created the policy. Read-only. Inherited from caseManagementEntity.
createdDateTime DateTimeOffset The date and time when the policy was created, in ISO 8601 format and UTC. Read-only. Inherited from caseManagementEntity.
description String The description of the policy. Maximum length: 5,000 characters.
displayName String The display name of the policy. Must be unique across the tenant, using a case-insensitive comparison. Maximum length: 150 characters.
exitCriteria microsoft.graph.security.caseManagement.slaPolicyCriteriaBlock The condition that removes a case from the policy's scope.
id String The unique, server-generated identifier of the policy. Read-only. Inherited from caseManagementEntity.
isActive Boolean Whether the policy is actively evaluated. Inactive policies are excluded from new case evaluations. The default value on creation is true.
lastModifiedBy String The identifier of the identity that last modified the policy. Read-only. Inherited from caseManagementEntity.
lastModifiedDateTime DateTimeOffset The date and time when the policy was last modified, in ISO 8601 format and UTC. Read-only. Inherited from caseManagementEntity.
pauseCriteria microsoft.graph.security.caseManagement.slaPolicyCriteriaBlock The condition that pauses the timer while a case matches it.
recalculateCondition microsoft.graph.security.caseManagement.slaPolicyRecalculateCondition The settings that control whether elapsed time resets when the policy is recalculated.
setCriteria microsoft.graph.security.caseManagement.slaPolicyCriteriaBlock The condition a case must match to enter the policy's scope. When omitted, the policy applies to all cases of its owning case type. The maximum nesting depth is two.
timers microsoft.graph.security.caseManagement.slaPolicyTimer collection The embedded warning and breach timers, evaluated in order, lowest first. Maximum: 15 timers. Exactly one timer must have isDefault set to true. Updating this property replaces the entire collection.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.security.caseManagement.slaPolicyDefinition",
  "id": "String (identifier)",
  "createdDateTime": "String (timestamp)",
  "createdBy": "String",
  "lastModifiedDateTime": "String (timestamp)",
  "lastModifiedBy": "String",
  "displayName": "String",
  "description": "String",
  "setCriteria": {
    "@odata.type": "#microsoft.graph.security.caseManagement.slaPolicyCriteriaBlock"
  },
  "exitCriteria": {
    "@odata.type": "#microsoft.graph.security.caseManagement.slaPolicyCriteriaBlock"
  },
  "pauseCriteria": {
    "@odata.type": "#microsoft.graph.security.caseManagement.slaPolicyCriteriaBlock"
  },
  "recalculateCondition": {
    "@odata.type": "#microsoft.graph.security.caseManagement.slaPolicyRecalculateCondition",
    "shouldResetTime": "Boolean"
  },
  "isActive": "Boolean",
  "timers": [
    {
      "policyTimerId": "String",
      "order": "Int32",
      "filters": {
        "@odata.type": "#microsoft.graph.security.caseManagement.slaPolicyCriteriaBlock"
      },
      "isDefault": "Boolean",
      "warningThresholdInMinutes": "Int32",
      "breachThresholdInMinutes": "Int32"
    }
  ]
}