Microsoft. SecurityInsights autoRules 2022-01-01-preview

تعريف موارد Bicep

يمكن نشر نوع مورد automationRules مع العمليات التي تستهدف:

للحصول على قائمة بالخصائص التي تم تغييرها في كل إصدار من إصدارات واجهة برمجة التطبيقات، راجع سجل التغيير .

أمثلة الاستخدام

عينات Bicep

مثال أساسي لنشر قاعدة أتمتة Sentinel.

param resourceName string = 'acctest0001'
param location string = 'westeurope'

resource workspace 'Microsoft.OperationalInsights/workspaces@2022-10-01' = {
  name: resourceName
  location: location
  properties: {
    features: {
      disableLocalAuth: false
      enableLogAccessUsingOnlyResourcePermissions: true
    }
    publicNetworkAccessForIngestion: 'Enabled'
    publicNetworkAccessForQuery: 'Enabled'
    retentionInDays: 30
    sku: {
      name: 'PerGB2018'
    }
    workspaceCapping: {
      dailyQuotaGb: -1
    }
  }
}

resource onboardingState 'Microsoft.SecurityInsights/onboardingStates@2023-06-01-preview' = {
  name: 'default'
  scope: workspace
  properties: {
    customerManagedKey: false
  }
}

resource automationRule 'Microsoft.SecurityInsights/automationRules@2022-10-01-preview' = {
  name: '3b862818-ad7b-409e-83be-8812f2a06d37'
  scope: workspace
  dependsOn: [
    onboardingState
  ]
  properties: {
    actions: [
      {
        actionConfiguration: {
          classification: ''
          classificationComment: ''
          classificationReason: ''
          severity: ''
          status: 'Active'
        }
        actionType: 'ModifyProperties'
        order: 1
      }
    ]
    displayName: 'acctest-SentinelAutoRule-230630033910945846'
    order: 1
    triggeringLogic: {
      isEnabled: true
      triggersOn: 'Incidents'
      triggersWhen: 'Created'
    }
  }
}

تنسيق المورد

لإنشاء Microsoft. SecurityInsights/automationRules مورد، أضف Bicep التالي إلى قالبك.

resource symbolicname 'Microsoft.SecurityInsights/automationRules@2022-01-01-preview' = {
  scope: resourceSymbolicName or scope
  etag: 'string'
  name: 'string'
  properties: {
    actions: [
      {
        order: int
        actionType: 'string'
        // For remaining properties, see AutomationRuleAction objects
      }
    ]
    displayName: 'string'
    order: int
    triggeringLogic: {
      conditions: [
        {
          conditionType: 'string'
          // For remaining properties, see AutomationRuleCondition objects
        }
      ]
      expirationTimeUtc: 'string'
      isEnabled: bool
      triggersOn: 'string'
      triggersWhen: 'string'
    }
  }
}

كائنات AutomationRuleCondition

قم بتعيين الخاصية conditionType لتحديد نوع الكائن.

للممتلكات ، استخدم:

{
  conditionProperties: {
    operator: 'string'
    propertyName: 'string'
    propertyValues: [
      'string'
    ]
  }
  conditionType: 'Property'
}

كائنات AutomationRuleAction

قم بتعيين الخاصية actionType لتحديد نوع الكائن.

بالنسبة إلى ModifyProperties، استخدم:

{
  actionConfiguration: {
    classification: 'string'
    classificationComment: 'string'
    classificationReason: 'string'
    labels: [
      {
        labelName: 'string'
      }
    ]
    owner: {
      assignedTo: 'string'
      email: 'string'
      objectId: 'string'
      userPrincipalName: 'string'
    }
    severity: 'string'
    status: 'string'
  }
  actionType: 'ModifyProperties'
}

بالنسبة إلى RunPlaybook، استخدم:

{
  actionConfiguration: {
    logicAppResourceId: 'string'
    tenantId: 'string'
  }
  actionType: 'RunPlaybook'
}

قيم الخصائص

Microsoft. قواعد رؤى الأمان/الأتمتة

Name Description Value
etag Etag لمورد azure string
name اسم المورد سلسلة (مطلوب)
properties خصائص قاعدة التنفيذ التلقائي AutomationRuleProperties (مطلوب)
scope استخدم عند إنشاء مورد في نطاق مختلف عن نطاق النشر. قم بتعيين هذه الخاصية إلى الاسم الرمزي لمورد لتطبيق مورد ملحق .

