Override the model for any provider. Takes precedence over provider-specific model vars.
AI_TEMPERATURE
0.0
Model temperature (0.0 = deterministic, 1.0 = creative). Ignored for Azure OpenAI reasoning model deployments (o1/o3/o4-mini) — Argus drops it automatically on retry. The same applies to Bedrock models that reject temperature.
ANTHROPIC_API_KEY
—
Required when AI_PROVIDER=anthropic
ANTHROPIC_MODEL
claude-sonnet-4-6
Model name when using Anthropic API directly
BEDROCK_MODEL_ID
anthropic.claude-sonnet-4-6
Bedrock model ID
BEDROCK_REGION
us-east-1
Region where Bedrock is enabled
BEDROCK_MAX_TOKENS
unset
Output-token limit for the Bedrock provider. Overrides AI_MAX_TOKENS for Bedrock only
VERTEXAI_PROJECT
—
Required when AI_PROVIDER=vertexai
VERTEXAI_LOCATION
us-central1
Vertex AI region
VERTEXAI_MODEL
google/gemini-1.5-pro-002
Vertex AI model name
AZURE_OPENAI_ENDPOINT
—
Required when AI_PROVIDER=azure_openai
AZURE_OPENAI_DEPLOYMENT
gpt-4o
Azure OpenAI deployment name
AZURE_OPENAI_API_VERSION
2024-10-21
Azure OpenAI API version. Reasoning model deployments (o1/o3/o4-mini) require 2024-12-01-preview or later.
AZURE_OPENAI_API_KEY
—
Local dev only — use managed identity in production
Comma-separated channels to send to: slack, teams, webhook. A URL alone does not enable a channel.
SLACK_WEBHOOK_URL
—
Slack incoming webhook URL. Checked at startup by every scan unless DRY_RUN=true, even if Slack isn't in NOTIFICATION_PROVIDER.
TEAMS_WEBHOOK_URL
—
Microsoft Teams incoming webhook URL
WEBHOOK_URL
—
Generic webhook URL — receives the full JSON report as a POST body
REPORT_FORMAT
json,html
Comma-separated export formats: json, html (the decision board), pptx. PDF was removed in 0.7.0. PPTX requires python-pptx (pip install argus-cloud-optimizer[export]).
DRY_RUN
false
true = log a preview of the notification payload instead of posting; remediation makes no Jira calls
REPORT_URL_EXPIRY
604800
Pre-signed / SAS URL expiry in seconds (default: 7 days)
LOCAL_REPORT_DIR
local_reports
Where reports are saved locally (<dir>/<cloud>/YYYY/MM/DD/<scan-id>.*)
none (pipeline); scaled from LLM_BUDGET_USD (react)
Maximum resources handed to the AI. When unset it is 150 per dollar of LLM budget, between 50 and 1000 (300 at the default $2.00; 500 when the budget is unlimited). The figure comes from a measured run of about $0.0033 per resource, so a default scan uses roughly half the budget. Set it explicitly to override; the report records the value and whether it was explicit or budget.
AI_MAX_TOKENS
16000
Output-token limit per model response. Used by all providers; Vertex AI is clamped to 8192 and Azure OpenAI to 16384 (their default models' limits) unless you pass a value in code. If the model is cut off, Argus asks it to submit findings in batches and fails with exit code 3 after 3 cut-offs.
AI_TIMEOUT_SECONDS
600
Request timeout for the Anthropic provider. Timeouts and connection errors are retried with backoff.
STRICT_COVERAGE
false
When true, fail the scan (exit 1) if the resource cap leaves any resources unanalysed, or, before any model call is made, if the plan line says LLM_BUDGET_USD cannot cover every residual candidate. Equivalent to --strict-coverage.
Evidence gate before the model: off, shadow or on. For EC2 instances (average CPU at least 20% and at least 1 GiB of network in plus out over the window) and RDS instances (average CPU at least 20% and average connections at least 5), on keeps clearly busy resources away from the model and shadow only counts them (coverage.stages.gate.settled, and settled_but_flagged for the ones the model flagged anyway). Resources with no data, a metrics error or a missing metric are never settled. Keep shadow until settled_but_flagged is 0 on real scans.
ARGUS_ENGINE
pipeline
pipeline: evidence gathered in code, batched model triage (cheaper, covers every cost-bearing resource, repeatable). react: the original tool-calling loop.
ARGUS_TRIAGE_BATCH_ITEMS
60
Maximum resources per model call in the pipeline (batches are also limited by size).
ARGUS_ACTIVITY_LOOKUP
auto
Last-activity (CloudTrail) lookups: auto only for resources whose metrics could not decide (at most 150 per scan), all, or off.
ARGUS_EXPECT_ACCOUNT
unset
AWS account ID the credentials must belong to (single-account scans). A mismatch aborts with exit code 4 before any cloud or LLM call. Equivalent to --expect-account.
ARGUS_PROGRESS
auto
Scan progress on stderr for argus scan: auto (a live line in a terminal, plain lines otherwise), plain (always plain lines) or off. Equivalent to --no-progress for off. Deployed runs (Lambda, Cloud Run, Azure Function) never show it.
ARGUS_SKIP_PREFLIGHT
false
When true, skip the pre-scan environment checks (identity, Resource Explorer index/view/permissions). Logged at WARNING and recorded in the report. Equivalent to --skip-preflight.
METRICS_LOOKBACK_DAYS
90
CloudWatch / Cloud Monitoring / Azure Monitor lookback window. Applied to every metrics query (the model cannot override it) and recorded in the report's scan_window. 90 days covers quarterly usage patterns and aligns with the CloudTrail lookback. Set to 14 for faster local dev runs — not recommended in production as short windows produce false-positive idle findings.
COST_LOOKBACK_DAYS
14
Window for per-resource cost, set with --cost-days. The model cannot override it. AWS resource-level cost data holds at most 14 days, so larger values are capped at 14 on AWS and the report's scan_window.cost_lookback_days shows the effective value.
ACTIVITY_LOOKBACK_DAYS
90
Window for last-activity lookups, set with --activity-days. AWS CloudTrail can look back at most 90 days, so larger values are capped at 90.
ADAPTER_CONCURRENCY
10
Maximum parallel threads for metric and activity fetches during a scan. Increase for large accounts with many resources; decrease if you hit API rate limits.
MAX_AGENT_ITERATIONS
50
Maximum ReAct loop iterations before the agent is forced to stop. Increase only if the agent is consistently hitting the limit on very large accounts.
LLM_BUDGET_USD
2.00
Hard budget for LLM cost per scan in USD. The scan aborts gracefully if this limit is exceeded, returns partial results, and exits with code 2. Set to 0 to disable the budget check.
EXCLUDE_TAGS
(empty)
JSON object of tags; resources carrying any matching tag are dropped before the AI sees them, e.g. {"argus-exempt": "true"}
EXCLUDE_RESOURCE_TYPES
(empty)
Comma-separated resource types to drop before the AI sees them, e.g. AWS::EC2::Snapshot
Instead of storing sensitive values directly in environment variables, you can point them to a cloud secret manager. Every argus scan (local or deployed) resolves secret references at startup before any other processing. argus chat does not.
The required SDK must be installed for the cloud you reference — boto3 for AWS, google-cloud-secret-manager for GCP, azure-keyvault-secrets + azure-identity for Azure. If the value doesn't match any pattern, it's used as-is (no SDK required).
Opt-in. Set true to create Jira tickets automatically after each scan. argus policies apply --confirm is not affected.
ARGUS_POLICY_DIR
config/policies
Directory containing *.yaml policy files, used by both argus policies and scheduled scans. The older name ARGUS_POLICIES_DIR is still accepted; if both are set, ARGUS_POLICY_DIR wins.
ARGUS_INTEGRATIONS_CONFIG
config/integrations.yaml
Path to integrations config (Jira project key, issue type, labels)
ARGUS_AUDIT_LOG
./local_reports/audit.jsonl
Path for the append-only proposal audit log
JIRA_BASE_URL
—
Jira instance URL, e.g. https://yourorg.atlassian.net
JIRA_USER_EMAIL
—
Email address associated with the Jira API token
JIRA_API_TOKEN
—
Jira API token (generate at id.atlassian.com)
Note
config/integrations.yaml is gitignored — never commit Jira credentials. JIRA_API_TOKEN is not one of the variables resolved from secret-manager references above; inject it with your platform's own secret mechanism (e.g. Lambda environment encryption, Cloud Run --set-secrets, or an Azure Key Vault app-setting reference).