|
40 | 40 | "type": "string",
|
41 | 41 | "defaultValue": ""
|
42 | 42 | },
|
| 43 | + "enableSentinel": { |
| 44 | + "type": "string", |
| 45 | + "defaultValue": "Yes" |
| 46 | + }, |
43 | 47 | "managementSubscriptionId": {
|
44 | 48 | "type": "string",
|
45 | 49 | "defaultValue": "",
|
|
203 | 207 | ],
|
204 | 208 | "defaultValue": "Disabled"
|
205 | 209 | },
|
206 |
| - "enableSecuritySolution": { |
207 |
| - "type": "string", |
208 |
| - "defaultValue": "Yes", |
209 |
| - "allowedValues": [ |
210 |
| - "Yes", |
211 |
| - "No" |
212 |
| - ] |
213 |
| - }, |
214 | 210 | "enableMonitorBaselines": {
|
215 | 211 | "type": "string",
|
216 | 212 | "defaultValue": "",
|
|
1596 | 1592 | "resourceGroup": "[uri(deployment().properties.templateLink.uri, 'subscriptionTemplates/resourceGroup.json')]",
|
1597 | 1593 | "ddosProtection": "[uri(deployment().properties.templateLink.uri, 'resourceGroupTemplates/ddosProtection.json')]",
|
1598 | 1594 | "logAnalyticsPolicyAssignment": "[uri(deployment().properties.templateLink.uri, 'managementGroupTemplates/policyAssignments/DINE-LogAnalyticsPolicyAssignment.json')]",
|
1599 |
| - "monitoringSolutions": "[uri(deployment().properties.templateLink.uri, 'subscriptionTemplates/logAnalyticsSolutions.json')]", |
1600 | 1595 | "asbPolicyInitiative": "[uri(deployment().properties.templateLink.uri, 'managementGroupTemplates/policyAssignments/DINE-ASBPolicyAssignment.json')]",
|
1601 | 1596 | "regulatoryComplianceInitaitves": "[uri(deployment().properties.templateLink.uri, 'managementGroupTemplates/policyAssignments/ENFORCE-RegulatoryCompliancePolicyAssignment.json')]",
|
1602 | 1597 | "resourceDiagnosticsInitiative": "[uri(deployment().properties.templateLink.uri, 'managementGroupTemplates/policyAssignments/DINE-ResourceDiagnosticsPolicyAssignment.json')]",
|
|
1714 | 1709 | "monitorManagementDeploymentName": "[take(concat('alz-ManagementMonitor', variables('deploymentSuffix')), 64)]",
|
1715 | 1710 | "monitorLandingZoneDeploymentName": "[take(concat('alz-LandingZoneMonitor', variables('deploymentSuffix')), 64)]",
|
1716 | 1711 | "monitorServiceHealthDeploymentName": "[take(concat('alz-SvcHealthMonitor', variables('deploymentSuffix')), 64)]",
|
1717 |
| - "monitoringSolutionsDeploymentName": "[take(concat('alz-Solutions', variables('deploymentSuffix')), 64)]", |
1718 | 1712 | "asbPolicyDeploymentName": "[take(concat('alz-ASB', variables('deploymentSuffix')), 64)]",
|
1719 | 1713 | "regulatoryComplianceInitativesToAssignDeploymentName": "[take(concat('alz-RegComp-', deployment().location, '-', uniqueString(parameters('currentDateTimeUtcNow')), '-'), 64)]",
|
1720 | 1714 | "resourceDiagnosticsPolicyDeploymentName": "[take(concat('alz-ResourceDiagnostics', variables('deploymentSuffix')), 64)]",
|
|
1842 | 1836 | "subnetNsgIdentityLitePolicyDeploymentName": "[take(concat('alz-SubnetNsgIdentity', variables('deploymentSuffix')), 64)]",
|
1843 | 1837 | "monitoringLiteDeploymentName": "[take(concat('alz-MonitoringLite', variables('deploymentSuffix')), 64)]",
|
1844 | 1838 | "logAnalyticsLitePolicyDeploymentName": "[take(concat('alz-LAPolicyLite', variables('deploymentSuffix')), 64)]",
|
1845 |
| - "monitoringSolutionsLiteDeploymentName": "[take(concat('alz-SolutionsLite', variables('deploymentSuffix')), 64)]", |
1846 | 1839 | "platformLiteSubscriptionPlacement": "[take(concat('alz-PlatformSubLite', variables('deploymentSuffix')), 64)]",
|
1847 | 1840 | "vnetConnectivityHubLiteDeploymentName": "[take(concat('alz-VnetHubLite', variables('deploymentSuffix')), 64)]",
|
1848 | 1841 | "vwanConnectivityHubLiteDeploymentName": "[take(concat('alz-VWanHubLite', variables('deploymentSuffix')), 64)]",
|
|
2414 | 2407 | },
|
2415 | 2408 | "retentionInDays": {
|
2416 | 2409 | "value": "[parameters('retentionInDays')]"
|
| 2410 | + }, |
| 2411 | + "enableSentinel": { |
| 2412 | + "value": "[parameters('enableSentinel')]" |
2417 | 2413 | }
|
2418 | 2414 | }
|
2419 | 2415 | }
|
|
2538 | 2534 | }
|
2539 | 2535 | }
|
2540 | 2536 | },
|
2541 |
| - { |
2542 |
| - // Deploying Sentinel to Log Analytics workspace if condition is true |
2543 |
| - "condition": "[and(equals(parameters('enableLogAnalytics'), 'Yes'), not(empty(parameters('managementSubscriptionId'))), equals(parameters('enableSecuritySolution'), 'Yes'))]", |
2544 |
| - "type": "Microsoft.Resources/deployments", |
2545 |
| - "apiVersion": "2020-10-01", |
2546 |
| - "name": "[variables('deploymentNames').monitoringSolutionsDeploymentName]", |
2547 |
| - "location": "[deployment().location]", |
2548 |
| - "subscriptionId": "[parameters('managementSubscriptionId')]", |
2549 |
| - "dependsOn": [ |
2550 |
| - "[resourceId('Microsoft.Resources/deployments', variables('deploymentNames').monitoringDeploymentName)]", |
2551 |
| - "policyCompletion" |
2552 |
| - ], |
2553 |
| - "properties": { |
2554 |
| - "mode": "Incremental", |
2555 |
| - "templateLink": { |
2556 |
| - "contentVersion": "1.0.0.0", |
2557 |
| - "uri": "[variables('deploymentUris').monitoringSolutions]" |
2558 |
| - }, |
2559 |
| - "parameters": { |
2560 |
| - "rgName": { |
2561 |
| - "value": "[variables('platformRgNames').mgmtRg]" |
2562 |
| - }, |
2563 |
| - "workspaceName": { |
2564 |
| - "value": "[variables('platformResourceNames').logAnalyticsWorkspace]" |
2565 |
| - }, |
2566 |
| - "workspaceRegion": { |
2567 |
| - "value": "[deployment().location]" |
2568 |
| - }, |
2569 |
| - "enableSecuritySolution": { |
2570 |
| - "value": "[parameters('enableSecuritySolution')]" |
2571 |
| - } |
2572 |
| - } |
2573 |
| - } |
2574 |
| - }, |
2575 | 2537 | {
|
2576 | 2538 | // Assigning Log Analytics workspace policy to management management group if condition is true
|
2577 | 2539 | "condition": "[and(equals(parameters('enableLogAnalytics'), 'Yes'), not(empty(parameters('managementSubscriptionId'))))]",
|
|
7544 | 7506 | },
|
7545 | 7507 | "retentionInDays": {
|
7546 | 7508 | "value": "[parameters('retentionInDays')]"
|
| 7509 | + }, |
| 7510 | + "enableSentinel": { |
| 7511 | + "value": "[parameters('enableSentinel')]" |
7547 | 7512 | }
|
7548 | 7513 | }
|
7549 | 7514 | }
|
|
7581 | 7546 | }
|
7582 | 7547 | }
|
7583 | 7548 | },
|
7584 |
| - /* |
7585 |
| - Note: ES Lite only: the following deployments will deploy Sentinel to the platform subscription |
7586 |
| - */ |
7587 |
| - { |
7588 |
| - // Deploying Sentinel to the Log Analytics workspace if condition is true |
7589 |
| - "condition": "[and(equals(parameters('enableLogAnalytics'), 'Yes'), not(empty(parameters('singlePlatformSubscriptionId'))), equals(parameters('enableSecuritySolution'), 'Yes'))]", |
7590 |
| - "type": "Microsoft.Resources/deployments", |
7591 |
| - "apiVersion": "2020-10-01", |
7592 |
| - "name": "[variables('esLiteDeploymentNames').monitoringSolutionsLiteDeploymentName]", |
7593 |
| - "location": "[deployment().location]", |
7594 |
| - "subscriptionId": "[parameters('singlePlatformSubscriptionId')]", |
7595 |
| - "dependsOn": [ |
7596 |
| - "[resourceId('Microsoft.Resources/deployments', variables('esLiteDeploymentNames').monitoringLiteDeploymentName)]", |
7597 |
| - "policyCompletion" |
7598 |
| - ], |
7599 |
| - "properties": { |
7600 |
| - "mode": "Incremental", |
7601 |
| - "templateLink": { |
7602 |
| - "contentVersion": "1.0.0.0", |
7603 |
| - "uri": "[variables('deploymentUris').monitoringSolutions]" |
7604 |
| - }, |
7605 |
| - "parameters": { |
7606 |
| - "rgName": { |
7607 |
| - "value": "[variables('platformRgNames').mgmtRg]" |
7608 |
| - }, |
7609 |
| - "workspaceName": { |
7610 |
| - "value": "[variables('platformResourceNames').logAnalyticsWorkspace]" |
7611 |
| - }, |
7612 |
| - "workspaceRegion": { |
7613 |
| - "value": "[deployment().location]" |
7614 |
| - }, |
7615 |
| - "enableSecuritySolution": { |
7616 |
| - "value": "[parameters('enableSecuritySolution')]" |
7617 |
| - } |
7618 |
| - } |
7619 |
| - } |
7620 |
| - }, |
7621 | 7549 | /*
|
7622 | 7550 | Note: ES Lite only: deploy Log Analytics workspace policy to the platform management group
|
7623 | 7551 | */
|
|
0 commit comments