AXguard works with zero config for local scan / audit. Optional project config is mainly for the GitHub adapter, MCP policy, and AI provider settings.

Files

Never put secrets in .axguard.yml. Store only env var names for credentials.

Generate an example

Example shape

Missing file → safe defaults: no-LLM, retain_source: false, fail only on verified critical/high (bot policy).

MCP policy

Optional mcp: section in .axguard.yml can bound approvals and limits for the MCP server. Prefer host-level approval UX (Cursor Run Mode, Claude /mcp, Codex tool approval) plus axguard mcp doctor. Details: MCP.

Environment variables (GitHub bot)

When using the optional GitHub adapter:
See GitHub.

CLI output directories

Most diagnostics default to --out-dir .findings/axguard. Override per command when you need isolated artifacts.