Skip to content

Commit

Permalink
Azure Sentinel Dynamics365 data connector preview (Azure#12123)
Browse files Browse the repository at this point in the history
* added Dynamics365 data connector

* added Dynamics365 check requirements

* added Dynamics365 examples

* changed data type name to camelCase

* fixed property name
  • Loading branch information
alfeldsh authored and josuh committed Jan 6, 2021
1 parent be13549 commit 9a3843f
Show file tree
Hide file tree
Showing 5 changed files with 212 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1732,6 +1732,9 @@
},
"Get a Office ATP data connector": {
"$ref": "./examples/dataConnectors/GetOffice365AdvancedThreatProtectionById.json"
},
"Get a Dynamics365 data connector": {
"$ref": "./examples/dataConnectors/GetDynamics365DataConnectorById.json"
}
},
"tags": [
Expand Down Expand Up @@ -1778,6 +1781,9 @@
"x-ms-examples": {
"Creates or updates an Office365 data connector.": {
"$ref": "./examples/dataConnectors/CreateOfficeDataConnetor.json"
},
"Creates or updates a Dynamics365 data connector.": {
"$ref": "./examples/dataConnectors/CreateDynamics365DataConnetor.json"
}
},
"tags": [
Expand Down Expand Up @@ -1905,6 +1911,9 @@
},
"Check requirements for OfficeATP.": {
"$ref": "./examples/dataConnectors/CheckRequirementsOfficeATP.json"
},
"Check requirements for Dynamics365.": {
"$ref": "./examples/dataConnectors/CheckRequirementsDynamics365.json"
}
},
"tags": [
Expand Down Expand Up @@ -5880,7 +5889,8 @@
"OfficeATP",
"AmazonWebServicesCloudTrail",
"AzureAdvancedThreatProtection",
"MicrosoftDefenderAdvancedThreatProtection"
"MicrosoftDefenderAdvancedThreatProtection",
"Dynamics365"
],
"type": "string",
"x-ms-enum": {
Expand Down Expand Up @@ -5916,6 +5926,9 @@
},
{
"value": "MicrosoftDefenderAdvancedThreatProtection"
},
{
"value": "Dynamics365"
}
]
}
Expand Down Expand Up @@ -6032,6 +6045,79 @@
},
"type": "object"
},
"Dynamics365DataConnector": {
"allOf": [
{
"$ref": "#/definitions/DataConnector"
}
],
"description": "Represents Dynamics365 data connector.",
"properties": {
"properties": {
"$ref": "#/definitions/Dynamics365DataConnectorProperties",
"description": "Dynamics365 data connector properties.",
"x-ms-client-flatten": true
}
},
"type": "object",
"x-ms-discriminator-value": "Dynamics365"
},
"Dynamics365DataConnectorDataTypes": {
"description": "The available data types for Dynamics365 data connector.",
"properties": {
"dynamics365CdsActivities": {
"allOf": [
{
"$ref": "#/definitions/DataConnectorDataTypeCommon"
}
],
"description": "Common Data Service data type connection.",
"type": "object"
}
},
"type": "object"
},
"Dynamics365DataConnectorProperties": {
"allOf": [
{
"$ref": "#/definitions/DataConnectorTenantId"
}
],
"description": "Dynamics365 data connector properties.",
"properties": {
"dataTypes": {
"$ref": "#/definitions/Dynamics365DataConnectorDataTypes",
"description": "The available data types for the connector."
}
},
"type": "object"
},
"Dynamics365CheckRequirements": {
"allOf": [
{
"$ref": "#/definitions/DataConnectorsCheckRequirements"
}
],
"description": "Represents Dynamics365 requirements check request.",
"properties": {
"properties": {
"$ref": "#/definitions/Dynamics365CheckRequirementsProperties",
"description": "Dynamics365 requirements check properties.",
"x-ms-client-flatten": true
}
},
"type": "object",
"x-ms-discriminator-value": "Dynamics365"
},
"Dynamics365CheckRequirementsProperties": {
"allOf": [
{
"$ref": "#/definitions/DataConnectorTenantId"
}
],
"description": "Dynamics365 requirements check properties.",
"type": "object"
},
"Entity": {
"allOf": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"api-version": "2019-01-01-preview",
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
"resourceGroupName": "myRg",
"workspaceName": "myWorkspace",
"operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
"DataConnectorsCheckRequirements": {
"kind": "Dynamics365",
"properties": {
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8"
}
}
},
"responses": {
"200": {
"body": {
"authorizationState": "Valid",
"licenseState": "Valid"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"parameters": {
"api-version": "2019-01-01-preview",
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
"resourceGroupName": "myRg",
"workspaceName": "myWorkspace",
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights",
"dataConnectorId": "c2541efb-c9a6-47fe-9501-87d1017d1512",
"dataConnector": {
"kind": "Dynamics365",
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
"properties": {
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
"dataTypes": {
"dynamics365CdsActivities": {
"state": "Enabled"
}
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/73e01a99-5cd7-4139-a149-9f2736ff2ab5",
"name": "c2541efb-c9a6-47fe-9501-87d1017d1512",
"type": "Microsoft.SecurityInsights/dataConnectors",
"kind": "Dynamics365",
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
"properties": {
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
"dataTypes": {
"dynamics365CdsActivities": {
"state": "Enabled"
}
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/73e01a99-5cd7-4139-a149-9f2736ff2ab5",
"name": "c2541efb-c9a6-47fe-9501-87d1017d1512",
"type": "Microsoft.SecurityInsights/dataConnectors",
"kind": "Dynamics365",
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
"properties": {
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
"dataTypes": {
"dynamics365CdsActivities": {
"state": "Enabled"
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,21 @@
}
}
}
},
{
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/3d3e955e-33eb-401d-89a7-251c81ddd660",
"name": "c2541efb-c9a6-47fe-9501-87d1017d1512",
"type": "Microsoft.SecurityInsights/dataConnectors",
"kind": "Dynamics365",
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
"properties": {
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
"dataTypes": {
"dynamics365CdsActivities": {
"state": "Enabled"
}
}
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"api-version": "2019-01-01-preview",
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
"resourceGroupName": "myRg",
"workspaceName": "myWorkspace",
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights",
"dataConnectorId": "c2541efb-c9a6-47fe-9501-87d1017d1512"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/3d3e955e-33eb-401d-89a7-251c81ddd660",
"name": "c2541efb-c9a6-47fe-9501-87d1017d1512",
"type": "Microsoft.SecurityInsights/dataConnectors",
"kind": "Dynamics365",
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
"properties": {
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
"dataTypes": {
"dynamics365CdsActivities": {
"state": "Enabled"
}
}
}
}
}
}
}

0 comments on commit 9a3843f

Please sign in to comment.