# uip rpa get-analyzer-rules

> `uip rpa get-analyzer-rules` lists the workflow analyzer rules currently enabled for the open project. Each rule entry includes its ID, severity, scope, description, recommendation, configured parameter values, and link to documentation — disabled rules are filtered out before the response is returned. The output is the constraint set that any new XAML or coded workflow needs to comply with to pass [`uip rpa analyze`](./uip-rpa-analyze.md).

`uip rpa get-analyzer-rules` lists the workflow analyzer rules currently enabled for the open project. Each rule entry includes its ID, severity, scope, description, recommendation, configured parameter values, and link to documentation — disabled rules are filtered out before the response is returned. The output is the constraint set that any new XAML or coded workflow needs to comply with to pass [`uip rpa analyze`](./uip-rpa-analyze.md).

Studio owns the analyzer configuration, so the verb requires a Windows runner.

## Synopsis

```
uip rpa get-analyzer-rules [--scope { Activity | Workflow | Project | Coded Workflow }]
```

## Options

| Flag | Description |
|---|---|
| `--scope <string>` | Optional scope filter — `Activity`, `Workflow`, `Project`, or `Coded Workflow`. When omitted, rules from all scopes are returned. |

For the complete option list on your installed tool version, run:

```bash
uip rpa get-analyzer-rules --help
```

## Examples

```bash
# Print every enabled rule across all scopes
uip rpa get-analyzer-rules

# Only the rules that apply when authoring a full workflow
uip rpa get-analyzer-rules --scope Workflow

# Roslyn analyzers that apply to coded workflows
uip rpa get-analyzer-rules --scope "Coded Workflow"
```

## Related

- [`uip rpa analyze`](./uip-rpa-analyze.md) — actually run the analyzer and surface violations.
- [`uip rpa get-errors`](./uip-rpa-get-errors.md) — fetch validation diagnostics, including analyzer warnings.

## See also

- [RPA tool overview](./uip-rpa.md)
- [Global options](./global-options.md)
- [Exit codes](./exit-codes.md)
