Ensure that audit logging is enabled for Microsoft Azure MySQL flexible servers in order to help you identify, troubleshoot, and repair configuration errors and optimize database performance.
excellence
optimisation
Audit logging allows your Azure MySQL flexible servers to record database activity, including connection attempts, queries, and administrative changes. The resulting audit trail helps detect unauthorized access, troubleshoot issues, and meet regulatory requirements. To enable audit logging at the server level, turn on the "audit_log_enabled" parameter in your Azure MySQL flexible server configuration.
Audit
To determine if audit logs are enabled for your Azure MySQL flexible database servers, perform the following operations:
Remediation / Resolution
To enable audit logs for your Azure MySQL flexible database servers, perform the following operations:
References
- Azure Official Documentation
- Track database activity with Audit Logs
- Tutorial: Configure audit logs by using Azure Database for MySQL - Flexible Server
- Security Control: Logging and threat detection
- Azure Command Line Interface (CLI) Documentation
- az mysql flexible-server list
- az mysql flexible-server parameter show
- az mysql flexible-server parameter set