Ensure only SSL are enabled for cache for Redis

Error: Not only SSL are enabled for cache for Redis

Bridgecrew Policy ID: BC_AZR_NETWORKING_24
Checkov Check ID: CKV_AZURE_91
Severity: LOW

Not only SSL are enabled for cache for Redis

Description

SSL helps protect your data from unauthorized access or tampering by encrypting the data as it is transmitted between the Redis instance and the client. By enabling SSL, you can help ensure that only authorized users with the correct keys can access and decrypt the data, and that the data is protected while in transit.

Fix - Buildtime

Terraform

  • Resource: azurerm_redis_cache
  • Argument: enable_non_ssl_port
resource "azurerm_redis_cache" "example" {
                      ...
 +                    enable_non_ssl_port = false
                      ...
                    }