---
title: "POST /v1/{+parent}/reports:createIaCValidationReport"
method: POST
path: "/v1/{+parent}/reports:createIaCValidationReport"
tags: ["organizations"]
---

# POST /v1/{+parent}/reports:createIaCValidationReport

`POST /v1/{+parent}/reports:createIaCValidationReport`

Validates a specified infrastructure-as-code (IaC) configuration, and creates a Report with the validation results. Only Terraform configurations are supported. Only modified assets are validated.

## Path parameters

- `parent` string, required

## Request body

- CreateIaCValidationReportRequest — Request message for CreateIaCValidationReport.
  - `iac` IaC — Details of an infrastructure-as-code (IaC) configuration.
    - `tfPlan` string, byte — Optional. A Terraform plan file, formatted as a stringified JSON object. To learn how to generate a Terraform plan file in JSON format, see [JSON output format](https://developer.hashicorp.com/terraform/internals/json-format) in the Terraform documentation.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/securityposture.md) · [All operations](https://skmtc.net/google/apis/securityposture/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/securityposture/versions/e4faff8a3770/schema)
