diff --git a/generator/processors/Microsoft.SecurityInsights.ts b/generator/processors/Microsoft.SecurityInsights.ts index 5f9c73194d..2f5564f357 100644 --- a/generator/processors/Microsoft.SecurityInsights.ts +++ b/generator/processors/Microsoft.SecurityInsights.ts @@ -6,4 +6,5 @@ import { replaceCyclicRef } from './helpers'; export const postProcessor: SchemaPostProcessor = async (namespace, apiVersion, schema) => { replaceCyclicRef(schema.definitions?.MetadataDependencies?.properties?.criteria?.oneOf[0]?.items); replaceCyclicRef(schema.definitions?.AutomationRuleCondition?.oneOf[0]); + replaceCyclicRef(schema.definitions?.AutomationRuleCondition?.oneOf[2]); } \ No newline at end of file diff --git a/schemas/2022-05-01-preview/Microsoft.SecurityInsights.json b/schemas/2022-05-01-preview/Microsoft.SecurityInsights.json index 86de5ce58d..9a4c1cab7f 100644 --- a/schemas/2022-05-01-preview/Microsoft.SecurityInsights.json +++ b/schemas/2022-05-01-preview/Microsoft.SecurityInsights.json @@ -1548,7 +1548,7 @@ "$ref": "#/definitions/PropertyChangedConditionProperties" }, { - "$ref": "#/definitions/PropertyConditionProperties" + "type": "object" } ], "properties": {}, diff --git a/schemas/2022-06-01-preview/Microsoft.SecurityInsights.json b/schemas/2022-06-01-preview/Microsoft.SecurityInsights.json index 1960a2fb45..fd79c68b91 100644 --- a/schemas/2022-06-01-preview/Microsoft.SecurityInsights.json +++ b/schemas/2022-06-01-preview/Microsoft.SecurityInsights.json @@ -1548,7 +1548,7 @@ "$ref": "#/definitions/PropertyChangedConditionProperties" }, { - "$ref": "#/definitions/PropertyConditionProperties" + "type": "object" } ], "properties": {}, diff --git a/schemas/2022-07-01-preview/Microsoft.SecurityInsights.json b/schemas/2022-07-01-preview/Microsoft.SecurityInsights.json index 47576f9784..971f62bdbb 100644 --- a/schemas/2022-07-01-preview/Microsoft.SecurityInsights.json +++ b/schemas/2022-07-01-preview/Microsoft.SecurityInsights.json @@ -1549,7 +1549,7 @@ "$ref": "#/definitions/PropertyChangedConditionProperties" }, { - "$ref": "#/definitions/PropertyConditionProperties" + "type": "object" } ], "properties": {}, diff --git a/schemas/2022-08-01-preview/Microsoft.SecurityInsights.json b/schemas/2022-08-01-preview/Microsoft.SecurityInsights.json index 29af290a8f..fd45e1070e 100644 --- a/schemas/2022-08-01-preview/Microsoft.SecurityInsights.json +++ b/schemas/2022-08-01-preview/Microsoft.SecurityInsights.json @@ -1588,7 +1588,7 @@ "$ref": "#/definitions/PropertyChangedConditionProperties" }, { - "$ref": "#/definitions/PropertyConditionProperties" + "type": "object" } ], "properties": {}, diff --git a/schemas/2022-09-01-preview/Microsoft.SecurityInsights.json b/schemas/2022-09-01-preview/Microsoft.SecurityInsights.json index f258177a3a..a8707c7df0 100644 --- a/schemas/2022-09-01-preview/Microsoft.SecurityInsights.json +++ b/schemas/2022-09-01-preview/Microsoft.SecurityInsights.json @@ -1620,7 +1620,7 @@ "$ref": "#/definitions/PropertyArrayChangedConditionProperties" }, { - "$ref": "#/definitions/PropertyArrayConditionProperties" + "type": "object" }, { "$ref": "#/definitions/PropertyChangedConditionProperties"