Skip to content

Reference

Config reference

Every key of a scan config (scan.yaml). Unknown keys are rejected. API keys are never written in a config: give the name of an environment variable (api_key_env). The authorization block is required, and nothing is sent without it.

Key Type Required Default Notes
authorization object
authorization.confirmed boolean False
authorization.owner string ``
authorization.reference string ``
target object yes
seed integer 0
canary_salt string fixes canary values to reproduce a run; random and printed if unset
repeats integer 3
call_budget integer
packs list of string
scenarios list of string id globs to include
languages list of en or hi or hi-Latn or hinglish
output_dir string agentkavach-reports
mutations list of string generated forms to add: misspell applies to hi-Latn and hinglish
concurrency integer 1 tests run in parallel; only for stateless direct-chat targets
judge object The user’s own model for fuzzy verdicts (ADR-0003). Bring your own key.
judge.base_url string yes
judge.model string yes
judge.api_key_env string
judge.temperature number 0.0
judge.timeout_s number 60.0
judge.max_retries integer 3