Review Policy

Bytebase defines SQL Review Policy for each environment. The SQL Review Policy is a set of SQL lint rules. Once configured, Bytebase will check SQL against those rules.

Prerequisites

  • Workspace Admin or Workspace DBA role to configure the Review Policy.

Create SQL Review Policy

Note that only ONE policy can be attached per Environment.

sql-review-policy

You can access SQL Review Policy from following places:

  • SQL Review under Security & Policy sidebar.
  • Environment setting.

Change rule level

You can choose one of Error, Warning and Disabled.

Both Warning and Error will block the automatic rollout if configured.

Disable and delete SQL Review Policy

You can disable the SQL Review Policy to prevent it from taking effect.

After disabling it, you can delete it.

Edit this page on GitHub

Subscribe to Newsletter

By subscribing, you agree with Bytebase's Terms of Service and Privacy Policy.