Skip to content

Commit

Permalink
Merge pull request #9345 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…9322-to-release-4.18

[release-4.18] OCPBUGS-48118: Always set AllowCrossTenantReplication parameter to false
  • Loading branch information
openshift-merge-bot[bot] authored Jan 9, 2025
2 parents 0f9827f + bbcc382 commit 5f33e04
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pkg/infrastructure/azure/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,13 @@ func CreateStorageAccount(ctx context.Context, in *CreateStorageAccountInput) (*
Location: to.Ptr(in.Region),
SKU: &sku,
Properties: &armstorage.AccountPropertiesCreateParameters{
AllowBlobPublicAccess: to.Ptr(false),
AllowSharedKeyAccess: to.Ptr(allowSharedKeyAccess),
IsLocalUserEnabled: to.Ptr(true),
LargeFileSharesState: to.Ptr(armstorage.LargeFileSharesStateEnabled),
PublicNetworkAccess: to.Ptr(armstorage.PublicNetworkAccessEnabled),
MinimumTLSVersion: &minimumTLSVersion,
AllowBlobPublicAccess: to.Ptr(false),
AllowSharedKeyAccess: to.Ptr(allowSharedKeyAccess),
IsLocalUserEnabled: to.Ptr(true),
LargeFileSharesState: to.Ptr(armstorage.LargeFileSharesStateEnabled),
PublicNetworkAccess: to.Ptr(armstorage.PublicNetworkAccessEnabled),
MinimumTLSVersion: &minimumTLSVersion,
AllowCrossTenantReplication: to.Ptr(false), // must remain false to comply with BAFIN and PCI-DSS regulations
},
Tags: in.Tags,
}
Expand Down

0 comments on commit 5f33e04

Please sign in to comment.