-
Notifications
You must be signed in to change notification settings - Fork 531
Open
Labels
Class: Resource Module 📦This is a resource moduleThis is a resource moduleNeeds: Immediate Attention ‼️Immediate attention of module owner / AVM team is neededImmediate attention of module owner / AVM team is neededNeeds: Triage 🔍Maintainers need to triage stillMaintainers need to triage stillStatus: Response Overdue 🚩When an issue/PR has not been responded to for X amount of daysWhen an issue/PR has not been responded to for X amount of daysType: AVM 🅰️ ✌️ Ⓜ️This is an AVM related issueThis is an AVM related issueType: Security Bug 🔒This is a security bugThis is a security bug
Description
Check for previous/existing GitHub issues
- I have checked for previous/existing GitHub issues
Issue Type?
Security Bug
Module Name
avm/res/web/site
(Optional) Module Version
No response
Description
// avm/res/web/site/config/main.bicep
var azureWebJobsValues
? {
AzureWebJobsStorage: 'DefaultEndpointsProtocol=https;AccountName=${storageAccount.name};AccountKey=${storageAccount!.listKeys().keys[0].value};EndpointSuffix=${environment().suffixes.storage}'
}The Storage Account Key is submitted to ARM in clear text and triggers the Defender for Cloud recommendation: Azure Resource Manager deployments should have secrets findings resolved.
Are there any plans to pass this securely, without me having to make modifications to this file and parent files?
(Optional) Correlation Id
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Class: Resource Module 📦This is a resource moduleThis is a resource moduleNeeds: Immediate Attention ‼️Immediate attention of module owner / AVM team is neededImmediate attention of module owner / AVM team is neededNeeds: Triage 🔍Maintainers need to triage stillMaintainers need to triage stillStatus: Response Overdue 🚩When an issue/PR has not been responded to for X amount of daysWhen an issue/PR has not been responded to for X amount of daysType: AVM 🅰️ ✌️ Ⓜ️This is an AVM related issueThis is an AVM related issueType: Security Bug 🔒This is a security bugThis is a security bug
Type
Projects
Status
In Development