Skip to content

Commit ee38014

Browse files
authored
{ContainerApp} Fix Cred Scan failure: Replace shared keys in container app test recordings (#31556)
1 parent 38b40df commit ee38014

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/recordings/test_container_app_mount_azurefile_e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ interactions:
16191619
body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey":
16201620
null, "vnetConfiguration": null, "appLogsConfiguration": {"destination": "log-analytics",
16211621
"logAnalyticsConfiguration": {"customerId": "a32e97eb-f2ba-4a43-a567-cda169fc8b81",
1622-
"sharedKey": "iwPYd3mvdKlNKYFlr6gw5v/zB2I0VWu3FN54YkjqCMIpA+GMjSdh1lQTMA6bEKkOMjsQ8jhTEk5Gb47i/aehdQ=="}},
1622+
"sharedKey": "testFakeSharedKey=="}},
16231623
"customDomainConfiguration": null, "workloadProfiles": [{"workloadProfileType":
16241624
"Consumption", "Name": "Consumption"}], "zoneRedundant": false}}'
16251625
headers:

src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/recordings/test_containerapp_create_with_environment_id.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ interactions:
13511351
body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey":
13521352
null, "vnetConfiguration": null, "appLogsConfiguration": {"destination": "log-analytics",
13531353
"logAnalyticsConfiguration": {"customerId": "9cd877b2-e078-4660-8de2-713547c7ef39",
1354-
"sharedKey": "W6UAMXWrlGiAfMArhap4zmZyLKFKLAt+bE2kSpZQ8omxA0AGjkseU0ZxX070D59P9STvB4h+LGFm0vzAbPBdKw=="}},
1354+
"sharedKey": "testFakeSharedKey=="}},
13551355
"customDomainConfiguration": null, "workloadProfiles": [{"workloadProfileType":
13561356
"Consumption", "Name": "Consumption"}], "zoneRedundant": false}}'
13571357
headers:
@@ -5318,7 +5318,7 @@ interactions:
53185318
body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey":
53195319
null, "vnetConfiguration": null, "appLogsConfiguration": {"destination": "log-analytics",
53205320
"logAnalyticsConfiguration": {"customerId": "9cd877b2-e078-4660-8de2-713547c7ef39",
5321-
"sharedKey": "W6UAMXWrlGiAfMArhap4zmZyLKFKLAt+bE2kSpZQ8omxA0AGjkseU0ZxX070D59P9STvB4h+LGFm0vzAbPBdKw=="}},
5321+
"sharedKey": "testFakeSharedKey=="}},
53225322
"customDomainConfiguration": null, "workloadProfiles": [{"workloadProfileType":
53235323
"Consumption", "Name": "Consumption"}], "zoneRedundant": false}}'
53245324
headers:

src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/recordings/test_containerapp_env_e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ interactions:
13511351
body: '{"location": "eastus", "tags": {"foo": "bar", "key1": "val1"}, "properties":
13521352
{"daprAIInstrumentationKey": null, "vnetConfiguration": null, "appLogsConfiguration":
13531353
{"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId":
1354-
"2d765c2c-2516-4306-9f8e-18857e541c26", "sharedKey": "UPDos6Pr/YVlowD6RRATjCZRyVLRBjg3NLb6rola8w51MGDVX4BGaVdVFMV5zFBUTYBb0xBpQBvwPNrWWZRD3A=="}},
1354+
"2d765c2c-2516-4306-9f8e-18857e541c26", "sharedKey": "testFakeSharedKey=="}},
13551355
"customDomainConfiguration": null, "workloadProfiles": [{"workloadProfileType":
13561356
"Consumption", "Name": "Consumption"}], "zoneRedundant": false}}'
13571357
headers:

src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/recordings/test_containerapp_env_mtls.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ interactions:
13511351
body: '{"location": "eastus", "tags": null, "properties": {"daprAIInstrumentationKey":
13521352
null, "vnetConfiguration": null, "appLogsConfiguration": {"destination": "log-analytics",
13531353
"logAnalyticsConfiguration": {"customerId": "7b1c9363-d0b6-4d01-818d-3dfd96edab0a",
1354-
"sharedKey": "zVSNPmgdUlipcYNDdsTd7TZzMrvQTQyBuTclMnZ4YOXY9dx3hzOcYdxyYAbm31xNn0xguMPNWSsLCEbeXuWKsA=="}},
1354+
"sharedKey": "testFakeSharedKey=="}},
13551355
"customDomainConfiguration": null, "workloadProfiles": [{"workloadProfileType":
13561356
"Consumption", "Name": "Consumption"}], "zoneRedundant": false, "peerAuthentication":
13571357
{"mtls": {"enabled": true}}}}'

0 commit comments

Comments
 (0)