List available policies
To see the policies available to you:mergeguide policies.
Use the defaults
By default,check runs MergeGuide’s built-in policy set. You don’t need to
configure anything to get coverage. The default config enables it:
.mergeguide/config.yaml
--no-defaults:
Scope a check to frameworks
When you activate one or more frameworks, MergeGuide runs only the rules mapped to those frameworks. Scope a check from the CLI with--frameworks:
--frameworks, rules
that aren’t mapped to at least one of them don’t contribute findings. With no
--frameworks, the full default corpus runs.
The exact set of frameworks available to you depends on your plan and your
organization’s configuration. Open the Compliance area of the dashboard to see
the frameworks active on your account. See Compliance overview.
Add custom policies
mergeguide init creates a sample custom-policy file at
.mergeguide/policies/custom.yaml. Policies in your custom_dir load alongside
the defaults. A custom policy looks like this:
.mergeguide/policies/custom.yaml
custom_dir:
--policy more than once to load several files.
Enable or disable specific policies
To turn individual policies on or off across a project without editing policy files, list them in your config:.mergeguide/config.yaml
Next steps
Thresholds
Decide what severity blocks a commit or a merge.
Compliance overview
How frameworks map to audit evidence.