CCSS (Common Configuration Scoring System) is a set of measures used to determine the severity of the rule.
Each rule is associated with a high-level category. For example IAM, Container, Monitoring, Logging, Network, etc.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsPotentially anyone can access the storage account over the network.
Set properties.networkAcls.defaultAction
attribute to Deny
.
Set network_rules.default_action
attribute to Deny
for azurerm_storage_account
, or set default_action
to Deny
for azurerm_storage_account_network_rules
.
resource "azurerm_storage_account" "allow_2" {
name = "storageaccount599"
resource_group_name = azurerm_resource_group.example599.name
location = azurerm_resource_group.example599.location
account_tier = "Standard"
account_replication_type = "GRS"
network_rules {
default_action = "Deny"
}
}
resource "azurerm_storage_account_network_rules" "example_nr" {
storage_account_id = azurerm_storage_account.example_nr1.id
default_action = "Deny"
ip_rules = ["127.0.0.1"]
# virtual_network_subnet_ids = [azurerm_subnet.example.id]
bypass = ["Metrics"]
}