forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Azure security insights - add data connectors preview version (Azure#…
…13998) * add new API * ad name to enum * updatre defenition names * update readme * update readme * update readme path files * fix errors * add missing connectors * execute validation * execute pre * update readme * add description ans x-ms-enum * update description * update properties * add description * rename enum - fix new error that didnt display until now * rename enum unser x-ms-enum property
- Loading branch information
Showing
24 changed files
with
3,202 additions
and
0 deletions.
There are no files selected for viewing
1,561 changes: 1,561 additions & 0 deletions
1,561
...esource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/dataConnectors.json
Large diffs are not rendered by default.
Oops, something went wrong.
58 changes: 58 additions & 0 deletions
58
...hts/preview/2021-03-01-preview/examples/dataConnectors/CreateDynamics365DataConnetor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-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.OperationalInsights/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.OperationalInsights/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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
434 changes: 434 additions & 0 deletions
434
....SecurityInsights/preview/2021-03-01-preview/examples/dataConnectors/CreateGenericUI.json
Large diffs are not rendered by default.
Oops, something went wrong.
76 changes: 76 additions & 0 deletions
76
...Insights/preview/2021-03-01-preview/examples/dataConnectors/CreateOfficeDataConnetor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01-preview", | ||
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
"resourceGroupName": "myRg", | ||
"workspaceName": "myWorkspace", | ||
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights", | ||
"dataConnectorId": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", | ||
"dataConnector": { | ||
"kind": "Office365", | ||
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", | ||
"properties": { | ||
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", | ||
"dataTypes": { | ||
"sharePoint": { | ||
"state": "Enabled" | ||
}, | ||
"exchange": { | ||
"state": "Enabled" | ||
}, | ||
"teams": { | ||
"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": "Office365", | ||
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", | ||
"properties": { | ||
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", | ||
"dataTypes": { | ||
"sharePoint": { | ||
"state": "Enabled" | ||
}, | ||
"exchange": { | ||
"state": "Enabled" | ||
}, | ||
"teams": { | ||
"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": "Office365", | ||
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", | ||
"properties": { | ||
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", | ||
"dataTypes": { | ||
"sharePoint": { | ||
"state": "Enabled" | ||
}, | ||
"exchange": { | ||
"state": "Enabled" | ||
}, | ||
"teams": { | ||
"state": "Enabled" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
...iew/2021-03-01-preview/examples/dataConnectors/CreateThreatIntelligenceDataConnector.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01-preview", | ||
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
"resourceGroupName": "myRg", | ||
"workspaceName": "myWorkspace", | ||
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights", | ||
"dataConnectorId": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", | ||
"dataConnector": { | ||
"kind": "ThreatIntelligence", | ||
"properties": { | ||
"tenantId": "06b3ccb8-1384-4bcc-aec7-852f6d57161b", | ||
"tipLookbackPeriod": "2020-01-01T13:00:30.123Z", | ||
"dataTypes": { | ||
"indicators": { | ||
"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": "ThreatIntelligence", | ||
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", | ||
"properties": { | ||
"tenantId": "06b3ccb8-1384-4bcc-aec7-852f6d57161b", | ||
"tipLookbackPeriod": "2020-01-01T13:00:30.123Z", | ||
"dataTypes": { | ||
"indicators": { | ||
"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": "ThreatIntelligence", | ||
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", | ||
"properties": { | ||
"tenantId": "06b3ccb8-1384-4bcc-aec7-852f6d57161b", | ||
"tipLookbackPeriod": "2020-01-01T13:00:30.123Z", | ||
"dataTypes": { | ||
"indicators": { | ||
"state": "Enabled" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
82 changes: 82 additions & 0 deletions
82
...021-03-01-preview/examples/dataConnectors/CreateThreatIntelligenceTaxiiDataConnector.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01-preview", | ||
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
"resourceGroupName": "myRg", | ||
"workspaceName": "myWorkspace", | ||
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights", | ||
"dataConnectorId": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", | ||
"dataConnector": { | ||
"etag": "d12423f6-a60b-4ca5-88c0-feb1a182d0f0", | ||
"kind": "ThreatIntelligenceTaxii", | ||
"properties": { | ||
"tenantId": "06b3ccb8-1384-4bcc-aec7-852f6d57161b", | ||
"taxiiServer": "https://limo.anomali.com/api/v1/taxii2/feeds", | ||
"collectionId": "135", | ||
"workspaceId": "dd124572-4962-4495-9bd2-9dade12314b4", | ||
"friendlyName": "testTaxii", | ||
"userName": "--", | ||
"password": "--", | ||
"taxiiLookbackPeriod": "2020-01-01T13:00:30.123Z", | ||
"pollingFrequency": "OnceADay", | ||
"dataTypes": { | ||
"taxiiClient": { | ||
"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", | ||
"etag": "d12423f6-a60b-4ca5-88c0-feb1a182d0f0", | ||
"kind": "ThreatIntelligenceTaxii", | ||
"properties": { | ||
"tenantId": "06b3ccb8-1384-4bcc-aec7-852f6d57161b", | ||
"taxiiServer": "https://limo.anomali.com/api/v1/taxii2/feeds", | ||
"collectionId": "135", | ||
"workspaceId": "28e5f051-34cb-4208-9037-693e5342a871", | ||
"friendlyName": "testTaxii", | ||
"userName": null, | ||
"password": null, | ||
"taxiiLookbackPeriod": "2020-01-01T13:00:30.123Z", | ||
"pollingFrequency": "OnceADay", | ||
"dataTypes": { | ||
"taxiiClient": { | ||
"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", | ||
"etag": "d12423f6-a60b-4ca5-88c0-feb1a182d0f0", | ||
"kind": "ThreatIntelligenceTaxii", | ||
"properties": { | ||
"tenantId": "06b3ccb8-1384-4bcc-aec7-852f6d57161b", | ||
"taxiiServer": "https://limo.anomali.com/api/v1/taxii2/feeds", | ||
"collectionId": "135", | ||
"workspaceId": "28e5f051-34cb-4208-9037-693e5342a871", | ||
"friendlyName": "testTaxii", | ||
"userName": null, | ||
"password": null, | ||
"taxiiLookbackPeriod": "2020-01-01T13:00:30.123Z", | ||
"pollingFrequency": "OnceADay", | ||
"dataTypes": { | ||
"taxiiClient": { | ||
"state": "Enabled" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
....SecurityInsights/preview/2021-03-01-preview/examples/dataConnectors/DeleteGenericUI.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01-preview", | ||
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
"resourceGroupName": "myRg", | ||
"workspaceName": "myWorkspace", | ||
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights", | ||
"dataConnectorId": "316ec55e-7138-4d63-ab18-90c8a60fd1c8" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...Insights/preview/2021-03-01-preview/examples/dataConnectors/DeleteOfficeDataConnetor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01-preview", | ||
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
"resourceGroupName": "myRg", | ||
"workspaceName": "myWorkspace", | ||
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights", | ||
"dataConnectorId": "73e01a99-5cd7-4139-a149-9f2736ff2ab5" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...review/2021-03-01-preview/examples/dataConnectors/GetAmazonWebServicesCloudTrailById.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...ights/preview/2021-03-01-preview/examples/dataConnectors/GetAzureActiveDirectoryById.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01-preview", | ||
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
"resourceGroupName": "myRg", | ||
"workspaceName": "myWorkspace", | ||
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights", | ||
"dataConnectorId": "f0cd27d2-5f03-4c06-ba31-d2dc82dcb51d" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/f0cd27d2-5f03-4c06-ba31-d2dc82dcb51d", | ||
"name": "f0cd27d2-5f03-4c06-ba31-d2dc82dcb51d", | ||
"type": "Microsoft.SecurityInsights/dataConnectors", | ||
"kind": "AzureActiveDirectory", | ||
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", | ||
"properties": { | ||
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", | ||
"dataTypes": { | ||
"alerts": { | ||
"state": "Enabled" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...view/2021-03-01-preview/examples/dataConnectors/GetAzureAdvancedThreatProtectionById.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-01-preview", | ||
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
"resourceGroupName": "myRg", | ||
"workspaceName": "myWorkspace", | ||
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights", | ||
"dataConnectorId": "07e42cb3-e658-4e90-801c-efa0f29d3d44" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/07e42cb3-e658-4e90-801c-efa0f29d3d44", | ||
"name": "07e42cb3-e658-4e90-801c-efa0f29d3d44", | ||
"type": "Microsoft.SecurityInsights/dataConnectors", | ||
"kind": "AzureAdvancedThreatProtection", | ||
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", | ||
"properties": { | ||
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", | ||
"dataTypes": { | ||
"alerts": { | ||
"state": "Enabled" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.