AutomationRuleAction

Name Description Value
actionType قم بالتعيين إلى "ModifyProperties" للكتابة AutomationRuleModifyPropertiesAction. اضبط على "RunPlaybook" لنوع AutomationRuleRunPlaybookAction. 'ModifyProperties'
'RunPlaybook' (مطلوب)
order int (مطلوب)

AutomationRuleCondition

Name Description Value
conditionType قم بالتعيين إلى "خاصية" للكتابة PropertyConditionProperties. 'خاصية' (مطلوب)

AutomationRuleModifyPropertiesAction

Name Description Value
actionConfiguration IncidentPropertiesAction
actionType نوع إجراء قاعدة التنفيذ التلقائي "تعديل الخصائص" (مطلوب)

AutomationRuleProperties

Name Description Value
actions الإجراءات التي يجب تنفيذها عند تشغيل قاعدة التنفيذ التلقائي AutomationRuleAction[] (مطلوب)
displayName اسم العرض لقاعدة التنفيذ التلقائي string

Constraints:
الحد الأقصى للطول = 500 (مطلوب)
order ترتيب تنفيذ قاعدة التنفيذ التلقائي int

Constraints:
قيمة الحد الأدنى = 1
الحد الأقصى للقيمة = 1000 (مطلوب)
triggeringLogic يصف منطق تشغيل قاعدة التشغيل التلقائي AutomationRuleTriggeringLogic (مطلوب)

AutomationRulePropertyValuesCondition

Name Description Value
operator 'Contains'
'EndsWith'
'Equals'
'NotContains'
'NotEndsWith'
'NotEquals'
'NotStartsWith'
'StartsWith'
propertyName الخاصية المراد تقييمها في شرط خاصية قاعدة التنفيذ التلقائي 'AccountAadTenantId'
'AccountAadUserId'
'AccountName'
'AccountNTDomain'
'AccountObjectGuid'
'AccountPUID'
'AccountSid'
'AccountUPNSuffix'
'AlertProductNames'
'AzureResourceResourceId'
'AzureResourceSubscriptionId'
'CloudApplicationAppId'
'CloudApplicationAppName'
'DNSDomainName'
'FileDirectory'
'FileHashValue'
'FileName'
'HostAzureID'
'HostName'
'HostNetBiosName'
'HostNTDomain'
'HostOSVersion'
'IncidentDescription'
'IncidentLabel'
'IncidentProviderName'
'IncidentRelatedAnalyticRuleIds'
'IncidentSeverity'
'IncidentStatus'
'IncidentTactics'
'IncidentTitle'
'IoTDeviceId'
'IoTDeviceModel'
'IoTDeviceName'
'IoTDeviceOperatingSystem'
'IoTDeviceType'
'IoTDeviceVendor'
'IPAddress'
'MailboxDisplayName'
'MailboxPrimaryAddress'
'MailboxUPN'
'MailMessageDeliveryAction'
'MailMessageDeliveryLocation'
'MailMessageP1Sender'
'MailMessageP2Sender'
'MailMessageRecipient'
'MailMessageSenderIP'
'MailMessageSubject'
'MalwareCategory'
'MalwareName'
'ProcessCommandLine'
'ProcessId'
'RegistryKey'
'RegistryValueData'
'Url'
propertyValues string[]

AutomationRuleRunPlaybookAction

Name Description Value
actionConfiguration PlaybookActionProperties
actionType نوع إجراء قاعدة التنفيذ التلقائي 'RunPlaybook' (مطلوب)

AutomationRuleTriggeringLogic

Name Description Value
conditions الشروط التي يجب تقييمها لتحديد ما إذا كان يجب تشغيل قاعدة التنفيذ التلقائي على كائن معين AutomationRuleCondition[]
expirationTimeUtc تحديد متى يجب أن تنتهي صلاحية قاعدة التنفيذ التلقائي تلقائيا وتعطيلها. string
isEnabled تحديد ما إذا كانت قاعدة التنفيذ التلقائي ممكنة أو معطلة bool (مطلوب)
triggersOn "الحوادث" (مطلوب)
triggersWhen "تم الإنشاء" (مطلوب)

IncidentLabel

Name Description Value
labelName اسم التسمية سلسلة (مطلوب)

