Skip to content

Commit

Permalink
upload/azure: turn off public access on storage accounts
Browse files Browse the repository at this point in the history
Users might have compliance policies on their azure accounts which
forbid public access on storage accounts.
  • Loading branch information
croissanne committed Sep 6, 2024
1 parent 7589829 commit 77e045e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/upload/azure/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ func (ac Client) CreateStorageAccount(ctx context.Context, resourceGroup, name,
tag.Name: &tag.Value,
},
Properties: &armstorage.AccountPropertiesCreateParameters{
MinimumTLSVersion: common.ToPtr(armstorage.MinimumTLSVersionTLS12),
AllowBlobPublicAccess: common.ToPtr(false),
MinimumTLSVersion: common.ToPtr(armstorage.MinimumTLSVersionTLS12),
},
}, nil)
if err != nil {
Expand Down

0 comments on commit 77e045e

Please sign in to comment.