diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json index bc81cff629ea..79f98bc11fcc 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json @@ -2389,46 +2389,46 @@ "type": "object", "description": "Represents Amazon Web Services CloudTrail data connector.", "allOf": [ - { - "$ref": "#/definitions/DataConnector" - } + { + "$ref": "#/definitions/DataConnector" + } ], "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "Amazon Web Services CloudTrail data connector properties.", - "$ref": "#/definitions/AwsCloudTrailDataConnectorProperties" - } + "properties": { + "x-ms-client-flatten": true, + "description": "Amazon Web Services CloudTrail data connector properties.", + "$ref": "#/definitions/AwsCloudTrailDataConnectorProperties" + } } - }, + }, "AwsCloudTrailDataConnectorProperties": { - "type": "object", - "description": "Amazon Web Services CloudTrail data connector properties.", - "properties": { - "awsRoleArn": { - "type": "string", - "description": "The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account." - }, - "dataTypes": { - "description": "The available data types for the connector.", - "$ref": "#/definitions/AwsCloudTrailDataConnectorDataTypes" - } + "type": "object", + "description": "Amazon Web Services CloudTrail data connector properties.", + "properties": { + "awsRoleArn": { + "type": "string", + "description": "The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account." + }, + "dataTypes": { + "description": "The available data types for the connector.", + "$ref": "#/definitions/AwsCloudTrailDataConnectorDataTypes" } + } }, "AwsCloudTrailDataConnectorDataTypes": { - "type": "object", - "description": "The available data types for Amazon Web Services CloudTrail data connector.", - "properties": { - "logs": { - "type": "object", - "description": "Logs data type.", - "allOf": [ - { - "$ref": "#/definitions/DataConnectorDataTypeCommon" - } - ] + "type": "object", + "description": "The available data types for Amazon Web Services CloudTrail data connector.", + "properties": { + "logs": { + "type": "object", + "description": "Logs data type.", + "allOf": [ + { + "$ref": "#/definitions/DataConnectorDataTypeCommon" } + ] } + } }, "AADDataConnector": { "x-ms-discriminator-value": "AzureActiveDirectory", @@ -2514,13 +2514,14 @@ "allOf": [ { "$ref": "#/definitions/DataConnectorTenantId" - }], - "properties": { - "dataTypes": { - "description": "The available data types for the connector.", - "$ref": "#/definitions/MCASDataConnectorDataTypes" - } } + ], + "properties": { + "dataTypes": { + "description": "The available data types for the connector.", + "$ref": "#/definitions/MCASDataConnectorDataTypes" + } + } }, "MCASDataConnectorDataTypes": { "type": "object", @@ -2528,19 +2529,19 @@ "allOf": [ { "$ref": "#/definitions/AlertsDataTypeOfDataConnector" - }], - "properties": - { - "discoveryLogs": { - "type": "object", - "description": "Discovery log data type connection.", - "allOf": [ - { - "$ref": "#/definitions/DataConnectorDataTypeCommon" - } - ] - } } + ], + "properties": { + "discoveryLogs": { + "type": "object", + "description": "Discovery log data type connection.", + "allOf": [ + { + "$ref": "#/definitions/DataConnectorDataTypeCommon" + } + ] + } + } }, "AATPDataConnector": { "x-ms-discriminator-value": "AzureAdvancedThreatProtection", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json index 75f4881d320e..9d15d53a4aea 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json @@ -1,29 +1,29 @@ { - "parameters": { - "api-version": "2019-01-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "operationalInsightsResourceProvider": "Microsoft.OperationalInsights", - "dataConnectorId": "c345bf40-8509-4ed2-b947-50cb773aaf04" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/c345bf40-8509-4ed2-b947-50cb773aaf04", - "name": "c345bf40-8509-4ed2-b947-50cb773aaf04", - "type": "Microsoft.SecurityInsights/dataConnectors", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "kind": "AmazonWebServicesCloudTrail", - "properties": { - "awsRoleArn": "myAwsRoleArn", - "dataTypes": { - "logs": { - "state": "Enabled" - } - } - } + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalInsights", + "dataConnectorId": "c345bf40-8509-4ed2-b947-50cb773aaf04" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/c345bf40-8509-4ed2-b947-50cb773aaf04", + "name": "c345bf40-8509-4ed2-b947-50cb773aaf04", + "type": "Microsoft.SecurityInsights/dataConnectors", + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", + "kind": "AmazonWebServicesCloudTrail", + "properties": { + "awsRoleArn": "myAwsRoleArn", + "dataTypes": { + "logs": { + "state": "Enabled" } + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json index 443c7a28c8af..19806b1058ea 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json @@ -85,8 +85,8 @@ "alerts": { "state": "Enabled" }, - "discoveryLogs": { - "state": "Enabled" + "discoveryLogs": { + "state": "Enabled" } } } @@ -113,29 +113,29 @@ "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", "kind": "AmazonWebServicesCloudTrail", "properties": { - "awsRoleArn": "myAwsRoleArn", - "dataTypes": { - "logs": { - "state": "Enabled" - } + "awsRoleArn": "myAwsRoleArn", + "dataTypes": { + "logs": { + "state": "Enabled" } + } } - }, - { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/06b3ccb8-1384-4bcc-aec7-852f6d57161b", - "name": "06b3ccb8-1384-4bcc-aec7-852f6d57161b", - "type": "Microsoft.SecurityInsights/dataConnectors", - "kind": "MicrosoftDefenderAdvancedThreatProtection", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", - "dataTypes": { - "alerts": { - "state": "Enabled" + }, + { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/06b3ccb8-1384-4bcc-aec7-852f6d57161b", + "name": "06b3ccb8-1384-4bcc-aec7-852f6d57161b", + "type": "Microsoft.SecurityInsights/dataConnectors", + "kind": "MicrosoftDefenderAdvancedThreatProtection", + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", + "properties": { + "tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", + "dataTypes": { + "alerts": { + "state": "Enabled" + } } } } - } ] } }