π‘οΈ Azure MySQL Flexible Server require_secure_transport Parameter is not set to ONπ’
- Contextual name: π‘οΈ Flexible Server require_secure_transport Parameter is not set to ONπ’
- ID:
/ce/ca/azure/mysql-database/flexible-server-require-secure-transport-parameter - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- Cloud Conformity: Enable In-Transit Encryption for MySQL Servers
- Internal:
dec-x-14f5fc25
Similar Internal Rulesβ
| Rule | Policies | Flags |
|---|---|---|
| βοΈ dec-x-14f5fc25 | 1 |
Descriptionβ
Descriptionβ
Enable
require_secure_transportonMySQL flexible servers.Rationaleβ
SSL connectivity helps to provide a new layer of security by connecting database server to client applications using Secure Sockets Layer (SSL). Enforcing SSL connections between database server and client applications helps protect against "man in the middle" attacks by encrypting the data stream between the server and application.
Auditβ
From Azure Portalβ
- Login to Azure Portal using https://portal.azure.com.
- Go to
Azure Database for MySQL flexible servers.- For each database, under
Settings, clickServer parameters.- In the filter bar, type
require_secure_transport.- Ensure that the
VALUEforrequire_secure_transportisON.From Azure CLIβ
Ensure the below command returns a
valueofon:az mysql flexible-server parameter show --resource-group <resourceGroup> --server-name <serverName> --name require_secure_transportFrom PowerShellβ
Ensure the below command returns a
valueofon:... see more
Remediationβ
Remediationβ
From Azure Portalβ
- Login to Azure Portal using https://portal.azure.com.
- Go to
Azure Database for MySQL flexible servers.- For each database, under
Settings, clickServer parameters.- In the filter bar, type
require_secure_transport.- Set the
VALUEforrequire_secure_transporttoON.- Click
Save.From Azure CLIβ
Use the below command to enable
require_secure_transport:az mysql flexible-server parameter set --resource-group <resourceGroup> --server-name <serverName> --name require_secure_transport --value onFrom PowerShellβ
Use the below command to enable
require_secure_transport:Update-AzMySqlFlexibleServerConfiguration -ResourceGroupName <resourceGroup> -ServerName <serverName> -Name require_secure_transport -Value on