> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/infrastructure-as-code-management/troubleshooting-and-resources/use-cases.md).

# How to govern infrastructure changes and track automation value with Harness IaCM

How governance workflows, value and cost dashboards, and an MCP-powered editor assistant all read the same Harness IaCM execution data.

Governance workflows for platform teams, cost and value dashboards for automation owners, and an MCP-powered assistant that brings both into the editor.

Governing infrastructure change and proving the value of automation usually get treated as two different problems, owned by two different teams, tracked in two different tools. In Harness IaCM they are the same execution data, viewed two different ways. This topic walks through both views, plus how developers reach the same data without leaving their editor.

{% hint style="info" %}
**IN SHORT**

Every infrastructure change in Harness IaCM is scanned, checked against policy, sized for impact, and gated by approval, automatically. Every pipeline run also rolls up into cost, value, and delivery dashboards, so automation owners can see what is running and what it is worth. Developers can ask about any of it, in plain language, from inside VS Code.
{% endhint %}

{% embed url="<https://www.youtube.com/watch?v=Czfx8JVO_Gw>" %}

***

## What you will learn from this topic

* **Governance for every change**: How a change is standardized at creation, checked against policy, sized for impact, and approved before it is applied.
* **Automation value in practice**: How execution volume, delivery performance, value realized, utilization, and cost recommendations are reported from execution data.
* **Access from the editor**: How the same governance and operational data is reachable as a conversation inside VS Code over MCP.

***

## Who this is for

| Audience               | What they see                                                                                                                                    |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Platform and ops teams | Governed workspace templates, policy creation, compliance monitoring, audit reporting, least-privilege enforcement, and change control workflows |
| Automation tool owners | Operational dashboards, automation analytics, utilization optimization, and cost optimization recommendations                                    |
| Developers             | Pipelines, drift, and audit data, reachable from the editor over MCP                                                                             |

***

## Key terms

| Term                  | What it means here                                                                                                                                    |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| Policy as code        | Governance rules defined once and evaluated automatically on every run, instead of enforced by hand.                                                  |
| Blast radius analysis | A map of exactly which resources a pending change will touch, generated before it is applied.                                                         |
| DORA metrics          | Four standard DevOps Research and Assessment delivery metrics: lead time to production, deployment frequency, mean time to restore, and failure rate. |
| MCP                   | Model Context Protocol, which lets an assistant call real tools against live data rather than generate a guess from training data.                    |

***

## Governance for every change

