diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json index d595427d52bb..99ae45593139 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json @@ -226,7 +226,7 @@ "manualTrigger" ], "description": "Triggers playbook on a specific incident", - "operationId": "AutomationRules_ManualTriggerPlaybook", + "operationId": "Incidents_RunPlaybook", "consumes": [ "application/json" ], @@ -366,10 +366,10 @@ "properties": { "actionConfiguration": { "type": "object", - "x-ms-client-flatten": true, "$ref": "#/definitions/IncidentPropertiesAction" } }, + "x-ms-client-flatten": true, "x-ms-discriminator-value": "ModifyProperties" }, "AutomationRuleProperties": { @@ -786,10 +786,10 @@ "properties": { "actionConfiguration": { "type": "object", - "x-ms-client-flatten": true, "$ref": "#/definitions/PlaybookActionProperties" } }, + "x-ms-client-flatten": true, "x-ms-discriminator-value": "RunPlaybook" }, "AutomationRulesList": { @@ -927,10 +927,10 @@ "properties": { "conditionProperties": { "type": "object", - "x-ms-client-flatten": true, "$ref": "#/definitions/AutomationRulePropertyValuesCondition" } }, + "x-ms-client-flatten": true, "x-ms-discriminator-value": "Property" }, "triggersOn": { diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-01-01-preview/AutomationRules.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-01-01-preview/AutomationRules.json index 1c0ffc3355de..ca02c5906ab8 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-01-01-preview/AutomationRules.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-01-01-preview/AutomationRules.json @@ -226,7 +226,7 @@ "manualTrigger" ], "description": "Triggers playbook on a specific incident", - "operationId": "AutomationRules_ManualTriggerPlaybook", + "operationId": "Incidents_RunPlaybook", "consumes": [ "application/json" ], @@ -366,10 +366,10 @@ "properties": { "actionConfiguration": { "type": "object", - "x-ms-client-flatten": true, "$ref": "#/definitions/IncidentPropertiesAction" } }, + "x-ms-client-flatten": true, "x-ms-discriminator-value": "ModifyProperties" }, "AutomationRuleProperties": { @@ -786,10 +786,10 @@ "properties": { "actionConfiguration": { "type": "object", - "x-ms-client-flatten": true, "$ref": "#/definitions/PlaybookActionProperties" } }, + "x-ms-client-flatten": true, "x-ms-discriminator-value": "RunPlaybook" }, "AutomationRulesList": { @@ -927,10 +927,10 @@ "properties": { "conditionProperties": { "type": "object", - "x-ms-client-flatten": true, "$ref": "#/definitions/AutomationRulePropertyValuesCondition" } }, + "x-ms-client-flatten": true, "x-ms-discriminator-value": "Property" }, "triggersOn": {