Tutorial: Codify SQL Review Policies with Bytebase API

Prerequisites
- Workspace Admin/DBA role to configure the Review Policy.
Access SQL Review Policy
You can access SQL Review Policy from following places:- SQL Review under Security & Policy sidebar
- Environment setting
- Project setting
Start by Choosing a Template
You can choose a predefined template or create a new policy from scratch.

Add or Remove SQL Review Rules
You can add or remove SQL Review rules per database engine to this policy.
Change Rule Level
You can choose one ofError, Warning and Disabled.
Both Warning and Error will block the automatic rollout if configured.
Attach to Resources
Project level policy has higher priority than Environment one.


