From d42f591271055275623faba20bf24c172c38ec0d Mon Sep 17 00:00:00 2001 From: Cv-securityIQ <135146895+Cv-securityIQ@users.noreply.github.com> Date: Wed, 4 Dec 2024 13:28:08 +0530 Subject: [PATCH] Use variables instead of parameters --- .../azuredeploy_CommvaultSecurityIQ_FunctionApp.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Solutions/Commvault Security IQ/Data Connectors/azuredeploy_CommvaultSecurityIQ_FunctionApp.json b/Solutions/Commvault Security IQ/Data Connectors/azuredeploy_CommvaultSecurityIQ_FunctionApp.json index 3de0d477dea..5dec0a6f57a 100644 --- a/Solutions/Commvault Security IQ/Data Connectors/azuredeploy_CommvaultSecurityIQ_FunctionApp.json +++ b/Solutions/Commvault Security IQ/Data Connectors/azuredeploy_CommvaultSecurityIQ_FunctionApp.json @@ -160,7 +160,7 @@ "AzureSentinelWorkspaceId": "[parameters('AzureSentinelWorkspaceId')]", "AzureSentinelSharedKey": "[parameters('AzureSentinelSharedKey')]", "ConnectionString": "[parameters('ConnectionString')]", - "AzureWebJobsStorage": "[concat('DefaultEndpointsProtocol=https;AccountName=', toLower(parameters('FunctionName')),';AccountKey=',listKeys(resourceId('Microsoft.Storage/storageAccounts', toLower(parameters('FunctionName'))), '2019-06-01').keys[0].value, ';EndpointSuffix=',toLower(variables('StorageSuffix')))]", + "AzureWebJobsStorage": "[concat('DefaultEndpointsProtocol=https;AccountName=', toLower(variables('FunctionName')),';AccountKey=',listKeys(resourceId('Microsoft.Storage/storageAccounts', toLower(variables('FunctionName'))), '2019-06-01').keys[0].value, ';EndpointSuffix=',toLower(variables('StorageSuffix')))]", "KeyVaultName": "[parameters('KeyVaultName')]", "WEBSITE_RUN_FROM_PACKAGE": "https://aka.ms/sentinel-CommvaultSecurityIQ-functionapp" } @@ -204,4 +204,4 @@ } } ] -} \ No newline at end of file +}