Control: Ensure server parameter 'audit_log_events' has 'CONNECTION' set for MySQL flexible Server
Description
Set audit_log_enabled to include CONNECTION on MySQL flexible servers.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.mysql_flexible_server_audit_logging_events_connection_set
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.mysql_flexible_server_audit_logging_events_connection_set --share
SQL
This control uses a named query:
mysql_flexible_server_audit_logging_events_connection_set