Skip to main content
fensu rule prints the complete metadata for one rule: its family, severity, whether it is on by default, its source, and its full message and remediation. Use it to understand a code you saw in fensu check output, or to read what a rule claims before you enable or disable it.

Usage

The lookup is case-insensitive, so fensu rule ffs131 works too.

Fields

Severity is catalogue metadata declared by the rule. Configuring a rule in warn assigns it to the project’s advisory tier without changing that metadata. Use fensu check --warn to see the effective tier in a run.

Custom and configured rules

fensu rule reads the whole catalogue for the current repository, so it resolves custom rules once they are configured, and it can inspect rules that are ignored or off by default. A custom rule shows its source path:

Options

Exit codes

An unknown code reports: