From 2ab818c39a8d3de21503b44e3c71b026438ee05c Mon Sep 17 00:00:00 2001 From: Alon Danoch Date: Thu, 6 May 2021 14:31:32 +0300 Subject: [PATCH 1/2] Azure security insights - dataConnectors required bug fix props and example --- .../2021-03-01-preview/dataConnectors.json | 15 ++++++++++++++- .../examples/dataConnectors/CreateGenericUI.json | 4 ++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/dataConnectors.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/dataConnectors.json index 5895e7b3668a..ff653f082db9 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/dataConnectors.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/dataConnectors.json @@ -1247,7 +1247,20 @@ }, "type": "array" } - } + }, + "required": [ + "title", + "publisher", + "descriptionMarkdown", + "graphQueriesTableName", + "graphQueries", + "sampleQueries", + "dataTypes", + "connectivityCriteria", + "availability", + "permissions", + "instructionSteps" + ] }, "LastDataReceivedDataType": { "description": "Data type for last data received", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/dataConnectors/CreateGenericUI.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/dataConnectors/CreateGenericUI.json index f3333cc4bb75..0611f78c3b94 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/dataConnectors/CreateGenericUI.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/dataConnectors/CreateGenericUI.json @@ -33,6 +33,10 @@ "lastDataReceivedQuery": "{{graphQueriesTableName}}\n | summarize Time = max(TimeGenerated)\n | where isnotempty(Time)" } ], + "availability": { + "status": 1, + "isPreview": true + }, "connectivityCriteria": [ { "type": "IsConnectedQuery", From 295083faefcdcafbcb1d74e78e228ab77903cbb5 Mon Sep 17 00:00:00 2001 From: Alon Danoch Date: Thu, 6 May 2021 15:02:50 +0300 Subject: [PATCH 2/2] Azure security insights - dataConnectors example pretter fix --- .../examples/dataConnectors/CreateGenericUI.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/dataConnectors/CreateGenericUI.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/dataConnectors/CreateGenericUI.json index 0611f78c3b94..a99de411ae40 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/dataConnectors/CreateGenericUI.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/dataConnectors/CreateGenericUI.json @@ -34,9 +34,9 @@ } ], "availability": { - "status": 1, - "isPreview": true - }, + "status": 1, + "isPreview": true + }, "connectivityCriteria": [ { "type": "IsConnectedQuery",