Skip to main content

Overview

kanari audit connects to your Redis and Celery instances, collects metrics, runs the findings engine, and prints a formatted report. It then exits with a status code that reflects the severity of what it found.

Flags


Exit codes


Output modes

TUI (default)

Rich-formatted report with color-coded status indicators. Best for humans running audits interactively.

JSON

Machine-readable output. Use this in CI scripts, log aggregation, or when piping to other tools.

Markdown

Structured Markdown output. Useful for posting to Slack, GitHub issues, or incident reports.

Config file auto-discovery

--config is optional. When omitted, kanari audit looks for kanari.yaml in the current directory and loads it automatically:
If kanari.yaml is not present, it falls back to localhost defaults and suggests creating one:
To use a config file in a different location, pass it explicitly:
Run kanari init to generate kanari.yaml, or see Configuration for the full reference.

Configuration analysis

Every audit includes a Configuration Analysis section that checks your Redis and Celery settings for common production risks — no flag needed. Use --no-config-checks to skip it. See Configuration Analysis for details.

Examples