Skip to content

Commit c2ad1a1

Browse files
mattsp1290claude
andauthored
fix(azure): Add security properties to ARM template for policy compliance (#1023)
Added required security properties to fix Azure policy violations: - Storage account: supportsHttpsTrafficOnly and allowBlobPublicAccess - Function app: httpsOnly property These changes ensure compliance with storage-secure-transfer, storage-no-anonymous, and functionapp-https policies. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent e95778d commit c2ad1a1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

azure/eventhub_log_forwarder/function_template.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@
7777
"name": "Standard_LRS"
7878
},
7979
"properties": {
80-
"minimumTlsVersion": "TLS1_2"
80+
"minimumTlsVersion": "TLS1_2",
81+
"supportsHttpsTrafficOnly": true,
82+
"allowBlobPublicAccess": false
8183
}
8284
},
8385
{
@@ -92,6 +94,7 @@
9294
"properties": {
9395
"name": "[parameters('functionAppName')]",
9496
"clientAffinityEnabled": false,
97+
"httpsOnly": true,
9598
"siteConfig": {
9699
"cors": {
97100
"allowedOrigins": [

0 commit comments

Comments
 (0)