|
| 1 | +{ |
| 2 | + "$schema": "https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json#", |
| 3 | + "handler": "Microsoft.Azure.CreateUIDef", |
| 4 | + "version": "0.1.2-preview", |
| 5 | + "parameters": { |
| 6 | + "config": { |
| 7 | + "isWizard": false, |
| 8 | + "basics": { |
| 9 | + "description": "<img src ='https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/Logos/Azure_Sentinel.svg' width='75px' height='75px'>\n\n**Note:** Please refer to the following before installing the solution: \n\n• Review the solution [Release Notes](https://github.com/Azure/Azure-Sentinel/tree/master/Solutions/GDPR%20Compliance%20%26%20Data%20Security/ReleaseNotes.md)\n\n • There may be [known issues](https://aka.ms/sentinelsolutionsknownissues) pertaining to this Solution, please refer to them before installing.\n\nThis workbook helps you track, visualize and monitor GDPR related requirements across your enterprise. It consolidates data from Defender XDR, Microsoft Purview, Azure SQL Databases, Microsoft 365, UEBA and Entra ID solution.\n\n**Workbooks:** 1\n\n[Learn more about Microsoft Sentinel](https://aka.ms/azuresentinel) | [Learn more about Solutions](https://aka.ms/azuresentinelsolutionsdoc)", |
| 10 | + "subscription": { |
| 11 | + "resourceProviders": [ |
| 12 | + "Microsoft.OperationsManagement/solutions", |
| 13 | + "Microsoft.OperationalInsights/workspaces/providers/alertRules", |
| 14 | + "Microsoft.Insights/workbooks", |
| 15 | + "Microsoft.Logic/workflows" |
| 16 | + ] |
| 17 | + }, |
| 18 | + "location": { |
| 19 | + "metadata": { |
| 20 | + "hidden": "Hiding location, we get it from the log analytics workspace" |
| 21 | + }, |
| 22 | + "visible": false |
| 23 | + }, |
| 24 | + "resourceGroup": { |
| 25 | + "allowExisting": true |
| 26 | + } |
| 27 | + } |
| 28 | + }, |
| 29 | + "basics": [ |
| 30 | + { |
| 31 | + "name": "getLAWorkspace", |
| 32 | + "type": "Microsoft.Solutions.ArmApiControl", |
| 33 | + "toolTip": "This filters by workspaces that exist in the Resource Group selected", |
| 34 | + "condition": "[greater(length(resourceGroup().name),0)]", |
| 35 | + "request": { |
| 36 | + "method": "GET", |
| 37 | + "path": "[concat(subscription().id,'/providers/Microsoft.OperationalInsights/workspaces?api-version=2020-08-01')]" |
| 38 | + } |
| 39 | + }, |
| 40 | + { |
| 41 | + "name": "workspace", |
| 42 | + "type": "Microsoft.Common.DropDown", |
| 43 | + "label": "Workspace", |
| 44 | + "placeholder": "Select a workspace", |
| 45 | + "toolTip": "This dropdown will list only workspace that exists in the Resource Group selected", |
| 46 | + "constraints": { |
| 47 | + "allowedValues": "[map(filter(basics('getLAWorkspace').value, (filter) => contains(toLower(filter.id), toLower(resourceGroup().name))), (item) => parse(concat('{\"label\":\"', item.name, '\",\"value\":\"', item.name, '\"}')))]", |
| 48 | + "required": true |
| 49 | + }, |
| 50 | + "visible": true |
| 51 | + } |
| 52 | + ], |
| 53 | + "steps": [ |
| 54 | + { |
| 55 | + "name": "workbooks", |
| 56 | + "label": "Workbooks", |
| 57 | + "subLabel": { |
| 58 | + "preValidation": "Configure the workbooks", |
| 59 | + "postValidation": "Done" |
| 60 | + }, |
| 61 | + "bladeTitle": "Workbooks", |
| 62 | + "elements": [ |
| 63 | + { |
| 64 | + "name": "workbooks-text", |
| 65 | + "type": "Microsoft.Common.TextBlock", |
| 66 | + "options": { |
| 67 | + "text": "This solution installs workbook(s) to help you gain insights into the telemetry collected in Microsoft Sentinel. After installing the solution, start using the workbook in Manage solution view." |
| 68 | + } |
| 69 | + }, |
| 70 | + { |
| 71 | + "name": "workbooks-link", |
| 72 | + "type": "Microsoft.Common.TextBlock", |
| 73 | + "options": { |
| 74 | + "link": { |
| 75 | + "label": "Learn more", |
| 76 | + "uri": "https://docs.microsoft.com/azure/sentinel/tutorial-monitor-your-data" |
| 77 | + } |
| 78 | + } |
| 79 | + }, |
| 80 | + { |
| 81 | + "name": "workbook1", |
| 82 | + "type": "Microsoft.Common.Section", |
| 83 | + "label": "GDPR Compliance And Data Security", |
| 84 | + "elements": [ |
| 85 | + { |
| 86 | + "name": "workbook1-text", |
| 87 | + "type": "Microsoft.Common.TextBlock", |
| 88 | + "options": { |
| 89 | + "text": "This workbook helps you track, visualize and monitor GDPR related requirements across your enterprise. It consolidates data from Defender XDR, Microsoft Purview, Azure SQL Databases, Microsoft 365, UEBA and Entra ID solution." |
| 90 | + } |
| 91 | + } |
| 92 | + ] |
| 93 | + } |
| 94 | + ] |
| 95 | + } |
| 96 | + ], |
| 97 | + "outputs": { |
| 98 | + "workspace-location": "[first(map(filter(basics('getLAWorkspace').value, (filter) => and(contains(toLower(filter.id), toLower(resourceGroup().name)),equals(filter.name,basics('workspace')))), (item) => item.location))]", |
| 99 | + "location": "[location()]", |
| 100 | + "workspace": "[basics('workspace')]" |
| 101 | + } |
| 102 | + } |
| 103 | +} |
0 commit comments