Skip to content

Rottweiler CLI Reference

rottweiler Command

The global rottweiler command is the entry point for all Rottweiler CLI operations.

Global Options

OptionTypeDescription
--verbosebooleanEnable verbose output for debugging purposes.
--formatstringSpecify the output format (e.g., json, text, pretty).
--silentbooleanSuppress all output except for errors and warnings.

rottweiler check

rottweiler check is used to validate policies against a given set of rules and configurations.

Usage

bash
rottweiler check [options]

Options

OptionTypeDescription
--policystringPath to the policy file to be checked.
--inputstringPath to the input data file for policy evaluation.
--strictbooleanEnables strict mode (halts on missing keys or syntax errors).

Example

A typical usage of the rottweiler check command might look like this:

bash
rottweiler check --policy ./policies/my_policy.yaml --input ./data/input.json --format json