Description
Set enableHttpsTrafficOnly to true on the Pulumi Azure Native storage account to reject HTTP REST requests.
Potential impact
Clients still using HTTP may stop working. Data and credentials sent over HTTP can be exposed or altered in transit.
Remediation
Switch apps, scripts and external integrations to HTTPS before applying the setting. Verify a successful HTTPS request from the clients that use the account. Review network rules, the minimum TLS version, encryption at rest and access permissions separately.
Examples
The excerpts show only the transfer setting on sto4445. Supply the resource group, location, SKU and other required account settings.
Before
yaml
resources:
storageAccount:
type: azure-native:storage:StorageAccount
properties:
accountName: sto4445
enableHttpsTrafficOnly: false
After
yaml
resources:
storageAccount:
type: azure-native:storage:StorageAccount
properties:
accountName: sto4445
enableHttpsTrafficOnly: true