Skip to main content
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.

Full example

Fields

version

Schema version. Currently 1.

project

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.

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):
  1. Organization defaults (dashboard)
  2. Repository settings (dashboard)
  3. scandrix.yml in the repository root
  4. 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:
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.