Skip to content

Commit

Permalink
Data connectors 2021 10 01 preview office connectors added (#17193)
Browse files Browse the repository at this point in the history
* Project and PowerBI specs added.

* Space removed

* File with a wrong name removed

* More changer added

* Example files with inconsistent naming removed

* dataConnectors json updated

* Ref fixed

* Prettier applied

Co-authored-by: Ido Klotz <[email protected]>
  • Loading branch information
iKlotz and msklotz authored Jan 14, 2022
1 parent 7a38b11 commit eb4afae
Show file tree
Hide file tree
Showing 10 changed files with 452 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,18 @@
"Get a MDATP data connector": {
"$ref": "./examples/dataConnectors/GetMicrosoftDefenderAdvancedThreatProtectionById.json"
},
"Get a Office ATP data connector": {
"Get an Office ATP data connector": {
"$ref": "./examples/dataConnectors/GetOffice365AdvancedThreatProtectionById.json"
},
"Get a Office IRM data connector": {
"Get an Office IRM data connector": {
"$ref": "./examples/dataConnectors/GetMicrosoftInsiderRiskManagementById.json"
},
"Get an Office365 Project data connector": {
"$ref": "./examples/dataConnectors/GetOffice365ProjectDataConnetorById.json"
},
"Get an Office365 PowerBI data connector": {
"$ref": "./examples/dataConnectors/GetOfficePowerBIDataConnetorById.json"
},
"Get a Dynamics365 data connector": {
"$ref": "./examples/dataConnectors/GetDynamics365DataConnectorById.json"
},
Expand Down Expand Up @@ -176,6 +182,12 @@
"Creates or updates an Office365 data connector": {
"$ref": "./examples/dataConnectors/CreateOfficeDataConnetor.json"
},
"Creates or updates an Office365 Project data connector": {
"$ref": "./examples/dataConnectors/CreateOffice365ProjectDataConnetor.json"
},
"Creates or updates an Office PowerBI data connector": {
"$ref": "./examples/dataConnectors/CreateOfficePowerBIDataConnector.json"
},
"Creates or updates a Threat Intelligence Taxii data connector.": {
"$ref": "./examples/dataConnectors/CreateThreatIntelligenceTaxiiDataConnector.json"
},
Expand Down Expand Up @@ -243,6 +255,12 @@
"Delete an Office365 data connector": {
"$ref": "./examples/dataConnectors/DeleteOfficeDataConnetor.json"
},
"Delete an Office365 Project data connector": {
"$ref": "./examples/dataConnectors/DeleteOffice365ProjectDataConnetor.json"
},
"Delete an Office PowerBI data connector": {
"$ref": "./examples/dataConnectors/DeleteOfficePowerBIDataConnetor.json"
},
"Delete a GenericUI data connector": {
"$ref": "./examples/dataConnectors/DeleteGenericUI.json"
},
Expand Down Expand Up @@ -408,6 +426,12 @@
"Check requirements for OfficeIRM.": {
"$ref": "./examples/dataConnectors/CheckRequirementsOfficeIRM.json"
},
"Check requirements for Office365Project.": {
"$ref": "./examples/dataConnectors/CheckRequirementsOffice365Project.json"
},
"Check requirements for OfficePowerBI.": {
"$ref": "./examples/dataConnectors/CheckRequirementsOfficePowerBI.json"
},
"Check requirements for Dynamics365.": {
"$ref": "./examples/dataConnectors/CheckRequirementsDynamics365.json"
},
Expand Down Expand Up @@ -812,6 +836,58 @@
"description": "OfficeIRM (Microsoft Insider Risk Management) requirements check properties.",
"type": "object"
},
"Office365ProjectCheckRequirements": {
"allOf": [
{
"$ref": "#/definitions/DataConnectorsCheckRequirements"
}
],
"description": "Represents Office365 Project requirements check request.",
"properties": {
"properties": {
"$ref": "#/definitions/Office365ProjectCheckRequirementsProperties",
"description": "Office365 Project requirements check properties.",
"x-ms-client-flatten": true
}
},
"type": "object",
"x-ms-discriminator-value": "Office365Project"
},
"Office365ProjectCheckRequirementsProperties": {
"allOf": [
{
"$ref": "#/definitions/DataConnectorTenantId"
}
],
"description": "Office365 Project requirements check properties.",
"type": "object"
},
"OfficePowerBICheckRequirements": {
"allOf": [
{
"$ref": "#/definitions/DataConnectorsCheckRequirements"
}
],
"description": "Represents Office PowerBI requirements check request.",
"properties": {
"properties": {
"$ref": "#/definitions/OfficePowerBICheckRequirementsProperties",
"description": "Office Power BI requirements check properties.",
"x-ms-client-flatten": true
}
},
"type": "object",
"x-ms-discriminator-value": "OfficePowerBI"
},
"OfficePowerBICheckRequirementsProperties": {
"allOf": [
{
"$ref": "#/definitions/DataConnectorTenantId"
}
],
"description": "Office PowerBI requirements check properties.",
"type": "object"
},
"TICheckRequirements": {
"allOf": [
{
Expand Down Expand Up @@ -1284,6 +1360,8 @@
"Office365",
"OfficeATP",
"OfficeIRM",
"Office365Project",
"OfficePowerBI",
"AmazonWebServicesCloudTrail",
"AmazonWebServicesS3",
"AzureAdvancedThreatProtection",
Expand Down Expand Up @@ -1323,6 +1401,12 @@
{
"value": "OfficeIRM"
},
{
"value": "Office365Project"
},
{
"value": "OfficePowerBI"
},
{
"value": "AmazonWebServicesCloudTrail"
},
Expand Down Expand Up @@ -1519,6 +1603,102 @@
"description": "OfficeATP (Office 365 Advanced Threat Protection) data connector properties.",
"type": "object"
},
"Office365ProjectDataConnector": {
"allOf": [
{
"$ref": "#/definitions/DataConnector"
}
],
"description": "Represents Office Microsoft Project data connector.",
"properties": {
"properties": {
"$ref": "#/definitions/Office365ProjectDataConnectorProperties",
"description": "Office Microsoft Project data connector properties.",
"x-ms-client-flatten": true
}
},
"type": "object",
"x-ms-discriminator-value": "Office365Project"
},
"Office365ProjectConnectorDataTypes": {
"description": "The available data types for Office Microsoft Project data connector.",
"properties": {
"logs": {
"allOf": [
{
"$ref": "#/definitions/DataConnectorDataTypeCommon"
}
],
"description": "Logs data type.",
"type": "object"
}
},
"type": "object",
"required": [
"logs"
]
},
"Office365ProjectDataConnectorProperties": {
"description": "Office Microsoft Project data connector properties.",
"properties": {
"dataTypes": {
"$ref": "#/definitions/Office365ProjectConnectorDataTypes",
"description": "The available data types for the connector."
}
},
"type": "object",
"required": [
"dataTypes"
]
},
"OfficePowerBIDataConnector": {
"allOf": [
{
"$ref": "#/definitions/DataConnector"
}
],
"description": "Represents Office Microsoft PowerBI data connector.",
"properties": {
"properties": {
"$ref": "#/definitions/OfficePowerBIDataConnectorProperties",
"description": "Office Microsoft PowerBI data connector properties.",
"x-ms-client-flatten": true
}
},
"type": "object",
"x-ms-discriminator-value": "OfficePowerBI"
},
"OfficePowerBIConnectorDataTypes": {
"description": "The available data types for Office Microsoft PowerBI data connector.",
"properties": {
"logs": {
"allOf": [
{
"$ref": "#/definitions/DataConnectorDataTypeCommon"
}
],
"description": "Logs data type.",
"type": "object"
}
},
"type": "object",
"required": [
"logs"
]
},
"OfficePowerBIDataConnectorProperties": {
"description": "Office Microsoft PowerBI data connector properties.",
"properties": {
"dataTypes": {
"$ref": "#/definitions/OfficePowerBIConnectorDataTypes",
"description": "The available data types for the connector."
}
},
"type": "object",
"required": [
"dataTypes"
]
},
"OfficeIRMDataConnector": {
"allOf": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2021-10-01-preview",
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
"resourceGroupName": "myRg",
"workspaceName": "myWorkspace",
"DataConnectorsCheckRequirements": {
"kind": "Office365Project",
"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,22 @@
{
"parameters": {
"api-version": "2021-10-01-preview",
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
"resourceGroupName": "myRg",
"workspaceName": "myWorkspace",
"DataConnectorsCheckRequirements": {
"kind": "OfficePowerBI",
"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,57 @@
{
"parameters": {
"api-version": "2021-10-01-preview",
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0",
"resourceGroupName": "myRg",
"workspaceName": "myWorkspace",
"dataConnectorId": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
"dataConnector": {
"kind": "Office365Project",
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
"properties": {
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
"dataTypes": {
"logs": {
"state": "Enabled"
}
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/73e01a99-5cd7-4139-a149-9f2736ff2ab5",
"name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
"type": "Microsoft.SecurityInsights/dataConnectors",
"kind": "Office365Project",
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
"properties": {
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
"dataTypes": {
"logs": {
"state": "Enabled"
}
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/73e01a99-5cd7-4139-a149-9f2736ff2ab5",
"name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
"type": "Microsoft.SecurityInsights/dataConnectors",
"kind": "Office365Project",
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
"properties": {
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8",
"dataTypes": {
"logs": {
"state": "Enabled"
}
}
}
}
}
}
}
Loading

0 comments on commit eb4afae

Please sign in to comment.