More Info:

The user options option specifies global defaults for all users. A list of default query processing options is established for the duration of a user’s work session. The user options option allows you to change the default values of the SET options (if the server’s default settings are not appropriate). A user can override these defaults by using the SET statement. You can configure user options dynamically for new logins. After you change the setting of user options, new login sessions use the new setting; current login sessions are not affected. This recommendation is applicable to SQL Server database instances.

Risk Level

Low

Address

Reliability, Security

Compliance Standards

CISGCP, CBP

Triage and Remediation

Remediation

To remediate the SQL Server User Options Flag Should Not Be Configured misconfiguration for GCP using GCP console, please follow the steps below:

  1. Open the Google Cloud Console and navigate to the Cloud SQL Instances page.

  2. Select the instance that you want to remediate.

  3. Click on the “Edit” button at the top of the page.

  4. Scroll down to the “Flags” section and click on the “Add item” button.

  5. In the “Flag name” field, enter “user_options” (without quotes).

  6. In the “Flag value” field, enter “0” (without quotes).

  7. Click on the “Save” button at the bottom of the page.

  8. Wait for the changes to be applied to the instance.

  9. Verify that the SQL Server User Options Flag is no longer configured by checking the compliance status of the instance.

By following the above steps, you can remediate the SQL Server User Options Flag Should Not Be Configured misconfiguration for GCP using GCP console.

Additional Reading: