Skip to content

Commit 9f5c04b

Browse files
authored
Azure Sentinel Dynamics365 data connector preview (#12123)
* added Dynamics365 data connector * added Dynamics365 check requirements * added Dynamics365 examples * changed data type name to camelCase * fixed property name
1 parent 9c40bc3 commit 9f5c04b

File tree

5 files changed

+212
-1
lines changed

5 files changed

+212
-1
lines changed

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json

Lines changed: 87 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1732,6 +1732,9 @@
17321732
},
17331733
"Get a Office ATP data connector": {
17341734
"$ref": "./examples/dataConnectors/GetOffice365AdvancedThreatProtectionById.json"
1735+
},
1736+
"Get a Dynamics365 data connector": {
1737+
"$ref": "./examples/dataConnectors/GetDynamics365DataConnectorById.json"
17351738
}
17361739
},
17371740
"tags": [
@@ -1778,6 +1781,9 @@
17781781
"x-ms-examples": {
17791782
"Creates or updates an Office365 data connector.": {
17801783
"$ref": "./examples/dataConnectors/CreateOfficeDataConnetor.json"
1784+
},
1785+
"Creates or updates a Dynamics365 data connector.": {
1786+
"$ref": "./examples/dataConnectors/CreateDynamics365DataConnetor.json"
17811787
}
17821788
},
17831789
"tags": [
@@ -1905,6 +1911,9 @@
19051911
},
19061912
"Check requirements for OfficeATP.": {
19071913
"$ref": "./examples/dataConnectors/CheckRequirementsOfficeATP.json"
1914+
},
1915+
"Check requirements for Dynamics365.": {
1916+
"$ref": "./examples/dataConnectors/CheckRequirementsDynamics365.json"
19081917
}
19091918
},
19101919
"tags": [
@@ -5880,7 +5889,8 @@
58805889
"OfficeATP",
58815890
"AmazonWebServicesCloudTrail",
58825891
"AzureAdvancedThreatProtection",
5883-
"MicrosoftDefenderAdvancedThreatProtection"
5892+
"MicrosoftDefenderAdvancedThreatProtection",
5893+
"Dynamics365"
58845894
],
58855895
"type": "string",
58865896
"x-ms-enum": {
@@ -5916,6 +5926,9 @@
59165926
},
59175927
{
59185928
"value": "MicrosoftDefenderAdvancedThreatProtection"
5929+
},
5930+
{
5931+
"value": "Dynamics365"
59195932
}
59205933
]
59215934
}
@@ -6032,6 +6045,79 @@
60326045
},
60336046
"type": "object"
60346047
},
6048+
"Dynamics365DataConnector": {
6049+
"allOf": [
6050+
{
6051+
"$ref": "#/definitions/DataConnector"
6052+
}
6053+
],
6054+
"description": "Represents Dynamics365 data connector.",
6055+
"properties": {
6056+
"properties": {
6057+
"$ref": "#/definitions/Dynamics365DataConnectorProperties",
6058+
"description": "Dynamics365 data connector properties.",
6059+
"x-ms-client-flatten": true
6060+
}
6061+
},
6062+
"type": "object",
6063+
"x-ms-discriminator-value": "Dynamics365"
6064+
},
6065+
"Dynamics365DataConnectorDataTypes": {
6066+
"description": "The available data types for Dynamics365 data connector.",
6067+
"properties": {
6068+
"dynamics365CdsActivities": {
6069+
"allOf": [
6070+
{
6071+
"$ref": "#/definitions/DataConnectorDataTypeCommon"
6072+
}
6073+
],
6074+
"description": "Common Data Service data type connection.",
6075+
"type": "object"
6076+
}
6077+
},
6078+
"type": "object"
6079+
},
6080+
"Dynamics365DataConnectorProperties": {
6081+
"allOf": [
6082+
{
6083+
"$ref": "#/definitions/DataConnectorTenantId"
6084+
}
6085+
],
6086+
"description": "Dynamics365 data connector properties.",
6087+
"properties": {
6088+
"dataTypes": {
6089+
"$ref": "#/definitions/Dynamics365DataConnectorDataTypes",
6090+
"description": "The available data types for the connector."
6091+
}
6092+
},
6093+
"type": "object"
6094+
},
6095+
"Dynamics365CheckRequirements": {
6096+
"allOf": [
6097+
{
6098+
"$ref": "#/definitions/DataConnectorsCheckRequirements"
6099+
}
6100+
],
6101+
"description": "Represents Dynamics365 requirements check request.",
6102+
"properties": {
6103+
"properties": {
6104+
"$ref": "#/definitions/Dynamics365CheckRequirementsProperties",
6105+
"description": "Dynamics365 requirements check properties.",
6106+
"x-ms-client-flatten": true
6107+
}
6108+
},
6109+
"type": "object",
6110+
"x-ms-discriminator-value": "Dynamics365"
6111+
},
6112+
"Dynamics365CheckRequirementsProperties": {
6113+
"allOf": [
6114+
{
6115+
"$ref": "#/definitions/DataConnectorTenantId"
6116+
}
6117+
],
6118+
"description": "Dynamics365 requirements check properties.",
6119+
"type": "object"
6120+
},
60356121
"Entity": {
60366122
"allOf": [
60376123
{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-01-01-preview",
4+
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
5+
"resourceGroupName": "myRg",
6+
"workspaceName": "myWorkspace",
7+
"operationalInsightsResourceProvider": "Microsoft.OperationalIinsights",
8+
"DataConnectorsCheckRequirements": {
9+
"kind": "Dynamics365",
10+
"properties": {
11+
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"authorizationState": "Valid",
19+
"licenseState": "Valid"
20+
}
21+
}
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-01-01-preview",
4+
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
5+
"resourceGroupName": "myRg",
6+
"workspaceName": "myWorkspace",
7+
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights",
8+
"dataConnectorId": "c2541efb-c9a6-47fe-9501-87d1017d1512",
9+
"dataConnector": {
10+
"kind": "Dynamics365",
11+
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
12+
"properties": {
13+
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
14+
"dataTypes": {
15+
"dynamics365CdsActivities": {
16+
"state": "Enabled"
17+
}
18+
}
19+
}
20+
}
21+
},
22+
"responses": {
23+
"200": {
24+
"body": {
25+
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/73e01a99-5cd7-4139-a149-9f2736ff2ab5",
26+
"name": "c2541efb-c9a6-47fe-9501-87d1017d1512",
27+
"type": "Microsoft.SecurityInsights/dataConnectors",
28+
"kind": "Dynamics365",
29+
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
30+
"properties": {
31+
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
32+
"dataTypes": {
33+
"dynamics365CdsActivities": {
34+
"state": "Enabled"
35+
}
36+
}
37+
}
38+
}
39+
},
40+
"201": {
41+
"body": {
42+
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/73e01a99-5cd7-4139-a149-9f2736ff2ab5",
43+
"name": "c2541efb-c9a6-47fe-9501-87d1017d1512",
44+
"type": "Microsoft.SecurityInsights/dataConnectors",
45+
"kind": "Dynamics365",
46+
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
47+
"properties": {
48+
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
49+
"dataTypes": {
50+
"dynamics365CdsActivities": {
51+
"state": "Enabled"
52+
}
53+
}
54+
}
55+
}
56+
}
57+
}
58+
}

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/dataConnectors/GetDataConnectors.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,21 @@
171171
}
172172
}
173173
}
174+
},
175+
{
176+
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/3d3e955e-33eb-401d-89a7-251c81ddd660",
177+
"name": "c2541efb-c9a6-47fe-9501-87d1017d1512",
178+
"type": "Microsoft.SecurityInsights/dataConnectors",
179+
"kind": "Dynamics365",
180+
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
181+
"properties": {
182+
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
183+
"dataTypes": {
184+
"dynamics365CdsActivities": {
185+
"state": "Enabled"
186+
}
187+
}
188+
}
174189
}
175190
]
176191
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-01-01-preview",
4+
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
5+
"resourceGroupName": "myRg",
6+
"workspaceName": "myWorkspace",
7+
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights",
8+
"dataConnectorId": "c2541efb-c9a6-47fe-9501-87d1017d1512"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/3d3e955e-33eb-401d-89a7-251c81ddd660",
14+
"name": "c2541efb-c9a6-47fe-9501-87d1017d1512",
15+
"type": "Microsoft.SecurityInsights/dataConnectors",
16+
"kind": "Dynamics365",
17+
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
18+
"properties": {
19+
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
20+
"dataTypes": {
21+
"dynamics365CdsActivities": {
22+
"state": "Enabled"
23+
}
24+
}
25+
}
26+
}
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)