Ensure HTTPS is enabled on Azure Storage Account

Explanation

Requiring HTTPS in Storage Account helps to minimize the risk of eavesdropping.

Possible Impact

HTTP access to storage account could be read if intercepted

Suggested Resolution

Only use HTTPS for storage account

Insecure Example

The following example will fail the azure-storage-ensure-https check.

resource "azurerm_storage_account" "bad_example" {
	enable_https_traffic_only = false
}

Secure Example

The following example will pass the azure-storage-ensure-https check.

resource "azurerm_storage_account" "good_example" {
	enable_https_traffic_only = true
}

Getting Started
Provider Checks
Config
GitHub Actions