From 969a2f567d98662b59c8341da97412504461e75f Mon Sep 17 00:00:00 2001 From: Alex Anders Date: Sat, 19 Aug 2023 13:57:43 -0600 Subject: [PATCH] Updayes --- .../M365Defender-VulnerabilityManagement/azureDeploy.json | 4 ++-- .../azureDeployNetworkRestricted.json | 4 ++-- .../M365Defender-VulnerabilityManagement/main.bicep | 2 +- .../mainNetworkRestricted.bicep | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DataConnectors/M365Defender-VulnerabilityManagement/azureDeploy.json b/DataConnectors/M365Defender-VulnerabilityManagement/azureDeploy.json index 2a764e0ec38..47341cbba55 100644 --- a/DataConnectors/M365Defender-VulnerabilityManagement/azureDeploy.json +++ b/DataConnectors/M365Defender-VulnerabilityManagement/azureDeploy.json @@ -5,7 +5,7 @@ "_generator": { "name": "bicep", "version": "0.13.1.58284", - "templateHash": "8014592184722027626" + "templateHash": "11347846636968529735" } }, "parameters": { @@ -394,7 +394,7 @@ "properties": { "azPowerShellVersion": "10.0", "retentionInterval": "PT1H", - "timeout": "PT5M", + "timeout": "PT15M", "cleanupPreference": "Always", "primaryScriptUri": "[parameters('DeploymentScriptUri')]", "arguments": "[format('-PackageUri {0} -SubscriptionId {1} -ResourceGroupName {2} -FunctionAppName {3} -FAScope {4} -UAMIPrincipalId {5}', parameters('FunctionAppPackageUri'), split(subscription().id, '/')[2], resourceGroup().name, parameters('FunctionAppName'), resourceId('Microsoft.Web/sites', parameters('FunctionAppName')), reference(resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', parameters('UserAssignedManagedIdentityName')), '2022-01-31-preview').principalId)]" diff --git a/DataConnectors/M365Defender-VulnerabilityManagement/azureDeployNetworkRestricted.json b/DataConnectors/M365Defender-VulnerabilityManagement/azureDeployNetworkRestricted.json index f9ced57d620..7c5786d8995 100644 --- a/DataConnectors/M365Defender-VulnerabilityManagement/azureDeployNetworkRestricted.json +++ b/DataConnectors/M365Defender-VulnerabilityManagement/azureDeployNetworkRestricted.json @@ -5,7 +5,7 @@ "_generator": { "name": "bicep", "version": "0.13.1.58284", - "templateHash": "14438069826156397753" + "templateHash": "8260351119578024976" } }, "parameters": { @@ -738,7 +738,7 @@ "properties": { "azPowerShellVersion": "10.0", "retentionInterval": "PT1H", - "timeout": "PT5M", + "timeout": "PT15M", "cleanupPreference": "Always", "primaryScriptUri": "[parameters('DeploymentScriptUri')]", "arguments": "[format('-PackageUri {0} -SubscriptionId {1} -ResourceGroupName {2} -FunctionAppName {3} -FAScope {4} -VnetScope {5} -UAMIPrincipalId {6} -RestrictedIPs {7}', parameters('FunctionAppPackageUri'), split(subscription().id, '/')[2], resourceGroup().name, parameters('FunctionAppName'), resourceId('Microsoft.Web/sites', parameters('FunctionAppName')), resourceId('Microsoft.Network/virtualNetworks', parameters('VirtualNetworkName')), reference(resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', parameters('UserAssignedManagedIdentityName')), '2022-01-31-preview').principalId, parameters('TrustedIPAddressRanges'))]" diff --git a/DataConnectors/M365Defender-VulnerabilityManagement/main.bicep b/DataConnectors/M365Defender-VulnerabilityManagement/main.bicep index f3f41a7ec0d..620320d7af6 100644 --- a/DataConnectors/M365Defender-VulnerabilityManagement/main.bicep +++ b/DataConnectors/M365Defender-VulnerabilityManagement/main.bicep @@ -327,7 +327,7 @@ resource deploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' = { properties: { azPowerShellVersion: '10.0' retentionInterval: 'PT1H' - timeout: 'PT5M' + timeout: 'PT15M' cleanupPreference: 'Always' primaryScriptUri: DeploymentScriptUri arguments: '-PackageUri ${FunctionAppPackageUri} -SubscriptionId ${split(subscription().id, '/')[2]} -ResourceGroupName ${resourceGroup().name} -FunctionAppName ${functionApp.name} -FAScope ${functionApp.id} -UAMIPrincipalId ${userAssignedMi.properties.principalId}' diff --git a/DataConnectors/M365Defender-VulnerabilityManagement/mainNetworkRestricted.bicep b/DataConnectors/M365Defender-VulnerabilityManagement/mainNetworkRestricted.bicep index f5c6995994a..6f067d69e7a 100644 --- a/DataConnectors/M365Defender-VulnerabilityManagement/mainNetworkRestricted.bicep +++ b/DataConnectors/M365Defender-VulnerabilityManagement/mainNetworkRestricted.bicep @@ -565,7 +565,7 @@ resource deploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-01' = { properties: { azPowerShellVersion: '10.0' retentionInterval: 'PT1H' - timeout: 'PT5M' + timeout: 'PT15M' cleanupPreference: 'Always' primaryScriptUri: DeploymentScriptUri arguments: '-PackageUri ${FunctionAppPackageUri} -SubscriptionId ${split(subscription().id, '/')[2]} -ResourceGroupName ${resourceGroup().name} -FunctionAppName ${functionApp.name} -FAScope ${functionApp.id} -VnetScope ${virtualNetwork.id} -UAMIPrincipalId ${userAssignedMi.properties.principalId} -RestrictedIPs ${TrustedIPAddressRanges}'