Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,8 @@
},
"AutomationRulePropertyArrayConditionSupportedArrayConditionType": {
"enum": [
"AnyItem"
"AnyItem",
"AllItems"
],
"type": "string",
"example": "AnyItem",
Expand All @@ -635,14 +636,19 @@
{
"value": "AnyItem",
"description": "Evaluate the condition as true if any item fulfills it"
},
{
"value": "AllItems",
"description": "Evaluate the condition as true if all the items fulfill it"
}
]
}
},
"AutomationRulePropertyArrayConditionSupportedArrayType": {
"enum": [
"CustomDetails",
"CustomDetailValues"
"CustomDetailValues",
"IncidentLabels"
],
"type": "string",
"example": "CustomDetails",
Expand All @@ -657,6 +663,10 @@
{
"value": "CustomDetailValues",
"description": "Evaluate the condition on a custom detail's values"
},
{
"value": "IncidentLabels",
"description": "Evaluate the condition on the incident labels"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,21 @@
"triggersWhen": "Created",
"conditions": [
{
"conditionType": "Property",
"conditionType": "PropertyArray",
"conditionProperties": {
"propertyName": "IncidentRelatedAnalyticRuleIds",
"operator": "Contains",
"propertyValues": [
"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/fab3d2d4-747f-46a7-8ef0-9c0be8112bf7",
"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/8deb8303-e94d-46ff-96e0-5fd94b33df1a"
"arrayType": "IncidentLabels",
"arrayConditionType": "AnyItem",
"itemConditions": [
{
"conditionType": "Property",
"conditionProperties": {
"propertyName": "IncidentLabel",
"operator": "Equals",
"propertyValues": [
"myLabel"
]
}
}
]
}
}
Expand Down Expand Up @@ -74,13 +82,21 @@
"triggersWhen": "Created",
"conditions": [
{
"conditionType": "Property",
"conditionType": "PropertyArray",
"conditionProperties": {
"propertyName": "IncidentRelatedAnalyticRuleIds",
"operator": "Contains",
"propertyValues": [
"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/fab3d2d4-747f-46a7-8ef0-9c0be8112bf7",
"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/8deb8303-e94d-46ff-96e0-5fd94b33df1a"
"arrayType": "IncidentLabels",
"arrayConditionType": "AnyItem",
"itemConditions": [
{
"conditionType": "Property",
"conditionProperties": {
"propertyName": "IncidentLabel",
"operator": "Equals",
"propertyValues": [
"myLabel"
]
}
}
]
}
}
Expand Down Expand Up @@ -128,13 +144,21 @@
"triggersWhen": "Created",
"conditions": [
{
"conditionType": "Property",
"conditionType": "PropertyArray",
"conditionProperties": {
"propertyName": "IncidentRelatedAnalyticRuleIds",
"operator": "Contains",
"propertyValues": [
"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/fab3d2d4-747f-46a7-8ef0-9c0be8112bf7",
"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/8deb8303-e94d-46ff-96e0-5fd94b33df1a"
"arrayType": "IncidentLabels",
"arrayConditionType": "AnyItem",
"itemConditions": [
{
"conditionType": "Property",
"conditionProperties": {
"propertyName": "IncidentLabel",
"operator": "Equals",
"propertyValues": [
"myLabel"
]
}
}
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,21 @@
"triggersWhen": "Created",
"conditions": [
{
"conditionType": "Property",
"conditionType": "PropertyArray",
"conditionProperties": {
"propertyName": "IncidentRelatedAnalyticRuleIds",
"operator": "Contains",
"propertyValues": [
"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/fab3d2d4-747f-46a7-8ef0-9c0be8112bf7",
"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/8deb8303-e94d-46ff-96e0-5fd94b33df1a"
"arrayType": "IncidentLabels",
"arrayConditionType": "AnyItem",
"itemConditions": [
{
"conditionType": "Property",
"conditionProperties": {
"propertyName": "IncidentLabel",
"operator": "Equals",
"propertyValues": [
"myLabel"
]
}
}
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,21 @@
"triggersWhen": "Created",
"conditions": [
{
"conditionType": "Property",
"conditionType": "PropertyArray",
"conditionProperties": {
"propertyName": "IncidentRelatedAnalyticRuleIds",
"operator": "Contains",
"propertyValues": [
"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/fab3d2d4-747f-46a7-8ef0-9c0be8112bf7",
"/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/8deb8303-e94d-46ff-96e0-5fd94b33df1a"
"arrayType": "IncidentLabels",
"arrayConditionType": "AnyItem",
"itemConditions": [
{
"conditionType": "Property",
"conditionProperties": {
"propertyName": "IncidentLabel",
"operator": "Equals",
"propertyValues": [
"myLabel"
]
}
}
]
}
}
Expand Down