{# Audit cost-summary cards — vendored from governor_web/templates/dashboard/_cost_summary.html @ 19455c57c5a9. Same Total / Build / Consumption / fourth-card layout. Audit's fourth card is "Flagged Spend" (cost touched by detection rules) instead of cloud's Storage Monthly. Per-rule findings live on /opportunities — there's no Active Issues pane on the dashboard. #}
Total Spend
INFORMATION_SCHEMA.JOBS across the cached scan window.
{{ totals.total_cost_usd | format_usd }}
Build Spend
build — queries that materialise data (CTAS, MERGE, INSERT, UPDATE, DELETE). These are your warehouse build costs.
{{ totals.build_spend | format_usd }}
{% if totals.total_cost_usd and totals.build_spend %} {% else %} {% endif %}Consumption Spend
consumption — read-only queries from BI tools, ad-hoc analysts, reverse-ETL exports, and other consumers. These read your warehouse without writing to it.
{{ totals.consumption_spend | format_usd }}
{% if totals.total_cost_usd and totals.consumption_spend %} {% else %} {% endif %}Flagged Spend
current_cost across every active opportunity — i.e., money you actually spent on jobs that hit at least one detection rule. Savings projections aren't shown because governor-audit doesn't run shadow validation, so a heuristic percentage would be guess-work.
{{ (totals.flagged_spend | default(0)) | format_usd }}
{% if totals.total_cost_usd and totals.flagged_spend %} {% else %} {% endif %}