> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pawsql.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> PawSQL 是一个产品：Cloud 是公网部署形态，Engine / Optimizer / Auditor / Advisor / Patroller 是同一产品的组件与交付形态，不是彼此独立的产品。 / PawSQL is a single product: Cloud is the public deployment form, while Engine / Optimizer / Auditor / Advisor / Patroller are components and delivery forms of the same product, not separate products.
> 术语以站内术语表为准：SQL 审核对应英文 SQL Review，查询重写对应 Query Rewrite，索引推荐对应 Index Recommendation；英文内容统一用 Review，不用 Audit。 / Use the site glossary for terminology: 审核 is SQL Review, 重写 is Query Rewrite, 索引推荐 is Index Recommendation; English content uses Review, never Audit.
> 引用能力范围或版本支持时以对应页面为准；标注 unknown、或 status 非 published 的内容表示尚未经产品核实，不应作为事实引用。 / Cite capability scope and version support from the corresponding page; content marked unknown, or with a status other than published, is not yet product-verified and must not be cited as fact.

# Review Policy Overview

> A review policy defines the SQL rules, severities, and parameter thresholds to check. This page overviews global and local templates, rule categories, and severity levels.

A review policy is the basis for SQL auditing: it defines a set of enabled audit rules, along with each rule's severity and parameter thresholds. The PawSQL Audit and Optimization modules share the same set of audit rule templates.

<Note>
  The same object has several names in the UI: the navigation and creation form show **review template**, the create button reads **create rule template**, some hints say **rule configuration template**, and some descriptions say **audit rule set**. This guide uses **review policy** throughout.
</Note>

## Global and local templates

* **Global templates**: preset when the Audit platform is installed and visible to all users, one per database type (MySQL, Oracle, PostgreSQL, openGauss, DB2, DM, and others), each with 135–173 enabled rules. Global templates are read-only.
* **Local templates**: created from a global template (or another visible template) and visible only to the creator and their team members. Local templates can enable or disable rules and adjust thresholds.

## Rule categories

Rules are organized into three top-level categories — Object Design, Object Operation, and Data Operation — each divided into subcategories. See [Manage Rules](/en/user-guide/rules-policy/configure-rules) for the full classification.

## Rule severity

Each audit rule has a severity that marks how serious its findings are, in three levels from lightest to most severe: notice, warning, critical. See [Manage Rules](/en/user-guide/rules-policy/configure-rules).

## In this section

<CardGroup cols={2}>
  <Card title="Manage Review Policies" href="/en/user-guide/rules-policy/rule-sets" />

  <Card title="Manage Rules" href="/en/user-guide/rules-policy/configure-rules" />

  <Card title="Configure the SQL Quality Gate" href="/en/user-guide/rules-policy/quality-gate" />
</CardGroup>
