Choose a matching review policy when creating a review ticket: match the database engine, environment, and workflow, then verify rules, severities, and thresholds.
When creating a review ticket, pick a matching policy from the “review policy” dropdown (the interface may label it “review template”). The right policy gives comparable work a consistent standard and keeps irrelevant database or environment checks out of the result set. The definition of a policy, default and custom templates, and rule and threshold management are covered in Rules and Quality Policy.
configurable limits such as length, count, duration, or affected rows;
documented exceptions or exclusions;
policy scope within the current organization or project.
Policies with the same display name can still differ by project, revision, or update date. For a formal review, verify the policy identity rather than relying on its name alone.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"PawSQL","description":"PawSQL 让数据库性能优化自动化且可验证:SQL 审核、语义级查询重写、基于代价的索引推荐。文档内容面向工程师与 coding agents,检索友好。","colors":{"primary":"#0D9373","light":"#26BD6C","dark":"#0D9373"},"favicon":"https://mintcdn.com/pawsql/cdtFYB4QMM1nGHhK/images/favicon.png?fit=max\u0026auto=format\u0026n=cdtFYB4QMM1nGHhK\u0026q=85\u0026s=4e659dcefa0164171c7042a2a69a1e3b","navbar":{"links":[],"primary":{"type":"button","label":"PawSQL Cloud","href":"https://www.pawsql.com"}},"seo":{"organization":{"id":"https://www.pawsql.com/#organization","name":"PawSQL","legalName":"北京图灵睿数科技有限公司","url":"https://www.pawsql.com","logo":"https://www.pawsql.com/logo.png","sameAs":["https://github.com/PawSQL","https://x.com/pawsql_service"]},"indexing":"navigable"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"interaction":{"drilldown":true},"markdown":{"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."]},"navigation":{"languages":[{"language":"zh","footer":{"socials":{"github":"https://github.com/PawSQL","website":"https://www.pawsql.com"},"links":[{"header":"产品","items":[{"label":"PawSQL Cloud","href":"https://www.pawsql.com"},{"label":"核心能力","href":"/features"},{"label":"使用场景","href":"/use-cases"}]},{"header":"文档","items":[{"label":"快速开始","href":"/getting-started"},{"label":"用户手册","href":"/user-guide"}]},{"header":"开源与社区","items":[{"label":"GitHub","href":"https://github.com/PawSQL"},{"label":"PawSQL MCP","href":"https://github.com/PawSQL/pawsql-mcp"}]}]},"href":"getting-started"},{"language":"en","footer":{"socials":{"github":"https://github.com/PawSQL","website":"https://www.pawsql.com"},"links":[{"header":"Product","items":[{"label":"PawSQL Cloud","href":"https://www.pawsql.com"},{"label":"Features","href":"/en/features"},{"label":"Use Cases","href":"/en/use-cases"}]},{"header":"Documentation","items":[{"label":"Quickstart","href":"/en/getting-started"},{"label":"User Guide","href":"/en/user-guide"}]},{"header":"Open Source \u0026 Community","items":[{"label":"GitHub","href":"https://github.com/PawSQL"},{"label":"PawSQL MCP","href":"https://github.com/PawSQL/pawsql-mcp"}]}]},"href":"en/getting-started"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pawsql","hasAudioNarration":false,"actualSubdomain":"pawsql","customDomains":["docs.pawsql.com"],"gitSource":{"type":"github","owner":"pawsql","repo":"pawsql-docs-mantlify","deployBranch":"publish","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6accb09d9ac0e9762613b8c5","collectionId":"eb10d5ad-de18-4ce3-a39b-e4cfa6b69e54","liveDeploymentHistoryId":"6accb09d9ac0e9762613b8c5","schemaVersion":"v3"},"feedback":{"thumbs":true,"issues":true,"edits":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6accb09d9ac0e9762613b8c5","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"zh","tag":"开始使用","count":51},{"language":"en","tag":"Getting Started","count":51},{"language":"zh","tag":"用户手册","count":48},{"language":"en","tag":"User Guide","count":48},{"language":"zh","tag":"API 参考文档","count":15},{"language":"en","tag":"API","count":15},{"language":"en","tag":"SQL Optimization","count":13},{"language":"zh","tag":"使用场景与核心能力","count":12},{"language":"zh","tag":"CI/CD 与平台集成","count":12},{"language":"en","tag":"Use Cases \u0026 Features","count":12},{"language":"en","tag":"CI/CD \u0026 Platform Integration","count":12},{"language":"zh","tag":"巡检与慢查询治理","count":9},{"language":"zh","tag":"优化服务接口","count":9},{"language":"en","tag":"Batch Optimization \u0026 Patrol","count":9},{"language":"zh","tag":"SQL 审核","count":8},{"language":"en","tag":"SQL Review","count":8},{"language":"zh","tag":"核心能力","count":7},{"language":"en","tag":"Features","count":7},{"language":"zh","tag":"CI/CD 集成接口","count":6},{"language":"en","tag":"CD/CD Integration","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/user-guide/sql-audit/select-audit-policy","slug":"/en/user-guide/sql-audit/select-audit-policy","pageMetadata":{"id":"en-user-guide-sql-audit-select-audit-policy","title":"Select a Review Policy","description":"Choose a matching review policy when creating a review ticket: match the database engine, environment, and workflow, then verify rules, severities, and thresholds.","type":"guide","subtype":"operation","layout":"detail","product":"pawsql","status":"published","language":"en","translationKey":"user-guide-sql-audit-select-audit-policy","sections":{"goal":"Goal","prerequisites":"Prerequisites","steps":"Selection order","expectedResult":"Expected Result","verification":"Inspect the policy before use"},"href":"/en/user-guide/sql-audit/select-audit-policy"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Choose a matching review policy when creating a review ticket: match the database engine, environment, and workflow, then verify rules, severities, and thresholds.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,ol:`ol`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`When creating a review ticket, pick a matching policy from the “review policy” dropdown (the interface may label it “review template”). The right policy gives comparable work a consistent standard and keeps irrelevant database or environment checks out of the result set. The definition of a policy, default and custom templates, and rule and threshold management are covered in `,_jsx(_components.a,{href:`/en/user-guide/rules-policy/`,children:`Rules and Quality Policy`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`goal`,children:`Goal`}),`\n`,_jsx(_components.p,{children:`Choose a review policy that matches the target database engine, environment, and workflow, so comparable SQL uses a consistent standard.`}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsx(_components.p,{children:`Know the target database engine, version, environment, and intended review purpose before selecting a policy.`}),`\n`,_jsx(Heading,{level:`2`,id:`selection-order`,children:`Selection order`}),`\n`,_jsx(_components.p,{children:`Evaluate candidate policies in this order:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Match the target database engine and version.`}),`\n`,_jsx(_components.li,{children:`Match the environment, such as development, test, or production.`}),`\n`,_jsx(_components.li,{children:`Match the workflow, such as developer feedback, release review, or remediation.`}),`\n`,_jsx(_components.li,{children:`Verify ownership, visibility, and the responsible maintainer.`}),`\n`,_jsx(_components.li,{children:`Review rule severities, parameters, and thresholds.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`inspect-the-policy-before-use`,children:`Inspect the policy before use`}),`\n`,_jsx(_components.p,{children:`Verify at least the following:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`supported database engines and versions;`}),`\n`,_jsx(_components.li,{children:`policy status and most recent update;`}),`\n`,_jsx(_components.li,{children:`enabled and disabled rules;`}),`\n`,_jsx(_components.li,{children:`severity assigned to each rule;`}),`\n`,_jsx(_components.li,{children:`configurable limits such as length, count, duration, or affected rows;`}),`\n`,_jsx(_components.li,{children:`documented exceptions or exclusions;`}),`\n`,_jsx(_components.li,{children:`policy scope within the current organization or project.`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Policies with the same display name can still differ by project, revision, or update date. For a formal review, verify the policy identity rather than relying on its name alone.`})}),`\n`,_jsx(Heading,{level:`2`,id:`if-a-policy-is-unavailable`,children:`If a policy is unavailable`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Symptom`}),_jsx(_components.th,{children:`What to check`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Policy list is empty`}),_jsx(_components.td,{children:`Database selection, project scope, permissions, and policy status`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Expected policy is hidden`}),_jsx(_components.td,{children:`Organization context and policy visibility`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rules differ from expectations`}),_jsx(_components.td,{children:`Policy revision, update date, and database version`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Policy cannot be edited`}),_jsx(_components.td,{children:`Project administrator or policy-owner permissions`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`expected-result`,children:`Expected Result`}),`\n`,_jsx(_components.p,{children:`The selected policy’s rules, severities, and thresholds match the target database and workflow, avoiding irrelevant checks in the result set.`}),`\n`,_jsx(Heading,{level:`2`,id:`related-resources`,children:`Related resources`}),`\n`,_jsxs(_components.p,{children:[`After understanding the policy, return to `,_jsx(_components.a,{href:`/en/user-guide/sql-audit/create-review-task`,children:`Create a Review Ticket`}),`. See `,_jsx(_components.a,{href:`/en/user-guide/rules-policy/`,children:`Rules and Quality Policy`}),` for creating and maintaining policies.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"id":"en-user-guide-sql-audit-select-audit-policy","title":"Select a Review Policy","description":"Choose a matching review policy when creating a review ticket: match the database engine, environment, and workflow, then verify rules, severities, and thresholds.","type":"guide","subtype":"operation","layout":"detail","product":"pawsql","status":"published","language":"en","translationKey":"user-guide-sql-audit-select-audit-policy","sections":{"goal":"Goal","prerequisites":"Prerequisites","steps":"Selection order","expectedResult":"Expected Result","verification":"Inspect the policy before use"},"href":"/en/user-guide/sql-audit/select-audit-policy"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Goal","slug":"goal","depth":2,"children":[]},{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Selection order","slug":"selection-order","depth":2,"children":[]},{"title":"Inspect the policy before use","slug":"inspect-the-policy-before-use","depth":2,"children":[]},{"title":"If a policy is unavailable","slug":"if-a-policy-is-unavailable","depth":2,"children":[]},{"title":"Expected Result","slug":"expected-result","depth":2,"children":[]},{"title":"Related resources","slug":"related-resources","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"pawsql","siteName":"PawSQL","title":"Select a Review Policy - PawSQL","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"zh":{"href":"/user-guide/sql-audit/select-audit-policy","matchLevel":1},"en":{"href":"/en/user-guide/sql-audit/select-audit-policy","matchLevel":0}}},"lastModified":"2026-09-18T00:19:58.708Z","originalFileLocation":"en/user-guide/sql-audit/select-audit-policy.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Choose a matching review policy when creating a review ticket: match the database engine, environment, and workflow, then verify rules, severities, and thresholds.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PawSQL\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pawsql/9yivK1GUkHFKPs6i/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/pawsql/9yivK1GUkHFKPs6i/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pawsql/9yivK1GUkHFKPs6i/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pawsql/9yivK1GUkHFKPs6i/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pawsql/9yivK1GUkHFKPs6i/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pawsql/9yivK1GUkHFKPs6i/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pawsql/9yivK1GUkHFKPs6i/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/pawsql/9yivK1GUkHFKPs6i/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/pawsql/9yivK1GUkHFKPs6i/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Select a Review Policy - PawSQL\">\u003cmeta data-mint-head property=\"og:description\" content=\"Choose a matching review policy when creating a review ticket: match the database engine, environment, and workflow, then verify rules, severities, and thresholds.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PawSQL\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pawsql.com/en/user-guide/sql-audit/select-audit-policy\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pawsql.mintlify.app/_mintlify/api/og/v2?division=SQL+Review\u0026amp;title=Select+a+Review+Policy\u0026amp;description=Choose+a+matching+review+policy+when+creating+a+review+ticket%3A+match+the+database+engine%2C+environment%2C+and+workflow%2C+then+verify+rules%2C+severities%2C+and+threshol\u0026amp;theme=6d404b338307bd95eaa82301\u0026amp;signature=668129392033eadcb3a8210ede1300735ba4d3d4fa3045dc5ee0ee5095cdda10\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Select a Review Policy - PawSQL\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Choose a matching review policy when creating a review ticket: match the database engine, environment, and workflow, then verify rules, severities, and thresholds.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pawsql.mintlify.app/_mintlify/api/og/v2?division=SQL+Review\u0026amp;title=Select+a+Review+Policy\u0026amp;description=Choose+a+matching+review+policy+when+creating+a+review+ticket%3A+match+the+database+engine%2C+environment%2C+and+workflow%2C+then+verify+rules%2C+severities%2C+and+threshol\u0026amp;theme=6d404b338307bd95eaa82301\u0026amp;signature=668129392033eadcb3a8210ede1300735ba4d3d4fa3045dc5ee0ee5095cdda10\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/pawsql/9yivK1GUkHFKPs6i/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PawSQL\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pawsql.com/en/user-guide/sql-audit/select-audit-policy\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/user-guide/sql-audit/select-audit-policy.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.pawsql.com/en/user-guide/sql-audit/select-audit-policy\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.pawsql.com/user-guide/sql-audit/select-audit-policy\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.pawsql.com/user-guide/sql-audit/select-audit-policy\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.pawsql.com/#organization\",\"name\":\"PawSQL\",\"legalName\":\"北京图灵睿数科技有限公司\",\"url\":\"https://www.pawsql.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://www.pawsql.com/logo.png\"},\"sameAs\":[\"https://github.com/PawSQL\",\"https://x.com/pawsql_service\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pawsql.com#website\",\"name\":\"PawSQL\",\"url\":\"https://docs.pawsql.com\",\"publisher\":{\"@id\":\"https://www.pawsql.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pawsql.com/en/user-guide/sql-audit/select-audit-policy#webpage\",\"url\":\"https://docs.pawsql.com/en/user-guide/sql-audit/select-audit-policy\",\"name\":\"Select a Review Policy\",\"description\":\"Choose a matching review policy when creating a review ticket: match the database engine, environment, and workflow, then verify rules, severities, and thresholds.\",\"dateModified\":\"2026-09-18T00:19:58.708Z\",\"isPartOf\":{\"@id\":\"https://docs.pawsql.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pawsql.com/en/user-guide/sql-audit/select-audit-policy#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pawsql.com/en/user-guide/sql-audit/select-audit-policy#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"User Guide\",\"item\":\"https://docs.pawsql.com/en/user-guide/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Review\",\"item\":\"https://docs.pawsql.com/en/user-guide/sql-audit/index\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Select a Review Policy\",\"item\":\"https://docs.pawsql.com/en/user-guide/sql-audit/select-audit-policy\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.pawsql.com/en/user-guide/sql-audit/select-audit-policy#article\",\"headline\":\"Select a Review Policy\",\"name\":\"Select a Review Policy\",\"description\":\"Choose a matching review policy when creating a review ticket: match the database engine, environment, and workflow, then verify rules, severities, and thresholds.\",\"url\":\"https://docs.pawsql.com/en/user-guide/sql-audit/select-audit-policy\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pawsql.com/en/user-guide/sql-audit/select-audit-policy#webpage\"},\"dateModified\":\"2026-09-18T00:19:58.708Z\",\"publisher\":{\"@id\":\"https://www.pawsql.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pawsql.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PawSQL\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"PawSQL","nav":{"global":null,"languages":[{"language":"zh","footer":{"socials":{"github":"https://github.com/PawSQL","website":"https://www.pawsql.com"},"links":[{"header":"产品","items":[{"label":"PawSQL Cloud","href":"https://www.pawsql.com"},{"label":"核心能力","href":"/features"},{"label":"使用场景","href":"/use-cases"}]},{"header":"文档","items":[{"label":"快速开始","href":"/getting-started"},{"label":"用户手册","href":"/user-guide"}]},{"header":"开源与社区","items":[{"label":"GitHub","href":"https://github.com/PawSQL"},{"label":"PawSQL MCP","href":"https://github.com/PawSQL/pawsql-mcp"}]}]},"pages":[{"title":"zh","href":"/user-guide/sql-audit/select-audit-policy"}]},{"language":"en","footer":{"socials":{"github":"https://github.com/PawSQL","website":"https://www.pawsql.com"},"links":[{"header":"Product","items":[{"label":"PawSQL Cloud","href":"https://www.pawsql.com"},{"label":"Features","href":"/en/features"},{"label":"Use Cases","href":"/en/use-cases"}]},{"header":"Documentation","items":[{"label":"Quickstart","href":"/en/getting-started"},{"label":"User Guide","href":"/en/user-guide"}]},{"header":"Open Source \u0026 Community","items":[{"label":"GitHub","href":"https://github.com/PawSQL"},{"label":"PawSQL MCP","href":"https://github.com/PawSQL/pawsql-mcp"}]}]},"tabs":[{"tab":"Getting Started","icon":"folder-open","groups":[{"group":"Quickstart","icon":"rocket","root":{"title":"What is PawSQL?","icon":"wifi","href":"/en/getting-started"},"expanded":true,"directory":"accordion","pages":[{"title":"Optimize Your First SQL Query","icon":"bolt","href":"/en/getting-started/quickstart"},{"title":"Choose How to Use PawSQL","icon":"route","href":"/en/getting-started/choose-access"},{"title":"Supported Databases","icon":"database","href":"/en/getting-started/supported-databases"}]},{"group":"User Guide","icon":"book-open","root":{"title":"User Guide Overview","icon":"book-open","href":"/en/user-guide/index"},"expanded":true,"pages":[{"group":"Installation \u0026 Access","icon":"download","root":{"title":"Installation and Access Overview","href":"/en/user-guide/installation/index"},"expanded":true,"pages":[{"title":"Use PawSQL Cloud","href":"/en/user-guide/installation/pawsql-cloud"},{"title":"Deploy PawSQL Server","href":"/en/user-guide/installation/pawsql-server"},{"title":"Install IDE Extensions","href":"/en/user-guide/installation/ide-plugins"},{"title":"Authentication","href":"/en/user-guide/installation/authentication"},{"title":"Verify Installation and Connectivity","href":"/en/user-guide/installation/verify-installation"}]},{"group":"Workspaces \u0026 Context","icon":"box","root":{"title":"Workspaces and Database Context","href":"/en/user-guide/workspaces/index"},"pages":[{"title":"Create a Workspace from DDL","href":"/en/user-guide/workspaces/create-from-ddl"},{"title":"Create a Workspace from a Database","href":"/en/user-guide/workspaces/create-from-database"}]},{"group":"SQL Optimization","icon":"wand-sparkles","root":{"title":"SQL Optimization Overview","href":"/en/user-guide/optimization/index"},"pages":[{"title":"Input SQL to Optimize","href":"/en/user-guide/optimization/create-workload"},{"title":"Create and Configure an Optimization Task","href":"/en/user-guide/optimization/setup-optimization"},{"title":"Read Optimization Results","href":"/en/user-guide/optimization/explain-output"},{"title":"Evaluate and Apply Suggestions","href":"/en/user-guide/optimization/apply-suggestions"}]},{"group":"SQL Review","icon":"shield-check","root":{"title":"SQL Review Overview","href":"/en/user-guide/sql-audit/index"},"pages":[{"title":"Create a Review Ticket","href":"/en/user-guide/sql-audit/create-review-task"},{"title":"Read Review Results","href":"/en/user-guide/sql-audit/read-audit-results"},{"title":"Resolve Findings","href":"/en/user-guide/sql-audit/resolve-findings"},{"title":"Manual Review and Approval","href":"/en/user-guide/sql-audit/manual-review-and-approval"},{"title":"History, Reports, and Export","description":"Locate previous SQL reviews, reconstruct their configuration, and preserve review evidence for governance and audit.","href":"/en/user-guide/sql-audit/history-reports-and-export"},{"title":"Select a Review Policy","href":"/en/user-guide/sql-audit/select-audit-policy"},{"title":"Workspace and Review Context","description":"Understand how workspace metadata improves SQL review, and choose a matching workspace when creating a review ticket.","href":"/en/user-guide/sql-audit/configure-review-context"},{"title":"Control High-Risk SQL","href":"/en/user-guide/sql-audit/high-risk-sql-control"}]},{"group":"Batch Optimization \u0026 Patrol","icon":"activity","root":{"title":"Performance Governance Workflow","href":"/en/user-guide/performance/index"},"pages":[{"title":"Connect Database Instances","href":"/en/user-guide/performance/connect-instance"},{"group":"Slow Query Governance","pages":[{"title":"Collect Slow Queries","href":"/en/user-guide/performance/collect-slow-sql"},{"title":"SQL Aggregation and Deduplication","href":"/en/user-guide/performance/aggregate-dedup"},{"title":"Batch Analysis and Optimization","href":"/en/user-guide/performance/batch-optimize"},{"title":"Create an Optimization Ticket","href":"/en/user-guide/performance/create-optimize-ticket"},{"title":"Track Governance Progress","href":"/en/user-guide/performance/track-progress"}]},{"group":"Database Object Patrol","pages":[{"title":"Object Patrol Task","href":"/en/user-guide/performance/patrol-task"},{"title":"Patrol Task Report","href":"/en/user-guide/performance/reports"},{"title":"Create a Patrol Issue Ticket","href":"/en/user-guide/performance/create-patrol-ticket"}]}]},{"group":"Rules \u0026 Quality Policy","icon":"sliders-horizontal","root":{"title":"Review Policy Overview","href":"/en/user-guide/rules-policy/index"},"pages":[{"title":"Manage Review Policies","href":"/en/user-guide/rules-policy/rule-sets"},{"title":"Manage Rules","href":"/en/user-guide/rules-policy/configure-rules"},{"title":"Configure the SQL Quality Gate","href":"/en/user-guide/rules-policy/quality-gate"}]},{"group":"Developer Tool Integration","icon":"code","root":{"title":"Developer Tool Integration Overview","href":"/en/user-guide/dev-tools/index"},"pages":[{"title":"Review SQL Before Execution in DBeaver","href":"/en/user-guide/dev-tools/dbeaver"},{"title":"Optimize SQL in JetBrains IDEs","href":"/en/user-guide/dev-tools/jetbrains"},{"title":"Review and Optimize SQL in DataGrip","href":"/en/user-guide/dev-tools/datagrip"},{"title":"Optimize SQL in Visual Studio Code","href":"/en/user-guide/dev-tools/vscode"},{"title":"Optimize SQL with PawSQL MCP","href":"/en/user-guide/dev-tools/mcp"}]},{"group":"CI/CD \u0026 Platform Integration","icon":"git-merge","root":{"title":"CI/CD and Platform Integrations Overview","href":"/en/user-guide/cicd/index"},"pages":[{"title":"Integration Model and Core Concepts","href":"/en/user-guide/cicd/concepts"},{"title":"Prerequisites and Security","href":"/en/user-guide/cicd/prerequisites"},{"title":"SQL Quality Gates and Feedback","href":"/en/user-guide/cicd/pipeline-gate"},{"title":"Repository Connectors","href":"/en/user-guide/cicd/repositories"},{"title":"Integrate Tencent CODING","href":"/en/user-guide/cicd/coding"},{"title":"Integrate GitHub","href":"/en/user-guide/cicd/github"},{"title":"Integrate GitLab","href":"/en/user-guide/cicd/gitlab"},{"title":"Integrate a BlueKing Pipeline","href":"/en/user-guide/cicd/blueking"},{"title":"OpenAPI Pipeline Integration","href":"/en/user-guide/cicd/openapi-pipeline"},{"title":"Integrate a Platform Without a Prebuilt Connector","href":"/en/user-guide/cicd/unsupported-platforms"},{"title":"Webhook Integration Model","href":"/en/user-guide/cicd/webhook"},{"title":"Troubleshoot CI/CD Integrations","href":"/en/user-guide/cicd/logs-troubleshooting"}]}]}]},{"tab":"Use Cases \u0026 Features","icon":"layers","pages":[{"title":"Use Cases \u0026 Features","href":"/en/use-cases"}]},{"tab":"API","icon":"code","pages":[{"title":"API","href":"/api-reference/sql-audit-tasks/create-audit-task"}]},{"tab":"Changelog","icon":"activity","pages":[{"title":"Changelog","href":"/en/changelog/engine"}]}]}]},"title":"Select a Review Policy - PawSQL","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":[],"chunks":[]}