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
retain_source: false, fail only on verified critical/high (bot policy).
MCP policy
Optionalmcp: 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:CLI output directories
Most diagnostics default to--out-dir .findings/axguard. Override per command when you need isolated artifacts.