IncidentOwnerInfo

Name Description Value
assignedTo اسم المستخدم الذي تم تعيين الحدث إليه. string
email البريد الإلكتروني للمستخدم الذي تم تعيين الحدث إليه. string
objectId معرف الكائن للمستخدم الذي تم تعيين الحدث إليه. string

Constraints:
الحد الأدنى للطول = 36
الحد الأقصى للطول = 36
النمط = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
userPrincipalName اسم المستخدم الأساسي للمستخدم الذي تم تعيين الحدث إليه. string

IncidentPropertiesAction

Name Description Value
classification سبب إغلاق الحادث 'BenignPositive'
'FalsePositive'
'TruePositive'
'Undetermined'
classificationComment توضح هذه المقالة سبب إغلاق الحادث string
classificationReason سبب التصنيف الذي تم إغلاق الحادث به 'InaccurateData'
'IncorrectAlertLogic'
'SuspiciousActivity'
'SuspiciousButExpected'
labels قائمة التسميات لإضافتها إلى الحدث IncidentLabel[]
owner معلومات حول المستخدم تم تعيين حدث له IncidentOwnerInfo
severity خطورة الحادث 'High'
'Informational'
'Low'
'Medium'
status حالة الحادث 'Active'
'Closed'
'New'

PlaybookActionProperties

Name Description Value
logicAppResourceId معرف المورد لمورد دليل المبادئ string
tenantId معرف المستأجر لمورد دليل المبادئ string

Constraints:
الحد الأدنى للطول = 36
الحد الأقصى للطول = 36
النمط = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$

PropertyConditionProperties

Name Description Value
conditionProperties AutomationRulePropertyValuesCondition
conditionType 'خاصية' (مطلوب)

تعريف مورد قالب ARM

يمكن نشر نوع مورد automationRules مع العمليات التي تستهدف:

للحصول على قائمة بالخصائص التي تم تغييرها في كل إصدار من إصدارات واجهة برمجة التطبيقات، راجع سجل التغيير .

أمثلة الاستخدام

قوالب Azure Quickstart

القوالب التالية Azure البدء السريع تنشر هذا النوع من الموارد.

Template Description
ينشئ قاعدة أتمتة Microsoft Sentinel جديدة

نشر إلى Azure
توضح هذه العينة كيفية إنشاء قاعدة أتمتة جديدة في Microsoft Sentinel

تنسيق المورد

لإنشاء Microsoft. موارد SecurityInsights/autoautomationRules أضف JSON التالي إلى قالبك.

{
  "type": "Microsoft.SecurityInsights/automationRules",
  "apiVersion": "2022-01-01-preview",
  "name": "string",
  "etag": "string",
  "properties": {
    "actions": [ {
      "order": "int",
      "actionType": "string"
      // For remaining properties, see AutomationRuleAction objects
    } ],
    "displayName": "string",
    "order": "int",
    "triggeringLogic": {
      "conditions": [ {
        "conditionType": "string"
        // For remaining properties, see AutomationRuleCondition objects
      } ],
      "expirationTimeUtc": "string",
      "isEnabled": "bool",
      "triggersOn": "string",
      "triggersWhen": "string"
    }
  }
}

كائنات AutomationRuleCondition

قم بتعيين الخاصية conditionType لتحديد نوع الكائن.

للممتلكات ، استخدم:

{
  "conditionProperties": {
    "operator": "string",
    "propertyName": "string",
    "propertyValues": [ "string" ]
  },
  "conditionType": "Property"
}

كائنات AutomationRuleAction

قم بتعيين الخاصية actionType لتحديد نوع الكائن.

بالنسبة إلى ModifyProperties، استخدم:

{
  "actionConfiguration": {
    "classification": "string",
    "classificationComment": "string",
    "classificationReason": "string",
    "labels": [
      {
        "labelName": "string"
      }
    ],
    "owner": {
      "assignedTo": "string",
      "email": "string",
      "objectId": "string",
      "userPrincipalName": "string"
    },
    "severity": "string",
    "status": "string"
  },
  "actionType": "ModifyProperties"
}

بالنسبة إلى RunPlaybook، استخدم:

{
  "actionConfiguration": {
    "logicAppResourceId": "string",
    "tenantId": "string"
  },
  "actionType": "RunPlaybook"
}

