Configure active rules, path filters, and severities per repository with scandrix.yml.
Place a scandrix.yml or .scandrix.yml file at the repository root to configure ScanDrix behavior for that repository. Changes take effect on the next pull request — no dashboard action needed.
Optional label for the repository. Appears in review summaries and Cockpit-style metrics so monorepo services stay distinguishable.
rules
Explicit list of rules to activate for this repository. Each entry may override severity. Rules inherited from the organization scope are active even if not listed — add them here only to change severity.
rules: - rule: "unbounded-goroutine-spawn" severity: "warning" # downgrade from critical - rule: "legacy-regex-style" severity: "info" # keep, but never block
ignore_paths
Glob patterns excluded from analysis. Excluded files are never parsed, never sent to a model, and never commented on.
Ignore paths are also respected by the security engine — excluding a directory means ScanDrix cannot flag issues there. Exclude generated code, vendored dependencies, and fixtures, not source directories you own.
Precedence
Configuration resolves in this order (later wins):
Organization defaults (dashboard)
Repository settings (dashboard)
scandrix.yml in the repository root
Per-PR overrides via bot comment commands
The effective configuration is shown in the dashboard under Repositories → Settings → Effective Config, including which file each value came from.
Validation
CI validates the file on push:
scandrix config validate
An invalid file fails the check with a line-anchored error; reviews continue with the last known-good configuration so a typo never blocks your pipeline.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ScanDrix","colors":{"primary":"#EF8557","light":"#F5A07A","dark":"#226192"},"logo":{"light":"https://mintcdn.com/scan-drix/BDKe3nzKChTtzCuX/logo/logo.png?fit=max\u0026auto=format\u0026n=BDKe3nzKChTtzCuX\u0026q=85\u0026s=e9e0574c10fe414930e9a5c8c77a5d38","dark":"https://mintcdn.com/scan-drix/BDKe3nzKChTtzCuX/logo/logo.png?fit=max\u0026auto=format\u0026n=BDKe3nzKChTtzCuX\u0026q=85\u0026s=e9e0574c10fe414930e9a5c8c77a5d38","href":"https://scandrix.dev"},"favicon":"https://mintcdn.com/scan-drix/BDKe3nzKChTtzCuX/favicon.ico?fit=max\u0026auto=format\u0026n=BDKe3nzKChTtzCuX\u0026q=85\u0026s=7f3800a55074f2388c034304fd80dd6b","navbar":{"links":[{"href":"mailto:support@scandrix.dev","label":"Support"},{"href":"https://github.com/Santosh-Prasad-Verma/ScanDrix","label":"GitHub"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.scandrix.dev"}},"footer":{"socials":{"github":"https://github.com/Santosh-Prasad-Verma/ScanDrix","website":"https://scandrix.dev"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"scan-drix","hasAudioNarration":false,"actualSubdomain":"scan-drix","customDomains":["docs.scandrix.dev"],"gitSource":{"type":"github","owner":"santosh-prasad-verma","repo":"scandrix","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":"","_id":"6b1251087c30f9dc1255cb0b"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b125e8b8753f39e75d3759c","clientVersion":"0.0.4448","searchFilterCounts":[]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"rbac-expansion","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":"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":"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":"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":"full-page-search","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":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"how-to-use/code-review/configuration","slug":"/how-to-use/code-review/configuration","pageMetadata":{"title":"scandrix.yml Reference","description":"Configure active rules, path filters, and severities per repository with scandrix.yml.","href":"/how-to-use/code-review/configuration"},"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: \"Configure active rules, path filters, and severities per repository with scandrix.yml.\"\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={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Place a `,_jsx(_components.code,{children:`scandrix.yml`}),` or `,_jsx(_components.code,{children:`.scandrix.yml`}),` file at the repository root to configure ScanDrix behavior for that repository. Changes take effect on the next pull request — no dashboard action needed.`]}),`\n`,_jsx(Heading,{level:`2`,id:`full-example`,children:`Full example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`project`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-service\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rules`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rule`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"enforce-parameterized-sql\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` severity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"critical\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rule`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tenant-isolation-guard\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` severity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"critical\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rule`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"no-hardcoded-secrets\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` severity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"critical\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`ignore_paths`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"vendor/**\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dist/**\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"**/*.spec.ts\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`fields`,children:`Fields`}),`\n`,_jsx(Heading,{level:`3`,id:`version`,children:_jsx(_components.code,{children:`version`})}),`\n`,_jsxs(_components.p,{children:[`Schema version. Currently `,_jsx(_components.code,{children:`1`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`project`,children:_jsx(_components.code,{children:`project`})}),`\n`,_jsx(_components.p,{children:`Optional label for the repository. Appears in review summaries and Cockpit-style metrics so monorepo services stay distinguishable.`}),`\n`,_jsx(Heading,{level:`3`,id:`rules`,children:_jsx(_components.code,{children:`rules`})}),`\n`,_jsxs(_components.p,{children:[`Explicit list of rules to activate for this repository. Each entry may override `,_jsx(_components.code,{children:`severity`}),`. Rules inherited from the organization scope are active even if not listed — add them here only to change severity.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rules`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rule`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unbounded-goroutine-spawn\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` severity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"warning\"`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # downgrade from critical`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`rule`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"legacy-regex-style\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` severity`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"info\"`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # keep, but never block`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`ignore_paths`,children:_jsx(_components.code,{children:`ignore_paths`})}),`\n`,_jsx(_components.p,{children:`Glob patterns excluded from analysis. Excluded files are never parsed, never sent to a model, and never commented on.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Ignore paths are also respected by the security engine — excluding a directory means ScanDrix cannot flag issues there. Exclude generated code, vendored dependencies, and fixtures, not source directories you own.`})}),`\n`,_jsx(Heading,{level:`2`,id:`precedence`,children:`Precedence`}),`\n`,_jsx(_components.p,{children:`Configuration resolves in this order (later wins):`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Organization defaults (dashboard)`}),`\n`,_jsx(_components.li,{children:`Repository settings (dashboard)`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`scandrix.yml`}),` in the repository root`]}),`\n`,_jsx(_components.li,{children:`Per-PR overrides via bot comment commands`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The effective configuration is shown in the dashboard under `,_jsx(_components.strong,{children:`Repositories → Settings → Effective Config`}),`, including which file each value came from.`]}),`\n`,_jsx(Heading,{level:`2`,id:`validation`,children:`Validation`}),`\n`,_jsx(_components.p,{children:`CI validates the file on push:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`scandrix`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` config`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` validate`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`An invalid file fails the check with a line-anchored error; reviews continue with the last known-good configuration so a typo never blocks your pipeline.`})]})}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":{"title":"scandrix.yml Reference","description":"Configure active rules, path filters, and severities per repository with scandrix.yml.","href":"/how-to-use/code-review/configuration"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Full example","slug":"full-example","depth":2,"children":[]},{"title":"Fields","slug":"fields","depth":2,"children":[{"title":"version","slug":"version","depth":3,"children":[]},{"title":"project","slug":"project","depth":3,"children":[]},{"title":"rules","slug":"rules","depth":3,"children":[]},{"title":"ignore_paths","slug":"ignore_paths","depth":3,"children":[]}]},{"title":"Precedence","slug":"precedence","depth":2,"children":[]},{"title":"Validation","slug":"validation","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"scan-drix","siteName":"ScanDrix","title":"scandrix.yml Reference - ScanDrix","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-04T06:32:49.252Z","originalFileLocation":"how-to-use/code-review/configuration.mdx"},"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=\"Configure active rules, path filters, and severities per repository with scandrix.yml.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ScanDrix\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scan-drix/fUG8-iwhWO9FV5Hm/_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/scan-drix/fUG8-iwhWO9FV5Hm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scan-drix/fUG8-iwhWO9FV5Hm/_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/scan-drix/fUG8-iwhWO9FV5Hm/_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/scan-drix/fUG8-iwhWO9FV5Hm/_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/scan-drix/fUG8-iwhWO9FV5Hm/_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/scan-drix/fUG8-iwhWO9FV5Hm/_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/scan-drix/fUG8-iwhWO9FV5Hm/_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/scan-drix/fUG8-iwhWO9FV5Hm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"scandrix.yml Reference - ScanDrix\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure active rules, path filters, and severities per repository with scandrix.yml.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ScanDrix\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.scandrix.dev/how-to-use/code-review/configuration\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://scan-drix.mintlify.site/_mintlify/api/og/v2?division=AI+Code+Review\u0026amp;title=scandrix.yml+Reference\u0026amp;description=Configure+active+rules%2C+path+filters%2C+and+severities+per+repository+with+scandrix.yml.\u0026amp;theme=e22f71881eafb38c6197992e\u0026amp;signature=f623594a662588823662b7d24bfd6c47d51bbf354fef70e5eef0d83605bcdb96\">\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=\"scandrix.yml Reference - ScanDrix\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure active rules, path filters, and severities per repository with scandrix.yml.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scan-drix.mintlify.site/_mintlify/api/og/v2?division=AI+Code+Review\u0026amp;title=scandrix.yml+Reference\u0026amp;description=Configure+active+rules%2C+path+filters%2C+and+severities+per+repository+with+scandrix.yml.\u0026amp;theme=e22f71881eafb38c6197992e\u0026amp;signature=f623594a662588823662b7d24bfd6c47d51bbf354fef70e5eef0d83605bcdb96\">\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/scan-drix/fUG8-iwhWO9FV5Hm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ScanDrix\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EF8557\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.scandrix.dev/how-to-use/code-review/configuration\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/how-to-use/code-review/configuration.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.scandrix.dev/#organization\",\"name\":\"ScanDrix\",\"url\":\"https://docs.scandrix.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/scan-drix/BDKe3nzKChTtzCuX/logo/logo.png?fit=max\u0026auto=format\u0026n=BDKe3nzKChTtzCuX\u0026q=85\u0026s=e9e0574c10fe414930e9a5c8c77a5d38\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.scandrix.dev#website\",\"name\":\"ScanDrix\",\"url\":\"https://docs.scandrix.dev\",\"publisher\":{\"@id\":\"https://docs.scandrix.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.scandrix.dev/how-to-use/code-review/configuration#webpage\",\"url\":\"https://docs.scandrix.dev/how-to-use/code-review/configuration\",\"name\":\"scandrix.yml Reference\",\"description\":\"Configure active rules, path filters, and severities per repository with scandrix.yml.\",\"dateModified\":\"2026-12-04T06:32:49.252Z\",\"isPartOf\":{\"@id\":\"https://docs.scandrix.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.scandrix.dev/how-to-use/code-review/configuration#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.scandrix.dev/how-to-use/code-review/configuration#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Code Review\",\"item\":\"https://docs.scandrix.dev/how-to-use/code-review/flow\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"scandrix.yml Reference\",\"item\":\"https://docs.scandrix.dev/how-to-use/code-review/configuration\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.scandrix.dev/how-to-use/code-review/configuration#article\",\"headline\":\"scandrix.yml Reference\",\"name\":\"scandrix.yml Reference\",\"description\":\"Configure active rules, path filters, and severities per repository with scandrix.yml.\",\"url\":\"https://docs.scandrix.dev/how-to-use/code-review/configuration\",\"mainEntityOfPage\":{\"@id\":\"https://docs.scandrix.dev/how-to-use/code-review/configuration#webpage\"},\"dateModified\":\"2026-12-04T06:32:49.252Z\",\"publisher\":{\"@id\":\"https://docs.scandrix.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.scandrix.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ScanDrix\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ScanDrix\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/how-to-use/code-review/configuration.md","siteName":"ScanDrix","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":""},{"title":"Introduction","href":"/how-to-use/overview"},{"title":"Quickstart","href":"/how-to-use/quickstart"}]},{"group":"Billing \u0026 BYOK","pages":[{"title":"Billing \u0026 Plans","href":"/how-to-use/pricing"},{"title":"Bring Your Own Key (BYOK)","href":"/how-to-use/byok"}]},{"group":"AI Code Review","pages":[{"title":"Review Flow","href":"/how-to-use/code-review/flow"},{"title":"Drixy Rules","href":"/how-to-use/code-review/drixy-rules"},{"title":"Configuration File (.scandrix.yaml)","description":"Complete schema reference for repo-level configuration, path filters, rule overrides, and review directives.","href":"/how-to-use/code-review/scandrix-yaml"},{"title":"scandrix.yml Reference","href":"/how-to-use/code-review/configuration"},{"title":"Dry Run Testing","description":"Preview and calibrate custom Drixy rules against historical pull requests before enforcing them across your engineering team.","href":"/how-to-use/code-review/dry-run"},{"title":"Business Logic Validation","href":"/how-to-use/code-review/business-logic"}]},{"group":"CLI","pages":[{"title":"CLI \u0026 Team Keys","href":"/how-to-use/cli"},{"title":"CLI Command Reference","href":"/how-to-use/cli/commands"},{"title":"CI/CD Pipeline Integration","href":"/how-to-use/cli/ci-cd"}]},{"group":"Integrations","pages":[{"title":"GitHub App Setup","href":"/how-to-use/integrations/github"},{"title":"GitLab CI/CD","href":"/how-to-use/integrations/gitlab"},{"title":"Bitbucket \u0026 Azure Repos","href":"/how-to-use/integrations/bitbucket-azure"},{"title":"Jira \u0026 Linear Integration","href":"/how-to-use/integrations/jira-linear"}]},{"group":"Security \u0026 Governance","pages":[{"title":"Data Handling","href":"/how-to-use/security/data-handling"},{"title":"Single Sign-On (SAML) \u0026 RBAC","href":"/how-to-use/security/sso-rbac"}]}]},{"tab":"Self-Hosting","icon":"server","pages":[{"title":"Self-Hosting","href":"/how-to-deploy/architecture"}]},{"tab":"Knowledge Base","icon":"circle-question","pages":[{"title":"Knowledge Base","href":"/knowledge-base/introduction"}]},{"tab":"Cookbook","icon":"utensils","pages":[{"title":"Cookbook","href":"/cookbook/monorepos"}]},{"tab":"API Reference","icon":"terminal","pages":[{"title":"API Reference","href":"/api-reference/system-probes/health-diagnostics-probe"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"scandrix.yml Reference - ScanDrix","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}