Budgets Auditor
Mindset
One-line takeaway: a budget without a working notification is decorative — it tracks spend nobody watches. The verdict escalates through four blind-spot tiers, and three AWS Budgets behaviours are easy to misjudge: cost-data lag (actuals trail real spend by hours), silent SNS delivery failure (a missing topic-policy statement produces zero console error), and ACTUAL-vs-FORECASTED semantics (an ACTUAL alert at 100% fires after the money is spent).
AWS Budgets is the first line of cost control, but the configuration is where alerting silently fails. Three failure modes dominate:
- No budgets at all — the account has zero budgets. Spend runs completely unbounded with no visibility. This is the default state for new accounts and the most dangerous posture for a compromised credential or a runaway resource.
- Decorative budget — a budget exists but has zero notifications (or notifications with no subscribers). It tracks spend in the console but never alerts anyone. The operator believes they have cost control; they have a dashboard.
- Wired-wrong alert — notifications exist but the SNS topic policy omits
the
budgets.amazonaws.compublish principal, OR there is a single 100% ACTUAL threshold with no early warning and no forecast. The alert either silently never delivers, or arrives too late to act on.
Quick reference — verdict thresholds
| Condition | Verdict | Step |
|---|---|---|
| Account has zero budgets | NO_BUDGET | 1 |
| Budget has zero notifications, or all notifications have zero subscribers | NO_ALERT | 2 |
SNS subscriber present but topic policy lacks budgets.amazonaws.com publish |
CONFIG_GAP | 3 |
| Only one threshold, or no threshold below 80% | CONFIG_GAP | 4 |
| COST budget with ACTUAL notifications but zero FORECASTED notifications | CONFIG_GAP | 5 |
ForecastedSpend > BudgetLimit with no FORECASTED notification at the breached ratio |
CONFIG_GAP | 6 |
ActualSpend > BudgetLimit (breached) with no ACTUAL notification fired |
CONFIG_GAP | 6 |
| New/sandbox account (flagged) with no zero-spend or low-spend budget | CONFIG_GAP | 7 |
| All budgets: multi-threshold, ACTUAL+FORECASTED, SNS wired, not breached | OK | 8 |
Steps apply in order — the first step that triggers sets the per-budget verdict. The account-level verdict is the worst per-budget verdict, where NO_BUDGET > NO_ALERT > CONFIG_GAP > OK. See the ordered classification below for edge cases and additive findings.
Pre-flight: input and account-metadata gate
Before classification, validate the input structure and identify metadata that short-circuits the audit.
Live-account sweep note (pagination): moved verbatim to references/diagnostic-commands.md. Load on demand before running a live-account budgets sweep.
Live-account pre-flight checks (skip if doing offline budget-doc audit): Full pre-flight command list moved verbatim to references/diagnostic-commands.md. Load on demand when auditing a live account (permissions, payer inventory, budget performance history).
If the budget inventory is malformed (invalid JSON/YAML, missing required
BudgetName or BudgetLimit on a COST budget), output:
BUDGET: <name or unknown>
VERDICT: ERROR
REASON: Budget configuration is not valid — cannot classify (missing BudgetName or BudgetLimit).
REMEDIATION: Re-fetch with `aws budgets describe-budget --account-id <id> --budget-name <name> --region us-east-1` and re-audit.
Do not attempt classification on malformed input.
Process — Classification logic (apply in order, aggregate worst)
Step 0: Expert knowledge — non-obvious AWS Budgets behaviours
All Step 0 behaviours moved verbatim to references/advanced-patterns.md. Load on demand when a verdict depends on a non-obvious Budgets behaviour (cost-data lag, silent SNS failure, RI/SP types, auto-adjust, CostTypes).
Step 1: Budget existence gate (NO_BUDGET — highest priority)
If the account has zero budgets of any type (COST, RI_*, SP_*, USAGE), the verdict is NO_BUDGET. This is the worst posture: no spend visibility, no alerting, no forecast. This is the default state for newly created accounts and the highest-risk configuration for credential compromise or runaway resources.
NO_BUDGET short-circuits all other steps — there is nothing to evaluate notifications against. The remediation is to create at minimum a total-account cost budget and (for new/sandbox accounts) a zero-spend guardrail.
Step 2: Notification and subscriber gate (NO_ALERT)
For each budget, evaluate notification coverage:
- Zero notifications on the budget → the budget is decorative. It tracks spend in the console but never alerts anyone. Per-budget verdict: NO_ALERT.
- Notifications exist but every notification has an empty subscriber list
(
Subscribers: []) → the notification has nowhere to deliver. Per-budget verdict: NO_ALERT.
A budget that triggers NO_ALERT is functionally equivalent to no budget for the purpose of alerting — the spend may as well be unmonitored. The difference between NO_BUDGET and NO_ALERT is that NO_ALERT means "the tracking exists but the human-in-the-loop is severed," while NO_BUDGET means "there is no tracking at all." Both are HIGH risk.
Step 3: SNS topic policy delivery check (CONFIG_GAP)
For each notification with an SNS subscriber (SubscriptionType: SNS), the
notification can only deliver if the SNS topic policy grants sns:Publish to
the budgets.amazonaws.com service principal. Retrieve the topic policy
(aws sns get-topic-attributes --topic-arn <arn>) and check for a statement
matching:
{
"Effect": "Allow",
"Principal": { "Service": "budgets.amazonaws.com" },
"Action": "SNS:Publish",
"Resource": "<topic-arn>"
}
- Statement absent → the notification will silently fail to deliver. Per-budget verdict: CONFIG_GAP (Finding: SNS_POLICY_GAP). This is the most common reason budget alerts "don't work" and produces zero console error.
- Statement present but scoped to a different region or account → CONFIG_GAP (the ARN mismatch causes rejection).
- EMAIL/EMAIL-JSON subscribers do NOT require an SNS topic policy — Budgets delivers directly to the email address. Skip Step 3 for email-only subscribers. (Note: email subscribers still require a confirmation click on the AWS-sent subscription email; an unconfirmed email is a delivery gap but is surfaced in the console, unlike the silent SNS policy failure.)
Step 4: Threshold coverage check (CONFIG_GAP)
For each COST budget with notifications, evaluate the threshold set:
- Single threshold (only one notification on the budget) → CONFIG_GAP (Finding: SINGLE_THRESHOLD). A single alert leaves no time to react — regardless of where it sits, there is no early-warning tier.
- No threshold below 80% → CONFIG_GAP (Finding: NO_EARLY_WARNING). If the lowest threshold is at 80% or higher, the operator gets no awareness signal before the budget is nearly exhausted. Best practice: at least one threshold at 50% (awareness) and one at 80-90% (action).
- No threshold at or above 100% → CONFIG_GAP (Finding: NO_BREACH_ALERT). If no notification covers the actual breach point, the operator may never learn they are over budget.
A budget with thresholds at {50%, 80%, 100%} or {70%, 90%, 100%} passes this step. A budget with only {100%} or only {90%} fails.
Step 5: FORECASTED coverage check (COST budgets only — CONFIG_GAP)
For each COST budget (BudgetType COST or USAGE), evaluate notification
types:
- All notifications are
ACTUAL, zeroFORECASTED→ CONFIG_GAP (Finding: NO_FORECAST). Without a FORECASTED notification, the operator has no predictive signal. Combined with cost-data lag, an ACTUAL-only alert at 100% arrives after the budget is already breached by hours. A FORECASTED notification at 80-100% projects month-end spend and gives lead time.
This check does NOT apply to RI/SP budgets (their "forecast" is utilization trajectory, handled differently) or to DAILY budgets where month-end projection is meaningless.
Step 6: Actual-vs-forecast breach check (CONFIG_GAP)
For each COST budget, compare CalculatedSpend against BudgetLimit:
ForecastedSpend >= BudgetLimitand NO FORECASTED notification covers the breached ratio → CONFIG_GAP (Finding: FORECAST_BREACH_UNALERTED). The budget is on track to exceed by month-end but no forecast alert will fire.ActualSpend >= BudgetLimit(already breached) and NO ACTUAL notification covers 100% → CONFIG_GAP (Finding: ACTUAL_BREACH_UNALERTED). The budget has been exceeded but no actual alert will fire.
Note: a breach with a matching alert that WILL fire is informational, not a CONFIG_GAP — the system is working as designed. Only flag when the breach is uncovered by the notification set.
Step 7: Zero-spend guardrail for new/sandbox accounts (CONFIG_GAP)
If the account is flagged as new, sandbox, or non-production (operator-provided context, or account name/tag convention), check for a zero-spend or low-spend guardrail:
- No COST budget with
BudgetLimit <= $1.00(or<= $0.01) and a 100% ACTUAL notification → CONFIG_GAP (Finding: NO_ZERO_SPEND_GUARDRAIL). A zero-spend budget catches ANY unauthorized spend immediately — the leading signal for a compromised credential, a misconfigured free-tier resource, or a stray workload. Without it, a new account can accumulate charges for days before a normal budget trips.
This check is advisory-in-practice but Config_GAP-in-verdict because the absence of a zero-spend guardrail on a new account is the single highest-leverage FinOps control. For established production accounts, skip this step.
Step 8: Aggregation — worst per-budget verdict wins
The account-level verdict is the maximum severity across all per-budget verdicts, where NO_BUDGET > NO_ALERT > CONFIG_GAP > OK:
account_verdict = max(all_budget_verdicts)
If the account has budgets and all pass Steps 2-7 with no findings, the account verdict is OK. NO_BUDGET is only reachable when the account has zero budgets (Step 1).
Severity/risk mapping (emitted per finding):
- NO_BUDGET → HIGH (total spend blind spot; default for new accounts)
- NO_ALERT → HIGH (budget is decorative; spend tracked but never alerted)
- CONFIG_GAP (SNS_POLICY_GAP) → HIGH (alerts silently fail to deliver)
- CONFIG_GAP (SINGLE_THRESHOLD / NO_EARLY_WARNING / NO_FORECAST) → MEDIUM
- CONFIG_GAP (NO_ZERO_SPEND_GUARDRAIL) → MEDIUM for new accounts
- CONFIG_GAP (breach uncovered) → MEDIUM (the breach is real but alertable with a fix)
- OK → LOW
Output format (per account)
ACCOUNT: <account-id>
VERDICT: NO_BUDGET | NO_ALERT | CONFIG_GAP | OK
REASON: <1-2 sentences citing the triggering step and worst finding>
FINDINGS:
- [HIGH] <budget name>: <finding description (Step N)>
- [MEDIUM] <budget name>: <finding description (Step N)>
- [OK] <budget name>: <dimension that passed>
REMEDIATION: <specific action per finding, or "None required" if OK>
Worked example — decorative budget with SNS policy gap
ACCOUNT: 111111111111
VERDICT: CONFIG_GAP
REASON: Budget "monthly-total" has a single 100% ACTUAL notification wired to
an SNS topic whose policy omits the budgets.amazonaws.com publish principal —
alerts silently fail to deliver (Step 3), and there is no FORECASTED
notification for lead time (Step 5).
FINDINGS:
- [HIGH] monthly-total: SNS topic arn:aws:sns:us-east-1:111111111111:budget-alerts
policy lacks budgets.amazonaws.com sns:Publish — alerts dispatched but
rejected at delivery (Step 3)
- [MEDIUM] monthly-total: single threshold at 100% ACTUAL — no early warning
and no FORECASTED notification (Steps 4, 5)
- [OK] monthly-total: budget exists with BudgetLimit $10000, not breached
REMEDIATION:
1. Add the budgets service principal to the SNS topic policy (see Step 3
remediation CLI).
2. Add a FORECASTED notification at 80% and an early-warning ACTUAL at 50%.
Edge-case handling
Full edge-case catalog moved verbatim to references/advanced-patterns.md. Load on demand when input hits an edge case (malformed budget, email-only subscriber, payer-covered member, DAILY budget, Budget Action).
Anti-Patterns — NEVER
NEVER classify an account with zero budgets as anything other than NO_BUDGET. "No budgets" is a total spend blind spot — the highest-risk FinOps posture. Do not soften it to CONFIG_GAP.
NEVER treat a budget with zero notifications as OK. A budget without notifications is decorative — it tracks spend nobody watches. This is NO_ALERT, not OK. The console showing a spend number is not alerting.
NEVER assume an SNS subscriber means alerts will deliver. The SNS topic policy MUST explicitly grant
sns:Publishtobudgets.amazonaws.com. A missing policy statement fails silently with zero console error — this is the #1 reason budget alerts "don't work." Always read the topic policy.NEVER flag an RI_COVERAGE / RI_UTILIZATION / SP_COVERAGE / SP_UTILIZATION budget as cost-breached. These budget types measure reservation effectiveness (a percentage), not spend. They have no dollar BudgetLimit. Applying cost-breach logic to them is a false positive.
NEVER treat the absence of a Budget Action as a CONFIG_GAP. Budget Actions (enforcement) are an opt-in tier separate from alerting. Most accounts use alert-only budgets by design. Only flag a misconfigured Action if one is present.
NEVER assume "actual under limit" means the budget is safe. Cost-data lag trails real spend by 8-14 hours. A budget at 90% actual may already be over. Always check the FORECASTED spend against the limit, not just actual.
NEVER recommend a single-threshold budget as adequate. A lone 100% ACTUAL alert fires after the spend is incurred plus the data lag. A budget needs at least an early-warning tier (50%) and an action tier (80-90%) below the breach alert (100%).
NEVER treat a CloudWatch billing alarm as a substitute for a budget. Billing alarms (
AWS/Billing EstimatedCharges) are account-total only, update every ~6 hours, and have no FORECASTED projection or filtering. They are legacy defense-in-depth, not a replacement for AWS Budgets.NEVER skip pagination on
describe-budgetsordescribe-notifications-for-budget. The long tail of budgets (beyond page one) is where stale, decorative, and breached budgets hide. Always drainNextTokento completion.NEVER conflate FORECASTED and ACTUAL notification types. FORECASTED projects month-end spend; ACTUAL reports current calculated spend. They are not interchangeable. A budget with only ACTUAL notifications is reactive; a budget with FORECASTED notifications is predictive. Both belong in a mature budget config.
NEVER assume a payer-wide budget covers a member account's alerting needs. A payer budget with no
LinkedAccountfilter aggregates all member spend but a runaway member account can hide inside an aggregate that is under limit. For chargeback and isolation, member accounts need their own budgets or the payer budget must be filtered per account.NEVER propose more than 11 notifications on a single budget. The quota is 11 notifications per budget (hard limit). A remediation proposing a 12th notification will fail with
LimitExceededException. Count existing notifications before adding.NEVER ignore the
CostTypesfilter when assessing breach. A budget withIncludeTax: falseunder-reports by the tax line. Two budgets with the same limit and differentCostTypesare not comparable. Confirm the filter matches intent before flagging a breach.
Pre-flight safety checks (run before any remediation CLI)
- MANDATORY CONFIRMATION GATE. Before any state-changing operation
(CreateBudget, CreateNotification, CreateSubscriber, DeleteNotification,
SetTopicAttributes on an SNS policy, PutBudgetAction), the auditor MUST
emit:
CONFIRM: About to <action> on budget <name> in account <account>. This affects <consequence>. Proceed? (yes/no)Do NOT execute the CLI command until the operator confirms. Budgets changes can suppress or duplicate live alerting. - Confirm the caller identity has
budgets:Create*andsns:SetTopicAttributesif remediation is intended — most read-only auditor roles CANNOT, and remediation commands will fail withAccessDenied. Surface this BEFORE the operator approves. - Before modifying an SNS topic policy, capture the current policy for
rollback: `aws sns get-topic-attributes --topic-arn --region us-east-1
/tmp/-policy-backup-$(date +%s).json`. SNS topic policies are not versioned — a bad policy statement can break ALL topic publishers, not just Budgets.
- Prefer additive changes (add a notification, add a topic-policy statement) over destructive changes (delete a notification, replace a policy). Additive changes are reversible and cannot break existing delivery.
- Before creating a zero-spend budget on a new account, confirm the account has no expected spend (a zero-spend budget with legitimate ongoing spend generates constant false-positive alerts). For sandbox accounts with small expected spend, use a $1 or $5 guardrail, not $0.01.
Remediation guidance
Ordering principle: always prefer additive changes. Add a notification before deleting one; add a topic-policy statement before rewriting the policy. This prevents a window where no alerting is in effect.
For NO_BUDGET — account has zero budgets
- Create a total-account MONTHLY cost budget at the operator's expected
monthly spend:
aws budgets create-budget --account-id <id> --budget file://total.json --notifications-with-subscribers file://subs.json --region us-east-1 - Add at minimum: ACTUAL 50%, FORECASTED 80%, ACTUAL 100% notifications wired to an SNS topic (with the budgets principal in its policy) or an email.
- For new/sandbox accounts, additionally create a zero-spend guardrail (Step 7).
- For Organizations/consolidated-billing, create a payer-level budget AND per- member budgets (or filtered payer budgets) for chargeback visibility.
For NO_ALERT — budget has zero functional notifications
- Create notifications:
aws budgets create-notification --account-id <id> --budget-name <name> --notification <json> --subscribers <json> --region us-east-1. - Minimum set for a MONTHLY COST budget: ACTUAL 50% (awareness), FORECASTED 80% (action), ACTUAL 100% (breach). Wire each to an SNS topic or email.
- Confirm the SNS topic policy grants
budgets.amazonaws.compublish (see CONFIG_GAP / SNS policy remediation).
For CONFIG_GAP — SNS topic policy missing budgets principal (Step 3)
- Retrieve the current policy:
aws sns get-topic-attributes --topic-arn <arn> --region us-east-1 --query 'Attributes.Policy' --output text. - Add (do not replace) a statement granting the budgets principal publish:
aws sns set-topic-attributes --topic-arn <arn> --region us-east-1 \ --attribute-name Policy --attribute-value '<updated-policy-json-with-budgets-statement>' - Verify delivery by triggering a test budget notification or waiting for the
next threshold crossing and checking CloudTrail for a
Publishevent frombudgets.amazonaws.com.
For CONFIG_GAP — single threshold / no early warning (Step 4)
- Add a 50% ACTUAL notification (awareness) and an 80-90% ACTUAL or
FORECASTED notification (action tier) via
create-notification. - Keep the existing 100% notification as the breach tier. Do NOT delete it.
- Confirm total notifications do not exceed 11 per budget.
For CONFIG_GAP — no FORECASTED notification (Step 5)
- Add a FORECASTED notification at 80% and/or 100% via
create-notification --notification ... --notification-type FORECASTED. - This provides lead time that ACTUAL-only alerts cannot, given cost-data lag.
For CONFIG_GAP — zero-spend guardrail missing (Step 7)
- Create a COST budget with
BudgetLimit.Amount: 0.01(or1.00for sandbox with tiny expected spend),TimeUnit: MONTHLY, and an ACTUAL 100% notification wired to an SNS topic or email. - Name it distinctly (e.g.,
zero-spend-guardrail) so it is recognizable in audits.
For OK
- No remediation required for current posture.
- Recommend verifying the SNS topic policy quarterly — policy drift from other tooling can silently remove the budgets principal.
- Recommend confirming email subscribers are still valid (personnel churn).
- For Organizations, verify member accounts have independent alerting, not just payer-level coverage.
Deep reference: AWS Budgets internals
Internals deep dive (notification delivery pipeline, cost data lag, quotas) moved verbatim to references/advanced-patterns.md. Load on demand when explaining why a verdict fired or planning notification changes.
Recent AWS features (2024-2026)
Moved verbatim to references/advanced-patterns.md. Load on demand to check 2024-2026 Budgets feature coverage.
References (load on demand)
- references/advanced-patterns.md — Step 0 expert knowledge, edge-case catalog, Budgets internals deep dive, 2024-2026 features.
- references/diagnostic-commands.md — live-account pagination sweep and pre-flight permission/payer/history checks.
Domain
AWS CloudOps / FinOps Cost Control & Spend Visibility.
AWS documentation
- AWS Budgets User Guide — https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html
- Security in AWS Cost Management — https://docs.aws.amazon.com/cost-management/latest/userguide/security.html
- AWS Budgets API Reference — https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Operations_AWS_Budgets.html
- AWS Budgets CLI Reference — https://docs.aws.amazon.com/cli/latest/reference/budgets/