قيم الخصائص

Microsoft. قواعد رؤى الأمان/الأتمتة

Name Description Value
apiVersion إصدار واجهة برمجة التطبيقات '2022-01-01-preview'
etag Etag لمورد azure string
name اسم المورد سلسلة (مطلوب)
properties خصائص قاعدة التنفيذ التلقائي AutomationRuleProperties (مطلوب)
type نوع المورد 'Microsoft. رؤى الأمان/قواعد الأتمتة

AutomationRuleAction

Name Description Value
actionType قم بالتعيين إلى "ModifyProperties" للكتابة AutomationRuleModifyPropertiesAction. اضبط على "RunPlaybook" لنوع AutomationRuleRunPlaybookAction. 'ModifyProperties'
'RunPlaybook' (مطلوب)
order int (مطلوب)

AutomationRuleCondition

Name Description Value
conditionType قم بالتعيين إلى "خاصية" للكتابة PropertyConditionProperties. 'خاصية' (مطلوب)

AutomationRuleModifyPropertiesAction

Name Description Value
actionConfiguration IncidentPropertiesAction
actionType نوع إجراء قاعدة التنفيذ التلقائي "تعديل الخصائص" (مطلوب)

AutomationRuleProperties

Name Description Value
actions الإجراءات التي يجب تنفيذها عند تشغيل قاعدة التنفيذ التلقائي AutomationRuleAction[] (مطلوب)
displayName اسم العرض لقاعدة التنفيذ التلقائي string

Constraints:
الحد الأقصى للطول = 500 (مطلوب)
order ترتيب تنفيذ قاعدة التنفيذ التلقائي int

Constraints:
قيمة الحد الأدنى = 1
الحد الأقصى للقيمة = 1000 (مطلوب)
triggeringLogic يصف منطق تشغيل قاعدة التشغيل التلقائي AutomationRuleTriggeringLogic (مطلوب)

AutomationRulePropertyValuesCondition

Name Description Value
operator 'Contains'
'EndsWith'
'Equals'
'NotContains'
'NotEndsWith'
'NotEquals'
'NotStartsWith'
'StartsWith'
propertyName الخاصية المراد تقييمها في شرط خاصية قاعدة التنفيذ التلقائي 'AccountAadTenantId'
'AccountAadUserId'
'AccountName'
'AccountNTDomain'
'AccountObjectGuid'
'AccountPUID'
'AccountSid'
'AccountUPNSuffix'
'AlertProductNames'
'AzureResourceResourceId'
'AzureResourceSubscriptionId'
'CloudApplicationAppId'
'CloudApplicationAppName'
'DNSDomainName'
'FileDirectory'
'FileHashValue'
'FileName'
'HostAzureID'
'HostName'
'HostNetBiosName'
'HostNTDomain'
'HostOSVersion'
'IncidentDescription'
'IncidentLabel'
'IncidentProviderName'
'IncidentRelatedAnalyticRuleIds'
'IncidentSeverity'
'IncidentStatus'
'IncidentTactics'
'IncidentTitle'
'IoTDeviceId'
'IoTDeviceModel'
'IoTDeviceName'
'IoTDeviceOperatingSystem'
'IoTDeviceType'
'IoTDeviceVendor'
'IPAddress'
'MailboxDisplayName'
'MailboxPrimaryAddress'
'MailboxUPN'
'MailMessageDeliveryAction'
'MailMessageDeliveryLocation'
'MailMessageP1Sender'
'MailMessageP2Sender'
'MailMessageRecipient'
'MailMessageSenderIP'
'MailMessageSubject'
'MalwareCategory'
'MalwareName'
'ProcessCommandLine'
'ProcessId'
'RegistryKey'
'RegistryValueData'
'Url'
propertyValues string[]

AutomationRuleRunPlaybookAction

Name Description Value
actionConfiguration PlaybookActionProperties
actionType نوع إجراء قاعدة التنفيذ التلقائي 'RunPlaybook' (مطلوب)

AutomationRuleTriggeringLogic

Name Description Value
conditions الشروط التي يجب تقييمها لتحديد ما إذا كان يجب تشغيل قاعدة التنفيذ التلقائي على كائن معين AutomationRuleCondition[]
expirationTimeUtc تحديد متى يجب أن تنتهي صلاحية قاعدة التنفيذ التلقائي تلقائيا وتعطيلها. string
isEnabled تحديد ما إذا كانت قاعدة التنفيذ التلقائي ممكنة أو معطلة bool (مطلوب)
triggersOn "الحوادث" (مطلوب)
triggersWhen "تم الإنشاء" (مطلوب)

