You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modify azure_rm_storageaccount.py to include the public_network_access option.
ADDITIONAL INFORMATION
This would allow the option to be set that enables or disables public access of the storage account. When securing access to storage accounts and setting Azure Policy to block public storage access, this option allows for the creation of a storage account that passes the CIS 1.3 public access for storage restriction.
SUMMARY
The Azure Storage Account module does not allow the option for "public_network_access" and will fail a CIS 1.3 Azure Policy assignment.
ISSUE TYPE
Missing value for storage account as identified in the Azure Python SDK for "public_network_access".
https://docs.microsoft.com/en-us/python/api/azure-mgmt-storage/azure.mgmt.storage.v2021_08_01.models.storageaccountcreateparameters?view=azure-python
COMPONENT NAME
modify azure_rm_storageaccount.py to include the public_network_access option.
ADDITIONAL INFORMATION
This would allow the option to be set that enables or disables public access of the storage account. When securing access to storage accounts and setting Azure Policy to block public storage access, this option allows for the creation of a storage account that passes the CIS 1.3 public access for storage restriction.
Add "public_network_access" to the account_dict
Add desired state check for value.
Workaround
By using the Azure CLI with the "--public-network-access" switch, the creation passes CIS 1.3 control.
The text was updated successfully, but these errors were encountered: