From 059a5a55051a6a1f33fb384465688cf7ff919f79 Mon Sep 17 00:00:00 2001 From: Mike Dzikowski <34066455+mikedzikowski@users.noreply.github.com> Date: Tue, 16 Jan 2024 15:26:29 -0500 Subject: [PATCH] defender fix (#802) * fix * test fix * json update * GitHub Action: Build Bicep to JSON --------- Co-authored-by: github-actions --- README.md | 2 +- src/bicep/mlz.json | 10 +++++----- src/bicep/modules/defender.bicep | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index bc87c6b00..ea377ccc2 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ You must have [Owner RBAC permissions](https://docs.microsoft.com/en-us/azure/ro | Azure Commercial | Azure Government | | :--- | :--- | - | [![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#blade/Microsoft_Azure_CreateUIDef/CustomDeploymentBlade/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fmissionlz%2Fmain%2Fsrc%2Fbicep%2Fmlz.json/uiFormDefinitionUri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fmissionlz%2Fmain%2Fsrc%2Fbicep%2Fform%2Fmlz.portal.json) | [![Deploy to Azure Gov](https://aka.ms/deploytoazuregovbutton)](https://portal.azure.us/#blade/Microsoft_Azure_CreateUIDef/CustomDeploymentBlade/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fmissionlz%2Fmain%2Fsrc%2Fbicep%2Fmlz.json/uiFormDefinitionUri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fmissionlz%2Fmain%2Fsrc%2Fbicep%2Fform%2Fmlz.portal.json) | + | [![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#blade/Microsoft_Azure_CreateUIDef/CustomDeploymentBlade/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fmissionlz%2Fmain%2Fsrc%2Fbicep%2Fmlz.json/uiFormDefinitionUri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fmissionlz%2Fmain%2Fsrc%2Fbicep%2Fform%2Fmlz.portal.json) | [![Deploy to Azure Gov](https://aka.ms/deploytoazuregovbutton)](https://portal.azure.us/#blade/Microsoft_Azure_CreateUIDef/CustomDeploymentBlade/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fmissionlz%2Fdzikowski-defenderfix%2Fsrc%2Fbicep%2Fmlz.json/uiFormDefinitionUri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fmissionlz%2Fdzikowski-defenderfix%2Fsrc%2Fbicep%2Fform%2Fmlz.portal.json) | 2. After a successful deployment, see our [examples](./src/bicep/examples/README.md) directory for how to extend the capabilities of Mission Landing Zone. diff --git a/src/bicep/mlz.json b/src/bicep/mlz.json index 4c5d15f2d..e91d9ec30 100644 --- a/src/bicep/mlz.json +++ b/src/bicep/mlz.json @@ -5,7 +5,7 @@ "_generator": { "name": "bicep", "version": "0.10.61.36676", - "templateHash": "4961315915169693062" + "templateHash": "11325591247187477175" } }, "parameters": { @@ -7140,7 +7140,7 @@ "_generator": { "name": "bicep", "version": "0.10.61.36676", - "templateHash": "16303325944519685702" + "templateHash": "9863600299947422102" } }, "parameters": { @@ -7221,7 +7221,7 @@ "condition": "[not(empty(parameters('emailSecurityContact')))]", "type": "Microsoft.Security/securityContacts", "apiVersion": "2020-01-01-preview", - "name": "securityNotifications", + "name": "default", "properties": { "notificationsByRole": { "roles": [ @@ -7291,7 +7291,7 @@ "_generator": { "name": "bicep", "version": "0.10.61.36676", - "templateHash": "16303325944519685702" + "templateHash": "9863600299947422102" } }, "parameters": { @@ -7372,7 +7372,7 @@ "condition": "[not(empty(parameters('emailSecurityContact')))]", "type": "Microsoft.Security/securityContacts", "apiVersion": "2020-01-01-preview", - "name": "securityNotifications", + "name": "default", "properties": { "notificationsByRole": { "roles": [ diff --git a/src/bicep/modules/defender.bicep b/src/bicep/modules/defender.bicep index 19fdffc43..0bff8d024 100644 --- a/src/bicep/modules/defender.bicep +++ b/src/bicep/modules/defender.bicep @@ -77,7 +77,7 @@ resource securityWorkspaceSettings 'Microsoft.Security/workspaceSettings@2019-01 } resource securityNotifications 'Microsoft.Security/securityContacts@2020-01-01-preview' = if (!empty(emailSecurityContact)) { - name: 'securityNotifications' + name: 'default' properties: { notificationsByRole: { roles: [