IncidentLabel

Name Description Value
labelName اسم التسمية سلسلة (مطلوب)

IncidentOwnerInfo

Name Description Value
assignedTo اسم المستخدم الذي تم تعيين الحدث إليه. string
email البريد الإلكتروني للمستخدم الذي تم تعيين الحدث إليه. string
objectId معرف الكائن للمستخدم الذي تم تعيين الحدث إليه. string

Constraints:
الحد الأدنى للطول = 36
الحد الأقصى للطول = 36
النمط = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
userPrincipalName اسم المستخدم الأساسي للمستخدم الذي تم تعيين الحدث إليه. string

IncidentPropertiesAction

Name Description Value
classification سبب إغلاق الحادث 'BenignPositive'
'FalsePositive'
'TruePositive'
'Undetermined'
classificationComment توضح هذه المقالة سبب إغلاق الحادث string
classificationReason سبب التصنيف الذي تم إغلاق الحادث به 'InaccurateData'
'IncorrectAlertLogic'
'SuspiciousActivity'
'SuspiciousButExpected'
labels قائمة التسميات لإضافتها إلى الحدث IncidentLabel[]
owner معلومات حول المستخدم تم تعيين حدث له IncidentOwnerInfo
severity خطورة الحادث 'High'
'Informational'
'Low'
'Medium'
status حالة الحادث 'Active'
'Closed'
'New'

PlaybookActionProperties

Name Description Value
logicAppResourceId معرف المورد لمورد دليل المبادئ string
tenantId معرف المستأجر لمورد دليل المبادئ string

Constraints:
الحد الأدنى للطول = 36
الحد الأقصى للطول = 36
النمط = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$

PropertyConditionProperties

Name Description Value
conditionProperties AutomationRulePropertyValuesCondition
conditionType 'خاصية' (مطلوب)

تعريف مورد Terraform (موفر AzAPI)

يمكن نشر نوع مورد automationRules مع العمليات التي تستهدف:

للحصول على قائمة بالخصائص التي تم تغييرها في كل إصدار من إصدارات واجهة برمجة التطبيقات، راجع سجل التغيير .

أمثلة الاستخدام

عينات Terraform

مثال أساسي لنشر قاعدة أتمتة Sentinel.

terraform {
  required_providers {
    azapi = {
      source = "Azure/azapi"
    }
  }
}

provider "azapi" {
  skip_provider_registration = false
}

variable "resource_name" {
  type    = string
  default = "acctest0001"
}

variable "location" {
  type    = string
  default = "westeurope"
}

resource "azapi_resource" "resourceGroup" {
  type     = "Microsoft.Resources/resourceGroups@2020-06-01"
  name     = var.resource_name
  location = var.location
}

