Skip to content

Commit

Permalink
Disable public access to storage account (#804)
Browse files Browse the repository at this point in the history
* Disable public access to storage account

* Change default
  • Loading branch information
cecheta authored May 3, 2024
1 parent 31c257b commit 8b575de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion infra/core/storage/storage-account.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ param tags object = {}
'Hot'
'Premium' ])
param accessTier string = 'Hot'
param allowBlobPublicAccess bool = true
param allowBlobPublicAccess bool = false
param allowCrossTenantReplication bool = true
param allowSharedKeyAccess bool = true
param containers array = []
Expand Down
6 changes: 3 additions & 3 deletions infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.26.170.59819",
"templateHash": "15825354539587977995"
"templateHash": "7867283002505805735"
}
},
"parameters": {
Expand Down Expand Up @@ -10229,7 +10229,7 @@
"_generator": {
"name": "bicep",
"version": "0.26.170.59819",
"templateHash": "246951497570111474"
"templateHash": "6920700803708650043"
},
"description": "Creates an Azure storage account."
},
Expand All @@ -10256,7 +10256,7 @@
},
"allowBlobPublicAccess": {
"type": "bool",
"defaultValue": true
"defaultValue": false
},
"allowCrossTenantReplication": {
"type": "bool",
Expand Down

0 comments on commit 8b575de

Please sign in to comment.