Skip to content

Commit d6031ae

Browse files
croissanneachilleas-k
authored andcommitted
upload/azure: turn off public access on storage accounts
Users might have compliance policies on their azure accounts which forbid public access on storage accounts.
1 parent 7589829 commit d6031ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/upload/azure/azure.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ func (ac Client) CreateStorageAccount(ctx context.Context, resourceGroup, name,
111111
tag.Name: &tag.Value,
112112
},
113113
Properties: &armstorage.AccountPropertiesCreateParameters{
114-
MinimumTLSVersion: common.ToPtr(armstorage.MinimumTLSVersionTLS12),
114+
AllowBlobPublicAccess: common.ToPtr(false),
115+
MinimumTLSVersion: common.ToPtr(armstorage.MinimumTLSVersionTLS12),
115116
},
116117
}, nil)
117118
if err != nil {

0 commit comments

Comments
 (0)