resource "azapi_resource" "workspace" {
  type      = "Microsoft.OperationalInsights/workspaces@2022-10-01"
  parent_id = azapi_resource.resourceGroup.id
  name      = var.resource_name
  location  = var.location
  body = {
    properties = {
      features = {
        disableLocalAuth                            = false
        enableLogAccessUsingOnlyResourcePermissions = true
      }
      publicNetworkAccessForIngestion = "Enabled"
      publicNetworkAccessForQuery     = "Enabled"
      retentionInDays                 = 30
      sku = {
        name = "PerGB2018"
      }
      workspaceCapping = {
        dailyQuotaGb = -1
      }
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}

resource "azapi_resource" "onboardingState" {
  type      = "Microsoft.SecurityInsights/onboardingStates@2023-06-01-preview"
  parent_id = azapi_resource.workspace.id
  name      = "default"
  body = {
    properties = {
      customerManagedKey = false
    }
  }
}

resource "azapi_resource" "automationRule" {
  type      = "Microsoft.SecurityInsights/automationRules@2022-10-01-preview"
  parent_id = azapi_resource.workspace.id
  name      = "3b862818-ad7b-409e-83be-8812f2a06d37"
  body = {
    properties = {
      actions = [
        {
          actionConfiguration = {
            classification        = ""
            classificationComment = ""
            classificationReason  = ""
            severity              = ""
            status                = "Active"
          }
          actionType = "ModifyProperties"
          order      = 1
        },
      ]
      displayName = "acctest-SentinelAutoRule-230630033910945846"
      order       = 1
      triggeringLogic = {
        isEnabled    = true
        triggersOn   = "Incidents"
        triggersWhen = "Created"
      }
    }
  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
  depends_on                = [azapi_resource.onboardingState]
}

تنسيق المورد

لإنشاء Microsoft. SecurityInsights/autoRules مورد، أضف النموذج التيرافورمي التالي إلى قالبك.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.SecurityInsights/automationRules@2022-01-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    etag = "string"
    properties = {
      actions = [
        {
          order = int
          actionType = "string"
          // For remaining properties, see AutomationRuleAction objects
        }
      ]
      displayName = "string"
      order = int
      triggeringLogic = {
        conditions = [
          {
            conditionType = "string"
            // For remaining properties, see AutomationRuleCondition objects
          }
        ]
        expirationTimeUtc = "string"
        isEnabled = bool
        triggersOn = "string"
        triggersWhen = "string"
      }
    }
  }
}

كائنات AutomationRuleCondition

قم بتعيين الخاصية conditionType لتحديد نوع الكائن.

للممتلكات ، استخدم:

{
  conditionProperties = {
    operator = "string"
    propertyName = "string"
    propertyValues = [
      "string"
    ]
  }
  conditionType = "Property"
}

كائنات AutomationRuleAction

قم بتعيين الخاصية actionType لتحديد نوع الكائن.

بالنسبة إلى ModifyProperties، استخدم:

{
  actionConfiguration = {
    classification = "string"
    classificationComment = "string"
    classificationReason = "string"
    labels = [
      {
        labelName = "string"
      }
    ]
    owner = {
      assignedTo = "string"
      email = "string"
      objectId = "string"
      userPrincipalName = "string"
    }
    severity = "string"
    status = "string"
  }
  actionType = "ModifyProperties"
}

بالنسبة إلى RunPlaybook، استخدم:

{
  actionConfiguration = {
    logicAppResourceId = "string"
    tenantId = "string"
  }
  actionType = "RunPlaybook"
}

قيم الخصائص

Microsoft. قواعد رؤى الأمان/الأتمتة

Name Description Value
etag Etag لمورد azure string
name اسم المورد سلسلة (مطلوب)
parent_id معرف المورد لتطبيق مورد الملحق هذا عليه. سلسلة (مطلوب)
properties خصائص قاعدة التنفيذ التلقائي AutomationRuleProperties (مطلوب)
type نوع المورد "Microsoft. SecurityInsights/automationRules@2022-01-01-preview"

AutomationRuleAction

Name Description Value
actionType قم بالتعيين إلى "ModifyProperties" للكتابة AutomationRuleModifyPropertiesAction. اضبط على "RunPlaybook" لنوع AutomationRuleRunPlaybookAction. 'ModifyProperties'
'RunPlaybook' (مطلوب)
order int (مطلوب)

AutomationRuleCondition

Name Description Value
conditionType قم بالتعيين إلى "خاصية" للكتابة PropertyConditionProperties. 'خاصية' (مطلوب)

AutomationRuleModifyPropertiesAction

Name Description Value
actionConfiguration IncidentPropertiesAction
actionType نوع إجراء قاعدة التنفيذ التلقائي "تعديل الخصائص" (مطلوب)

AutomationRuleProperties

Name Description Value
actions الإجراءات التي يجب تنفيذها عند تشغيل قاعدة التنفيذ التلقائي AutomationRuleAction[] (مطلوب)
displayName اسم العرض لقاعدة التنفيذ التلقائي string

Constraints:
الحد الأقصى للطول = 500 (مطلوب)
order ترتيب تنفيذ قاعدة التنفيذ التلقائي int

Constraints:
قيمة الحد الأدنى = 1
الحد الأقصى للقيمة = 1000 (مطلوب)
triggeringLogic يصف منطق تشغيل قاعدة التشغيل التلقائي AutomationRuleTriggeringLogic (مطلوب)

AutomationRulePropertyValuesCondition

Name Description Value
operator 'Contains'
'EndsWith'
'Equals'
'NotContains'
'NotEndsWith'
'NotEquals'
'NotStartsWith'
'StartsWith'
propertyName الخاصية المراد تقييمها في شرط خاصية قاعدة التنفيذ التلقائي 'AccountAadTenantId'
'AccountAadUserId'
'AccountName'
'AccountNTDomain'
'AccountObjectGuid'
'AccountPUID'
'AccountSid'
'AccountUPNSuffix'
'AlertProductNames'
'AzureResourceResourceId'
'AzureResourceSubscriptionId'
'CloudApplicationAppId'
'CloudApplicationAppName'
'DNSDomainName'
'FileDirectory'
'FileHashValue'
'FileName'
'HostAzureID'
'HostName'
'HostNetBiosName'
'HostNTDomain'
'HostOSVersion'
'IncidentDescription'
'IncidentLabel'
'IncidentProviderName'
'IncidentRelatedAnalyticRuleIds'
'IncidentSeverity'
'IncidentStatus'
'IncidentTactics'
'IncidentTitle'
'IoTDeviceId'
'IoTDeviceModel'
'IoTDeviceName'
'IoTDeviceOperatingSystem'
'IoTDeviceType'
'IoTDeviceVendor'
'IPAddress'
'MailboxDisplayName'
'MailboxPrimaryAddress'
'MailboxUPN'
'MailMessageDeliveryAction'
'MailMessageDeliveryLocation'
'MailMessageP1Sender'
'MailMessageP2Sender'
'MailMessageRecipient'
'MailMessageSenderIP'
'MailMessageSubject'
'MalwareCategory'
'MalwareName'
'ProcessCommandLine'
'ProcessId'
'RegistryKey'
'RegistryValueData'
'Url'
propertyValues string[]

AutomationRuleRunPlaybookAction

Name Description Value
actionConfiguration PlaybookActionProperties
actionType نوع إجراء قاعدة التنفيذ التلقائي 'RunPlaybook' (مطلوب)

AutomationRuleTriggeringLogic

Name Description Value
conditions الشروط التي يجب تقييمها لتحديد ما إذا كان يجب تشغيل قاعدة التنفيذ التلقائي على كائن معين AutomationRuleCondition[]
expirationTimeUtc تحديد متى يجب أن تنتهي صلاحية قاعدة التنفيذ التلقائي تلقائيا وتعطيلها. string
isEnabled تحديد ما إذا كانت قاعدة التنفيذ التلقائي ممكنة أو معطلة bool (مطلوب)
triggersOn "الحوادث" (مطلوب)
triggersWhen "تم الإنشاء" (مطلوب)

IncidentLabel

Name Description Value
labelName اسم التسمية سلسلة (مطلوب)

IncidentOwnerInfo

Name Description Value
assignedTo اسم المستخدم الذي تم تعيين الحدث إليه. string
email البريد الإلكتروني للمستخدم الذي تم تعيين الحدث إليه. string
objectId معرف الكائن للمستخدم الذي تم تعيين الحدث إليه. string

Constraints:
الحد الأدنى للطول = 36
الحد الأقصى للطول = 36
النمط = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
userPrincipalName اسم المستخدم الأساسي للمستخدم الذي تم تعيين الحدث إليه. string

IncidentPropertiesAction

Name Description Value
classification سبب إغلاق الحادث 'BenignPositive'
'FalsePositive'
'TruePositive'
'Undetermined'
classificationComment توضح هذه المقالة سبب إغلاق الحادث string
classificationReason سبب التصنيف الذي تم إغلاق الحادث به 'InaccurateData'
'IncorrectAlertLogic'
'SuspiciousActivity'
'SuspiciousButExpected'
labels قائمة التسميات لإضافتها إلى الحدث IncidentLabel[]
owner معلومات حول المستخدم تم تعيين حدث له IncidentOwnerInfo
severity خطورة الحادث 'High'
'Informational'
'Low'
'Medium'
status حالة الحادث 'Active'
'Closed'
'New'

PlaybookActionProperties

Name Description Value
logicAppResourceId معرف المورد لمورد دليل المبادئ string
tenantId معرف المستأجر لمورد دليل المبادئ string

Constraints:
الحد الأدنى للطول = 36
الحد الأقصى للطول = 36
النمط = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$

PropertyConditionProperties

Name Description Value
conditionProperties AutomationRulePropertyValuesCondition
conditionType 'خاصية' (مطلوب)