Control: Ensure that the 'local_infile' database flag for a Cloud SQL Mysql instance is set to 'off'
Description
It is recommended to set the local_infile database flag for a Cloud SQL MySQL instance to off.
Usage
Run the control in your terminal:
powerpipe control run gcp_compliance.control.sql_instance_mysql_local_infile_database_flag_off
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run gcp_compliance.control.sql_instance_mysql_local_infile_database_flag_off --share
SQL
This control uses a named query:
sql_instance_mysql_local_infile_database_flag_off