More Info:
Ensure that in-transit encryption is enabled for all Microsoft Azure Redis Cache servers.Risk Level
HighAddress
SecurityCompliance Standards
- APRA CPS 234 (Australia)
- BSI C5 (Germany)
- Brazil LGPD
- CCPA / CPRA (California)
- CIS Critical Security Controls v8
- CMMC 2.0
- CSA Cloud Controls Matrix v4
- DPDPA
- Digital Operational Resilience Act (EU)
- FedRAMP
- GDPR
- HIPAA
- ISO 27001
- ISO/IEC 27017
- ISO/IEC 27018
- ISO/IEC 27701
- KSA PDPL
- MAS Technology Risk Management (Singapore)
- MITRE ATT&CK (Cloud)
- NIS2 Directive
- NIST CSF
- NIST SP 800-171
- NYDFS 23 NYCRR 500
- PCI
- SOC2
- SWIFT Customer Security Controls Framework
- Sarbanes-Oxley IT General Controls
- Securities and Exchange Board of India (SEBI) - Cloud Security Adoption Framework
- UK NCSC Cyber Assessment Framework
Triage and Remediation
- Remediation
Remediation
Using Console
Using Console
Sure, here are the step-by-step instructions to remediate the misconfiguration of enabling in-transit encryption for Redis Cache Servers in Azure:
- Login to your Azure portal and navigate to the Redis Cache Server that needs to be remediated.
- Click on the “Configuration” tab from the left-hand side menu.
- Scroll down to the “Security” section and click on the “Edit” button.
- Under the “Transport Security Settings” section, select the “Enable SSL” option.
- Click on the “Save” button to save the changes.
- Once the changes are saved, the Redis Cache Server will be configured to use in-transit encryption using SSL.
- Verify the changes by connecting to the Redis Cache Server using a Redis client and checking if the connection is encrypted using SSL.
Using CLI
Using CLI
To enable In-Transit Encryption for Redis Cache Servers in AZURE using AZURE CLI, follow these steps:
- Open the Azure CLI on your local machine or Azure Cloud Shell.
-
Login to your Azure account using the command:
-
Select the subscription you want to work with using the command:
-
Check the current encryption status of your Redis Cache Server using the command:
If the output is “true”, it means that In-Transit Encryption is not enabled.
-
Enable In-Transit Encryption for Redis Cache Server using the command:
This will disable non-SSL port and enable In-Transit Encryption for Redis Cache Server.
-
Verify the encryption status again using the command:
The output should be “false”, indicating that In-Transit Encryption is now enabled for Redis Cache Server.
Using Python
Using Python
To enable in-transit encryption for Redis Cache servers in AZURE using Python, you can follow the below steps:Note: Replace
- Import the required libraries:
- Authenticate and create a Redis Cache Management Client:
- Get the Redis Cache instance:
- Update the Redis Cache instance to enable in-transit encryption:
subscription_id, resource_group_name, redis_cache_name, and your_redis_password with the actual values.This will enable in-transit encryption for the Redis Cache instance in AZURE.Using Terraform
Using Terraform
enable_non_ssl_port = false may force replacement of the Redis cache instance, causing a brief outage; plan and schedule accordingly.To verify, terraform plan should show the Redis resource being created or updated with enable_non_ssl_port = false (and optionally minimum_tls_version = "1.2") and no remaining diff for in‑transit encryption.
