Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
data "azurerm_resource_group" "terraformstorage" {
name = "DevOpsSecurity"
}

resource "azurerm_storage_account" "terraformaccount1" {
name = "devopssecurity1"
resource_group_name = data.azurerm_resource_group.terraformstorage.name
location = "Central US"
account_tier = "Standard"
account_replication_type = "GRS"

enable_https_traffic_only = false
public_network_access_enabled = true

}
Comment on lines +5 to +15

Check notice

Code scanning / checkov

Ensure that Storage accounts disallow public access

Ensure that Storage accounts disallow public access
Comment on lines +5 to +15

Check failure

Code scanning / checkov

Ensure Storage logging is enabled for Queue service for read, write and delete requests

Ensure Storage logging is enabled for Queue service for read, write and delete requests
Comment on lines +5 to +15

Check failure

Code scanning / checkov

Ensure Storage Account is using the latest version of TLS encryption

Ensure Storage Account is using the latest version of TLS encryption
Comment on lines +5 to +15

Check failure

Code scanning / checkov

Ensure that 'enable_https_traffic_only' is enabled

Ensure that 'enable_https_traffic_only' is enabled
Comment on lines +5 to +15

Check failure

Code scanning / checkov

Ensure that Storage blobs restrict public access

Ensure that Storage blobs restrict public access
Comment on lines +5 to +15

Check failure

Code scanning / checkov

Ensure storage account is not configured with Shared Key authorization

Ensure storage account is not configured with Shared Key authorization
Comment on lines +5 to +15

Check failure

Code scanning / checkov

Ensure storage account is configured without blob anonymous access

Ensure storage account is configured without blob anonymous access
Comment on lines +5 to +15

Check failure

Code scanning / checkov

Ensure storage account is configured with private endpoint

Ensure storage account is configured with private endpoint
Comment on lines +5 to +15

Check failure

Code scanning / checkov

Ensure storage account is configured with SAS expiration policy

Ensure storage account is configured with SAS expiration policy
Comment on lines +5 to +15

Check failure

Code scanning / checkov

Ensure soft-delete is enabled on Azure storage account

Ensure soft-delete is enabled on Azure storage account
Comment on lines +5 to +15

Check failure

Code scanning / checkov

Ensure storage for critical data are encrypted with Customer Managed Key

Ensure storage for critical data are encrypted with Customer Managed Key