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 applicationsUnauthenticated users will be able to access the data stored in the cache.
Set authnotrequired
to Disabled
in redisConfiguration
or remove the attribute entirely.
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"type": "Microsoft.Cache/redis",
"apiVersion": "2022-06-01",
"name": "allowed1",
"location": "[resourceGroup().location]",
"properties": {
"enableNonSslPort": false,
"minimumTlsVersion": "1.2",
"redisConfiguration": {
"maxfragmentationmemory-reserved": "10",
"maxmemory-reserved": "10",
"maxclients": "10000"
},
"sku": {
"capacity": 1,
"family": "C",
"name": "Standard"
},
"tenantSettings": {}
}
}
]
}
Set redis_configuration.enable_authentication
attribute to true
.
resource "azurerm_redis_cache" "allowed" {
name = "example-cache571v"
location = azurerm_resource_group.example571v.location
resource_group_name = azurerm_resource_group.example571v.name
capacity = 2
family = "C"
sku_name = "Standard"
enable_non_ssl_port = false
minimum_tls_version = "1.2"
redis_configuration {
enable_authentication = true
}
}