Every infrastructure change moves through the same governed path: standardized at creation, checked against policy, sized for impact, and approved before it is applied. Each step leaves a record behind it. Go to [the walkthrough](https://www.youtube.com/watch?v=Czfx8JVO_Gw) to watch this section.

### Governed workspace templates

Platform teams publish a catalog of pre-approved templates, one per workspace type, each already wired to the right provider, repository, and starting configuration. A new workspace starts from one of these, not from a blank slate, so standardization happens by default rather than by review.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-19fb8825eb8c31f8f429565656b4ab43efc7cc3b%2Fiacm-workspace-template-catalog.jpg?alt=media" alt="New workspace dialog open over a catalog of approved workspace templates, each card showing a template ID, scope, version, and last-updated date"><figcaption><p>Template catalog a new workspace is created from</p></figcaption></figure>

### Policy creation

Required fields, approved providers, and override permissions are defined once, on a workspace template. Every new workspace created from that template inherits the same rules, so governance does not depend on someone setting it up correctly by hand each time.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-c6e8098a2ff7d722bc174e14deb8ce4b04eb9401%2Fiacm-workspace-template-overrides.jpg?alt=media" alt="Workspace template configuration screen with per-field controls for whether a value can be overridden"><figcaption><p>Workspace template with per-field override controls</p></figcaption></figure>

### Compliance monitoring

Policy evaluations run automatically and roll up into a live dashboard: total evaluations, the pass and fail trend by day, and exactly which entities are currently failing or throwing a warning.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-5ceb0b4a0f86e59725d76a8d00b47b1eff74f650%2Fiacm-policy-evaluation-dashboard.jpg?alt=media" alt="Policy evaluation dashboard showing total evaluations, a pass and fail trend by day, and tables of entities with errors and with warnings"><figcaption><p>Policy evaluation trend, with entities flagged for errors and warnings</p></figcaption></figure>

### Audit reporting

Before a change is applied, its full resource impact is broken out by type: **detected**, **added**, **changed**, **unchanged**, **removed**, and **imported**. That breakdown sits next to the policy and vulnerability checks that ran against the same plan.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-5af621f50d1cfa73af37d62c27cdc28eda700706%2Fiacm-change-inventory.jpg?alt=media" alt="Change inventory listing each affected resource by change type, with tabs for policy evaluations and vulnerability checks"><figcaption><p>Resource-level change inventory, with policy and vulnerability tabs</p></figcaption></figure>

{% hint style="info" %}
**WHY THIS MATTERS**

This is the record a reviewer or auditor actually needs, generated automatically as part of the run rather than assembled after the fact when someone asks for it.
{% endhint %}

### Least-privilege enforcement

Blast radius analysis maps exactly which resources a change touches before it is applied, so a change that reaches further than it should gets caught before it ships, not after.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-af6dd04859bf7127e636f48a3232ea727544047b%2Fiacm-blast-radius-graph.jpg?alt=media" alt="Blast radius graph for a pending change, showing the resources it will touch as connected nodes"><figcaption><p>Blast radius graph for a pending change</p></figcaption></figure>

### Change control workflows

Security scanning, plan review, and blast radius analysis run inside the pipeline automatically, with a manual approval step gating anything before it reaches Apply. Scan output and analysis stay attached to the run afterward.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-529b2a88b0dd45ac7ef39e09642c9fde9d8a338d%2Fiacm-governed-pipeline-stages.jpg?alt=media" alt="Pipeline stage view showing steps for scanning, planning, blast radius analysis, approval, apply, and notification"><figcaption><p>Scan, plan, blast radius, approval, and apply as steps in one pipeline</p></figcaption></figure>

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-b0932405e83d241ca33217f9ce759341d0d95550%2Fiacm-approval-gate-blast-radius.jpg?alt=media" alt="Zoomed pipeline view highlighting the approval gate step next to a blast radius analysis panel, with security scan terminal output visible"><figcaption><p>The approval gate beside the blast radius panel, with scan output still attached to the run</p></figcaption></figure>

***

## Automation value in practice

Once automation is running at scale, the questions change: how much is running, is it working, and what does it cost. These dashboards answer all three from the same execution data, without extra tracking work. Go to [the walkthrough](https://youtu.be/Czfx8JVO_Gw?si=PgSxIUJln3uLVpuM\&t=250) to watch this section.

### Operational dashboards

Pipeline execution volume, trend, and success rate for the whole estate are available in one dashboard, rather than pieced together pipeline by pipeline.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-6f1c04642835530718e7a694c08d053d818d4148%2Fiacm-execution-volume-dashboard.jpg?alt=media" alt="Executive dashboard showing pipeline executions in the last 30 days, annualized executions, success rate, and week-over-week execution volume charts"><figcaption><p>Execution volume, trend, and success rate</p></figcaption></figure>

### Automation analytics

DORA metrics sit alongside monthly value realized and labor hours saved, broken down by organization and by project, so delivery performance and the reduction in manual work appear in the same view.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-8fda3acd589bc7ad0b21998d678ed30bb7493e3e%2Fiacm-dora-metrics-dashboard.jpg?alt=media" alt="DORA metrics dashboard with charts for lead time to production, production deployment frequency, mean time to restore, and failure rate"><figcaption><p>Delivery metrics: lead time, deployment frequency, MTTR, and failure rate</p></figcaption></figure>

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-62568539904f11e7aeae0fdfa47e02b1aeecccd5%2Fiacm-value-realized-full-dashboard.jpg?alt=media" alt="Automation ROI dashboard showing monthly value realized as a total and as org and project breakdown donuts, above a labor savings chart trended against total pipeline runs by week"><figcaption><p>Monthly value realized and labor savings, full dashboard view</p></figcaption></figure>

### Utilization optimization

Cluster-level cost, forecasted cost, and a rolling efficiency score make it clear where compute is being paid for and not used.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-93bc82ee980002807e15ea6a8539b0825c691e10%2Fiacm-cluster-costs-efficiency.jpg?alt=media" alt="Cluster costs and utilization dashboard with total and forecasted cost tiles, a utilized, idle, and unallocated cost breakdown, an efficiency score gauge, cost by cluster name, and an efficiency score trend over time"><figcaption><p>Cluster cost, trend, and efficiency score</p></figcaption></figure>

### Cost optimization recommendations

Each recommendation comes with a resource, a reason, and a projected monthly saving attached. You can turn one into a Jira ticket directly from the list, and track what it actually saves once it is applied.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-ff50f901ba1f74dd0d2eecc613b32ee7656eb52c%2Fiacm-cost-recommendations-jira.jpg?alt=media" alt="Recommendations panel showing potential monthly savings and spend, with a table of resource-level recommendations, potential savings, and a Jira ticket status column with create-a-ticket actions"><figcaption><p>Recommendation queue with one-click Jira ticketing</p></figcaption></figure>

***

## Access from the editor

None of the above is useful if developers have to leave their editor to get it. The same governance and operational data is reachable as a conversation, directly inside the IDE, over MCP. Go to [the walkthrough](https://youtu.be/Czfx8JVO_Gw?si=gbfcGR8ixEHiuVS5\&t=836) to watch this section.

### Editor sidebar

The editor extension lists the pipelines a developer owns and puts a chat box next to them, ready as soon as the MCP connection shows as ready.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-631264f1cedc3bf911897d5c08040b45e5d5a365%2Fiacm-vscode-sidebar-mcp.jpg?alt=media" alt="VS Code sidebar showing the Harness pipeline extension with a list of recent pipelines and an ask-about-this-pipeline chat box, with an MCP ready status indicator"><figcaption><p>Pipeline list and chat box, MCP ready</p></figcaption></figure>

### Answers backed by live data

Asking a question triggers a real tool call against live infrastructure state, not a canned response, so the assistant is reading the same resource data the platform team sees.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-81031e4210a9dbf897d5d01e796cfad71e123975%2Fiacm-vscode-live-tool-call.jpg?alt=media" alt="VS Code chat panel showing a live tool call in progress, querying infrastructure resource data"><figcaption><p>Live tool call against infrastructure data, in progress</p></figcaption></figure>

### A worked example

Asked what percentage of resources are drifted in a project, the assistant pulls the resource list, reports the drifted set, and explains what is driving the drift, down to the specific field that changed.

<figure><img src="https://3575326923-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhx6XzjvtJmfv5gPWZ5m%2Fuploads%2Fgit-blob-c4bfe4224b87a53e8e84957e202b6dfd3a70c123%2Fiacm-vscode-drift-answer.jpg?alt=media" alt="VS Code chat panel answering a question about drifted resources, listing the drifted set and naming the field that changed"><figcaption><p>Drift question, answered from live resource data</p></figcaption></figure>

{% hint style="info" %}
**WORTH KNOWING**

The assistant chooses between multiple connected tools, such as an MCP-ready extension or a separate copilot without MCP configured. Only the MCP-connected option can query live infrastructure state.
{% endhint %}

***

## Next steps

* Go to [Governance workflows and the MCP-powered IDE assistant](/infrastructure-as-code-management/platform/policy-and-governance/governance-and-ide-assistant.md) for the full governance reference, including policy scope, audit streaming, and MCP setup.
* Go to [Automation dashboards and value tracking](/infrastructure-as-code-management/platform/reports-and-insights/automation-value-dashboards.md) for the full dashboard reference, including permissions and how to act on a cost recommendation.
* Go to [Harness MCP Server](/infrastructure-as-code-management/platform/platform-integrations/iacm-mcp.md) to install and configure the MCP Server for your IDE.
* Go to [OPA Policies](/infrastructure-as-code-management/platform/policy-and-governance/opa-workspace.md) to write and attach policies to IaCM entities.

{% @harness-feedback/feedback %}
