Other Articles
- SQL Database – Enable Database Encryption
- SQL Server – Enable SQL Defender
- SQL Database – Monitor CPU Utilization
- SQL Database – Monitor IO Utilization
- SQL Database – Monitor Memory Utilization
- SQL Database – Protect From Direct Internet Traffic
- Storage Account – Enable Storage Encryption
- Storage Account – Disable Blob Public Access
- Storage Account – Disable Cross-Tenant Replication
- Storage Account – Disable Public Network Access
- Storage Account – Enable Microsoft Defender
- Storage Account – Enable Secure Transfer
- Storage Account – Enforce Minimum TLS Version
- Storage Account – Enforce Network Access Rule
- Storage Account – Enforce Private Endpoint Access
- User – Enable Azure MFA
- App Service – Disable Remote Debugging
- App Service – Enable Defender
- App Service – Enable Entra ID Registration
- App Service – Enable HTTP2
- App Service – Enforce Latest TLS Version
- App Service – Enforce Secure FTPS State
- App Service – Monitor Server Errors
- App Service – Redirect HTTP to HTTPS
- Cosmos DB – Enable Backup
- Cosmos DB – Enable Microsoft Defender
- Cosmos DB – Monitor Latency
- Cosmos DB – Ensure Private Connectivity
- Cosmos DB for PostgreSQL – Monitor CPU Utilization
- Cosmos DB for PostgreSQL – Monitor IO Utilization
- Cosmos DB for PostgreSQL – Monitor Memory Utilization
- Cosmos DB for PostgreSQL – Protect From Direct Internet Traffic
- Cosmos DB – Protect From Direct Internet Traffic
- Cosmos DB – Restrict Firewall Network Access
- Virtual Machine – Enable Defender
- Virtual Machine – Protect From Direct Internet Traffic
- Key Vault – Enable Defender
- Key Vault – Ensure Vault Recoverable
- Key Vault – Require Private Endpoint Access
- MySQL Flexible Server – Enable Audit Log Events Connection
- MySQL Flexible Server – Enable Audit Logs
- PostgreSQL Flexible Server – Configure Log File Retention
- PostgreSQL Flexible Server – Enable Connection Logging
- PostgreSQL Flexible Server – Enable Connection Throttling
- PostgreSQL Flexible Server – Enable Disconnection Logging
- PostgreSQL Flexible Server – Enable Log Checkpoints
- Network Security Group – Ensure Flow Logs Captured
- General – Enable Auto Provisioning Log Analytics
- General – Enable Security Notifications
- General – Set Additional Email Address
MySQL Flexible Server – Enforce Minimum TLS Version
This check ensures that the minimum TLS (Transport Layer Security) version is set to 1.2 for Azure Database for MySQL Flexible Servers. Enforcing TLS 1.2 strengthens encryption standards and protects data in transit from interception and downgrade attacks.
Check Details
- Resource: Azure Database for MySQL Flexible Server
- Check: Ensure Minimum TLS Version Is Set to 1.2
- Risk: Allowing older TLS versions (such as 1.0 or 1.1) exposes database connections to known cryptographic vulnerabilities and downgrade attacks, potentially leading to data interception and non-compliance with security standards.
Remediation via Azure Portal
-
Log in to the Azure Portal.
-
Navigate to Azure Database for MySQL Flexible Servers and select the affected server.
-
In the left-hand menu, select Server parameters under Settings.
- Search for the parameter tls_version.
-
Ensure the value is set to TLS 1.2.
- Click Save to apply the configuration.
Remediation via Azure CLI
-
Open Azure Cloud Shell or a local terminal with Azure CLI installed.
-
Check the current TLS version setting:
az mysql flexible-server parameter show \ --resource-group <resource-group> \ --server-name <mysql-server-name> \ --name tls_version
-
Set the minimum TLS version to 1.2:
az mysql flexible-server parameter set \ --resource-group <resource-group> \ --server-name <mysql-server-name> \ --name tls_version \ --value TLSv1.2
-
Verify the updated configuration:
az mysql flexible-server parameter show \ --resource-group <resource-group> \ --server-name <mysql-server-name> \ --name tls_version \ --query value
Replace <resource-group> and
<mysql-server-name> with your actual values.
The output should confirm that the TLS version is set to
TLSv1.2.