From ef4696929063b7cbcb4c3761e7a35180b7ce1636 Mon Sep 17 00:00:00 2001 From: Arthur Morrow Date: Fri, 8 Nov 2024 14:54:40 -0500 Subject: [PATCH] corrected one of the middleware IPs and reorderd them removed 0.0.0.0 for security Jira ticket: CAMS-451 --- .../lib/cosmos/mongo/cosmos-account.bicep | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/ops/cloud-deployment/lib/cosmos/mongo/cosmos-account.bicep b/ops/cloud-deployment/lib/cosmos/mongo/cosmos-account.bicep index f60a93c4d..004000ad7 100644 --- a/ops/cloud-deployment/lib/cosmos/mongo/cosmos-account.bicep +++ b/ops/cloud-deployment/lib/cosmos/mongo/cosmos-account.bicep @@ -89,19 +89,16 @@ var azureIpArray = [for item in allowedIps:{ // Enable Azure Portal access var azureIpRules = concat(azureIpArray,[ { - ipAddressOrRange: '0.0.0.0' - } - { - ipAddressOrRange: '52.247.148.42' + ipAddressOrRange: '52.244.134.181' } { - ipAddressOrRange: '52.247.163.6' + ipAddressOrRange: '52.244.176.112' } { - ipAddressOrRange: '52.244.134.181' + ipAddressOrRange: '52.247.148.42' } { - ipAddressOrRange: '52.247.176.112' + ipAddressOrRange: '52.247.163.6' } ])