Source
This page is generated from devops-agent/eks-cost-intelligence/references/findings-format.md. Edit the source, not this page.
Findings Format
Part of: eks-cost-intelligence Purpose: Output schema, severity thresholds, finding types enumeration, and remediation snippet templates for cost intelligence findings
Finding Schema
Every finding produced by the assessment engine MUST include all of the following fields:
finding:
id: string # unique identifier, e.g. "compute-over-provisioned-checkout"
dimension: string # one of: compute | spot_graviton | networking | storage | observability | idle
severity: CRITICAL | HIGH | MEDIUM | LOW
affected_resource: string # namespace/workload or resource identifier
current_state: string # what is happening now (human-readable description)
monthly_cost: number # current monthly cost of this resource ($)
monthly_waste: number # estimated waste ($) — drives severity classification
monthly_savings: number # projected savings after fix ($)
effort: Low | Medium | High # implementation effort
fix_summary: string # one-line description of the fix
remediation: string # kubectl/Terraform/YAML snippet (ready to apply)
confidence: high | medium | low # estimate confidence level
data_sources: list[string] # which data sources informed this finding
Field Descriptions
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier combining dimension prefix and resource, e.g. compute-over-provisioned-checkout |
dimension | enum | The cost dimension this finding belongs to: compute, spot_graviton, networking, storage, observability, or idle |
severity | enum | CRITICAL, HIGH, MEDIUM, or LOW — determined by monthly_waste thresholds below |
affected_resource | string | The specific resource, e.g. payments/checkout (namespace/deployment) or node-group-general |
current_state | string | Human-readable description of the current inefficiency |
monthly_cost | number | Current monthly cost of the affected resource in USD |
monthly_waste | number | Estimated monthly waste in USD (cost that could be eliminated) |
monthly_savings | number | Projected monthly savings after implementing the fix |
effort | enum | Implementation effort: Low (< 1 hour), Medium (1–4 hours), High (> 4 hours or requires planning) |
fix_summary | string | One-line description of the recommended fix |
remediation | string | Ready-to-apply code snippet (kubectl command, YAML manifest, or Terraform block) |
confidence | enum | Confidence in the estimate: high (metrics-backed), medium (partial data), low (heuristic-based) |
data_sources | list | Data sources used, e.g. ["metrics-server", "Cost Explorer"] or ["kubernetes-api", "ec2-describe-instances"] |
Severity Thresholds
Severity is determined by the monthly_waste value:
| Monthly Waste | Severity | Description |
|---|---|---|
| > $500/month | CRITICAL | Major cost inefficiency requiring immediate attention |
| $200–$500/month | HIGH | Significant waste that should be addressed within days |
| $50–$200/month | MEDIUM | Moderate waste worth addressing in the next sprint |
| < $50/month | LOW | Minor inefficiency — address opportunistically |