Cloud SQL for SQL Server instances must have Contained Database Authentication disabled. Contained database users authenticate at the database level, bypassing server-level authentication and centralized IAM controls. This increases the risk of unauthorized access and unmanaged credentials.
For Ansible google.cloud.gcp_sql_instance or gcp_sql_instance resources, ensure settings.database_flags includes an entry with name: "contained database authentication" and value: "off". Resources that omit this flag or set it to any value other than "off" are flagged. The check evaluates the settings.database_flags entries.