> 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/iacm-api-reference/models.md).

# Models

## The ActivityMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ActivityMetadata":{"type":"object","properties":{"PlannedChangesCount":{"type":"integer","description":"Deprecated: use resource_count_xxxx fields instead","default":0,"format":"int64"},"activity_status":{"type":"string","description":"The status of this activity","enum":["success","failure","incomplete"]},"activity_type":{"type":"string","description":"The type of this activity","enum":["apply","destroy","plan","drifted","import","bootstrap","synth","deploy","diff","drift","rollback"]},"cost_breakdown_uuid":{"type":"string","description":"The ID of any associated cost breakdown data"},"cost_currency":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_uuid":{"type":"string","description":"The ID of any associated cost diff data"},"cost_past_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_total_monthly_percentage_change":{"type":"string","description":"The currency used in cost data for this change"},"data_length":{"type":"integer","description":"The length of the data","default":0,"format":"int64"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"enable_solutions_factory":{"type":"boolean","description":"Indicates if Harness Solution Factory functionality is enabled"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"modules_uuid":{"type":"string","description":"The ID of any associated modules data"},"output_counts":{"$ref":"#/components/schemas/Counts"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plan_uuid":{"type":"string","description":"The ID of any associated plan data"},"providers_uuid":{"type":"string","description":"The ID of any associated providers data"},"provisioner":{"type":"string","description":"The provisioner in use"},"provisioner_version":{"type":"string","description":"The current version of the provisioner in use"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"rollback_reason":{"type":"string","description":"For rollback activities: optional human-readable reason provided by the actor"},"rollback_source_id":{"type":"string","description":"For rollback activities: the workspacedata ID that was rolled back from"},"stacks":{"type":"array","items":{"$ref":"#/components/schemas/Stacks"},"description":"Stack details for multi-stack deployments"},"state_checksum":{"type":"string","description":"The checksum of the last-seen state file"},"state_uuid":{"type":"string","description":"The ID of any associated state data"},"terragrunt_details":{"type":"array","items":{"$ref":"#/components/schemas/TerragruntDetail"},"description":"Terragrunt details for any associated execution"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"Counts":{"type":"object","properties":{"added":{"type":"integer","description":"Number added","format":"int64"},"changed":{"type":"integer","description":"Number changed","format":"int64"},"deleted":{"type":"integer","description":"Number deleted","format":"int64"},"imported":{"type":"integer","description":"Number imported","format":"int64"},"removed":{"type":"integer","description":"Number removed","format":"int64"},"unchanged":{"type":"integer","description":"Number unchanged","format":"int64"}},"required":["added","changed","deleted","unchanged"]},"Stacks":{"type":"object","properties":{"assets_uuid":{"type":"string","description":"UUID of the uploaded CDK assets for this stack"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"drift_uuid":{"type":"string","description":"UUID of the uploaded drift detection results for this stack"},"error_message":{"type":"string","description":"Error message if status is failure"},"manifest_uuid":{"type":"string","description":"UUID of the uploaded CDK manifest for this stack"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"stack_name":{"type":"string","description":"Name of the CDK stack"},"stack_outputs":{"type":"object","description":"Outputs generated for stack","additionalProperties":{"type":"string"}},"stack_path":{"type":"string","description":"Path to the stack within the CDK app"},"status":{"type":"string","description":"Status of the stack operation","enum":["success","failure","skipped"]},"template_uuid":{"type":"string","description":"UUID of the uploaded CloudFormation template for this stack"},"tree_uuid":{"type":"string","description":"UUID of the uploaded CDK tree for this stack"}},"description":"Stack details for multi-stack deployments"},"TerragruntDetail":{"type":"object","properties":{"cost_breakdown_uuid":{"type":"string","description":"The ID of any associated cost breakdown data"},"cost_currency":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_total_monthly":{"type":"string","description":"The difference in total monthly cost"},"cost_diff_uuid":{"type":"string","description":"The ID of any associated cost diff data"},"cost_past_total_monthly":{"type":"string","description":"The past total monthly cost"},"cost_total_monthly":{"type":"string","description":"The total monthly cost"},"cost_total_monthly_percentage_change":{"type":"string","description":"The percentage change in total monthly cost"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"output_counts":{"$ref":"#/components/schemas/Counts"},"path_id":{"type":"string","description":"Path ID"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"state_file_link":{"type":"string","description":"State file link"},"status":{"type":"string","description":"Status"}}}}}}
```

## The ActivityResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ActivityResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmActivity"}},"HarnessIacmActivity":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"id":{"type":"string","description":"The unique identifier for this activity"},"metadata":{"$ref":"#/components/schemas/ActivityMetadata"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"workspace":{"type":"string","description":"The unique identifier for the associated workspace"}},"description":"Activity defines an individual significant event in the history of aworkspace","required":["account","org","project","id","workspace","metadata","created"]},"ActivityMetadata":{"type":"object","properties":{"PlannedChangesCount":{"type":"integer","description":"Deprecated: use resource_count_xxxx fields instead","default":0,"format":"int64"},"activity_status":{"type":"string","description":"The status of this activity","enum":["success","failure","incomplete"]},"activity_type":{"type":"string","description":"The type of this activity","enum":["apply","destroy","plan","drifted","import","bootstrap","synth","deploy","diff","drift","rollback"]},"cost_breakdown_uuid":{"type":"string","description":"The ID of any associated cost breakdown data"},"cost_currency":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_uuid":{"type":"string","description":"The ID of any associated cost diff data"},"cost_past_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_total_monthly_percentage_change":{"type":"string","description":"The currency used in cost data for this change"},"data_length":{"type":"integer","description":"The length of the data","default":0,"format":"int64"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"enable_solutions_factory":{"type":"boolean","description":"Indicates if Harness Solution Factory functionality is enabled"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"modules_uuid":{"type":"string","description":"The ID of any associated modules data"},"output_counts":{"$ref":"#/components/schemas/Counts"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plan_uuid":{"type":"string","description":"The ID of any associated plan data"},"providers_uuid":{"type":"string","description":"The ID of any associated providers data"},"provisioner":{"type":"string","description":"The provisioner in use"},"provisioner_version":{"type":"string","description":"The current version of the provisioner in use"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"rollback_reason":{"type":"string","description":"For rollback activities: optional human-readable reason provided by the actor"},"rollback_source_id":{"type":"string","description":"For rollback activities: the workspacedata ID that was rolled back from"},"stacks":{"type":"array","items":{"$ref":"#/components/schemas/Stacks"},"description":"Stack details for multi-stack deployments"},"state_checksum":{"type":"string","description":"The checksum of the last-seen state file"},"state_uuid":{"type":"string","description":"The ID of any associated state data"},"terragrunt_details":{"type":"array","items":{"$ref":"#/components/schemas/TerragruntDetail"},"description":"Terragrunt details for any associated execution"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"Counts":{"type":"object","properties":{"added":{"type":"integer","description":"Number added","format":"int64"},"changed":{"type":"integer","description":"Number changed","format":"int64"},"deleted":{"type":"integer","description":"Number deleted","format":"int64"},"imported":{"type":"integer","description":"Number imported","format":"int64"},"removed":{"type":"integer","description":"Number removed","format":"int64"},"unchanged":{"type":"integer","description":"Number unchanged","format":"int64"}},"required":["added","changed","deleted","unchanged"]},"Stacks":{"type":"object","properties":{"assets_uuid":{"type":"string","description":"UUID of the uploaded CDK assets for this stack"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"drift_uuid":{"type":"string","description":"UUID of the uploaded drift detection results for this stack"},"error_message":{"type":"string","description":"Error message if status is failure"},"manifest_uuid":{"type":"string","description":"UUID of the uploaded CDK manifest for this stack"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"stack_name":{"type":"string","description":"Name of the CDK stack"},"stack_outputs":{"type":"object","description":"Outputs generated for stack","additionalProperties":{"type":"string"}},"stack_path":{"type":"string","description":"Path to the stack within the CDK app"},"status":{"type":"string","description":"Status of the stack operation","enum":["success","failure","skipped"]},"template_uuid":{"type":"string","description":"UUID of the uploaded CloudFormation template for this stack"},"tree_uuid":{"type":"string","description":"UUID of the uploaded CDK tree for this stack"}},"description":"Stack details for multi-stack deployments"},"TerragruntDetail":{"type":"object","properties":{"cost_breakdown_uuid":{"type":"string","description":"The ID of any associated cost breakdown data"},"cost_currency":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_total_monthly":{"type":"string","description":"The difference in total monthly cost"},"cost_diff_uuid":{"type":"string","description":"The ID of any associated cost diff data"},"cost_past_total_monthly":{"type":"string","description":"The past total monthly cost"},"cost_total_monthly":{"type":"string","description":"The total monthly cost"},"cost_total_monthly_percentage_change":{"type":"string","description":"The percentage change in total monthly cost"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"output_counts":{"$ref":"#/components/schemas/Counts"},"path_id":{"type":"string","description":"Path ID"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"state_file_link":{"type":"string","description":"State file link"},"status":{"type":"string","description":"Status"}}}}}}
```

## The AnsibleLicenceData object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleLicenceData":{"type":"object","properties":{"total":{"type":"integer","description":"Total ansible hosts allowed by license","format":"int64"},"used":{"type":"integer","description":"Unique hosts with runs in last 30 days","format":"int64"}},"required":["used","total"]}}}}
```

## The AnsibleUsageData object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleUsageData":{"type":"object","properties":{"uniqueHosts30d":{"type":"integer","description":"Unique hosts with runs in last 30 days","format":"int64"}},"required":["uniqueHosts30d"]}}}}
```

## The Approval object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Approval":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline execution stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"Status of the approval resource","default":"pending","enum":["pending","approved","rejected"]},"workspace_id":{"type":"string","description":"The unique identifier for the workspace_id"}},"required":["account","org","project","pipeline_execution_id","pipeline_stage_id","workspace_id"]}}}}
```

## The ApprovalIdentifier object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ApprovalIdentifier":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"id":{"type":"string","format":"uuid"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","id","pipeline_execution_id","pipeline_stage_id","workspace_id"]}}}}
```

## The ApprovalResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ApprovalResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmApproval"}},"HarnessIacmApproval":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"actioned_by":{"type":"string","description":"User that approved/rejected the step"},"actioned_by_email":{"type":"string","description":"Email of the user that approved/rejected the step"},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"id":{"type":"string"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline execution stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"Status of the approval resource","default":"pending"},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"workspace_id":{"type":"string","description":"The unique identifier for the workspace_id"}},"description":"Approval is the representation for a single approval","required":["account","org","project","pipeline_execution_id","pipeline_stage_id","workspace_id","id","status","created","updated"]}}}}
```

## The ApprovalUpdate object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ApprovalUpdate":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"actioned_by":{"type":"string","description":"User that approved/rejected the step"},"actioned_by_email":{"type":"string","description":"Email of the user that approved/rejected the step"},"id":{"type":"string","format":"uuid"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"Status update to be performed upon the Approval step","default":"pending","enum":["approved","rejected","pending"]}},"description":"ApprovalUpdate defines the fields of an approval step that can be updated","required":["account","org","project","id","status","pipeline_execution_id","pipeline_stage_id","workspace_id"]}}}}
```

## The ApprovalsCreateApprovalResponseBodyCreation object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ApprovalsCreateApprovalResponseBodyCreation":{"type":"object","properties":{"id":{"type":"string"}},"description":"Create-ApprovalResponseBody result type (creation view)","required":["id"]}}}}
```

## The ApprovalsShowApprovalResponseBodyStatusInfo object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ApprovalsShowApprovalResponseBodyStatusInfo":{"type":"object","properties":{"actioned_by":{"type":"string","description":"User that approved/rejected the step"},"actioned_by_email":{"type":"string","description":"Email of the user that approved/rejected the step"},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"status":{"type":"string","description":"Status of the approval resource","default":"pending"},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"}},"description":"Show-ApprovalResponseBody result type (statusInfo view)","required":["status","created","updated"]}}}}
```

## The AssociatedTemplate object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AssociatedTemplate":{"type":"object","properties":{"template_id":{"type":"string","description":"Template ID of the template associated to the Workspace.","minLength":1,"maxLength":128},"version":{"type":"string","description":"Version of the template associated to the Workspace.","minLength":1,"maxLength":64}},"description":"AssociatedTemplate defines the template details with template_id and version."}}}}
```

## The Audit object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Audit":{"type":"object","properties":{"git_audit_data":{"$ref":"#/components/schemas/GitAuditData"}}},"GitAuditData":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of the git branch used","minLength":1,"maxLength":128},"name":{"type":"string","description":"The name of the branch or tag used"},"repo_url":{"type":"string","description":"Url of the repo used","minLength":1},"type":{"type":"string","description":"Type of fetch used to get the data","enum":["branch","tag"]}},"required":["hash","repo_url"]}}}}
```

## The AuditEvent object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AuditEvent":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"audit":{"$ref":"#/components/schemas/Audit"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"Pipeline execution ID","minLength":1,"maxLength":128},"pipeline_stage_id":{"type":"string","description":"Pipeline execution stage ID","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","pipeline_execution_id","pipeline_stage_id"]},"Audit":{"type":"object","properties":{"git_audit_data":{"$ref":"#/components/schemas/GitAuditData"}}},"GitAuditData":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of the git branch used","minLength":1,"maxLength":128},"name":{"type":"string","description":"The name of the branch or tag used"},"repo_url":{"type":"string","description":"Url of the repo used","minLength":1},"type":{"type":"string","description":"Type of fetch used to get the data","enum":["branch","tag"]}},"required":["hash","repo_url"]}}}}
```

## The CDKConfig object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CDKConfig":{"type":"object","properties":{"versions":{"type":"object","description":"Map of CDK versions to their configurations","additionalProperties":{"$ref":"#/components/schemas/CDKVersionConfig"}}},"description":"CDK configuration"},"CDKVersionConfig":{"type":"object","properties":{"languages":{"type":"object","description":"Map of language names to their configurations","additionalProperties":{"$ref":"#/components/schemas/LanguageConfig"}}},"description":"Configuration for a specific CDK version"},"LanguageConfig":{"type":"object","properties":{"versions":{"type":"object","description":"Map of language versions to their configurations","additionalProperties":{"$ref":"#/components/schemas/LanguageVersionConfig"}}},"description":"Configuration for a programming language"},"LanguageVersionConfig":{"type":"object","properties":{"package_manager":{"type":"object","description":"Map of package manager names to their supported versions","additionalProperties":{"type":"array","items":{"type":"string"}}}},"description":"Configuration for a specific language version"}}}}
```

## The CDKResult object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CDKResult":{"type":"object","properties":{"stacks":{"type":"array","items":{"$ref":"#/components/schemas/CDKStackResult"},"description":"Results for each stack"}},"description":"Result of a CDK activity (synth, deploy, destroy)"},"CDKStackResult":{"type":"object","properties":{"assets_uuid":{"type":"string","description":"UUID of the uploaded CDK assets"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"drift_uuid":{"type":"string","description":"UUID of the uploaded drift detection results"},"error_message":{"type":"string","description":"Error message if status is failure"},"manifest_uuid":{"type":"string","description":"UUID of the uploaded CDK manifest"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"stack_name":{"type":"string","description":"Name of the CDK stack"},"stack_outputs":{"type":"object","description":"Stack outputs after deployment","additionalProperties":{"type":"string"}},"stack_path":{"type":"string","description":"Path to the stack within the CDK app"},"status":{"type":"string","description":"Status of the stack operation","enum":["success","failure","skipped","in_sync","drifted"]},"template_uuid":{"type":"string","description":"UUID of the uploaded CloudFormation template"},"tree_uuid":{"type":"string","description":"UUID of the uploaded CDK tree"}},"description":"Result information for a single CDK stack in a multi-stack deployment","required":["stack_name","status"]},"Counts":{"type":"object","properties":{"added":{"type":"integer","description":"Number added","format":"int64"},"changed":{"type":"integer","description":"Number changed","format":"int64"},"deleted":{"type":"integer","description":"Number deleted","format":"int64"},"imported":{"type":"integer","description":"Number imported","format":"int64"},"removed":{"type":"integer","description":"Number removed","format":"int64"},"unchanged":{"type":"integer","description":"Number unchanged","format":"int64"}},"required":["added","changed","deleted","unchanged"]}}}}
```

## The CDKStackResult object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CDKStackResult":{"type":"object","properties":{"assets_uuid":{"type":"string","description":"UUID of the uploaded CDK assets"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"drift_uuid":{"type":"string","description":"UUID of the uploaded drift detection results"},"error_message":{"type":"string","description":"Error message if status is failure"},"manifest_uuid":{"type":"string","description":"UUID of the uploaded CDK manifest"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"stack_name":{"type":"string","description":"Name of the CDK stack"},"stack_outputs":{"type":"object","description":"Stack outputs after deployment","additionalProperties":{"type":"string"}},"stack_path":{"type":"string","description":"Path to the stack within the CDK app"},"status":{"type":"string","description":"Status of the stack operation","enum":["success","failure","skipped","in_sync","drifted"]},"template_uuid":{"type":"string","description":"UUID of the uploaded CloudFormation template"},"tree_uuid":{"type":"string","description":"UUID of the uploaded CDK tree"}},"description":"Result information for a single CDK stack in a multi-stack deployment","required":["stack_name","status"]},"Counts":{"type":"object","properties":{"added":{"type":"integer","description":"Number added","format":"int64"},"changed":{"type":"integer","description":"Number changed","format":"int64"},"deleted":{"type":"integer","description":"Number deleted","format":"int64"},"imported":{"type":"integer","description":"Number imported","format":"int64"},"removed":{"type":"integer","description":"Number removed","format":"int64"},"unchanged":{"type":"integer","description":"Number unchanged","format":"int64"}},"required":["added","changed","deleted","unchanged"]}}}}
```

## The CDKVersionConfig object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CDKVersionConfig":{"type":"object","properties":{"languages":{"type":"object","description":"Map of language names to their configurations","additionalProperties":{"$ref":"#/components/schemas/LanguageConfig"}}},"description":"Configuration for a specific CDK version"},"LanguageConfig":{"type":"object","properties":{"versions":{"type":"object","description":"Map of language versions to their configurations","additionalProperties":{"$ref":"#/components/schemas/LanguageVersionConfig"}}},"description":"Configuration for a programming language"},"LanguageVersionConfig":{"type":"object","properties":{"package_manager":{"type":"object","description":"Map of package manager names to their supported versions","additionalProperties":{"type":"array","items":{"type":"string"}}}},"description":"Configuration for a specific language version"}}}}
```

## The CDKVersions object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CDKVersions":{"type":"object","properties":{"versions":{"type":"object","description":"Map of CDK versions to their configurations","additionalProperties":{"$ref":"#/components/schemas/CDKVersionConfig"}}},"description":"CDK versions configuration"},"CDKVersionConfig":{"type":"object","properties":{"languages":{"type":"object","description":"Map of language names to their configurations","additionalProperties":{"$ref":"#/components/schemas/LanguageConfig"}}},"description":"Configuration for a specific CDK version"},"LanguageConfig":{"type":"object","properties":{"versions":{"type":"object","description":"Map of language versions to their configurations","additionalProperties":{"$ref":"#/components/schemas/LanguageVersionConfig"}}},"description":"Configuration for a programming language"},"LanguageVersionConfig":{"type":"object","properties":{"package_manager":{"type":"object","description":"Map of package manager names to their supported versions","additionalProperties":{"type":"array","items":{"type":"string"}}}},"description":"Configuration for a specific language version"}}}}
```

## The ChangedCostsByModuleResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ChangedCostsByModuleResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedcostsbymoduleresource"}},"HarnessIacmChangedcostsbymoduleresource":{"type":"object","properties":{"modules":{"type":"object","description":"Map of module/stack path to its ChangedCosts","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmChangedCosts"}},"stage_execution_id":{"type":"string"},"stage_id":{"type":"string"},"workspace_id":{"type":"string"}},"description":"Changed costs grouped by module (stack path) for a single stage execution","required":["modules"]},"HarnessIacmChangedCosts":{"type":"object","properties":{"currency":{"type":"string","description":"Currency of the costs"},"diff":{"type":"object","description":"Map of the type of resources and their costs.","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostResourcesByType"}},"diff_total_monthly_cost":{"type":"string","description":"Difference of cost between workspaces per month"},"past_total_monthly_cost":{"type":"string","description":"Total cost of the resources per month for the last workspace"},"percentage_change_total_monthly_cost":{"type":"integer","description":"The change between the costs per month represented as a percentage","format":"int64"},"stage_execution_id":{"type":"string","description":"The stage execution ID"},"stage_id":{"type":"string","description":"The stage ID"},"total_monthly_cost":{"type":"string","description":"Total cost of the resources per month"},"workspace_id":{"type":"string","description":"The workspace identifier"}},"description":"Contains the difference in cost of the resources that are changing","required":["currency","diff","total_monthly_cost","past_total_monthly_cost","diff_total_monthly_cost","percentage_change_total_monthly_cost","stage_id","stage_execution_id","workspace_id"]},"HarnessIacmCostResourcesByType":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff":{"$ref":"#/components/schemas/CostResourcesCollection"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"required":["diff","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"CostResourcesCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmCostResource"}},"HarnessIacmCostResource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"name":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"},"subresources":{"type":"object","description":"List of subresources for a resource","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostSubresource"}}},"description":"Cost of the given resource","required":["name","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"HarnessIacmCostSubresource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"description":"Cost of the given subresource","required":["current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]}}}}
```

## The ChangedCostsCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ChangedCostsCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedCosts"}},"HarnessIacmChangedCosts":{"type":"object","properties":{"currency":{"type":"string","description":"Currency of the costs"},"diff":{"type":"object","description":"Map of the type of resources and their costs.","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostResourcesByType"}},"diff_total_monthly_cost":{"type":"string","description":"Difference of cost between workspaces per month"},"past_total_monthly_cost":{"type":"string","description":"Total cost of the resources per month for the last workspace"},"percentage_change_total_monthly_cost":{"type":"integer","description":"The change between the costs per month represented as a percentage","format":"int64"},"stage_execution_id":{"type":"string","description":"The stage execution ID"},"stage_id":{"type":"string","description":"The stage ID"},"total_monthly_cost":{"type":"string","description":"Total cost of the resources per month"},"workspace_id":{"type":"string","description":"The workspace identifier"}},"description":"Contains the difference in cost of the resources that are changing","required":["currency","diff","total_monthly_cost","past_total_monthly_cost","diff_total_monthly_cost","percentage_change_total_monthly_cost","stage_id","stage_execution_id","workspace_id"]},"HarnessIacmCostResourcesByType":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff":{"$ref":"#/components/schemas/CostResourcesCollection"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"required":["diff","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"CostResourcesCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmCostResource"}},"HarnessIacmCostResource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"name":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"},"subresources":{"type":"object","description":"List of subresources for a resource","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostSubresource"}}},"description":"Cost of the given resource","required":["name","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"HarnessIacmCostSubresource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"description":"Cost of the given subresource","required":["current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]}}}}
```

## The ChangedOutputCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ChangedOutputCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedOutput"}},"HarnessIacmChangedOutput":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"}},"description":"Represents an individual output variable.","required":["change","name","value","sensitive"]}}}}
```

## The ChangedResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ChangedResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedResource"}},"HarnessIacmChangedResource":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged","imported","removed"]},"change_count":{"type":"integer","description":"Count of changes made to this resource.","format":"int64"},"changes":{"type":"object","description":"New values for this resource","additionalProperties":{"$ref":"#/components/schemas/ValueChange"}},"drift":{"type":"boolean","description":"Indicates whether this resource is experiencing drift"},"module":{"type":"string","description":"Module associated with the resource."},"name":{"type":"string","description":"Name associated with the resource."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents a change to an individual provisioned resource.","required":["provider","type","name","module","drift","change","change_count","changes","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"ValueChange":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"drift":{"type":"boolean","description":"Indicates whether this attribute is experiencing drift"},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"}},"required":["change","drift","sensitive"]}}}}
```

## The ChangedResourcesCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ChangedResourcesCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedResources"}},"HarnessIacmChangedResources":{"type":"object","properties":{"data_sources":{"$ref":"#/components/schemas/ResourceCollection"},"drift_changes":{"$ref":"#/components/schemas/ChangedResourceCollection"},"has_dependency_graph":{"type":"boolean","description":"Whether dependency graph data is available"},"outputs":{"$ref":"#/components/schemas/OutputCollection2"},"pipeline_execution":{"type":"string","description":"the identifier of the pipeline execution changes were made from."},"pipeline_stage":{"type":"string","description":"the identifier of the pipeline stage execution changes were made from."},"planned_changes":{"$ref":"#/components/schemas/ChangedResourceCollection"},"resources":{"$ref":"#/components/schemas/ResourceCollection"},"risk_assessment":{"$ref":"#/components/schemas/RiskAssessment"},"stage_id":{"type":"string","description":"The stage ID"},"workspace_id":{"type":"string","description":"identifier of the workspace associated with the data"}},"description":"Contains changed resources and outputs.","required":["pipeline_execution","drift_changes","planned_changes","resources","data_sources","outputs","workspace_id","stage_id"]},"ResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmResource"}},"HarnessIacmResource":{"type":"object","properties":{"attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"createdAt":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"drift_attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"drift_status":{"type":"string","description":"Indicates if this resource is experiencing drift.","enum":["changed","deleted","unchanged"]},"lastSyncedAt":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"mode":{"type":"string","description":"Mode associated with the resource.","enum":["resource","data","output"]},"module":{"type":"string","description":"Module associated with the resource."},"monthly_cost":{"type":"number","description":"Current period cost from CCM (null if no cost data).","format":"double"},"monthly_saving":{"type":"number","description":"Monthly potential saving from CCM (null if no cost data).","format":"double"},"name":{"type":"string","description":"Name associated with the resource."},"path_id":{"type":"string","description":"Path associated with the resource. Could be namespace, environment or stack id."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"recommendation_count":{"type":"integer","description":"Number of CCM recommendations for this resource (null if no cost data).","format":"int64"},"resource_id":{"type":"string","description":"Unique identifier for the resource from the cloud provider."},"sensitive_attributes":{"type":"array","items":{},"description":"A list of the sensitive attribute keys "},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents an individual provisioned resource.","required":["provider","type","name","module","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"ChangedResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedResource"}},"HarnessIacmChangedResource":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged","imported","removed"]},"change_count":{"type":"integer","description":"Count of changes made to this resource.","format":"int64"},"changes":{"type":"object","description":"New values for this resource","additionalProperties":{"$ref":"#/components/schemas/ValueChange"}},"drift":{"type":"boolean","description":"Indicates whether this resource is experiencing drift"},"module":{"type":"string","description":"Module associated with the resource."},"name":{"type":"string","description":"Name associated with the resource."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents a change to an individual provisioned resource.","required":["provider","type","name","module","drift","change","change_count","changes","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"ValueChange":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"drift":{"type":"boolean","description":"Indicates whether this attribute is experiencing drift"},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"}},"required":["change","drift","sensitive"]},"OutputCollection2":{"$ref":"#/components/schemas/ChangedOutputCollection"},"ChangedOutputCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedOutput"}},"HarnessIacmChangedOutput":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"}},"description":"Represents an individual output variable.","required":["change","name","value","sensitive"]},"RiskAssessment":{"type":"object","properties":{"overall_risk_summary":{"$ref":"#/components/schemas/OverallRiskSummary"},"resource_risks":{"type":"object","description":"Risk data keyed by resource address","additionalProperties":{"$ref":"#/components/schemas/ResourceRisk"}}},"description":"Risk assessment containing overall summary and per-resource risks","required":["overall_risk_summary","resource_risks"]},"OverallRiskSummary":{"type":"object","properties":{"overall_level":{"type":"string","description":"Risk level category","enum":["LOW","MEDIUM","HIGH"]},"overall_score":{"type":"integer","description":"Overall deployment risk score from 1 to 10","format":"int64","minimum":1,"maximum":10},"reason":{"type":"string","description":"Human-readable explanation of the score"}},"description":"Deployment-wide risk assessment.","required":["overall_score","overall_level","reason"]},"ResourceRisk":{"type":"object","properties":{"risk_factors":{"type":"array","items":{"type":"string"},"description":"List of risk factors"},"risk_level":{"type":"string","description":"Risk level category","enum":["LOW","MEDIUM","HIGH"]},"risk_mitigation":{"type":"array","items":{"type":"string"},"description":"Mitigation recommendations (absent when no risk factors)"},"risk_score":{"type":"integer","description":"Risk score from 1 to 10","format":"int64","minimum":1,"maximum":10}},"description":"Risk assessment for an individual resource","required":["risk_score","risk_level","risk_factors"]}}}}
```

## The CheckPushDataResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CheckPushDataResponse":{"type":"object","properties":{"disabled":{"type":"boolean","description":"Indicates if the data is allowed to be pushed"}},"required":["disabled"]}}}}
```

## The CloneWorkspaceRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CloneWorkspaceRequest":{"type":"object","properties":{"identifier":{"type":"string","description":"Workspace identifier.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","pattern":"^[A-Za-z_][A-Za-z0-9_ -]*$","minLength":1,"maxLength":128}},"required":["identifier","name"]}}}}
```

## The CompleteActivityPayload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CompleteActivityPayload":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"activity_id":{"type":"string","description":"The activity identifier from start-activity","format":"uuid"},"cdk_result":{"$ref":"#/components/schemas/CDKResult"},"error_message":{"type":"string","description":"Error message if status is failed"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"Final status of the activity","enum":["completed","failed"]},"workspace":{"type":"string","description":"Workspace identifier","minLength":1,"maxLength":128}},"description":"Payload for completing a provisioner activity","required":["account","org","project","workspace","activity_id","status"]},"CDKResult":{"type":"object","properties":{"stacks":{"type":"array","items":{"$ref":"#/components/schemas/CDKStackResult"},"description":"Results for each stack"}},"description":"Result of a CDK activity (synth, deploy, destroy)"},"CDKStackResult":{"type":"object","properties":{"assets_uuid":{"type":"string","description":"UUID of the uploaded CDK assets"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"drift_uuid":{"type":"string","description":"UUID of the uploaded drift detection results"},"error_message":{"type":"string","description":"Error message if status is failure"},"manifest_uuid":{"type":"string","description":"UUID of the uploaded CDK manifest"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"stack_name":{"type":"string","description":"Name of the CDK stack"},"stack_outputs":{"type":"object","description":"Stack outputs after deployment","additionalProperties":{"type":"string"}},"stack_path":{"type":"string","description":"Path to the stack within the CDK app"},"status":{"type":"string","description":"Status of the stack operation","enum":["success","failure","skipped","in_sync","drifted"]},"template_uuid":{"type":"string","description":"UUID of the uploaded CloudFormation template"},"tree_uuid":{"type":"string","description":"UUID of the uploaded CDK tree"}},"description":"Result information for a single CDK stack in a multi-stack deployment","required":["stack_name","status"]},"Counts":{"type":"object","properties":{"added":{"type":"integer","description":"Number added","format":"int64"},"changed":{"type":"integer","description":"Number changed","format":"int64"},"deleted":{"type":"integer","description":"Number deleted","format":"int64"},"imported":{"type":"integer","description":"Number imported","format":"int64"},"removed":{"type":"integer","description":"Number removed","format":"int64"},"unchanged":{"type":"integer","description":"Number unchanged","format":"int64"}},"required":["added","changed","deleted","unchanged"]}}}}
```

## The CompleteActivityRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CompleteActivityRequest":{"type":"object","properties":{"cdk_result":{"$ref":"#/components/schemas/CDKResult"},"error_message":{"type":"string","description":"Error message if status is failed"},"status":{"type":"string","description":"Final status of the activity","enum":["completed","failed"]}},"required":["status"]},"CDKResult":{"type":"object","properties":{"stacks":{"type":"array","items":{"$ref":"#/components/schemas/CDKStackResult"},"description":"Results for each stack"}},"description":"Result of a CDK activity (synth, deploy, destroy)"},"CDKStackResult":{"type":"object","properties":{"assets_uuid":{"type":"string","description":"UUID of the uploaded CDK assets"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"drift_uuid":{"type":"string","description":"UUID of the uploaded drift detection results"},"error_message":{"type":"string","description":"Error message if status is failure"},"manifest_uuid":{"type":"string","description":"UUID of the uploaded CDK manifest"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"stack_name":{"type":"string","description":"Name of the CDK stack"},"stack_outputs":{"type":"object","description":"Stack outputs after deployment","additionalProperties":{"type":"string"}},"stack_path":{"type":"string","description":"Path to the stack within the CDK app"},"status":{"type":"string","description":"Status of the stack operation","enum":["success","failure","skipped","in_sync","drifted"]},"template_uuid":{"type":"string","description":"UUID of the uploaded CloudFormation template"},"tree_uuid":{"type":"string","description":"UUID of the uploaded CDK tree"}},"description":"Result information for a single CDK stack in a multi-stack deployment","required":["stack_name","status"]},"Counts":{"type":"object","properties":{"added":{"type":"integer","description":"Number added","format":"int64"},"changed":{"type":"integer","description":"Number changed","format":"int64"},"deleted":{"type":"integer","description":"Number deleted","format":"int64"},"imported":{"type":"integer","description":"Number imported","format":"int64"},"removed":{"type":"integer","description":"Number removed","format":"int64"},"unchanged":{"type":"integer","description":"Number unchanged","format":"int64"}},"required":["added","changed","deleted","unchanged"]}}}}
```

## The CompleteActivityResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CompleteActivityResponse":{"type":"object","properties":{"activity_id":{"type":"string","description":"The activity identifier"},"completed_at":{"type":"integer","description":"Unix timestamp in milliseconds when activity completed","format":"int64"},"status":{"type":"string","description":"Final status of the activity","enum":["completed","failed"]},"workspace_status":{"type":"string","description":"Updated workspace status after activity completion","enum":["active","inactive","provisioning","destroying","failed","unknown","rollback_applied","drifted"]}},"required":["activity_id","status","completed_at"]}}}}
```

## The ConnectorPermissions object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ConnectorPermissions":{"type":"object","properties":{"canDelete":{"type":"boolean"}},"required":["canDelete"]}}}}
```

## The CostResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CostResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmCostsresources"}},"HarnessIacmCostsresources":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"activity_type":{"type":"string","description":"The type of activity that generated this cost (e.g. apply, plan, destroy)"},"cost":{"type":"string","description":"The cost associated to the execution metadata"},"created":{"type":"integer","description":"The epoch time for the cost","format":"int64"},"currency":{"type":"string","description":"The currency for the cost"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"workspace":{"type":"string","description":"The unique identifier for the associated workspace"}},"description":"CostResource is the representation for a single workspace of the cost and metadata that ties the cost to an execution.","required":["account","org","project","pipeline_execution_id","pipeline_stage_id","workspace","pipeline","workspace_id","workspace_name","currency","cost","created"]}}}}
```

## The CostResourcesCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CostResourcesCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmCostResource"}},"HarnessIacmCostResource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"name":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"},"subresources":{"type":"object","description":"List of subresources for a resource","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostSubresource"}}},"description":"Cost of the given resource","required":["name","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"HarnessIacmCostSubresource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"description":"Cost of the given subresource","required":["current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]}}}}
```

## The Counts object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Counts":{"type":"object","properties":{"added":{"type":"integer","description":"Number added","format":"int64"},"changed":{"type":"integer","description":"Number changed","format":"int64"},"deleted":{"type":"integer","description":"Number deleted","format":"int64"},"imported":{"type":"integer","description":"Number imported","format":"int64"},"removed":{"type":"integer","description":"Number removed","format":"int64"},"unchanged":{"type":"integer","description":"Number unchanged","format":"int64"}},"required":["added","changed","deleted","unchanged"]}}}}
```

## The CreateApprovalRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateApprovalRequest":{"type":"object","properties":{"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline execution stage"},"status":{"type":"string","description":"Status of the approval resource","default":"pending","enum":["pending","approved","rejected"]},"workspace_id":{"type":"string","description":"The unique identifier for the workspace_id"}},"required":["pipeline_execution_id","pipeline_stage_id","workspace_id"]}}}}
```

## The CreateDataResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateDataResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier for the data"},"policy_evaluation":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataPolicyEvaluation"},"description":"Individual policy evaluation details"},"policy_evaluation_message":{"type":"string","description":"Pre-rendered message included when policy evaluation did not pass"},"policy_evaluation_status":{"type":"string","description":"The overall status of policy evaluation (if it occurred) indicating whether it passed","enum":["error","warning","pass"]}},"required":["id"]},"WorkspaceDataPolicyEvaluation":{"type":"object","properties":{"message":{"type":"string"},"policy_id":{"type":"string"},"policy_name":{"type":"string"},"policy_set_id":{"type":"string"},"policy_set_name":{"type":"string"},"policy_status":{"type":"string"}},"required":["policy_set_id","policy_set_name","policy_id","policy_name","policy_status","message"]}}}}
```

## The CreateExecutionRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateExecutionRequest":{"type":"object","properties":{"pipeline":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"workspace":{"type":"string","description":"The unique identifier for the associated workspace"}},"required":["pipeline_execution_id","pipeline_stage_id","workspace","pipeline"]}}}}
```

## The CreateExecutionResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateExecutionResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"The overall status of the execution","enum":["none","success","failure"]},"workspace":{"type":"string","description":"The unique identifier for the associated workspace"}},"required":["status","created","account","org","project","pipeline_execution_id","pipeline_stage_id","workspace","pipeline"]}}}}
```

## The CreateRemediationRunRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateRemediationRunRequest":{"type":"object","properties":{"input_payload":{"description":"Input context for the remediation agent"},"insight_id":{"type":"string","description":"Insight (recommendation) id being remediated; empty for legacy callers."},"pipeline_execution_id":{"type":"string","description":"Pipeline execution identifier"},"pipeline_identifier":{"type":"string","description":"Identifier of the pipeline that created this run (from the caller's HARNESS_PIPELINE_ID). Empty for legacy callers."},"remediation_type":{"type":"string","description":"Type of remediation","enum":["drift","ccm","sto","custom"]},"triggered_by":{"type":"string","description":"User or system that triggered the run"}},"required":["remediation_type","triggered_by"]}}}}
```

## The CreateRemediationRunResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateRemediationRunResponse":{"type":"object","properties":{"account":{"type":"string"},"created":{"type":"integer","description":"Created timestamp in milliseconds","format":"int64"},"id":{"type":"string","description":"Unique identifier"},"input_payload":{"description":"Input context"},"insight_id":{"type":"string","description":"Insight (recommendation) id linked to this run, if any."},"org":{"type":"string"},"pipeline_execution_id":{"type":"string"},"pipeline_identifier":{"type":"string","description":"Identifier of the pipeline that created this run."},"project":{"type":"string"},"recommendation_source":{"type":"string","description":"Recommendation source persisted for the insight link (derived server-side from remediation_type)."},"remediation_type":{"type":"string","enum":["drift","ccm","sto","custom"]},"result_payload":{"description":"Result data"},"result_type":{"type":"string","enum":["pr_created","explanation"]},"status":{"type":"string","description":"Current status","enum":["pending","running","succeeded","failed"]},"triggered_by":{"type":"string"},"updated":{"type":"integer","description":"Updated timestamp in milliseconds","format":"int64"},"workspace":{"type":"string"}},"required":["id","account","org","project","workspace","status","remediation_type","triggered_by","created","updated"]}}}}
```

## The CreateRemoteExecutionRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateRemoteExecutionRequest":{"type":"object","properties":{"custom_arguments":{"type":"object","description":"The arguments supplied to the plan.","additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["id","pipeline_execution_id","pipeline_execution_url","created","updated","executed","sha256_checksum"]}}}}
```

## The CreateRemoteExecutionResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateRemoteExecutionResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"custom_arguments":{"type":"object","description":"The arguments supplied to the plan.","additionalProperties":{"type":"array","items":{"type":"string"}}},"executed":{"type":"boolean","description":"The boolean value indicating if the remote execution has been executed."},"id":{"type":"string","description":"The ID of the remote execution.","format":"uuid"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The pipeline execution ID of the pipeline executing the remote execution"},"pipeline_execution_url":{"type":"string","description":"The pipeline execution URL of the pipeline executing the remote execution"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"sha256_checksum":{"type":"string","description":"The checksum of the patch file of changes that the remote execution will run against."},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"workspace":{"type":"string","description":"The workspace associated with the remote execution."}},"required":["account","org","project","id","workspace","pipeline_execution_id","pipeline_execution_url","created","updated","executed","sha256_checksum"]}}}}
```

## The CreateVariableSetRequestAccScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateVariableSetRequestAccScope":{"type":"object","properties":{"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"required":["identifier","name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The CreateVariableSetRequestOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateVariableSetRequestOrgScope":{"type":"object","properties":{"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"required":["identifier","name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The CreateVariableSetRequestProjScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateVariableSetRequestProjScope":{"type":"object","properties":{"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"required":["identifier","name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The CreateWorkspaceRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateWorkspaceRequest":{"type":"object","properties":{"associated_template":{"$ref":"#/components/schemas/AssociatedTemplate"},"budget":{"type":"number","description":"define the budget for a specific workspace","format":"float"},"ccm_cost_enabled":{"type":"boolean","description":"define if CCM cost integration is enabled for this workspace","default":false},"cost_breakdown_json":{"type":"string","description":"cost_breakdown_json is the identifier to the breakdown cost file from the current execution that was applied successfully"},"cost_diff_json":{"type":"string","description":"cost_diff_json is the identifier to the diff cost file between the previous and current successful executions"},"cost_estimation_enabled":{"type":"boolean","description":"define if cost estimation operations will be performed in this workspace","default":false},"create_default_pipelines":{"type":"boolean","description":"if true, auto-generate default pipelines for the workspace provisioner at creation time","default":true},"default_pipelines":{"type":"object","description":"List of default pipelines associated with this workspace and any per-workspace overrides.","additionalProperties":{"$ref":"#/components/schemas/DefaultPipelineOverride"}},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"list of environment variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/Variable"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128},"modules_json":{"type":"string","description":"modules_json is the identifier of any modules metadata associated with this workspace"},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"Provider Connector is the reference to the connector for the infrastructure provider."},"provider_connectors":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceProviderConnector"},"description":"define an array of provider connectors that belong to Workspace"},"providers_json":{"type":"string","description":"providers_json is the identifier of any modules metadata associated with this workspace"},"provisioner":{"type":"string","description":"Provisioner defines the provisioning tool to use."},"provisioner_configuration":{"type":"string","description":"Provisioner configuration metadata (key value pair provisioner specific configuration)."},"provisioner_version":{"type":"string","description":"Provisioner Version defines the tool version to use.","default":"latest"},"prune_sensitive_data":{"type":"boolean","description":"prune_sensitive_data is a flag to enable or disable pruning of sensitive data","default":false},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"repository_submodules":{"type":"string","description":"repository_submodules is the instruction about whether to clone submodules in the pipeline step","default":"false","enum":["false","true","recursive"]},"run_all":{"type":"boolean","description":"Run-All terragrunt modules."},"sparse_checkout":{"type":"string","description":"List of patterens that will be used for sparse checkout option of git clone"},"state_checksum":{"type":"string","description":"state_checksum is the sha-256 checksum of terraform state file"},"tags":{"type":"object","description":"Tags associated with the workspace.","additionalProperties":{"type":"string"}},"terraform_plan_json":{"type":"string","description":"terraform_plan_json is the identifier to the current state file only in JSON format."},"terraform_state":{"type":"string","description":"terraform_state is the identifier to the plan file used to create the latest state."},"terraform_state_json":{"type":"string","description":"terraform_state_json is the identifier to the plan file used to create the latest state only in JSON format."},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceTerraformVariableFiles"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"list of terraform variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/Variable"}},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"terragrunt_version":{"type":"string","description":"Terragrunt Version to use when provisioner is terragrunt."},"variable_sets":{"type":"array","items":{"type":"string"},"description":"Attached Variable Sets references"}},"required":["identifier","name","provider_connector","provisioner","terraform_variables","environment_variables"]},"AssociatedTemplate":{"type":"object","properties":{"template_id":{"type":"string","description":"Template ID of the template associated to the Workspace.","minLength":1,"maxLength":128},"version":{"type":"string","description":"Version of the template associated to the Workspace.","minLength":1,"maxLength":64}},"description":"AssociatedTemplate defines the template details with template_id and version."},"DefaultPipelineOverride":{"type":"object","properties":{"project_pipeline":{"type":"string","description":"Default pipeline assigned as the project-level"},"workspace_pipeline":{"type":"string","description":"Default pipeline assigned as the workspace-level"}},"description":"Per-workspace override to the assigned default pipelines."},"Variable":{"type":"object","properties":{"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a workspace.","required":["key","value","value_type","kind"]},"WorkspaceProviderConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the connector was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"type":{"type":"string","description":"Type indicates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the connector was last updated.","format":"int64"},"workspace_id":{"type":"integer","description":"Workspace ID FK for internal uses","format":"int64"}},"description":"Workspace provider connector","required":["connector_ref","type"]},"WorkspaceTerraformVariableFiles":{"type":"object","properties":{"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."}},"description":"WorkspaceTerraformVarFiles defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The CreateWorkspaceTemplateRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateWorkspaceTemplateRequest":{"type":"object","properties":{"template_id":{"type":"string","description":"Template identifier","minLength":1,"maxLength":128},"version":{"type":"string","description":"Template version","minLength":1,"maxLength":64},"workspace_id":{"type":"string","description":"Workspace identifier","minLength":1,"maxLength":128}},"required":["workspace_id","template_id","version"]}}}}
```

## The CreateWorkspaceTemplateResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateWorkspaceTemplateResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account identifier.","minLength":1,"maxLength":128},"created_at":{"type":"integer","description":"Timestamp when the workspace-template association was created.","format":"int64"},"org":{"type":"string","description":"Organization identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project identifier.","minLength":1,"maxLength":128},"template_id":{"type":"string","description":"Template identifier.","minLength":1,"maxLength":128},"updated_at":{"type":"integer","description":"Timestamp when the workspace-template association was last updated.","format":"int64"},"version":{"type":"string","description":"Template version associated with the workspace.","minLength":1,"maxLength":32},"workspace_id":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128}},"required":["workspace_id","template_id","created_at","updated_at","account","project","org"]}}}}
```

## The CreateWorkspaceVariableRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateWorkspaceVariableRequest":{"type":"object","properties":{"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"kind":{"type":"string","description":"Kind is the classfcation of the variable.","enum":["env","tf"]},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"required":["key","value","value_type","kind"]}}}}
```

## The CreateWorkspaceVariableResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateWorkspaceVariableResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"kind":{"type":"string","description":"Kind is the classfcation of the variable.","enum":["env","tf"]},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"policy_evaluation":{"$ref":"#/components/schemas/Evaluation"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]},"workspace":{"type":"string","description":"Workspace is the resource workspace this variable is associated with."}},"required":["account","org","project","workspace","key","value","value_type","kind","created","updated"]},"Evaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"EvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"EvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The DefaultPipelineCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DefaultPipelineCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmDefaultpipeline"}},"HarnessIacmDefaultpipeline":{"type":"object","properties":{"account":{"type":"string"},"operation":{"type":"string","description":"The default pipeline is associated with this operation","enum":["plan","apply","destroy","drift","synth","diff","deploy","remediation"]},"org":{"type":"string"},"pipeline":{"type":"string","description":"The default pipeline associated with the provisioner operation"},"project":{"type":"string"},"provisioner":{"type":"string","description":"The default pipeline is associated with this provisioner","enum":["terraform","opentofu","terragrunt","awscdk"]},"updated":{"type":"integer","description":"Time the default pipeline was last updated","format":"int64"},"workspace":{"type":"string","description":"The default pipeline is associated with this workspace if specified","default":""}},"required":["account","org","project","provisioner","operation","pipeline","updated"]}}}}
```

## The DefaultPipelineIdentifier object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DefaultPipelineIdentifier":{"type":"object","properties":{"account":{"type":"string"},"operation":{"type":"string","description":"The default pipeline is associated with this operation","enum":["plan","apply","destroy","drift","synth","diff","deploy","remediation"]},"org":{"type":"string"},"project":{"type":"string"},"provisioner":{"type":"string","description":"The default pipeline is associated with this provisioner","enum":["terraform","opentofu","terragrunt","awscdk"]},"workspace":{"type":"string","description":"The default pipeline is associated with this workspace if specified","default":""}},"required":["account","org","project","provisioner","operation"]}}}}
```

## The DefaultPipelineOverride object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DefaultPipelineOverride":{"type":"object","properties":{"project_pipeline":{"type":"string","description":"Default pipeline assigned as the project-level"},"workspace_pipeline":{"type":"string","description":"Default pipeline assigned as the workspace-level"}},"description":"Per-workspace override to the assigned default pipelines."}}}}
```

## The DeleteDefaultPipelineRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DeleteDefaultPipelineRequest":{"type":"object","properties":{"operation":{"type":"string","description":"The default pipeline is associated with this operation","enum":["plan","apply","destroy","drift","synth","diff","deploy","remediation"]},"provisioner":{"type":"string","description":"The default pipeline is associated with this provisioner","enum":["terraform","opentofu","terragrunt","awscdk"]},"workspace":{"type":"string","description":"The default pipeline is associated with this workspace if specified","default":""}},"required":["provisioner","operation"]}}}}
```

## The DeleteDriftConfigResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DeleteDriftConfigResponse":{"type":"object","properties":{"status":{"type":"string","description":"Outcome message"}},"required":["status"]}}}}
```

## The DeleteEphemeralConfigResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DeleteEphemeralConfigResponse":{"type":"object","properties":{"status":{"type":"string","description":"Outcome message"}},"required":["status"]}}}}
```

## The DeleteResourcesRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DeleteResourcesRequest":{"type":"object","properties":{"resources":{"type":"array","items":{"$ref":"#/components/schemas/ResourceDelete"}}},"required":["resources"]},"ResourceDelete":{"type":"object","properties":{"module":{"type":"string","description":"Module path"},"name":{"type":"string","description":"Resource name"},"path_id":{"type":"string","description":"Path id"},"provider":{"type":"string","description":"Provider name"},"type":{"type":"string","description":"Resource type"}},"description":"Resource delete information","required":["provider","type","name","module"]}}}}
```

## The DeleteResourcesResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DeleteResourcesResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ResourceDeleteResult"}},"summary":{"$ref":"#/components/schemas/ResourceDeleteSummary"}},"required":["results","summary"]},"ResourceDeleteResult":{"type":"object","properties":{"error":{"type":"string"},"module":{"type":"string"},"name":{"type":"string"},"provider":{"type":"string"},"status":{"type":"string","enum":["deleted","skipped","failed"]},"type":{"type":"string"}},"description":"Result of a resource delete operation","required":["provider","type","name","module"]},"ResourceDeleteSummary":{"type":"object","properties":{"deleted":{"type":"integer","description":"Number of resources successfully deleted","format":"int64"},"failed":{"type":"integer","description":"Number of resources that failed to delete","format":"int64"},"skipped":{"type":"integer","description":"Number of resources skipped","format":"int64"},"total":{"type":"integer","description":"Total number of resources processed","format":"int64"}},"description":"Summary of a resource delete operation","required":["total","deleted","skipped","failed"]}}}}
```

## The DeleteStaleResourcesRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DeleteStaleResourcesRequest":{"type":"object","properties":{"session_id":{"type":"string","description":"Current session ID - resources not matching this will be deleted","format":"uuid"}},"required":["session_id"]}}}}
```

## The DeleteStaleResourcesResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DeleteStaleResourcesResponse":{"type":"object","properties":{"deleted_count":{"type":"integer","description":"Number of stale resources deleted","format":"int64"}},"required":["deleted_count"]}}}}
```

## The DependencyGraph object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DependencyGraph":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/GraphEdge"},"description":"Dependency relationships between resources"},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/GraphNode"},"description":"All resources in the Terraform configuration"}},"description":"Complete directed graph of resource dependencies.","required":["nodes","edges"]},"GraphEdge":{"type":"object","properties":{"attributes":{"type":"array","items":{"type":"string"},"description":"Attribute names that create the dependency"},"source":{"type":"string","description":"Address of the resource being depended upon"},"target":{"type":"string","description":"Address of the resource that depends on the source"}},"description":"Represents a dependency relationship between resources.","required":["source","target","attributes"]},"GraphNode":{"type":"object","properties":{"address":{"type":"string","description":"Full resource address"},"change":{"type":"string","description":"Semantic change type for this resource","enum":["unchanged","added","changed","replaced","deleted","removed"]},"is_changed":{"type":"boolean","description":"Whether this resource has changes in the current plan"},"is_imported":{"type":"boolean","description":"Whether this resource is being imported into state"},"name":{"type":"string","description":"Resource name as defined in Terraform"},"type":{"type":"string","description":"Resource type without provider prefix"}},"description":"Represents a resource node in the dependency graph.","required":["address","type","name","is_changed"]}}}}
```

## The DestroyWorkspaceVariableResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DestroyWorkspaceVariableResponse":{"type":"object","properties":{"policy_evaluation":{"$ref":"#/components/schemas/Evaluation"}}},"Evaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"EvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"EvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The DisableEphemeralWorkspacesInProjectResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DisableEphemeralWorkspacesInProjectResponse":{"type":"object","properties":{"job_id":{"type":"integer","description":"Background job identifier","format":"int64"},"status":{"type":"string","description":"Outcome message"}},"required":["status","job_id"]}}}}
```

## The DisableProjectDriftResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DisableProjectDriftResponse":{"type":"object","properties":{"job_id":{"type":"integer","description":"Background job identifier","format":"int64"},"status":{"type":"string","description":"Outcome message"}},"required":["status","job_id"]}}}}
```

## The EnableEphemeralWorkspacesInProjectRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"EnableEphemeralWorkspacesInProjectRequest":{"type":"object","properties":{"delete_delay_unit":{"type":"string","description":"Unit for delete delay","enum":["seconds","minutes","hours","days"]},"delete_delay_value":{"type":"integer","description":"Delete workspace after N hours or days from now","format":"int64"},"delete_on_date":{"type":"string","description":"Specific date to delete workspace (ISO 8601 format, e.g. 2026-09-02)"},"delete_workspace":{"type":"boolean","description":"Whether to delete the workspace record after infrastructure is destroyed"},"destroy_delay_unit":{"type":"string","description":"Unit for destroy delay","enum":["seconds","minutes","hours","days"]},"destroy_delay_value":{"type":"integer","description":"Destroy infrastructure after N hours or days from now","format":"int64"},"destroy_on_date":{"type":"string","description":"Specific date to destroy infrastructure (ISO 8601 format, e.g. 2026-08-24)"},"pipeline_id":{"type":"string","description":"Pipeline to run for destroying infrastructure"},"provisioner":{"type":"string","description":"Provisioner type to enable ephemeral for","enum":["terraform","opentofu","terragrunt","awscdk"]}},"required":["pipeline_id","provisioner"]}}}}
```

## The EnableEphemeralWorkspacesInProjectResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"EnableEphemeralWorkspacesInProjectResponse":{"type":"object","properties":{"job_id":{"type":"integer","description":"Background job identifier","format":"int64"},"status":{"type":"string","description":"Outcome message"}},"required":["status","job_id"]}}}}
```

## The EnableProjectDriftRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"EnableProjectDriftRequest":{"type":"object","properties":{"pipeline_id":{"type":"string","description":"Pipeline to run for drift detection"},"provisioner":{"type":"string","description":"Provisioner type to enable drift for","enum":["terraform","opentofu","terragrunt","awscdk"]},"run_every":{"type":"integer","description":"Run drift detection every N hours or N days (see run_every_unit)","format":"int64"},"run_every_unit":{"type":"string","description":"hours or days","enum":["seconds","minutes","hours","days"]}},"required":["pipeline_id","provisioner","run_every","run_every_unit"]}}}}
```

## The EnableProjectDriftResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"EnableProjectDriftResponse":{"type":"object","properties":{"job_id":{"type":"integer","description":"Background job identifier","format":"int64"},"status":{"type":"string","description":"Outcome message"}},"required":["status","job_id"]}}}}
```

## The EnableProjectRemediationPayload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"EnableProjectRemediationPayload":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_id":{"type":"string","description":"Optional remediation pipeline to attach or replace"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project"]}}}}
```

## The EnableProjectRemediationRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"EnableProjectRemediationRequest":{"type":"object","properties":{"pipeline_id":{"type":"string","description":"Optional remediation pipeline to attach or replace"}}}}}}
```

## The Error object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## The EvaluateDataResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"EvaluateDataResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier for the data"},"policy_evaluation":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataPolicyEvaluation"},"description":"Individual policy evaluation details"},"policy_evaluation_message":{"type":"string","description":"Pre-rendered message included when policy evaluation did not pass"},"policy_evaluation_status":{"type":"string","description":"The overall status of policy evaluation (if it occurred) indicating whether it passed","enum":["error","warning","pass"]}},"required":["id"]},"WorkspaceDataPolicyEvaluation":{"type":"object","properties":{"message":{"type":"string"},"policy_id":{"type":"string"},"policy_name":{"type":"string"},"policy_set_id":{"type":"string"},"policy_set_name":{"type":"string"},"policy_status":{"type":"string"}},"required":["policy_set_id","policy_set_name","policy_id","policy_name","policy_status","message"]}}}}
```

## The EvaluatedPolicy object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"EvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The Evaluation object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Evaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"EvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"EvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The EvaluationDetail object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"EvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"EvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The Execution object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Execution":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"workspace":{"type":"string","description":"The unique identifier for the associated workspace"}},"description":"Execution defines an individual execution of a workspace workflow","required":["account","org","project","pipeline_execution_id","pipeline_stage_id","workspace","pipeline"]}}}}
```

## The ExecutionResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ExecutionResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmExecution"}},"HarnessIacmExecution":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"The overall status of the execution","enum":["none","success","failure"]},"workspace":{"type":"string","description":"The unique identifier for the associated workspace"}},"description":"ExecutionResource is the representation for a single workflow execution.","required":["status","created","account","org","project","pipeline_execution_id","pipeline_stage_id","workspace","pipeline"]}}}}
```

## The GetDriftConfigResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetDriftConfigResponse":{"type":"object","properties":{"enabled":{"type":"boolean"},"pipeline_id":{"type":"string"},"run_every":{"type":"integer","description":"Repeat interval; set when schedule is configured","format":"int64"},"run_every_unit":{"type":"string","description":"hours or days","enum":["seconds","minutes","hours","days"]},"trigger_id":{"type":"string"}},"required":["enabled"]}}}}
```

## The GetEphemeralConfigResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetEphemeralConfigResponse":{"type":"object","properties":{"delete_at":{"type":"string","description":"Scheduled deletion timestamp (ISO 8601)"},"delete_delay_unit":{"type":"string","description":"Configured delete delay unit (hours or days)","enum":["seconds","minutes","hours","days"]},"delete_delay_value":{"type":"integer","description":"Configured delete delay value (when delete_workspace is true)","format":"int64"},"delete_on_date":{"type":"string","description":"Configured delete date (YYYY-MM-DD) when schedule uses a specific date"},"delete_workspace":{"type":"boolean","description":"Whether workspace will be deleted after destroy"},"destroy_at":{"type":"string","description":"Scheduled destruction timestamp (ISO 8601)"},"destroy_on_date":{"type":"string","description":"Configured destroy date (YYYY-MM-DD) when schedule uses a specific date"},"enabled":{"type":"boolean"},"pipeline_id":{"type":"string"},"provisioner":{"type":"string","description":"Provisioner this configuration applies to"},"source":{"type":"string","description":"Origin of the configuration: 'workspace', 'project', or 'disabled'","enum":["workspace","project","disabled"]},"trigger_id":{"type":"string","description":"Harness trigger ID for the destroy schedule"},"ttl_unit":{"type":"string","description":"Configured destroy delay unit (hours or days)","enum":["seconds","minutes","hours","days"]},"ttl_value":{"type":"integer","description":"Configured destroy delay value (when schedule uses delay)","format":"int64"}},"required":["enabled"]}}}}
```

## The GetEphemeralWorkspacesInProjectResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetEphemeralWorkspacesInProjectResponse":{"type":"object","properties":{"delete_delay_unit":{"type":"string","description":"Configured delete delay unit (hours or days)","enum":["seconds","minutes","hours","days"]},"delete_delay_value":{"type":"integer","description":"Configured delete delay value (when delete_workspace is true)","format":"int64"},"delete_on_date":{"type":"string","description":"Configured delete date (YYYY-MM-DD) when schedule uses a specific date"},"delete_workspace":{"type":"boolean","description":"Whether workspace records will be deleted after destroy"},"destroy_on_date":{"type":"string","description":"Configured destroy date (YYYY-MM-DD) when schedule uses a specific date"},"enabled":{"type":"boolean","description":"Whether project-level ephemeral automation is currently enabled for this provisioner"},"pipeline_id":{"type":"string","description":"Pipeline configured for destroying infrastructure"},"provisioner":{"type":"string","description":"Provisioner this configuration applies to"},"ttl_unit":{"type":"string","description":"Configured destroy delay unit (hours or days)","enum":["seconds","minutes","hours","days"]},"ttl_value":{"type":"integer","description":"Configured destroy delay value (when schedule uses delay)","format":"int64"}},"required":["enabled","provisioner"]}}}}
```

## The GetInsightResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetInsightResponse":{"type":"object","properties":{"action":{"type":"string","description":"Raw suggested-action string for the insight; empty when not applicable."},"applied_by":{"type":"string","description":"User or system that applied the insight (latest remediating run triggered_by). Empty when not applied via a remediating run."},"applied_on":{"type":"integer","description":"Unix timestamp in milliseconds when the insight was applied (latest remediating run created time). Empty when not applied via a remediating run.","format":"int64"},"details_link":{"type":"string","description":"Deep link to view the insight in the source system."},"id":{"type":"string","description":"Stable per-insight identifier."},"monthly_saving":{"type":"number","description":"Potential monthly saving if the insight is acted on.","format":"double"},"monthly_spend":{"type":"number","description":"Current monthly spend on the resource.","format":"double"},"pipeline_execution_id":{"type":"string","description":"Pipeline execution id for the latest remediation run."},"pipeline_identifier":{"type":"string","description":"Identifier of the pipeline that created the latest remediation run. Empty for runs that predate this column."},"remediation_result_payload":{"description":"Latest remediation result payload (e.g. pr_link, skip reasons, error)."},"remediation_result_type":{"type":"string","description":"Latest remediation result type; empty while in-flight.","enum":["pr_created","explanation"]},"remediation_run_id":{"type":"string","description":"Latest remediation run id for this insight, if any."},"remediation_status":{"type":"string","description":"Latest remediation run status.","enum":["pending","running","succeeded","failed"]},"resource":{"type":"object","description":"Curated, resource-type-specific key/value details.","additionalProperties":true},"resource_type":{"type":"string","description":"Raw resource-type string."},"state":{"type":"string","description":"Insight state: OPEN or APPLIED."},"type":{"type":"string","description":"Insight type.","enum":["cost","drift"]}},"required":["id","type","monthly_saving","monthly_spend","state"]}}}}
```

## The GetProjectDriftResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetProjectDriftResponse":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether project-level drift automation is currently enabled for this provisioner"},"pipeline_id":{"type":"string","description":"Pipeline configured to run for drift detection"},"provisioner":{"type":"string","description":"Provisioner this configuration applies to"},"run_every":{"type":"integer","description":"Repeat interval; set when drift is enabled","format":"int64"},"run_every_unit":{"type":"string","description":"hours or days","enum":["seconds","minutes","hours","days"]}},"required":["enabled","provisioner"]}}}}
```

## The GetProjectRemediationConfigResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetProjectRemediationConfigResponse":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether project-level remediation is enabled"},"pipeline_id":{"type":"string","description":"Remediation pipeline identifier when enabled"}},"required":["enabled"]}}}}
```

## The GetRemediationConfigResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetRemediationConfigResponse":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether remediation is enabled for this workspace"},"source":{"type":"string","description":"Origin of the configuration","enum":["project","disabled","none"]}},"required":["enabled","source"]}}}}
```

## The GetRemediationRunResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetRemediationRunResponse":{"type":"object","properties":{"account":{"type":"string"},"created":{"type":"integer","description":"Created timestamp in milliseconds","format":"int64"},"id":{"type":"string","description":"Unique identifier"},"input_payload":{"description":"Input context"},"insight_id":{"type":"string","description":"Insight (recommendation) id linked to this run, if any."},"org":{"type":"string"},"pipeline_execution_id":{"type":"string"},"pipeline_identifier":{"type":"string","description":"Identifier of the pipeline that created this run."},"project":{"type":"string"},"recommendation_source":{"type":"string","description":"Recommendation source persisted for the insight link (derived server-side from remediation_type)."},"remediation_type":{"type":"string","enum":["drift","ccm","sto","custom"]},"result_payload":{"description":"Result data"},"result_type":{"type":"string","enum":["pr_created","explanation"]},"status":{"type":"string","description":"Current status","enum":["pending","running","succeeded","failed"]},"triggered_by":{"type":"string"},"updated":{"type":"integer","description":"Updated timestamp in milliseconds","format":"int64"},"workspace":{"type":"string"}},"required":["id","account","org","project","workspace","status","remediation_type","triggered_by","created","updated"]}}}}
```

## The GetResourceChangeCountsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetResourceChangeCountsResponse":{"type":"object","properties":{"added":{"type":"integer","description":"Count of added resources in planned changes.","format":"int64"},"changed":{"type":"integer","description":"Count of changed resources in planned changes.","format":"int64"},"data_sources":{"type":"integer","description":"Badge for data_sources filter.","format":"int64"},"deleted":{"type":"integer","description":"Count of deleted resources in planned changes.","format":"int64"},"drift_added":{"type":"integer","description":"Count of added resources in drift changes.","format":"int64"},"drift_changed":{"type":"integer","description":"Count of changed resources in drift changes.","format":"int64"},"drift_changes":{"type":"integer","description":"Badge for drift_changes filter.","format":"int64"},"drift_deleted":{"type":"integer","description":"Count of deleted resources in drift changes.","format":"int64"},"drift_imported":{"type":"integer","description":"Count of imported resources in drift changes.","format":"int64"},"drift_removed":{"type":"integer","description":"Count of removed resources in drift changes.","format":"int64"},"drift_unchanged":{"type":"integer","description":"Count of unchanged resources in drift changes, which unlike planned unchanged rows are part of the drift_changes total.","format":"int64"},"imported":{"type":"integer","description":"Count of imported resources in planned changes.","format":"int64"},"outputs":{"type":"integer","description":"Badge for outputs filter.","format":"int64"},"planned_changes":{"type":"integer","description":"Badge for planned_changes filter.","format":"int64"},"removed":{"type":"integer","description":"Count of removed resources in planned changes.","format":"int64"},"resources":{"type":"integer","description":"Badge for resources filter.","format":"int64"},"unchanged":{"type":"integer","description":"Count of unchanged resources (own lazy-loaded filter).","format":"int64"}},"required":["added","changed","deleted","unchanged","removed","imported","planned_changes","drift_changes","drift_added","drift_changed","drift_deleted","drift_unchanged","drift_removed","drift_imported","resources","data_sources","outputs"]}}}}
```

## The GetResourceChangePageResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetResourceChangePageResponse":{"type":"object","properties":{"changed_resources":{"$ref":"#/components/schemas/ChangedResourceCollection"},"filter":{"type":"string","description":"The filter this page belongs to.","enum":["planned_changes","unchanged","drift_changes","resources","data_sources","outputs"]},"outputs":{"$ref":"#/components/schemas/OutputCollection2"},"page":{"type":"integer","description":"1-indexed page number returned.","format":"int64"},"pageSize":{"type":"integer","description":"Fixed page size.","format":"int64"},"resources":{"$ref":"#/components/schemas/ResourceCollection"},"totalItems":{"type":"integer","description":"Total items available in this filter.","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available in this filter.","format":"int64"}},"required":["filter","page","totalItems","totalPages","pageSize"]},"ChangedResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedResource"}},"HarnessIacmChangedResource":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged","imported","removed"]},"change_count":{"type":"integer","description":"Count of changes made to this resource.","format":"int64"},"changes":{"type":"object","description":"New values for this resource","additionalProperties":{"$ref":"#/components/schemas/ValueChange"}},"drift":{"type":"boolean","description":"Indicates whether this resource is experiencing drift"},"module":{"type":"string","description":"Module associated with the resource."},"name":{"type":"string","description":"Name associated with the resource."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents a change to an individual provisioned resource.","required":["provider","type","name","module","drift","change","change_count","changes","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"ValueChange":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"drift":{"type":"boolean","description":"Indicates whether this attribute is experiencing drift"},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"}},"required":["change","drift","sensitive"]},"OutputCollection2":{"$ref":"#/components/schemas/ChangedOutputCollection"},"ChangedOutputCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedOutput"}},"HarnessIacmChangedOutput":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"}},"description":"Represents an individual output variable.","required":["change","name","value","sensitive"]},"ResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmResource"}},"HarnessIacmResource":{"type":"object","properties":{"attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"createdAt":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"drift_attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"drift_status":{"type":"string","description":"Indicates if this resource is experiencing drift.","enum":["changed","deleted","unchanged"]},"lastSyncedAt":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"mode":{"type":"string","description":"Mode associated with the resource.","enum":["resource","data","output"]},"module":{"type":"string","description":"Module associated with the resource."},"monthly_cost":{"type":"number","description":"Current period cost from CCM (null if no cost data).","format":"double"},"monthly_saving":{"type":"number","description":"Monthly potential saving from CCM (null if no cost data).","format":"double"},"name":{"type":"string","description":"Name associated with the resource."},"path_id":{"type":"string","description":"Path associated with the resource. Could be namespace, environment or stack id."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"recommendation_count":{"type":"integer","description":"Number of CCM recommendations for this resource (null if no cost data).","format":"int64"},"resource_id":{"type":"string","description":"Unique identifier for the resource from the cloud provider."},"sensitive_attributes":{"type":"array","items":{},"description":"A list of the sensitive attribute keys "},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents an individual provisioned resource.","required":["provider","type","name","module","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]}}}}
```

## The GetResourceResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetResourceResponse":{"type":"object","properties":{"attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"createdAt":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"drift_attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"drift_status":{"type":"string","description":"Indicates if this resource is experiencing drift.","enum":["changed","deleted","unchanged"]},"lastSyncedAt":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"mode":{"type":"string","description":"Mode associated with the resource.","enum":["resource","data","output"]},"module":{"type":"string","description":"Module associated with the resource."},"monthly_cost":{"type":"number","description":"Current period cost from CCM (null if no cost data).","format":"double"},"monthly_saving":{"type":"number","description":"Monthly potential saving from CCM (null if no cost data).","format":"double"},"name":{"type":"string","description":"Name associated with the resource."},"path_id":{"type":"string","description":"Path associated with the resource. Could be namespace, environment or stack id."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"recommendation_count":{"type":"integer","description":"Number of CCM recommendations for this resource (null if no cost data).","format":"int64"},"resource_id":{"type":"string","description":"Unique identifier for the resource from the cloud provider."},"sensitive_attributes":{"type":"array","items":{},"description":"A list of the sensitive attribute keys "},"type":{"type":"string","description":"Type of the provisioned resource."}},"required":["provider","type","name","module","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]}}}}
```

## The GetVariablesAndProvidersResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetVariablesAndProvidersResponse":{"type":"object","properties":{"environment_variables":{"type":"array","items":{"$ref":"#/components/schemas/VariableWithPermissions"}},"provider_connectors":{"type":"array","items":{"$ref":"#/components/schemas/ProviderConnectorWithPermissions"}},"terraform_variables":{"type":"array","items":{"$ref":"#/components/schemas/VariableWithPermissions"}},"variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableFileWithPermissions"}}},"required":["terraform_variables","environment_variables","provider_connectors","variable_files"]},"VariableWithPermissions":{"type":"object","properties":{"associatedTemplate":{"type":"string"},"associatedVariableSet":{"type":"string"},"created":{"type":"integer","format":"int64"},"inUse":{"type":"boolean","description":"Indicates if this variable is the one actively used in the workspace"},"includeInWorkspace":{"type":"boolean"},"isLocked":{"type":"boolean"},"key":{"type":"string"},"kind":{"type":"string"},"permissions":{"$ref":"#/components/schemas/VariablePermissions"},"source":{"type":"string","enum":["workspace","template","variableSet"]},"updated":{"type":"integer","format":"int64"},"uuid":{"type":"string","description":"Unique identifier for this variable"},"value":{"type":"string"},"value_type":{"type":"string"}},"required":["uuid","key","value","value_type","source","kind","includeInWorkspace","isLocked","created","updated","permissions","inUse"]},"VariablePermissions":{"type":"object","properties":{"canDelete":{"type":"boolean"},"canEditKey":{"type":"boolean"},"canEditValue":{"type":"boolean"},"canEditValueType":{"type":"boolean"}},"required":["canDelete","canEditKey","canEditValue","canEditValueType"]},"ProviderConnectorWithPermissions":{"type":"object","properties":{"associatedTemplate":{"type":"string"},"associatedVariableSet":{"type":"string"},"connector_ref":{"type":"string"},"created":{"type":"integer","format":"int64"},"inUse":{"type":"boolean","description":"Indicates if this connector is the one actively used in the workspace"},"isInWorkspace":{"type":"boolean"},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#/components/schemas/ConnectorPermissions"},"source":{"type":"string","enum":["workspace","template","variableSet"]},"type":{"type":"string","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","format":"int64"},"uuid":{"type":"string","description":"Unique identifier for this connector"}},"required":["uuid","connector_ref","type","created","updated","source","isInWorkspace","permissions","inUse","isLocked"]},"ConnectorPermissions":{"type":"object","properties":{"canDelete":{"type":"boolean"}},"required":["canDelete"]},"VariableFileWithPermissions":{"type":"object","properties":{"associatedTemplate":{"type":"string"},"associatedVariableSet":{"type":"string"},"inUse":{"type":"boolean","description":"Indicates if this variable file is the one actively used in the workspace"},"isInWorkspace":{"type":"boolean"},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#/components/schemas/VariableFilePermissions"},"repository":{"type":"string"},"repository_branch":{"type":"string"},"repository_commit":{"type":"string"},"repository_connector":{"type":"string"},"repository_path":{"type":"string"},"repository_sha":{"type":"string"},"source":{"type":"string","enum":["workspace","template","variableSet"]},"uuid":{"type":"string","description":"Unique identifier for this file"}},"required":["uuid","repository","source","isInWorkspace","permissions","inUse","repository_path","isLocked"]},"VariableFilePermissions":{"type":"object","properties":{"canDelete":{"type":"boolean"},"canEdit":{"type":"boolean"}},"required":["canDelete","canEdit"]}}}}
```

## The GetWorkspaceTemplateReconciliationDiffResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetWorkspaceTemplateReconciliationDiffResponse":{"type":"object","properties":{"currentWorkspaceYaml":{"type":"string","description":"Current workspace YAML"},"reconcilableWorkspaceYaml":{"type":"string","description":"Workspace YAML after applying changes from the template"},"requiresReconciliation":{"type":"boolean","description":"Indicates if the workspace needs template-based reconciliation"}},"required":["currentWorkspaceYaml","reconcilableWorkspaceYaml","requiresReconciliation"]}}}}
```

## The GitAuditData object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GitAuditData":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of the git branch used","minLength":1,"maxLength":128},"name":{"type":"string","description":"The name of the branch or tag used"},"repo_url":{"type":"string","description":"Url of the repo used","minLength":1},"type":{"type":"string","description":"Type of fetch used to get the data","enum":["branch","tag"]}},"required":["hash","repo_url"]}}}}
```

## The GitInfo object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GitInfo":{"type":"object","properties":{"branch":{"type":"string","description":"Git branch name"},"commit_message":{"type":"string","description":"Git commit message"},"commit_sha":{"type":"string","description":"Git commit SHA"},"repo":{"type":"string","description":"Git repository URL"}},"description":"Git repository information associated with an activity"}}}}
```

## The GraphEdge object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GraphEdge":{"type":"object","properties":{"attributes":{"type":"array","items":{"type":"string"},"description":"Attribute names that create the dependency"},"source":{"type":"string","description":"Address of the resource being depended upon"},"target":{"type":"string","description":"Address of the resource that depends on the source"}},"description":"Represents a dependency relationship between resources.","required":["source","target","attributes"]}}}}
```

## The GraphNode object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GraphNode":{"type":"object","properties":{"address":{"type":"string","description":"Full resource address"},"change":{"type":"string","description":"Semantic change type for this resource","enum":["unchanged","added","changed","replaced","deleted","removed"]},"is_changed":{"type":"boolean","description":"Whether this resource has changes in the current plan"},"is_imported":{"type":"boolean","description":"Whether this resource is being imported into state"},"name":{"type":"string","description":"Resource name as defined in Terraform"},"type":{"type":"string","description":"Resource type without provider prefix"}},"description":"Represents a resource node in the dependency graph.","required":["address","type","name","is_changed"]}}}}
```

## The HarnessIacmActivity object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmActivity":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"id":{"type":"string","description":"The unique identifier for this activity"},"metadata":{"$ref":"#/components/schemas/ActivityMetadata"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"workspace":{"type":"string","description":"The unique identifier for the associated workspace"}},"description":"Activity defines an individual significant event in the history of aworkspace","required":["account","org","project","id","workspace","metadata","created"]},"ActivityMetadata":{"type":"object","properties":{"PlannedChangesCount":{"type":"integer","description":"Deprecated: use resource_count_xxxx fields instead","default":0,"format":"int64"},"activity_status":{"type":"string","description":"The status of this activity","enum":["success","failure","incomplete"]},"activity_type":{"type":"string","description":"The type of this activity","enum":["apply","destroy","plan","drifted","import","bootstrap","synth","deploy","diff","drift","rollback"]},"cost_breakdown_uuid":{"type":"string","description":"The ID of any associated cost breakdown data"},"cost_currency":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_uuid":{"type":"string","description":"The ID of any associated cost diff data"},"cost_past_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_total_monthly_percentage_change":{"type":"string","description":"The currency used in cost data for this change"},"data_length":{"type":"integer","description":"The length of the data","default":0,"format":"int64"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"enable_solutions_factory":{"type":"boolean","description":"Indicates if Harness Solution Factory functionality is enabled"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"modules_uuid":{"type":"string","description":"The ID of any associated modules data"},"output_counts":{"$ref":"#/components/schemas/Counts"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plan_uuid":{"type":"string","description":"The ID of any associated plan data"},"providers_uuid":{"type":"string","description":"The ID of any associated providers data"},"provisioner":{"type":"string","description":"The provisioner in use"},"provisioner_version":{"type":"string","description":"The current version of the provisioner in use"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"rollback_reason":{"type":"string","description":"For rollback activities: optional human-readable reason provided by the actor"},"rollback_source_id":{"type":"string","description":"For rollback activities: the workspacedata ID that was rolled back from"},"stacks":{"type":"array","items":{"$ref":"#/components/schemas/Stacks"},"description":"Stack details for multi-stack deployments"},"state_checksum":{"type":"string","description":"The checksum of the last-seen state file"},"state_uuid":{"type":"string","description":"The ID of any associated state data"},"terragrunt_details":{"type":"array","items":{"$ref":"#/components/schemas/TerragruntDetail"},"description":"Terragrunt details for any associated execution"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"Counts":{"type":"object","properties":{"added":{"type":"integer","description":"Number added","format":"int64"},"changed":{"type":"integer","description":"Number changed","format":"int64"},"deleted":{"type":"integer","description":"Number deleted","format":"int64"},"imported":{"type":"integer","description":"Number imported","format":"int64"},"removed":{"type":"integer","description":"Number removed","format":"int64"},"unchanged":{"type":"integer","description":"Number unchanged","format":"int64"}},"required":["added","changed","deleted","unchanged"]},"Stacks":{"type":"object","properties":{"assets_uuid":{"type":"string","description":"UUID of the uploaded CDK assets for this stack"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"drift_uuid":{"type":"string","description":"UUID of the uploaded drift detection results for this stack"},"error_message":{"type":"string","description":"Error message if status is failure"},"manifest_uuid":{"type":"string","description":"UUID of the uploaded CDK manifest for this stack"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"stack_name":{"type":"string","description":"Name of the CDK stack"},"stack_outputs":{"type":"object","description":"Outputs generated for stack","additionalProperties":{"type":"string"}},"stack_path":{"type":"string","description":"Path to the stack within the CDK app"},"status":{"type":"string","description":"Status of the stack operation","enum":["success","failure","skipped"]},"template_uuid":{"type":"string","description":"UUID of the uploaded CloudFormation template for this stack"},"tree_uuid":{"type":"string","description":"UUID of the uploaded CDK tree for this stack"}},"description":"Stack details for multi-stack deployments"},"TerragruntDetail":{"type":"object","properties":{"cost_breakdown_uuid":{"type":"string","description":"The ID of any associated cost breakdown data"},"cost_currency":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_total_monthly":{"type":"string","description":"The difference in total monthly cost"},"cost_diff_uuid":{"type":"string","description":"The ID of any associated cost diff data"},"cost_past_total_monthly":{"type":"string","description":"The past total monthly cost"},"cost_total_monthly":{"type":"string","description":"The total monthly cost"},"cost_total_monthly_percentage_change":{"type":"string","description":"The percentage change in total monthly cost"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"output_counts":{"$ref":"#/components/schemas/Counts"},"path_id":{"type":"string","description":"Path ID"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"state_file_link":{"type":"string","description":"State file link"},"status":{"type":"string","description":"Status"}}}}}}
```

## The HarnessIacmActivityComplete object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmActivityComplete":{"type":"object","properties":{"activity_id":{"type":"string","description":"The activity identifier"},"completed_at":{"type":"integer","description":"Unix timestamp in milliseconds when activity completed","format":"int64"},"status":{"type":"string","description":"Final status of the activity","enum":["completed","failed"]},"workspace_status":{"type":"string","description":"Updated workspace status after activity completion","enum":["active","inactive","provisioning","destroying","failed","unknown","rollback_applied","drifted"]}},"description":"Result of completing a provisioner activity","required":["activity_id","status","completed_at"]}}}}
```

## The HarnessIacmActivityStart object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmActivityStart":{"type":"object","properties":{"activity_id":{"type":"string","description":"The activity identifier"},"started_at":{"type":"integer","description":"Unix timestamp in milliseconds when activity started","format":"int64"},"status":{"type":"string","description":"Current status of the activity","enum":["started","running","completed","failed"]}},"description":"Result of starting a provisioner activity","required":["activity_id","status","started_at"]}}}}
```

## The HarnessIacmApproval object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmApproval":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"actioned_by":{"type":"string","description":"User that approved/rejected the step"},"actioned_by_email":{"type":"string","description":"Email of the user that approved/rejected the step"},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"id":{"type":"string"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline execution stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"Status of the approval resource","default":"pending"},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"workspace_id":{"type":"string","description":"The unique identifier for the workspace_id"}},"description":"Approval is the representation for a single approval","required":["account","org","project","pipeline_execution_id","pipeline_stage_id","workspace_id","id","status","created","updated"]}}}}
```

## The HarnessIacmChangedCosts object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmChangedCosts":{"type":"object","properties":{"currency":{"type":"string","description":"Currency of the costs"},"diff":{"type":"object","description":"Map of the type of resources and their costs.","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostResourcesByType"}},"diff_total_monthly_cost":{"type":"string","description":"Difference of cost between workspaces per month"},"past_total_monthly_cost":{"type":"string","description":"Total cost of the resources per month for the last workspace"},"percentage_change_total_monthly_cost":{"type":"integer","description":"The change between the costs per month represented as a percentage","format":"int64"},"stage_execution_id":{"type":"string","description":"The stage execution ID"},"stage_id":{"type":"string","description":"The stage ID"},"total_monthly_cost":{"type":"string","description":"Total cost of the resources per month"},"workspace_id":{"type":"string","description":"The workspace identifier"}},"description":"Contains the difference in cost of the resources that are changing","required":["currency","diff","total_monthly_cost","past_total_monthly_cost","diff_total_monthly_cost","percentage_change_total_monthly_cost","stage_id","stage_execution_id","workspace_id"]},"HarnessIacmCostResourcesByType":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff":{"$ref":"#/components/schemas/CostResourcesCollection"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"required":["diff","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"CostResourcesCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmCostResource"}},"HarnessIacmCostResource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"name":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"},"subresources":{"type":"object","description":"List of subresources for a resource","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostSubresource"}}},"description":"Cost of the given resource","required":["name","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"HarnessIacmCostSubresource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"description":"Cost of the given subresource","required":["current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]}}}}
```

## The HarnessIacmChangedOutput object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmChangedOutput":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"}},"description":"Represents an individual output variable.","required":["change","name","value","sensitive"]}}}}
```

## The HarnessIacmChangedResource object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmChangedResource":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged","imported","removed"]},"change_count":{"type":"integer","description":"Count of changes made to this resource.","format":"int64"},"changes":{"type":"object","description":"New values for this resource","additionalProperties":{"$ref":"#/components/schemas/ValueChange"}},"drift":{"type":"boolean","description":"Indicates whether this resource is experiencing drift"},"module":{"type":"string","description":"Module associated with the resource."},"name":{"type":"string","description":"Name associated with the resource."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents a change to an individual provisioned resource.","required":["provider","type","name","module","drift","change","change_count","changes","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"ValueChange":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"drift":{"type":"boolean","description":"Indicates whether this attribute is experiencing drift"},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"}},"required":["change","drift","sensitive"]}}}}
```

## The HarnessIacmChangedResources object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmChangedResources":{"type":"object","properties":{"data_sources":{"$ref":"#/components/schemas/ResourceCollection"},"drift_changes":{"$ref":"#/components/schemas/ChangedResourceCollection"},"has_dependency_graph":{"type":"boolean","description":"Whether dependency graph data is available"},"outputs":{"$ref":"#/components/schemas/OutputCollection2"},"pipeline_execution":{"type":"string","description":"the identifier of the pipeline execution changes were made from."},"pipeline_stage":{"type":"string","description":"the identifier of the pipeline stage execution changes were made from."},"planned_changes":{"$ref":"#/components/schemas/ChangedResourceCollection"},"resources":{"$ref":"#/components/schemas/ResourceCollection"},"risk_assessment":{"$ref":"#/components/schemas/RiskAssessment"},"stage_id":{"type":"string","description":"The stage ID"},"workspace_id":{"type":"string","description":"identifier of the workspace associated with the data"}},"description":"Contains changed resources and outputs.","required":["pipeline_execution","drift_changes","planned_changes","resources","data_sources","outputs","workspace_id","stage_id"]},"ResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmResource"}},"HarnessIacmResource":{"type":"object","properties":{"attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"createdAt":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"drift_attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"drift_status":{"type":"string","description":"Indicates if this resource is experiencing drift.","enum":["changed","deleted","unchanged"]},"lastSyncedAt":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"mode":{"type":"string","description":"Mode associated with the resource.","enum":["resource","data","output"]},"module":{"type":"string","description":"Module associated with the resource."},"monthly_cost":{"type":"number","description":"Current period cost from CCM (null if no cost data).","format":"double"},"monthly_saving":{"type":"number","description":"Monthly potential saving from CCM (null if no cost data).","format":"double"},"name":{"type":"string","description":"Name associated with the resource."},"path_id":{"type":"string","description":"Path associated with the resource. Could be namespace, environment or stack id."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"recommendation_count":{"type":"integer","description":"Number of CCM recommendations for this resource (null if no cost data).","format":"int64"},"resource_id":{"type":"string","description":"Unique identifier for the resource from the cloud provider."},"sensitive_attributes":{"type":"array","items":{},"description":"A list of the sensitive attribute keys "},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents an individual provisioned resource.","required":["provider","type","name","module","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"ChangedResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedResource"}},"HarnessIacmChangedResource":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged","imported","removed"]},"change_count":{"type":"integer","description":"Count of changes made to this resource.","format":"int64"},"changes":{"type":"object","description":"New values for this resource","additionalProperties":{"$ref":"#/components/schemas/ValueChange"}},"drift":{"type":"boolean","description":"Indicates whether this resource is experiencing drift"},"module":{"type":"string","description":"Module associated with the resource."},"name":{"type":"string","description":"Name associated with the resource."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents a change to an individual provisioned resource.","required":["provider","type","name","module","drift","change","change_count","changes","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"ValueChange":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"drift":{"type":"boolean","description":"Indicates whether this attribute is experiencing drift"},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"}},"required":["change","drift","sensitive"]},"OutputCollection2":{"$ref":"#/components/schemas/ChangedOutputCollection"},"ChangedOutputCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedOutput"}},"HarnessIacmChangedOutput":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"}},"description":"Represents an individual output variable.","required":["change","name","value","sensitive"]},"RiskAssessment":{"type":"object","properties":{"overall_risk_summary":{"$ref":"#/components/schemas/OverallRiskSummary"},"resource_risks":{"type":"object","description":"Risk data keyed by resource address","additionalProperties":{"$ref":"#/components/schemas/ResourceRisk"}}},"description":"Risk assessment containing overall summary and per-resource risks","required":["overall_risk_summary","resource_risks"]},"OverallRiskSummary":{"type":"object","properties":{"overall_level":{"type":"string","description":"Risk level category","enum":["LOW","MEDIUM","HIGH"]},"overall_score":{"type":"integer","description":"Overall deployment risk score from 1 to 10","format":"int64","minimum":1,"maximum":10},"reason":{"type":"string","description":"Human-readable explanation of the score"}},"description":"Deployment-wide risk assessment.","required":["overall_score","overall_level","reason"]},"ResourceRisk":{"type":"object","properties":{"risk_factors":{"type":"array","items":{"type":"string"},"description":"List of risk factors"},"risk_level":{"type":"string","description":"Risk level category","enum":["LOW","MEDIUM","HIGH"]},"risk_mitigation":{"type":"array","items":{"type":"string"},"description":"Mitigation recommendations (absent when no risk factors)"},"risk_score":{"type":"integer","description":"Risk score from 1 to 10","format":"int64","minimum":1,"maximum":10}},"description":"Risk assessment for an individual resource","required":["risk_score","risk_level","risk_factors"]}}}}
```

## The HarnessIacmChangedcostsbymoduleresource object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmChangedcostsbymoduleresource":{"type":"object","properties":{"modules":{"type":"object","description":"Map of module/stack path to its ChangedCosts","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmChangedCosts"}},"stage_execution_id":{"type":"string"},"stage_id":{"type":"string"},"workspace_id":{"type":"string"}},"description":"Changed costs grouped by module (stack path) for a single stage execution","required":["modules"]},"HarnessIacmChangedCosts":{"type":"object","properties":{"currency":{"type":"string","description":"Currency of the costs"},"diff":{"type":"object","description":"Map of the type of resources and their costs.","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostResourcesByType"}},"diff_total_monthly_cost":{"type":"string","description":"Difference of cost between workspaces per month"},"past_total_monthly_cost":{"type":"string","description":"Total cost of the resources per month for the last workspace"},"percentage_change_total_monthly_cost":{"type":"integer","description":"The change between the costs per month represented as a percentage","format":"int64"},"stage_execution_id":{"type":"string","description":"The stage execution ID"},"stage_id":{"type":"string","description":"The stage ID"},"total_monthly_cost":{"type":"string","description":"Total cost of the resources per month"},"workspace_id":{"type":"string","description":"The workspace identifier"}},"description":"Contains the difference in cost of the resources that are changing","required":["currency","diff","total_monthly_cost","past_total_monthly_cost","diff_total_monthly_cost","percentage_change_total_monthly_cost","stage_id","stage_execution_id","workspace_id"]},"HarnessIacmCostResourcesByType":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff":{"$ref":"#/components/schemas/CostResourcesCollection"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"required":["diff","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"CostResourcesCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmCostResource"}},"HarnessIacmCostResource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"name":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"},"subresources":{"type":"object","description":"List of subresources for a resource","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostSubresource"}}},"description":"Cost of the given resource","required":["name","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"HarnessIacmCostSubresource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"description":"Cost of the given subresource","required":["current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]}}}}
```

## The HarnessIacmCostResource object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmCostResource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"name":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"},"subresources":{"type":"object","description":"List of subresources for a resource","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostSubresource"}}},"description":"Cost of the given resource","required":["name","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"HarnessIacmCostSubresource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"description":"Cost of the given subresource","required":["current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]}}}}
```

## The HarnessIacmCostResourcesByType object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmCostResourcesByType":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff":{"$ref":"#/components/schemas/CostResourcesCollection"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"required":["diff","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"CostResourcesCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmCostResource"}},"HarnessIacmCostResource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"name":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"},"subresources":{"type":"object","description":"List of subresources for a resource","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostSubresource"}}},"description":"Cost of the given resource","required":["name","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"HarnessIacmCostSubresource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"description":"Cost of the given subresource","required":["current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]}}}}
```

## The HarnessIacmCostSubresource object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmCostSubresource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"description":"Cost of the given subresource","required":["current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]}}}}
```

## The HarnessIacmCostsresources object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmCostsresources":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"activity_type":{"type":"string","description":"The type of activity that generated this cost (e.g. apply, plan, destroy)"},"cost":{"type":"string","description":"The cost associated to the execution metadata"},"created":{"type":"integer","description":"The epoch time for the cost","format":"int64"},"currency":{"type":"string","description":"The currency for the cost"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"workspace":{"type":"string","description":"The unique identifier for the associated workspace"}},"description":"CostResource is the representation for a single workspace of the cost and metadata that ties the cost to an execution.","required":["account","org","project","pipeline_execution_id","pipeline_stage_id","workspace","pipeline","workspace_id","workspace_name","currency","cost","created"]}}}}
```

## The HarnessIacmDefaultpipeline object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmDefaultpipeline":{"type":"object","properties":{"account":{"type":"string"},"operation":{"type":"string","description":"The default pipeline is associated with this operation","enum":["plan","apply","destroy","drift","synth","diff","deploy","remediation"]},"org":{"type":"string"},"pipeline":{"type":"string","description":"The default pipeline associated with the provisioner operation"},"project":{"type":"string"},"provisioner":{"type":"string","description":"The default pipeline is associated with this provisioner","enum":["terraform","opentofu","terragrunt","awscdk"]},"updated":{"type":"integer","description":"Time the default pipeline was last updated","format":"int64"},"workspace":{"type":"string","description":"The default pipeline is associated with this workspace if specified","default":""}},"required":["account","org","project","provisioner","operation","pipeline","updated"]}}}}
```

## The HarnessIacmDisablepush object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmDisablepush":{"type":"object","properties":{"disabled":{"type":"boolean","description":"Indicates if the data is allowed to be pushed"}},"required":["disabled"]}}}}
```

## The HarnessIacmExecution object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmExecution":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"The overall status of the execution","enum":["none","success","failure"]},"workspace":{"type":"string","description":"The unique identifier for the associated workspace"}},"description":"ExecutionResource is the representation for a single workflow execution.","required":["status","created","account","org","project","pipeline_execution_id","pipeline_stage_id","workspace","pipeline"]}}}}
```

## The HarnessIacmInsight object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmInsight":{"type":"object","properties":{"action":{"type":"string","description":"Raw suggested-action string for the insight; empty when not applicable."},"applied_by":{"type":"string","description":"User or system that applied the insight (latest remediating run triggered_by). Empty when not applied via a remediating run."},"applied_on":{"type":"integer","description":"Unix timestamp in milliseconds when the insight was applied (latest remediating run created time). Empty when not applied via a remediating run.","format":"int64"},"details_link":{"type":"string","description":"Deep link to view the insight in the source system."},"id":{"type":"string","description":"Stable per-insight identifier."},"monthly_saving":{"type":"number","description":"Potential monthly saving if the insight is acted on.","format":"double"},"monthly_spend":{"type":"number","description":"Current monthly spend on the resource.","format":"double"},"pipeline_execution_id":{"type":"string","description":"Pipeline execution id for the latest remediation run."},"pipeline_identifier":{"type":"string","description":"Identifier of the pipeline that created the latest remediation run. Empty for runs that predate this column."},"remediation_result_payload":{"description":"Latest remediation result payload (e.g. pr_link, skip reasons, error)."},"remediation_result_type":{"type":"string","description":"Latest remediation result type; empty while in-flight.","enum":["pr_created","explanation"]},"remediation_run_id":{"type":"string","description":"Latest remediation run id for this insight, if any."},"remediation_status":{"type":"string","description":"Latest remediation run status.","enum":["pending","running","succeeded","failed"]},"resource":{"type":"object","description":"Curated, resource-type-specific key/value details.","additionalProperties":true},"resource_type":{"type":"string","description":"Raw resource-type string."},"state":{"type":"string","description":"Insight state: OPEN or APPLIED."},"type":{"type":"string","description":"Insight type.","enum":["cost","drift"]}},"description":"A single insight for a workspace resource.","required":["id","type","monthly_saving","monthly_spend","state"]}}}}
```

## The HarnessIacmLockinfo object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmLockinfo":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Time that the lock was taken.","format":"int64"},"id":{"type":"string","description":"Unique ID for the lock. Generated by the terraform cli.","minLength":1},"info":{"type":"string","description":"Extra information to store with the lock.","default":""},"locked_by_display_name":{"type":"string","description":"Display name of who locked the workspace"},"locked_by_principal_id":{"type":"string","description":"Principal ID who created the manual lock"},"locked_by_principal_type":{"type":"string","description":"Type of principal: 'user' or 'service_account'"},"manual":{"type":"boolean","description":"Whether the lock is manual (user-initiated). true = manual lock, false = automatic lock (Terraform CLI)","default":false},"operation":{"type":"string","description":"Terraform operation."},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"path":{"type":"string","description":"Path to the state file when applicable.","default":""},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"reason":{"type":"string","description":"Reason for manual lock (optional, max 1024 chars)"},"version":{"type":"string","description":"Terraform version."},"who":{"type":"string","description":"The machine user who is performing the operation.","default":""},"workspace":{"type":"string","description":"Workspace identifier"}},"description":"Terraform lock information resource.","required":["account","org","project","workspace","id","operation","version","created"]}}}}
```

## The HarnessIacmMigrationTrigger object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmMigrationTrigger":{"type":"object","properties":{"message":{"type":"string","description":"Confirmation message"}},"description":"Acknowledgement that the migration job was triggered","required":["message"]}}}}
```

## The HarnessIacmModuleRegistryServiceDiscovery object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryServiceDiscovery":{"type":"object","properties":{"modules.v1":{"type":"string","description":"url for the module registry"},"providers.v1":{"type":"string","description":"url for the provider registry"}},"description":"DiscoveryResponse returns the actions that the service provides","required":["modules.v1","providers.v1"]}}}}
```

## The HarnessIacmMonthlycost object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmMonthlycost":{"type":"object","properties":{"cost":{"type":"string","description":"The cost associated to the execution metadata"},"created":{"type":"integer","description":"The epoch time for the cost","format":"int64"},"currency":{"type":"string","description":"The currency for the cost"},"workspace_id":{"type":"string"},"workspace_name":{"type":"string"}},"description":"MonthlyCost is the cost of a workspace per month","required":["workspace_id","workspace_name","currency","cost","created"]}}}}
```

## The HarnessIacmOutput object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmOutput":{"type":"object","properties":{"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"},"value":{"type":"string","description":"Value associated with the output."}},"description":"Represents an individual output variable.","required":["name","value","sensitive"]}}}}
```

## The HarnessIacmPluginversion object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmPluginversion":{"type":"object","properties":{"commit":{"type":"string","description":"Build identifier"},"version":{"type":"string","description":"Version number"}},"description":"Plugin version"}}}}
```

## The HarnessIacmProjectRemediationConfig object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProjectRemediationConfig":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether project-level remediation is enabled"},"pipeline_id":{"type":"string","description":"Remediation pipeline identifier when enabled"}},"required":["enabled"]}}}}
```

## The HarnessIacmRemediationConfig object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmRemediationConfig":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether remediation is enabled for this workspace"},"source":{"type":"string","description":"Origin of the configuration","enum":["project","disabled","none"]}},"required":["enabled","source"]}}}}
```

## The HarnessIacmRemediationRun object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmRemediationRun":{"type":"object","properties":{"account":{"type":"string"},"created":{"type":"integer","description":"Created timestamp in milliseconds","format":"int64"},"id":{"type":"string","description":"Unique identifier"},"input_payload":{"description":"Input context"},"insight_id":{"type":"string","description":"Insight (recommendation) id linked to this run, if any."},"org":{"type":"string"},"pipeline_execution_id":{"type":"string"},"pipeline_identifier":{"type":"string","description":"Identifier of the pipeline that created this run."},"project":{"type":"string"},"recommendation_source":{"type":"string","description":"Recommendation source persisted for the insight link (derived server-side from remediation_type)."},"remediation_type":{"type":"string","enum":["drift","ccm","sto","custom"]},"result_payload":{"description":"Result data"},"result_type":{"type":"string","enum":["pr_created","explanation"]},"status":{"type":"string","description":"Current status","enum":["pending","running","succeeded","failed"]},"triggered_by":{"type":"string"},"updated":{"type":"integer","description":"Updated timestamp in milliseconds","format":"int64"},"workspace":{"type":"string"}},"description":"RemediationRun represents a single remediation execution","required":["id","account","org","project","workspace","status","remediation_type","triggered_by","created","updated"]}}}}
```

## The HarnessIacmResource object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmResource":{"type":"object","properties":{"attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"createdAt":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"drift_attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"drift_status":{"type":"string","description":"Indicates if this resource is experiencing drift.","enum":["changed","deleted","unchanged"]},"lastSyncedAt":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"mode":{"type":"string","description":"Mode associated with the resource.","enum":["resource","data","output"]},"module":{"type":"string","description":"Module associated with the resource."},"monthly_cost":{"type":"number","description":"Current period cost from CCM (null if no cost data).","format":"double"},"monthly_saving":{"type":"number","description":"Monthly potential saving from CCM (null if no cost data).","format":"double"},"name":{"type":"string","description":"Name associated with the resource."},"path_id":{"type":"string","description":"Path associated with the resource. Could be namespace, environment or stack id."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"recommendation_count":{"type":"integer","description":"Number of CCM recommendations for this resource (null if no cost data).","format":"int64"},"resource_id":{"type":"string","description":"Unique identifier for the resource from the cloud provider."},"sensitive_attributes":{"type":"array","items":{},"description":"A list of the sensitive attribute keys "},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents an individual provisioned resource.","required":["provider","type","name","module","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]}}}}
```

## The HarnessIacmResourceChangeCounts object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmResourceChangeCounts":{"type":"object","properties":{"added":{"type":"integer","description":"Count of added resources in planned changes.","format":"int64"},"changed":{"type":"integer","description":"Count of changed resources in planned changes.","format":"int64"},"data_sources":{"type":"integer","description":"Badge for data_sources filter.","format":"int64"},"deleted":{"type":"integer","description":"Count of deleted resources in planned changes.","format":"int64"},"drift_added":{"type":"integer","description":"Count of added resources in drift changes.","format":"int64"},"drift_changed":{"type":"integer","description":"Count of changed resources in drift changes.","format":"int64"},"drift_changes":{"type":"integer","description":"Badge for drift_changes filter.","format":"int64"},"drift_deleted":{"type":"integer","description":"Count of deleted resources in drift changes.","format":"int64"},"drift_imported":{"type":"integer","description":"Count of imported resources in drift changes.","format":"int64"},"drift_removed":{"type":"integer","description":"Count of removed resources in drift changes.","format":"int64"},"drift_unchanged":{"type":"integer","description":"Count of unchanged resources in drift changes, which unlike planned unchanged rows are part of the drift_changes total.","format":"int64"},"imported":{"type":"integer","description":"Count of imported resources in planned changes.","format":"int64"},"outputs":{"type":"integer","description":"Badge for outputs filter.","format":"int64"},"planned_changes":{"type":"integer","description":"Badge for planned_changes filter.","format":"int64"},"removed":{"type":"integer","description":"Count of removed resources in planned changes.","format":"int64"},"resources":{"type":"integer","description":"Badge for resources filter.","format":"int64"},"unchanged":{"type":"integer","description":"Count of unchanged resources (own lazy-loaded filter).","format":"int64"}},"description":"Badge totals for resource-changes tab, computed independently of paging.","required":["added","changed","deleted","unchanged","removed","imported","planned_changes","drift_changes","drift_added","drift_changed","drift_deleted","drift_unchanged","drift_removed","drift_imported","resources","data_sources","outputs"]}}}}
```

## The HarnessIacmResourceChangePage object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmResourceChangePage":{"type":"object","properties":{"changed_resources":{"$ref":"#/components/schemas/ChangedResourceCollection"},"filter":{"type":"string","description":"The filter this page belongs to.","enum":["planned_changes","unchanged","drift_changes","resources","data_sources","outputs"]},"outputs":{"$ref":"#/components/schemas/OutputCollection2"},"page":{"type":"integer","description":"1-indexed page number returned.","format":"int64"},"pageSize":{"type":"integer","description":"Fixed page size.","format":"int64"},"resources":{"$ref":"#/components/schemas/ResourceCollection"},"totalItems":{"type":"integer","description":"Total items available in this filter.","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available in this filter.","format":"int64"}},"description":"One fixed-size page of a single resource-changes filter.","required":["filter","page","totalItems","totalPages","pageSize"]},"ChangedResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedResource"}},"HarnessIacmChangedResource":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged","imported","removed"]},"change_count":{"type":"integer","description":"Count of changes made to this resource.","format":"int64"},"changes":{"type":"object","description":"New values for this resource","additionalProperties":{"$ref":"#/components/schemas/ValueChange"}},"drift":{"type":"boolean","description":"Indicates whether this resource is experiencing drift"},"module":{"type":"string","description":"Module associated with the resource."},"name":{"type":"string","description":"Name associated with the resource."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents a change to an individual provisioned resource.","required":["provider","type","name","module","drift","change","change_count","changes","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"ValueChange":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"drift":{"type":"boolean","description":"Indicates whether this attribute is experiencing drift"},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"}},"required":["change","drift","sensitive"]},"OutputCollection2":{"$ref":"#/components/schemas/ChangedOutputCollection"},"ChangedOutputCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedOutput"}},"HarnessIacmChangedOutput":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"}},"description":"Represents an individual output variable.","required":["change","name","value","sensitive"]},"ResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmResource"}},"HarnessIacmResource":{"type":"object","properties":{"attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"createdAt":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"drift_attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"drift_status":{"type":"string","description":"Indicates if this resource is experiencing drift.","enum":["changed","deleted","unchanged"]},"lastSyncedAt":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"mode":{"type":"string","description":"Mode associated with the resource.","enum":["resource","data","output"]},"module":{"type":"string","description":"Module associated with the resource."},"monthly_cost":{"type":"number","description":"Current period cost from CCM (null if no cost data).","format":"double"},"monthly_saving":{"type":"number","description":"Monthly potential saving from CCM (null if no cost data).","format":"double"},"name":{"type":"string","description":"Name associated with the resource."},"path_id":{"type":"string","description":"Path associated with the resource. Could be namespace, environment or stack id."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"recommendation_count":{"type":"integer","description":"Number of CCM recommendations for this resource (null if no cost data).","format":"int64"},"resource_id":{"type":"string","description":"Unique identifier for the resource from the cloud provider."},"sensitive_attributes":{"type":"array","items":{},"description":"A list of the sensitive attribute keys "},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents an individual provisioned resource.","required":["provider","type","name","module","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]}}}}
```

## The HarnessIacmResources object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmResources":{"type":"object","properties":{"data_sources":{"$ref":"#/components/schemas/ResourceCollection"},"outputs":{"$ref":"#/components/schemas/OutputCollection"},"pageSize":{"type":"integer","description":"Current page size (only populated for paginated list operations)","format":"int64"},"resources":{"$ref":"#/components/schemas/ResourceCollection"},"stack_outputs":{"type":"object","description":"Outputs grouped by stack path for Terragrunt workspaces","additionalProperties":{"$ref":"#/components/schemas/OutputCollection"}},"total_resources":{"type":"integer","description":"Total number of resources managed by this workspace","default":0,"format":"int64"},"totalItems":{"type":"integer","description":"Total items available (only populated for paginated list operations)","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available (only populated for paginated list operations)","format":"int64"}},"description":"Contains provisioned resources and outputs.","required":["resources","data_sources","outputs","total_resources"]},"ResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmResource"}},"HarnessIacmResource":{"type":"object","properties":{"attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"createdAt":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"drift_attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"drift_status":{"type":"string","description":"Indicates if this resource is experiencing drift.","enum":["changed","deleted","unchanged"]},"lastSyncedAt":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"mode":{"type":"string","description":"Mode associated with the resource.","enum":["resource","data","output"]},"module":{"type":"string","description":"Module associated with the resource."},"monthly_cost":{"type":"number","description":"Current period cost from CCM (null if no cost data).","format":"double"},"monthly_saving":{"type":"number","description":"Monthly potential saving from CCM (null if no cost data).","format":"double"},"name":{"type":"string","description":"Name associated with the resource."},"path_id":{"type":"string","description":"Path associated with the resource. Could be namespace, environment or stack id."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"recommendation_count":{"type":"integer","description":"Number of CCM recommendations for this resource (null if no cost data).","format":"int64"},"resource_id":{"type":"string","description":"Unique identifier for the resource from the cloud provider."},"sensitive_attributes":{"type":"array","items":{},"description":"A list of the sensitive attribute keys "},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents an individual provisioned resource.","required":["provider","type","name","module","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"OutputCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmOutput"}},"HarnessIacmOutput":{"type":"object","properties":{"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"},"value":{"type":"string","description":"Value associated with the output."}},"description":"Represents an individual output variable.","required":["name","value","sensitive"]}}}}
```

## The HarnessIacmVariableSet object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmVariableSet":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"env_vars_count":{"type":"integer","description":"Number of environment variables defined in Variable Set.","format":"int64"},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"tf_vars_count":{"type":"integer","description":"Number of TF variables defined in Variable Set.","format":"int64"},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"var_files_count":{"type":"integer","description":"Number of variable files defined in Variable Set.","format":"int64"}},"description":"VariableSetResource is the representation for a variable-set association.","required":["account","org","project","identifier","name","env_vars_count","tf_vars_count","var_files_count"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The HarnessIacmVariableSetList object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmVariableSetList":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/VariableSetResourceCollection"}}},"VariableSetResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmVariableSet"}},"HarnessIacmVariableSet":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"env_vars_count":{"type":"integer","description":"Number of environment variables defined in Variable Set.","format":"int64"},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"tf_vars_count":{"type":"integer","description":"Number of TF variables defined in Variable Set.","format":"int64"},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"var_files_count":{"type":"integer","description":"Number of variable files defined in Variable Set.","format":"int64"}},"description":"VariableSetResource is the representation for a variable-set association.","required":["account","org","project","identifier","name","env_vars_count","tf_vars_count","var_files_count"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The HarnessIacmVariableSetSaveresult object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmVariableSetSaveresult":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"required":["account","org","project","identifier","name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The HarnessIacmWorkspace object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmWorkspace":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"associated_template":{"$ref":"#/components/schemas/AssociatedTemplate"},"backend_locked":{"type":"boolean","description":"Defines if the remote backend is locked or not","default":false},"budget":{"type":"number","description":"define the budget for a specific workspace","format":"float"},"ccm_cost_enabled":{"type":"boolean","description":"define if CCM cost integration is enabled for this workspace","default":false},"cost_breakdown_json":{"type":"string","description":"cost_breakdown_json is the identifier to the breakdown cost file from the current execution that was applied successfully"},"cost_diff_json":{"type":"string","description":"cost_diff_json is the identifier to the diff cost file between the previous and current successful executions"},"cost_estimation_enabled":{"type":"boolean","description":"define if cost estimation operations will be performed in this workspace","default":false},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"default_pipelines":{"type":"object","description":"List of default pipelines associated with this workspace and any per-workspace overrides.","additionalProperties":{"$ref":"#/components/schemas/DefaultPipelineOverride"}},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"list of environment variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/VariableResource"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128},"lock":{"$ref":"#/components/schemas/WorkspaceLock"},"modules_json":{"type":"string","description":"modules_json is the identifier of any modules metadata associated with this workspace"},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"Provider Connector is the reference to the connector for the infrastructure provider."},"provider_connectors":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceProviderConnector"},"description":"define an array of provider connectors that belong to Workspace"},"providers_json":{"type":"string","description":"providers_json is the identifier of any modules metadata associated with this workspace"},"provisioner":{"type":"string","description":"Provisioner defines the provisioning tool to use."},"provisioner_configuration":{"type":"string","description":"Provisioner configuration metadata (key value pair provisioner specific configuration)."},"provisioner_data":{"type":"string"},"provisioner_version":{"type":"string","description":"Provisioner Version defines the tool version to use.","default":"latest"},"prune_sensitive_data":{"type":"boolean","description":"prune_sensitive_data is a flag to enable or disable pruning of sensitive data","default":false},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"repository_submodules":{"type":"string","description":"repository_submodules is the instruction about whether to clone submodules in the pipeline step","default":"false","enum":["false","true","recursive"]},"run_all":{"type":"boolean","description":"Run-All terragrunt modules."},"sparse_checkout":{"type":"string","description":"List of patterens that will be used for sparse checkout option of git clone"},"state_checksum":{"type":"string","description":"state_checksum is the sha-256 checksum of terraform state file"},"status":{"type":"string","description":"The status of the workspace","enum":["active","inactive","provisioning","destroying","failed","unknown","rollback_applied"]},"tags":{"type":"object","description":"Tags associated with the workspace.","additionalProperties":{"type":"string"}},"terraform_plan_json":{"type":"string","description":"terraform_plan_json is the identifier to the current state file only in JSON format."},"terraform_state":{"type":"string","description":"terraform_state is the identifier to the plan file used to create the latest state."},"terraform_state_json":{"type":"string","description":"terraform_state_json is the identifier to the plan file used to create the latest state only in JSON format."},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceTerraformVariableFiles"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"list of terraform variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/VariableResource"}},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"terragrunt_version":{"type":"string","description":"Terragrunt Version to use when provisioner is terragrunt."},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"variable_sets":{"type":"array","items":{"type":"string"},"description":"Attached Variable Sets references"}},"description":"WorkspaceResource is the representation for a single workspace definition.","required":["account","org","project","identifier","name","provider_connector","provisioner","repository_connector","terraform_variables","environment_variables","created","updated","provisioner_data","status","tags"]},"AssociatedTemplate":{"type":"object","properties":{"template_id":{"type":"string","description":"Template ID of the template associated to the Workspace.","minLength":1,"maxLength":128},"version":{"type":"string","description":"Version of the template associated to the Workspace.","minLength":1,"maxLength":64}},"description":"AssociatedTemplate defines the template details with template_id and version."},"DefaultPipelineOverride":{"type":"object","properties":{"project_pipeline":{"type":"string","description":"Default pipeline assigned as the project-level"},"workspace_pipeline":{"type":"string","description":"Default pipeline assigned as the workspace-level"}},"description":"Per-workspace override to the assigned default pipelines."},"VariableResource":{"type":"object","properties":{"created":{"type":"integer","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"updated":{"type":"integer","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a workspace.","required":["key","value","value_type","kind","created","updated"]},"WorkspaceLock":{"type":"object","properties":{"created_at":{"type":"integer","description":"Unix timestamp (milliseconds) when the lock was created.","format":"int64"},"id":{"type":"string","description":"Lock ID."},"locked_by_display_name":{"type":"string","description":"Display name of who locked the workspace."},"locked_by_principal_id":{"type":"string","description":"Principal ID who locked the workspace."},"locked_by_principal_type":{"type":"string","description":"Type of principal who locked the workspace."},"manual":{"type":"boolean","description":"Whether the lock is manual (user-initiated). true = manual lock, false = automatic lock."},"reason":{"type":"string","description":"Reason for the lock."}},"description":"workspaceLock holds the details of an active workspace lock. Fields are populated for manual (user-initiated) locks and left empty for automatic (Terraform CLI) locks."},"WorkspaceProviderConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the connector was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"type":{"type":"string","description":"Type indicates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the connector was last updated.","format":"int64"},"workspace_id":{"type":"integer","description":"Workspace ID FK for internal uses","format":"int64"}},"description":"Workspace provider connector","required":["connector_ref","type"]},"WorkspaceTerraformVariableFiles":{"type":"object","properties":{"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."}},"description":"WorkspaceTerraformVarFiles defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The HarnessIacmWorkspaceCreateresult object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmWorkspaceCreateresult":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"associated_template":{"$ref":"#/components/schemas/AssociatedTemplate"},"backend_locked":{"type":"boolean","description":"Defines if the remote backend is locked or not","default":false},"budget":{"type":"number","description":"define the budget for a specific workspace","format":"float"},"ccm_cost_enabled":{"type":"boolean","description":"define if CCM cost integration is enabled for this workspace","default":false},"cost_breakdown_json":{"type":"string","description":"cost_breakdown_json is the identifier to the breakdown cost file from the current execution that was applied successfully"},"cost_diff_json":{"type":"string","description":"cost_diff_json is the identifier to the diff cost file between the previous and current successful executions"},"cost_estimation_enabled":{"type":"boolean","description":"define if cost estimation operations will be performed in this workspace","default":false},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"default_pipelines":{"type":"object","description":"List of default pipelines associated with this workspace and any per-workspace overrides.","additionalProperties":{"$ref":"#/components/schemas/DefaultPipelineOverride"}},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"list of environment variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/VariableResource"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128},"lock":{"$ref":"#/components/schemas/WorkspaceLock"},"modules_json":{"type":"string","description":"modules_json is the identifier of any modules metadata associated with this workspace"},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"policy_evaluation":{"$ref":"#/components/schemas/Evaluation"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"Provider Connector is the reference to the connector for the infrastructure provider."},"provider_connectors":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceProviderConnector"},"description":"define an array of provider connectors that belong to Workspace"},"providers_json":{"type":"string","description":"providers_json is the identifier of any modules metadata associated with this workspace"},"provisioner":{"type":"string","description":"Provisioner defines the provisioning tool to use."},"provisioner_configuration":{"type":"string","description":"Provisioner configuration metadata (key value pair provisioner specific configuration)."},"provisioner_data":{"type":"string"},"provisioner_version":{"type":"string","description":"Provisioner Version defines the tool version to use.","default":"latest"},"prune_sensitive_data":{"type":"boolean","description":"prune_sensitive_data is a flag to enable or disable pruning of sensitive data","default":false},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"repository_submodules":{"type":"string","description":"repository_submodules is the instruction about whether to clone submodules in the pipeline step","default":"false","enum":["false","true","recursive"]},"run_all":{"type":"boolean","description":"Run-All terragrunt modules."},"sparse_checkout":{"type":"string","description":"List of patterens that will be used for sparse checkout option of git clone"},"state_checksum":{"type":"string","description":"state_checksum is the sha-256 checksum of terraform state file"},"status":{"type":"string","description":"The status of the workspace","enum":["active","inactive","provisioning","destroying","failed","unknown","rollback_applied"]},"tags":{"type":"object","description":"Tags associated with the workspace.","additionalProperties":{"type":"string"}},"terraform_plan_json":{"type":"string","description":"terraform_plan_json is the identifier to the current state file only in JSON format."},"terraform_state":{"type":"string","description":"terraform_state is the identifier to the plan file used to create the latest state."},"terraform_state_json":{"type":"string","description":"terraform_state_json is the identifier to the plan file used to create the latest state only in JSON format."},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceTerraformVariableFiles"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"list of terraform variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/VariableResource"}},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"terragrunt_version":{"type":"string","description":"Terragrunt Version to use when provisioner is terragrunt."},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"variable_sets":{"type":"array","items":{"type":"string"},"description":"Attached Variable Sets references"}},"required":["account","org","project","identifier","name","provider_connector","provisioner","repository_connector","terraform_variables","environment_variables","created","updated","provisioner_data","status","tags"]},"AssociatedTemplate":{"type":"object","properties":{"template_id":{"type":"string","description":"Template ID of the template associated to the Workspace.","minLength":1,"maxLength":128},"version":{"type":"string","description":"Version of the template associated to the Workspace.","minLength":1,"maxLength":64}},"description":"AssociatedTemplate defines the template details with template_id and version."},"DefaultPipelineOverride":{"type":"object","properties":{"project_pipeline":{"type":"string","description":"Default pipeline assigned as the project-level"},"workspace_pipeline":{"type":"string","description":"Default pipeline assigned as the workspace-level"}},"description":"Per-workspace override to the assigned default pipelines."},"VariableResource":{"type":"object","properties":{"created":{"type":"integer","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"updated":{"type":"integer","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a workspace.","required":["key","value","value_type","kind","created","updated"]},"WorkspaceLock":{"type":"object","properties":{"created_at":{"type":"integer","description":"Unix timestamp (milliseconds) when the lock was created.","format":"int64"},"id":{"type":"string","description":"Lock ID."},"locked_by_display_name":{"type":"string","description":"Display name of who locked the workspace."},"locked_by_principal_id":{"type":"string","description":"Principal ID who locked the workspace."},"locked_by_principal_type":{"type":"string","description":"Type of principal who locked the workspace."},"manual":{"type":"boolean","description":"Whether the lock is manual (user-initiated). true = manual lock, false = automatic lock."},"reason":{"type":"string","description":"Reason for the lock."}},"description":"workspaceLock holds the details of an active workspace lock. Fields are populated for manual (user-initiated) locks and left empty for automatic (Terraform CLI) locks."},"Evaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"EvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"EvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]},"WorkspaceProviderConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the connector was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"type":{"type":"string","description":"Type indicates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the connector was last updated.","format":"int64"},"workspace_id":{"type":"integer","description":"Workspace ID FK for internal uses","format":"int64"}},"description":"Workspace provider connector","required":["connector_ref","type"]},"WorkspaceTerraformVariableFiles":{"type":"object","properties":{"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."}},"description":"WorkspaceTerraformVarFiles defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The HarnessIacmWorkspaceList object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmWorkspaceList":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/WorkspaceResourceCollection"}}},"WorkspaceResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmWorkspace"}},"HarnessIacmWorkspace":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"associated_template":{"$ref":"#/components/schemas/AssociatedTemplate"},"backend_locked":{"type":"boolean","description":"Defines if the remote backend is locked or not","default":false},"budget":{"type":"number","description":"define the budget for a specific workspace","format":"float"},"ccm_cost_enabled":{"type":"boolean","description":"define if CCM cost integration is enabled for this workspace","default":false},"cost_breakdown_json":{"type":"string","description":"cost_breakdown_json is the identifier to the breakdown cost file from the current execution that was applied successfully"},"cost_diff_json":{"type":"string","description":"cost_diff_json is the identifier to the diff cost file between the previous and current successful executions"},"cost_estimation_enabled":{"type":"boolean","description":"define if cost estimation operations will be performed in this workspace","default":false},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"default_pipelines":{"type":"object","description":"List of default pipelines associated with this workspace and any per-workspace overrides.","additionalProperties":{"$ref":"#/components/schemas/DefaultPipelineOverride"}},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"list of environment variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/VariableResource"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128},"lock":{"$ref":"#/components/schemas/WorkspaceLock"},"modules_json":{"type":"string","description":"modules_json is the identifier of any modules metadata associated with this workspace"},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"Provider Connector is the reference to the connector for the infrastructure provider."},"provider_connectors":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceProviderConnector"},"description":"define an array of provider connectors that belong to Workspace"},"providers_json":{"type":"string","description":"providers_json is the identifier of any modules metadata associated with this workspace"},"provisioner":{"type":"string","description":"Provisioner defines the provisioning tool to use."},"provisioner_configuration":{"type":"string","description":"Provisioner configuration metadata (key value pair provisioner specific configuration)."},"provisioner_data":{"type":"string"},"provisioner_version":{"type":"string","description":"Provisioner Version defines the tool version to use.","default":"latest"},"prune_sensitive_data":{"type":"boolean","description":"prune_sensitive_data is a flag to enable or disable pruning of sensitive data","default":false},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"repository_submodules":{"type":"string","description":"repository_submodules is the instruction about whether to clone submodules in the pipeline step","default":"false","enum":["false","true","recursive"]},"run_all":{"type":"boolean","description":"Run-All terragrunt modules."},"sparse_checkout":{"type":"string","description":"List of patterens that will be used for sparse checkout option of git clone"},"state_checksum":{"type":"string","description":"state_checksum is the sha-256 checksum of terraform state file"},"status":{"type":"string","description":"The status of the workspace","enum":["active","inactive","provisioning","destroying","failed","unknown","rollback_applied"]},"tags":{"type":"object","description":"Tags associated with the workspace.","additionalProperties":{"type":"string"}},"terraform_plan_json":{"type":"string","description":"terraform_plan_json is the identifier to the current state file only in JSON format."},"terraform_state":{"type":"string","description":"terraform_state is the identifier to the plan file used to create the latest state."},"terraform_state_json":{"type":"string","description":"terraform_state_json is the identifier to the plan file used to create the latest state only in JSON format."},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceTerraformVariableFiles"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"list of terraform variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/VariableResource"}},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"terragrunt_version":{"type":"string","description":"Terragrunt Version to use when provisioner is terragrunt."},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"variable_sets":{"type":"array","items":{"type":"string"},"description":"Attached Variable Sets references"}},"description":"WorkspaceResource is the representation for a single workspace definition.","required":["account","org","project","identifier","name","provider_connector","provisioner","repository_connector","terraform_variables","environment_variables","created","updated","provisioner_data","status","tags"]},"AssociatedTemplate":{"type":"object","properties":{"template_id":{"type":"string","description":"Template ID of the template associated to the Workspace.","minLength":1,"maxLength":128},"version":{"type":"string","description":"Version of the template associated to the Workspace.","minLength":1,"maxLength":64}},"description":"AssociatedTemplate defines the template details with template_id and version."},"DefaultPipelineOverride":{"type":"object","properties":{"project_pipeline":{"type":"string","description":"Default pipeline assigned as the project-level"},"workspace_pipeline":{"type":"string","description":"Default pipeline assigned as the workspace-level"}},"description":"Per-workspace override to the assigned default pipelines."},"VariableResource":{"type":"object","properties":{"created":{"type":"integer","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"updated":{"type":"integer","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a workspace.","required":["key","value","value_type","kind","created","updated"]},"WorkspaceLock":{"type":"object","properties":{"created_at":{"type":"integer","description":"Unix timestamp (milliseconds) when the lock was created.","format":"int64"},"id":{"type":"string","description":"Lock ID."},"locked_by_display_name":{"type":"string","description":"Display name of who locked the workspace."},"locked_by_principal_id":{"type":"string","description":"Principal ID who locked the workspace."},"locked_by_principal_type":{"type":"string","description":"Type of principal who locked the workspace."},"manual":{"type":"boolean","description":"Whether the lock is manual (user-initiated). true = manual lock, false = automatic lock."},"reason":{"type":"string","description":"Reason for the lock."}},"description":"workspaceLock holds the details of an active workspace lock. Fields are populated for manual (user-initiated) locks and left empty for automatic (Terraform CLI) locks."},"WorkspaceProviderConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the connector was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"type":{"type":"string","description":"Type indicates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the connector was last updated.","format":"int64"},"workspace_id":{"type":"integer","description":"Workspace ID FK for internal uses","format":"int64"}},"description":"Workspace provider connector","required":["connector_ref","type"]},"WorkspaceTerraformVariableFiles":{"type":"object","properties":{"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."}},"description":"WorkspaceTerraformVarFiles defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The HarnessIacmWorkspaceProvisionerRatio object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmWorkspaceProvisionerRatio":{"type":"object","properties":{"provisioner":{"type":"object","description":"Provisioner name","additionalProperties":{"type":"number","format":"double"}},"total":{"type":"number","description":"Total number of workspaces","format":"double"}},"description":"Represents the ratio of providers used by workspaces.","required":["provisioner","total"]}}}}
```

## The HarnessIacmWorkspaceTemplate object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmWorkspaceTemplate":{"type":"object","properties":{"account":{"type":"string","description":"Account identifier.","minLength":1,"maxLength":128},"created_at":{"type":"integer","description":"Timestamp when the workspace-template association was created.","format":"int64"},"org":{"type":"string","description":"Organization identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project identifier.","minLength":1,"maxLength":128},"template_id":{"type":"string","description":"Template identifier.","minLength":1,"maxLength":128},"updated_at":{"type":"integer","description":"Timestamp when the workspace-template association was last updated.","format":"int64"},"version":{"type":"string","description":"Template version associated with the workspace.","minLength":1,"maxLength":32},"workspace_id":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128}},"description":"WorkspaceTemplateResource is the representation for a workspace-template association.","required":["workspace_id","template_id","created_at","updated_at","account","project","org"]}}}}
```

## The HarnessIacmWorkspaceTemplateReconciliationDiff object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmWorkspaceTemplateReconciliationDiff":{"type":"object","properties":{"currentWorkspaceYaml":{"type":"string","description":"Current workspace YAML"},"reconcilableWorkspaceYaml":{"type":"string","description":"Workspace YAML after applying changes from the template"},"requiresReconciliation":{"type":"boolean","description":"Indicates if the workspace needs template-based reconciliation"}},"description":"Shows the current and reconciled YAML for a workspace, plus whether reconciliation is needed.","required":["currentWorkspaceYaml","reconcilableWorkspaceYaml","requiresReconciliation"]}}}}
```

## The HarnessIacmWorkspacedata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmWorkspacedata":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"data_type":{"type":"string","description":"Type of data stored","enum":["plan_human","state_raw","state_human","cost_breakdown","cost_diff","modules","providers","cdk_template","cdk_manifest","cdk_tree","cdk_assets","cdk_diff","cdk_drift"]},"id":{"type":"string","description":"The unique identifier for the data"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_id":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline execution stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provisioner_type":{"type":"string","description":"Type of provisioner that created the data","enum":["tf","awscdk"]},"rollback_source_id":{"type":"string","description":"ID of the workspacedata row this entry was rolled back from; null for non-rollback entries"},"stack_path":{"type":"string","description":"Optional path to the stack module"},"stage_id":{"type":"string","description":"The unique identifier for a stage"},"workspace":{"type":"string","description":"Workspace identifier"}},"description":"WorkspaceDataResource is the representation for a single item of data associated with a workspace.","required":["account","org","project","workspace","created","id","pipeline_id","stage_id","pipeline_execution_id","pipeline_stage_id","provisioner_type","data_type"]}}}}
```

## The HarnessIacmWorkspacemodule object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmWorkspacemodule":{"type":"object","properties":{"invocations":{"type":"integer","description":"Number of times this module is invoked in the workspace","format":"int64"},"key":{"type":"string","description":"Module key"},"source":{"type":"string","description":"Module source"},"stack_path":{"type":"string","description":"Terragrunt stack path (empty for regular Terraform workspaces)"},"version":{"type":"string","description":"Module version"}},"description":"Represents an individual OpenTofu or Terraform module.","required":["key","source","version","invocations"]}}}}
```

## The HarnessIacmWorkspacevariable object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmWorkspacevariable":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"kind":{"type":"string","description":"Kind is the classfcation of the variable.","enum":["env","tf"]},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]},"workspace":{"type":"string","description":"Workspace is the resource workspace this variable is associated with."}},"description":"WorkspaceVariableResource is the representation for a single environment variable associated with a workspace.","required":["account","org","project","workspace","key","value","value_type","kind","created","updated"]}}}}
```

## The HarnessIacmWorkspacevariableCreateresult object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmWorkspacevariableCreateresult":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"kind":{"type":"string","description":"Kind is the classfcation of the variable.","enum":["env","tf"]},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"policy_evaluation":{"$ref":"#/components/schemas/Evaluation"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]},"workspace":{"type":"string","description":"Workspace is the resource workspace this variable is associated with."}},"required":["account","org","project","workspace","key","value","value_type","kind","created","updated"]},"Evaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"EvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"EvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The IACMUnifiedStepWrapper object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"IACMUnifiedStepWrapper":{"type":"object","properties":{"dynamic_fields":{"type":"object","description":"Map of dynamic fields for the step","additionalProperties":{"type":"string"}},"id":{"type":"string","description":"Unique identifier for the step"},"name":{"type":"string","description":"Name of the step"},"yaml":{"type":"string","description":"YAML definition of the step"}},"description":"Wrapper for unified step data","required":["id","name","yaml"]}}}}
```

## The IdentifierAccountScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"IdentifierAccountScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","minLength":1,"maxLength":128}},"required":["account","identifier"]}}}}
```

## The IdentifierByQueryAccountScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"IdentifierByQueryAccountScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","minLength":1,"maxLength":128}},"required":["account","identifier"]}}}}
```

## The IdentifierByQueryOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"IdentifierByQueryOrgScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},"required":["account","org","identifier"]}}}}
```

## The IdentifierByQueryProjScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"IdentifierByQueryProjScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","identifier"]}}}}
```

## The IdentifierOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"IdentifierOrgScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},"required":["account","org","identifier"]}}}}
```

## The IdentifierProjScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"IdentifierProjScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","identifier"]}}}}
```

## The InsightCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"InsightCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInsight"}},"HarnessIacmInsight":{"type":"object","properties":{"action":{"type":"string","description":"Raw suggested-action string for the insight; empty when not applicable."},"applied_by":{"type":"string","description":"User or system that applied the insight (latest remediating run triggered_by). Empty when not applied via a remediating run."},"applied_on":{"type":"integer","description":"Unix timestamp in milliseconds when the insight was applied (latest remediating run created time). Empty when not applied via a remediating run.","format":"int64"},"details_link":{"type":"string","description":"Deep link to view the insight in the source system."},"id":{"type":"string","description":"Stable per-insight identifier."},"monthly_saving":{"type":"number","description":"Potential monthly saving if the insight is acted on.","format":"double"},"monthly_spend":{"type":"number","description":"Current monthly spend on the resource.","format":"double"},"pipeline_execution_id":{"type":"string","description":"Pipeline execution id for the latest remediation run."},"pipeline_identifier":{"type":"string","description":"Identifier of the pipeline that created the latest remediation run. Empty for runs that predate this column."},"remediation_result_payload":{"description":"Latest remediation result payload (e.g. pr_link, skip reasons, error)."},"remediation_result_type":{"type":"string","description":"Latest remediation result type; empty while in-flight.","enum":["pr_created","explanation"]},"remediation_run_id":{"type":"string","description":"Latest remediation run id for this insight, if any."},"remediation_status":{"type":"string","description":"Latest remediation run status.","enum":["pending","running","succeeded","failed"]},"resource":{"type":"object","description":"Curated, resource-type-specific key/value details.","additionalProperties":true},"resource_type":{"type":"string","description":"Raw resource-type string."},"state":{"type":"string","description":"Insight state: OPEN or APPLIED."},"type":{"type":"string","description":"Insight type.","enum":["cost","drift"]}},"description":"A single insight for a workspace resource.","required":["id","type","monthly_saving","monthly_spend","state"]}}}}
```

## The LanguageConfig object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"LanguageConfig":{"type":"object","properties":{"versions":{"type":"object","description":"Map of language versions to their configurations","additionalProperties":{"$ref":"#/components/schemas/LanguageVersionConfig"}}},"description":"Configuration for a programming language"},"LanguageVersionConfig":{"type":"object","properties":{"package_manager":{"type":"object","description":"Map of package manager names to their supported versions","additionalProperties":{"type":"array","items":{"type":"string"}}}},"description":"Configuration for a specific language version"}}}}
```

## The LanguageVersionConfig object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"LanguageVersionConfig":{"type":"object","properties":{"package_manager":{"type":"object","description":"Map of package manager names to their supported versions","additionalProperties":{"type":"array","items":{"type":"string"}}}},"description":"Configuration for a specific language version"}}}}
```

## The LicenceResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"LicenceResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account identifier","minLength":1,"maxLength":128},"ansible":{"$ref":"#/components/schemas/AnsibleLicenceData"},"isLicenced":{"type":"boolean","description":"True when this account is currently licenced to execute apply operations"},"isPaid":{"type":"boolean","description":"True when this account is a paid account"},"reason":{"type":"string","description":"If the account is not licenced, this is the reason why"},"startTime":{"type":"integer","description":"The unix timestamp of the current period over which usage was calculated","format":"int64"},"total":{"type":"integer","description":"The total number of successful apply operations this account is licenced to perform","format":"int64"},"used":{"type":"integer","description":"The count of successful apply operations already performed","format":"int64"}},"required":["account","used","total","startTime","isPaid","isLicenced"]},"AnsibleLicenceData":{"type":"object","properties":{"total":{"type":"integer","description":"Total ansible hosts allowed by license","format":"int64"},"used":{"type":"integer","description":"Unique hosts with runs in last 30 days","format":"int64"}},"required":["used","total"]}}}}
```

## The LinkedPolicy object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"LinkedPolicy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"severity":{"type":"string","description":"The severity of this policy in this context","enum":["warning","error"]},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["account_id","org_id","project_id","identifier","name","severity","rego","created","updated"]}}}}
```

## The ListActivityResourceChangesResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListActivityResourceChangesResponse":{"type":"object","properties":{"data_sources":{"$ref":"#/components/schemas/ResourceCollection"},"drift_changes":{"$ref":"#/components/schemas/ChangedResourceCollection"},"has_dependency_graph":{"type":"boolean","description":"Whether dependency graph data is available"},"outputs":{"$ref":"#/components/schemas/OutputCollection2"},"pipeline_execution":{"type":"string","description":"the identifier of the pipeline execution changes were made from."},"pipeline_stage":{"type":"string","description":"the identifier of the pipeline stage execution changes were made from."},"planned_changes":{"$ref":"#/components/schemas/ChangedResourceCollection"},"resources":{"$ref":"#/components/schemas/ResourceCollection"},"risk_assessment":{"$ref":"#/components/schemas/RiskAssessment"},"stage_id":{"type":"string","description":"The stage ID"},"workspace_id":{"type":"string","description":"identifier of the workspace associated with the data"}},"required":["pipeline_execution","drift_changes","planned_changes","resources","data_sources","outputs","workspace_id","stage_id"]},"ResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmResource"}},"HarnessIacmResource":{"type":"object","properties":{"attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"createdAt":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"drift_attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"drift_status":{"type":"string","description":"Indicates if this resource is experiencing drift.","enum":["changed","deleted","unchanged"]},"lastSyncedAt":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"mode":{"type":"string","description":"Mode associated with the resource.","enum":["resource","data","output"]},"module":{"type":"string","description":"Module associated with the resource."},"monthly_cost":{"type":"number","description":"Current period cost from CCM (null if no cost data).","format":"double"},"monthly_saving":{"type":"number","description":"Monthly potential saving from CCM (null if no cost data).","format":"double"},"name":{"type":"string","description":"Name associated with the resource."},"path_id":{"type":"string","description":"Path associated with the resource. Could be namespace, environment or stack id."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"recommendation_count":{"type":"integer","description":"Number of CCM recommendations for this resource (null if no cost data).","format":"int64"},"resource_id":{"type":"string","description":"Unique identifier for the resource from the cloud provider."},"sensitive_attributes":{"type":"array","items":{},"description":"A list of the sensitive attribute keys "},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents an individual provisioned resource.","required":["provider","type","name","module","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"ChangedResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedResource"}},"HarnessIacmChangedResource":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged","imported","removed"]},"change_count":{"type":"integer","description":"Count of changes made to this resource.","format":"int64"},"changes":{"type":"object","description":"New values for this resource","additionalProperties":{"$ref":"#/components/schemas/ValueChange"}},"drift":{"type":"boolean","description":"Indicates whether this resource is experiencing drift"},"module":{"type":"string","description":"Module associated with the resource."},"name":{"type":"string","description":"Name associated with the resource."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents a change to an individual provisioned resource.","required":["provider","type","name","module","drift","change","change_count","changes","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"ValueChange":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"drift":{"type":"boolean","description":"Indicates whether this attribute is experiencing drift"},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"}},"required":["change","drift","sensitive"]},"OutputCollection2":{"$ref":"#/components/schemas/ChangedOutputCollection"},"ChangedOutputCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedOutput"}},"HarnessIacmChangedOutput":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"}},"description":"Represents an individual output variable.","required":["change","name","value","sensitive"]},"RiskAssessment":{"type":"object","properties":{"overall_risk_summary":{"$ref":"#/components/schemas/OverallRiskSummary"},"resource_risks":{"type":"object","description":"Risk data keyed by resource address","additionalProperties":{"$ref":"#/components/schemas/ResourceRisk"}}},"description":"Risk assessment containing overall summary and per-resource risks","required":["overall_risk_summary","resource_risks"]},"OverallRiskSummary":{"type":"object","properties":{"overall_level":{"type":"string","description":"Risk level category","enum":["LOW","MEDIUM","HIGH"]},"overall_score":{"type":"integer","description":"Overall deployment risk score from 1 to 10","format":"int64","minimum":1,"maximum":10},"reason":{"type":"string","description":"Human-readable explanation of the score"}},"description":"Deployment-wide risk assessment.","required":["overall_score","overall_level","reason"]},"ResourceRisk":{"type":"object","properties":{"risk_factors":{"type":"array","items":{"type":"string"},"description":"List of risk factors"},"risk_level":{"type":"string","description":"Risk level category","enum":["LOW","MEDIUM","HIGH"]},"risk_mitigation":{"type":"array","items":{"type":"string"},"description":"Mitigation recommendations (absent when no risk factors)"},"risk_score":{"type":"integer","description":"Risk score from 1 to 10","format":"int64","minimum":1,"maximum":10}},"description":"Risk assessment for an individual resource","required":["risk_score","risk_level","risk_factors"]}}}}
```

## The ListCostChangesResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListCostChangesResponse":{"type":"object","properties":{"currency":{"type":"string","description":"Currency of the costs"},"diff":{"type":"object","description":"Map of the type of resources and their costs.","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostResourcesByType"}},"diff_total_monthly_cost":{"type":"string","description":"Difference of cost between workspaces per month"},"past_total_monthly_cost":{"type":"string","description":"Total cost of the resources per month for the last workspace"},"percentage_change_total_monthly_cost":{"type":"integer","description":"The change between the costs per month represented as a percentage","format":"int64"},"stage_execution_id":{"type":"string","description":"The stage execution ID"},"stage_id":{"type":"string","description":"The stage ID"},"total_monthly_cost":{"type":"string","description":"Total cost of the resources per month"},"workspace_id":{"type":"string","description":"The workspace identifier"}},"required":["currency","diff","total_monthly_cost","past_total_monthly_cost","diff_total_monthly_cost","percentage_change_total_monthly_cost","stage_id","stage_execution_id","workspace_id"]},"HarnessIacmCostResourcesByType":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff":{"$ref":"#/components/schemas/CostResourcesCollection"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"required":["diff","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"CostResourcesCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmCostResource"}},"HarnessIacmCostResource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"name":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"},"subresources":{"type":"object","description":"List of subresources for a resource","additionalProperties":{"$ref":"#/components/schemas/HarnessIacmCostSubresource"}}},"description":"Cost of the given resource","required":["name","current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]},"HarnessIacmCostSubresource":{"type":"object","properties":{"current_monthly_cost":{"type":"string"},"diff_monthly_cost":{"type":"string"},"percentage_change_monthly_cost":{"type":"integer","format":"int64"},"previous_monthly_cost":{"type":"string"}},"description":"Cost of the given subresource","required":["current_monthly_cost","previous_monthly_cost","diff_monthly_cost","percentage_change_monthly_cost"]}}}}
```

## The ListCostsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListCostsResponse":{"type":"object","properties":{"pageSize":{"type":"integer","description":"Current page size","format":"int64"},"totalItems":{"type":"integer","description":"Total items available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"},"workspaces":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmMonthlycost"},"description":"Representation of all the workspaces, and cost information"}},"required":["totalItems","totalPages","pageSize"]},"HarnessIacmMonthlycost":{"type":"object","properties":{"cost":{"type":"string","description":"The cost associated to the execution metadata"},"created":{"type":"integer","description":"The epoch time for the cost","format":"int64"},"currency":{"type":"string","description":"The currency for the cost"},"workspace_id":{"type":"string"},"workspace_name":{"type":"string"}},"description":"MonthlyCost is the cost of a workspace per month","required":["workspace_id","workspace_name","currency","cost","created"]}}}}
```

## The ListFilterAccountScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListFilterAccountScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}},"required":["account"]}}}}
```

## The ListFilterOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListFilterOrgScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},"required":["account","org"]}}}}
```

## The ListFilterProjScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListFilterProjScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project"]}}}}
```

## The ListPipelinesResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListPipelinesResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipelines":{"type":"array","items":{"type":"string"},"description":"Array of pipelines that belong to a specific workspace"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project"]}}}}
```

## The ListProvisionersRatioResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListProvisionersRatioResponse":{"type":"object","properties":{"provisioner":{"type":"object","description":"Provisioner name","additionalProperties":{"type":"number","format":"double"}},"total":{"type":"number","description":"Total number of workspaces","format":"double"}},"description":"List of provisioners ratio","required":["provisioner","total"]}}}}
```

## The ListResourceChangesResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListResourceChangesResponse":{"type":"object","properties":{"data_sources":{"$ref":"#/components/schemas/ResourceCollection"},"drift_changes":{"$ref":"#/components/schemas/ChangedResourceCollection"},"has_dependency_graph":{"type":"boolean","description":"Whether dependency graph data is available"},"outputs":{"$ref":"#/components/schemas/OutputCollection2"},"pipeline_execution":{"type":"string","description":"the identifier of the pipeline execution changes were made from."},"pipeline_stage":{"type":"string","description":"the identifier of the pipeline stage execution changes were made from."},"planned_changes":{"$ref":"#/components/schemas/ChangedResourceCollection"},"resources":{"$ref":"#/components/schemas/ResourceCollection"},"risk_assessment":{"$ref":"#/components/schemas/RiskAssessment"},"stage_id":{"type":"string","description":"The stage ID"},"workspace_id":{"type":"string","description":"identifier of the workspace associated with the data"}},"required":["pipeline_execution","drift_changes","planned_changes","resources","data_sources","outputs","workspace_id","stage_id"]},"ResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmResource"}},"HarnessIacmResource":{"type":"object","properties":{"attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"createdAt":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"drift_attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"drift_status":{"type":"string","description":"Indicates if this resource is experiencing drift.","enum":["changed","deleted","unchanged"]},"lastSyncedAt":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"mode":{"type":"string","description":"Mode associated with the resource.","enum":["resource","data","output"]},"module":{"type":"string","description":"Module associated with the resource."},"monthly_cost":{"type":"number","description":"Current period cost from CCM (null if no cost data).","format":"double"},"monthly_saving":{"type":"number","description":"Monthly potential saving from CCM (null if no cost data).","format":"double"},"name":{"type":"string","description":"Name associated with the resource."},"path_id":{"type":"string","description":"Path associated with the resource. Could be namespace, environment or stack id."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"recommendation_count":{"type":"integer","description":"Number of CCM recommendations for this resource (null if no cost data).","format":"int64"},"resource_id":{"type":"string","description":"Unique identifier for the resource from the cloud provider."},"sensitive_attributes":{"type":"array","items":{},"description":"A list of the sensitive attribute keys "},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents an individual provisioned resource.","required":["provider","type","name","module","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"ChangedResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedResource"}},"HarnessIacmChangedResource":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged","imported","removed"]},"change_count":{"type":"integer","description":"Count of changes made to this resource.","format":"int64"},"changes":{"type":"object","description":"New values for this resource","additionalProperties":{"$ref":"#/components/schemas/ValueChange"}},"drift":{"type":"boolean","description":"Indicates whether this resource is experiencing drift"},"module":{"type":"string","description":"Module associated with the resource."},"name":{"type":"string","description":"Name associated with the resource."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents a change to an individual provisioned resource.","required":["provider","type","name","module","drift","change","change_count","changes","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"ValueChange":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"drift":{"type":"boolean","description":"Indicates whether this attribute is experiencing drift"},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"}},"required":["change","drift","sensitive"]},"OutputCollection2":{"$ref":"#/components/schemas/ChangedOutputCollection"},"ChangedOutputCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedOutput"}},"HarnessIacmChangedOutput":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"}},"description":"Represents an individual output variable.","required":["change","name","value","sensitive"]},"RiskAssessment":{"type":"object","properties":{"overall_risk_summary":{"$ref":"#/components/schemas/OverallRiskSummary"},"resource_risks":{"type":"object","description":"Risk data keyed by resource address","additionalProperties":{"$ref":"#/components/schemas/ResourceRisk"}}},"description":"Risk assessment containing overall summary and per-resource risks","required":["overall_risk_summary","resource_risks"]},"OverallRiskSummary":{"type":"object","properties":{"overall_level":{"type":"string","description":"Risk level category","enum":["LOW","MEDIUM","HIGH"]},"overall_score":{"type":"integer","description":"Overall deployment risk score from 1 to 10","format":"int64","minimum":1,"maximum":10},"reason":{"type":"string","description":"Human-readable explanation of the score"}},"description":"Deployment-wide risk assessment.","required":["overall_score","overall_level","reason"]},"ResourceRisk":{"type":"object","properties":{"risk_factors":{"type":"array","items":{"type":"string"},"description":"List of risk factors"},"risk_level":{"type":"string","description":"Risk level category","enum":["LOW","MEDIUM","HIGH"]},"risk_mitigation":{"type":"array","items":{"type":"string"},"description":"Mitigation recommendations (absent when no risk factors)"},"risk_score":{"type":"integer","description":"Risk score from 1 to 10","format":"int64","minimum":1,"maximum":10}},"description":"Risk assessment for an individual resource","required":["risk_score","risk_level","risk_factors"]}}}}
```

## The ListResourcesResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListResourcesResponse":{"type":"object","properties":{"data_sources":{"$ref":"#/components/schemas/ResourceCollection"},"outputs":{"$ref":"#/components/schemas/OutputCollection"},"resources":{"$ref":"#/components/schemas/ResourceCollection"},"stack_outputs":{"type":"object","description":"Outputs grouped by stack path for Terragrunt workspaces","additionalProperties":{"$ref":"#/components/schemas/OutputCollection"}},"total_resources":{"type":"integer","description":"Total number of resources managed by this workspace","default":0,"format":"int64"}},"required":["resources","data_sources","outputs","total_resources"]},"ResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmResource"}},"HarnessIacmResource":{"type":"object","properties":{"attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"createdAt":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"drift_attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"drift_status":{"type":"string","description":"Indicates if this resource is experiencing drift.","enum":["changed","deleted","unchanged"]},"lastSyncedAt":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"mode":{"type":"string","description":"Mode associated with the resource.","enum":["resource","data","output"]},"module":{"type":"string","description":"Module associated with the resource."},"monthly_cost":{"type":"number","description":"Current period cost from CCM (null if no cost data).","format":"double"},"monthly_saving":{"type":"number","description":"Monthly potential saving from CCM (null if no cost data).","format":"double"},"name":{"type":"string","description":"Name associated with the resource."},"path_id":{"type":"string","description":"Path associated with the resource. Could be namespace, environment or stack id."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"recommendation_count":{"type":"integer","description":"Number of CCM recommendations for this resource (null if no cost data).","format":"int64"},"resource_id":{"type":"string","description":"Unique identifier for the resource from the cloud provider."},"sensitive_attributes":{"type":"array","items":{},"description":"A list of the sensitive attribute keys "},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents an individual provisioned resource.","required":["provider","type","name","module","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"OutputCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmOutput"}},"HarnessIacmOutput":{"type":"object","properties":{"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"},"value":{"type":"string","description":"Value associated with the output."}},"description":"Represents an individual output variable.","required":["name","value","sensitive"]}}}}
```

## The LockInfo object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"LockInfo":{"type":"object","properties":{"created":{"type":"string","description":"Time that the lock was taken."},"id":{"type":"string","description":"Unique ID for the lock. Generated by the terraform cli.","minLength":1},"info":{"type":"string","description":"Extra information to store with the lock.","default":""},"operation":{"type":"string","description":"Terraform operation."},"path":{"type":"string","description":"Path to the state file when applicable.","default":""},"version":{"type":"string","description":"Terraform version."},"who":{"type":"string","description":"The machine user who is performing the operation.","default":""}},"description":"Terraform lock information.","required":["id","operation","version","created"]}}}}
```

## The LockWorkspacePayload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"LockWorkspacePayload":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"Identifier is the project identifier.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"reason":{"type":"string","description":"Reason for locking the workspace (optional)","maxLength":1024}},"required":["account","org","project","identifier"]}}}}
```

## The LockWorkspacePayload2 object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"LockWorkspacePayload2":{"type":"object","properties":{"reason":{"type":"string","description":"Reason for locking the workspace (optional)","maxLength":1024}}}}}}
```

## The LockWorkspaceRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"LockWorkspaceRequest":{"type":"object","properties":{"created":{"type":"string","description":"Time that the lock was taken."},"id":{"type":"string","description":"Unique ID for the lock. Generated by the terraform cli.","minLength":1},"info":{"type":"string","description":"Extra information to store with the lock.","default":""},"operation":{"type":"string","description":"Terraform operation."},"path":{"type":"string","description":"Path to the state file when applicable.","default":""},"version":{"type":"string","description":"Terraform version."},"who":{"type":"string","description":"The machine user who is performing the operation.","default":""}},"required":["id","operation","version","created"]}}}}
```

## The LockWorkspaceResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"LockWorkspaceResponse":{"type":"object","properties":{"id":{"type":"string","description":"Lock ID","format":"uuid"},"locked_by_display_name":{"type":"string","description":"Display name of who locked"},"locked_by_principal_id":{"type":"string","description":"Principal ID who locked"},"locked_by_principal_type":{"type":"string","description":"Type of principal"},"manual":{"type":"boolean","description":"Whether the lock is manual (user-initiated). true = manual lock, false = automatic lock"},"reason":{"type":"string","description":"Reason for lock"},"workspace":{"type":"string","description":"Workspace identifier"}},"required":["id","workspace","manual","reason","locked_by_principal_id","locked_by_principal_type","locked_by_display_name"]}}}}
```

## The MigrateTemplateConnectorsRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"MigrateTemplateConnectorsRequest":{"type":"object","properties":{"dry_run":{"type":"boolean","description":"If true, simulate the migration without updating templates."}},"required":["dry_run"]}}}}
```

## The MigrateTemplateConnectorsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"MigrateTemplateConnectorsResponse":{"type":"object","properties":{"message":{"type":"string","description":"Confirmation message"}},"required":["message"]}}}}
```

## The MigrateWorkspaceConnectorsRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"MigrateWorkspaceConnectorsRequest":{"type":"object","properties":{"dry_run":{"type":"boolean","description":"If true, simulate the migration without modifying data."}},"required":["dry_run"]}}}}
```

## The MigrateWorkspaceConnectorsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"MigrateWorkspaceConnectorsResponse":{"type":"object","properties":{"message":{"type":"string","description":"Confirmation message"}},"required":["message"]}}}}
```

## The OpentofuConfig object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"OpentofuConfig":{"type":"object","properties":{"versions":{"type":"array","items":{"type":"string"},"description":"List of supported OpenTofu versions"}},"description":"OpenTofu configuration"}}}}
```

## The OutputCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"OutputCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmOutput"}},"HarnessIacmOutput":{"type":"object","properties":{"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"},"value":{"type":"string","description":"Value associated with the output."}},"description":"Represents an individual output variable.","required":["name","value","sensitive"]}}}}
```

## The OutputCollection2 object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"OutputCollection2":{"$ref":"#/components/schemas/ChangedOutputCollection"},"ChangedOutputCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmChangedOutput"}},"HarnessIacmChangedOutput":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"}},"description":"Represents an individual output variable.","required":["change","name","value","sensitive"]}}}}
```

## The OverallRiskSummary object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"OverallRiskSummary":{"type":"object","properties":{"overall_level":{"type":"string","description":"Risk level category","enum":["LOW","MEDIUM","HIGH"]},"overall_score":{"type":"integer","description":"Overall deployment risk score from 1 to 10","format":"int64","minimum":1,"maximum":10},"reason":{"type":"string","description":"Human-readable explanation of the score"}},"description":"Deployment-wide risk assessment.","required":["overall_score","overall_level","reason"]}}}}
```

## The PluginReportedVersion object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PluginReportedVersion":{"type":"object","properties":{"commit":{"type":"string","description":"Build identifier"},"version":{"type":"string","description":"Version number"}},"description":"Plugin Reported Version","required":["version","commit"]}}}}
```

## The Policy object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The PolicySet object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PolicySet":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"policies":{"type":"array","items":{"$ref":"#/components/schemas/LinkedPolicy"},"description":"Policies linked to this policy set"},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"LinkedPolicy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"severity":{"type":"string","description":"The severity of this policy in this context","enum":["warning","error"]},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["account_id","org_id","project_id","identifier","name","severity","rego","created","updated"]}}}}
```

## The PolicyViolationError object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PolicyViolationError":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"policy_evaluation":{"$ref":"#/components/schemas/Evaluation"},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]},"Evaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"EvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"EvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The ProjectRemediationConfigPayload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ProjectRemediationConfigPayload":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project"]}}}}
```

## The ProviderConnectorWithPermissions object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ProviderConnectorWithPermissions":{"type":"object","properties":{"associatedTemplate":{"type":"string"},"associatedVariableSet":{"type":"string"},"connector_ref":{"type":"string"},"created":{"type":"integer","format":"int64"},"inUse":{"type":"boolean","description":"Indicates if this connector is the one actively used in the workspace"},"isInWorkspace":{"type":"boolean"},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#/components/schemas/ConnectorPermissions"},"source":{"type":"string","enum":["workspace","template","variableSet"]},"type":{"type":"string","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","format":"int64"},"uuid":{"type":"string","description":"Unique identifier for this connector"}},"required":["uuid","connector_ref","type","created","updated","source","isInWorkspace","permissions","inUse","isLocked"]},"ConnectorPermissions":{"type":"object","properties":{"canDelete":{"type":"boolean"}},"required":["canDelete"]}}}}
```

## The ProvisionerConfig object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ProvisionerConfig":{"type":"object","properties":{"awscdk":{"$ref":"#/components/schemas/CDKConfig"},"opentofu":{"$ref":"#/components/schemas/OpentofuConfig"},"terraform":{"$ref":"#/components/schemas/TerraformConfig"},"terragrunt":{"$ref":"#/components/schemas/TerragruntConfig"}},"description":"Provisioner configuration response"},"CDKConfig":{"type":"object","properties":{"versions":{"type":"object","description":"Map of CDK versions to their configurations","additionalProperties":{"$ref":"#/components/schemas/CDKVersionConfig"}}},"description":"CDK configuration"},"CDKVersionConfig":{"type":"object","properties":{"languages":{"type":"object","description":"Map of language names to their configurations","additionalProperties":{"$ref":"#/components/schemas/LanguageConfig"}}},"description":"Configuration for a specific CDK version"},"LanguageConfig":{"type":"object","properties":{"versions":{"type":"object","description":"Map of language versions to their configurations","additionalProperties":{"$ref":"#/components/schemas/LanguageVersionConfig"}}},"description":"Configuration for a programming language"},"LanguageVersionConfig":{"type":"object","properties":{"package_manager":{"type":"object","description":"Map of package manager names to their supported versions","additionalProperties":{"type":"array","items":{"type":"string"}}}},"description":"Configuration for a specific language version"},"OpentofuConfig":{"type":"object","properties":{"versions":{"type":"array","items":{"type":"string"},"description":"List of supported OpenTofu versions"}},"description":"OpenTofu configuration"},"TerraformConfig":{"type":"object","properties":{"versions":{"type":"array","items":{"type":"string"},"description":"List of supported Terraform versions"}},"description":"Terraform configuration"},"TerragruntConfig":{"type":"object","properties":{"versions":{"type":"array","items":{"type":"string"},"description":"List of supported Terragrunt versions"}},"description":"Terragrunt configuration"}}}}
```

## The RemediationConfigPayload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RemediationConfigPayload":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"workspace":{"type":"string","description":"Workspace identifier","minLength":1,"maxLength":128}},"required":["account","org","project","workspace"]}}}}
```

## The RemediationRunPayload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RemediationRunPayload":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"input_payload":{"description":"Input context for the remediation agent"},"insight_id":{"type":"string","description":"Insight (recommendation) id being remediated; empty for legacy callers."},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"Pipeline execution identifier"},"pipeline_identifier":{"type":"string","description":"Identifier of the pipeline that created this run (from the caller's HARNESS_PIPELINE_ID). Empty for legacy callers."},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"remediation_type":{"type":"string","description":"Type of remediation","enum":["drift","ccm","sto","custom"]},"triggered_by":{"type":"string","description":"User or system that triggered the run"},"workspace":{"type":"string","description":"Workspace identifier","minLength":1,"maxLength":128}},"description":"Payload for creating a remediation run","required":["account","org","project","workspace","remediation_type","triggered_by"]}}}}
```

## The RemediationRunResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RemediationRunResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmRemediationRun"}},"HarnessIacmRemediationRun":{"type":"object","properties":{"account":{"type":"string"},"created":{"type":"integer","description":"Created timestamp in milliseconds","format":"int64"},"id":{"type":"string","description":"Unique identifier"},"input_payload":{"description":"Input context"},"insight_id":{"type":"string","description":"Insight (recommendation) id linked to this run, if any."},"org":{"type":"string"},"pipeline_execution_id":{"type":"string"},"pipeline_identifier":{"type":"string","description":"Identifier of the pipeline that created this run."},"project":{"type":"string"},"recommendation_source":{"type":"string","description":"Recommendation source persisted for the insight link (derived server-side from remediation_type)."},"remediation_type":{"type":"string","enum":["drift","ccm","sto","custom"]},"result_payload":{"description":"Result data"},"result_type":{"type":"string","enum":["pr_created","explanation"]},"status":{"type":"string","description":"Current status","enum":["pending","running","succeeded","failed"]},"triggered_by":{"type":"string"},"updated":{"type":"integer","description":"Updated timestamp in milliseconds","format":"int64"},"workspace":{"type":"string"}},"description":"RemediationRun represents a single remediation execution","required":["id","account","org","project","workspace","status","remediation_type","triggered_by","created","updated"]}}}}
```

## The RemediationRunUpdate object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RemediationRunUpdate":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"id":{"type":"string","description":"Remediation run identifier"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"Pipeline execution identifier"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"result_payload":{"description":"Result data from the remediation agent"},"result_type":{"type":"string","description":"Type of result","enum":["pr_created","explanation"]},"status":{"type":"string","description":"New status","enum":["running","succeeded","failed"]},"workspace":{"type":"string","description":"Workspace identifier","minLength":1,"maxLength":128}},"description":"Payload for updating a remediation run","required":["account","org","project","workspace","id","status"]}}}}
```

## The RemoteExecution object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RemoteExecution":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"custom_arguments":{"type":"object","description":"The arguments supplied to the plan.","additionalProperties":{"type":"array","items":{"type":"string"}}},"executed":{"type":"boolean","description":"The boolean value indicating if the remote execution has been executed."},"id":{"type":"string","description":"The ID of the remote execution.","format":"uuid"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The pipeline execution ID of the pipeline executing the remote execution"},"pipeline_execution_url":{"type":"string","description":"The pipeline execution URL of the pipeline executing the remote execution"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"sha256_checksum":{"type":"string","description":"The checksum of the patch file of changes that the remote execution will run against."},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"workspace":{"type":"string","description":"The workspace associated with the remote execution."}},"description":"remote execution details for a specific workspace.","required":["account","org","project","id","workspace","pipeline_execution_id","pipeline_execution_url","created","updated","executed","sha256_checksum"]}}}}
```

## The ResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmResource"}},"HarnessIacmResource":{"type":"object","properties":{"attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"createdAt":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"drift_attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"drift_status":{"type":"string","description":"Indicates if this resource is experiencing drift.","enum":["changed","deleted","unchanged"]},"lastSyncedAt":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"mode":{"type":"string","description":"Mode associated with the resource.","enum":["resource","data","output"]},"module":{"type":"string","description":"Module associated with the resource."},"monthly_cost":{"type":"number","description":"Current period cost from CCM (null if no cost data).","format":"double"},"monthly_saving":{"type":"number","description":"Monthly potential saving from CCM (null if no cost data).","format":"double"},"name":{"type":"string","description":"Name associated with the resource."},"path_id":{"type":"string","description":"Path associated with the resource. Could be namespace, environment or stack id."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"recommendation_count":{"type":"integer","description":"Number of CCM recommendations for this resource (null if no cost data).","format":"int64"},"resource_id":{"type":"string","description":"Unique identifier for the resource from the cloud provider."},"sensitive_attributes":{"type":"array","items":{},"description":"A list of the sensitive attribute keys "},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents an individual provisioned resource.","required":["provider","type","name","module","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]}}}}
```

## The ResourceDelete object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ResourceDelete":{"type":"object","properties":{"module":{"type":"string","description":"Module path"},"name":{"type":"string","description":"Resource name"},"path_id":{"type":"string","description":"Path id"},"provider":{"type":"string","description":"Provider name"},"type":{"type":"string","description":"Resource type"}},"description":"Resource delete information","required":["provider","type","name","module"]}}}}
```

## The ResourceDeleteResult object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ResourceDeleteResult":{"type":"object","properties":{"error":{"type":"string"},"module":{"type":"string"},"name":{"type":"string"},"provider":{"type":"string"},"status":{"type":"string","enum":["deleted","skipped","failed"]},"type":{"type":"string"}},"description":"Result of a resource delete operation","required":["provider","type","name","module"]}}}}
```

## The ResourceDeleteSummary object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ResourceDeleteSummary":{"type":"object","properties":{"deleted":{"type":"integer","description":"Number of resources successfully deleted","format":"int64"},"failed":{"type":"integer","description":"Number of resources that failed to delete","format":"int64"},"skipped":{"type":"integer","description":"Number of resources skipped","format":"int64"},"total":{"type":"integer","description":"Total number of resources processed","format":"int64"}},"description":"Summary of a resource delete operation","required":["total","deleted","skipped","failed"]}}}}
```

## The ResourceRisk object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ResourceRisk":{"type":"object","properties":{"risk_factors":{"type":"array","items":{"type":"string"},"description":"List of risk factors"},"risk_level":{"type":"string","description":"Risk level category","enum":["LOW","MEDIUM","HIGH"]},"risk_mitigation":{"type":"array","items":{"type":"string"},"description":"Mitigation recommendations (absent when no risk factors)"},"risk_score":{"type":"integer","description":"Risk score from 1 to 10","format":"int64","minimum":1,"maximum":10}},"description":"Risk assessment for an individual resource","required":["risk_score","risk_level","risk_factors"]}}}}
```

## The ResourceUpdate object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ResourceUpdate":{"type":"object","properties":{"attributes":{"description":"Resource attributes"},"drift_attributes":{"type":"object","description":"Map of drifted attribute values (used when update_mode=drift)","additionalProperties":true},"drift_status":{"type":"string","description":"Drift status of the resource (used when update_mode=drift)","enum":["changed","deleted","unchanged",""]},"mode":{"type":"string","description":"managed, datasource, output"},"module":{"type":"string","description":"Module path"},"name":{"type":"string","description":"Resource name"},"path_id":{"type":"string","description":"path id"},"provider":{"type":"string","description":"Provider name"},"sensitive_attribute_paths":{"type":"array","items":{"type":"string"},"description":"Paths to sensitive attributes"},"type":{"type":"string","description":"Resource type"}},"description":"Resource update information","required":["provider","type","name","module","mode","attributes"]}}}}
```

## The ResourceUpdateResult object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ResourceUpdateResult":{"type":"object","properties":{"error":{"type":"string"},"mode":{"type":"string"},"module":{"type":"string"},"name":{"type":"string"},"provider":{"type":"string"},"status":{"type":"string","enum":["updated","skipped","failed"]},"type":{"type":"string"}},"description":"Result of a resource update operation","required":["provider","type","name","module","mode"]}}}}
```

## The ResourceUpdateSummary object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ResourceUpdateSummary":{"type":"object","properties":{"failed":{"type":"integer","description":"Number of resources that failed to update","format":"int64"},"skipped":{"type":"integer","description":"Number of resources skipped","format":"int64"},"total":{"type":"integer","description":"Total number of resources processed","format":"int64"},"updated":{"type":"integer","description":"Number of resources successfully updated","format":"int64"}},"description":"Summary of a resource update operation","required":["total","updated","skipped","failed"]}}}}
```

## The ResourcesSelector object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ResourcesSelector":{"type":"object","properties":{"include_conditions":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"},"description":"The conditions to include the resource."},"path_id":{"type":"string","description":"Path identifier to filter resources by"},"provider":{"type":"string","description":"Provider Type to filter resources by"},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"search_text":{"type":"string","description":"Search resources by text string"}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]}}}}
```

## The ResourcesSelectorConditions object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]}}}}
```

## The RiskAssessment object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RiskAssessment":{"type":"object","properties":{"overall_risk_summary":{"$ref":"#/components/schemas/OverallRiskSummary"},"resource_risks":{"type":"object","description":"Risk data keyed by resource address","additionalProperties":{"$ref":"#/components/schemas/ResourceRisk"}}},"description":"Risk assessment containing overall summary and per-resource risks","required":["overall_risk_summary","resource_risks"]},"OverallRiskSummary":{"type":"object","properties":{"overall_level":{"type":"string","description":"Risk level category","enum":["LOW","MEDIUM","HIGH"]},"overall_score":{"type":"integer","description":"Overall deployment risk score from 1 to 10","format":"int64","minimum":1,"maximum":10},"reason":{"type":"string","description":"Human-readable explanation of the score"}},"description":"Deployment-wide risk assessment.","required":["overall_score","overall_level","reason"]},"ResourceRisk":{"type":"object","properties":{"risk_factors":{"type":"array","items":{"type":"string"},"description":"List of risk factors"},"risk_level":{"type":"string","description":"Risk level category","enum":["LOW","MEDIUM","HIGH"]},"risk_mitigation":{"type":"array","items":{"type":"string"},"description":"Mitigation recommendations (absent when no risk factors)"},"risk_score":{"type":"integer","description":"Risk score from 1 to 10","format":"int64","minimum":1,"maximum":10}},"description":"Risk assessment for an individual resource","required":["risk_score","risk_level","risk_factors"]}}}}
```

## The RollbackStateRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RollbackStateRequest":{"type":"object","properties":{"rollback_reason":{"type":"string","description":"Optional human-readable reason for the rollback"}}}}}}
```

## The RollbackStateResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RollbackStateResponse":{"type":"object","properties":{"activity_id":{"type":"string","description":"The unique identifier of the audit activity record","format":"uuid"},"new_data_id":{"type":"string","description":"The unique identifier of the new state version created by the rollback","format":"uuid"},"new_file_version":{"type":"integer","description":"The file version timestamp (microseconds) of the new state object","format":"int64"}},"required":["new_data_id","new_file_version","activity_id"]}}}}
```

## The ScopedExecutionID object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedExecutionID":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"Pipeline execution ID","minLength":1,"maxLength":128},"pipeline_stage_id":{"type":"string","description":"Pipeline execution stage ID","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","pipeline_execution_id","pipeline_stage_id"]}}}}
```

## The ScopedIdentifier object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedIdentifier":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"Identifier is the project identifier.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","identifier"]}}}}
```

## The ScopedKey object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedKey":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"kind":{"type":"string","description":"Kind is the classfcation of the variable.","enum":["env","tf"]},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"workspace":{"type":"string","description":"Workspace is the resource workspace this variable is associated with."}},"required":["account","org","project","workspace","kind","key"]}}}}
```

## The ScopedPipelineID object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedPipelineID":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"Pipeline execution ID","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","pipeline_execution_id"]}}}}
```

## The ScopedPipelines object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedPipelines":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pageSize":{"type":"integer","description":"Current page size","format":"int64"},"pipelines":{"type":"array","items":{"type":"string"},"description":"Array of pipelines that belong to a specific workspace"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"totalItems":{"type":"integer","description":"Total items available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["account","org","project","totalItems","totalPages","pageSize"]}}}}
```

## The ScopedRemoteExecutionIdentifier object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedRemoteExecutionIdentifier":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"id":{"type":"string","description":"The ID of the remote execution","format":"uuid"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"workspace":{"type":"string","description":"Workspace is the resource workspace this variable is associated with."}},"required":["account","org","project","workspace","id"]}}}}
```

## The ScopedWorkspaceDataIdentifier object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedWorkspaceDataIdentifier":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"id":{"type":"string","description":"The unique identifier for the data"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"workspace":{"type":"string","description":"Workspace is the resource workspace this variable is associated with."}},"required":["account","org","project","workspace","id"]}}}}
```

## The SearchResourcesRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"SearchResourcesRequest":{"type":"object","properties":{"limit":{"type":"integer","description":"Limit is the number of records to return for a page. When omitted, all records are returned.","format":"int64","minimum":1,"maximum":1000},"page":{"type":"integer","description":"Page is the page number to return relative to the page 'limit'. When omitted, all records are returned.","format":"int64","minimum":1},"selectors":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelector"}}}},"ResourcesSelector":{"type":"object","properties":{"include_conditions":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"},"description":"The conditions to include the resource."},"path_id":{"type":"string","description":"Path identifier to filter resources by"},"provider":{"type":"string","description":"Provider Type to filter resources by"},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"search_text":{"type":"string","description":"Search resources by text string"}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]}}}}
```

## The SearchResourcesResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"SearchResourcesResponse":{"type":"object","properties":{"data_sources":{"$ref":"#/components/schemas/ResourceCollection"},"outputs":{"$ref":"#/components/schemas/OutputCollection"},"resources":{"$ref":"#/components/schemas/ResourceCollection"},"stack_outputs":{"type":"object","description":"Outputs grouped by stack path for Terragrunt workspaces","additionalProperties":{"$ref":"#/components/schemas/OutputCollection"}},"total_resources":{"type":"integer","description":"Total number of resources managed by this workspace","default":0,"format":"int64"}},"required":["resources","data_sources","outputs","total_resources"]},"ResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmResource"}},"HarnessIacmResource":{"type":"object","properties":{"attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"createdAt":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"drift_attributes":{"type":"object","description":"A map of values related to the resource","additionalProperties":true},"drift_status":{"type":"string","description":"Indicates if this resource is experiencing drift.","enum":["changed","deleted","unchanged"]},"lastSyncedAt":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"mode":{"type":"string","description":"Mode associated with the resource.","enum":["resource","data","output"]},"module":{"type":"string","description":"Module associated with the resource."},"monthly_cost":{"type":"number","description":"Current period cost from CCM (null if no cost data).","format":"double"},"monthly_saving":{"type":"number","description":"Monthly potential saving from CCM (null if no cost data).","format":"double"},"name":{"type":"string","description":"Name associated with the resource."},"path_id":{"type":"string","description":"Path associated with the resource. Could be namespace, environment or stack id."},"provider":{"type":"string","description":"Cloud provider associated with the resource."},"recommendation_count":{"type":"integer","description":"Number of CCM recommendations for this resource (null if no cost data).","format":"int64"},"resource_id":{"type":"string","description":"Unique identifier for the resource from the cloud provider."},"sensitive_attributes":{"type":"array","items":{},"description":"A list of the sensitive attribute keys "},"type":{"type":"string","description":"Type of the provisioned resource."}},"description":"Represents an individual provisioned resource.","required":["provider","type","name","module","mode","path_id","resource_id","attributes","drift_status","drift_attributes","sensitive_attributes"]},"OutputCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmOutput"}},"HarnessIacmOutput":{"type":"object","properties":{"expression":{"type":"string","description":"JEXL expression for dynamic output resolution"},"name":{"type":"string","description":"Name associated with the output."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"},"stack_path":{"type":"string","description":"Stack path for Terragrunt workspaces"},"value":{"type":"string","description":"Value associated with the output."}},"description":"Represents an individual output variable.","required":["name","value","sensitive"]}}}}
```

## The SendEventRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"SendEventRequest":{"type":"object","properties":{"data":{"type":"object","additionalProperties":{"type":"string"}},"event_type":{"type":"string","description":"The type of event that occurred","enum":["plan","drifted","provisioning","destroying","active","inactive","apply_needed","failed","stage-complete"]},"metadata":{"$ref":"#/components/schemas/ActivityMetadata"},"pipeline_execution_id":{"type":"string","description":"Deprecated: use metadata instead","default":""},"pipeline_stage_id":{"type":"string","description":"Deprecated: use metadata instead","default":""}},"required":["event_type"]},"ActivityMetadata":{"type":"object","properties":{"PlannedChangesCount":{"type":"integer","description":"Deprecated: use resource_count_xxxx fields instead","default":0,"format":"int64"},"activity_status":{"type":"string","description":"The status of this activity","enum":["success","failure","incomplete"]},"activity_type":{"type":"string","description":"The type of this activity","enum":["apply","destroy","plan","drifted","import","bootstrap","synth","deploy","diff","drift","rollback"]},"cost_breakdown_uuid":{"type":"string","description":"The ID of any associated cost breakdown data"},"cost_currency":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_uuid":{"type":"string","description":"The ID of any associated cost diff data"},"cost_past_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_total_monthly_percentage_change":{"type":"string","description":"The currency used in cost data for this change"},"data_length":{"type":"integer","description":"The length of the data","default":0,"format":"int64"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"enable_solutions_factory":{"type":"boolean","description":"Indicates if Harness Solution Factory functionality is enabled"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"modules_uuid":{"type":"string","description":"The ID of any associated modules data"},"output_counts":{"$ref":"#/components/schemas/Counts"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plan_uuid":{"type":"string","description":"The ID of any associated plan data"},"providers_uuid":{"type":"string","description":"The ID of any associated providers data"},"provisioner":{"type":"string","description":"The provisioner in use"},"provisioner_version":{"type":"string","description":"The current version of the provisioner in use"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"rollback_reason":{"type":"string","description":"For rollback activities: optional human-readable reason provided by the actor"},"rollback_source_id":{"type":"string","description":"For rollback activities: the workspacedata ID that was rolled back from"},"stacks":{"type":"array","items":{"$ref":"#/components/schemas/Stacks"},"description":"Stack details for multi-stack deployments"},"state_checksum":{"type":"string","description":"The checksum of the last-seen state file"},"state_uuid":{"type":"string","description":"The ID of any associated state data"},"terragrunt_details":{"type":"array","items":{"$ref":"#/components/schemas/TerragruntDetail"},"description":"Terragrunt details for any associated execution"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"Counts":{"type":"object","properties":{"added":{"type":"integer","description":"Number added","format":"int64"},"changed":{"type":"integer","description":"Number changed","format":"int64"},"deleted":{"type":"integer","description":"Number deleted","format":"int64"},"imported":{"type":"integer","description":"Number imported","format":"int64"},"removed":{"type":"integer","description":"Number removed","format":"int64"},"unchanged":{"type":"integer","description":"Number unchanged","format":"int64"}},"required":["added","changed","deleted","unchanged"]},"Stacks":{"type":"object","properties":{"assets_uuid":{"type":"string","description":"UUID of the uploaded CDK assets for this stack"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"drift_uuid":{"type":"string","description":"UUID of the uploaded drift detection results for this stack"},"error_message":{"type":"string","description":"Error message if status is failure"},"manifest_uuid":{"type":"string","description":"UUID of the uploaded CDK manifest for this stack"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"stack_name":{"type":"string","description":"Name of the CDK stack"},"stack_outputs":{"type":"object","description":"Outputs generated for stack","additionalProperties":{"type":"string"}},"stack_path":{"type":"string","description":"Path to the stack within the CDK app"},"status":{"type":"string","description":"Status of the stack operation","enum":["success","failure","skipped"]},"template_uuid":{"type":"string","description":"UUID of the uploaded CloudFormation template for this stack"},"tree_uuid":{"type":"string","description":"UUID of the uploaded CDK tree for this stack"}},"description":"Stack details for multi-stack deployments"},"TerragruntDetail":{"type":"object","properties":{"cost_breakdown_uuid":{"type":"string","description":"The ID of any associated cost breakdown data"},"cost_currency":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_total_monthly":{"type":"string","description":"The difference in total monthly cost"},"cost_diff_uuid":{"type":"string","description":"The ID of any associated cost diff data"},"cost_past_total_monthly":{"type":"string","description":"The past total monthly cost"},"cost_total_monthly":{"type":"string","description":"The total monthly cost"},"cost_total_monthly_percentage_change":{"type":"string","description":"The percentage change in total monthly cost"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"output_counts":{"$ref":"#/components/schemas/Counts"},"path_id":{"type":"string","description":"Path ID"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"state_file_link":{"type":"string","description":"State file link"},"status":{"type":"string","description":"Status"}}}}}}
```

## The ServiceVersion object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ServiceVersion":{"type":"object","properties":{"commit":{"type":"string","description":"Build identifier"},"deployment_mode":{"type":"string","description":"Determines if the service is running on saas or smp","enum":["saas","smp"]},"version":{"type":"string","description":"Version number"}},"description":"Service version","required":["version","commit","deployment_mode"]}}}}
```

## The ShowCcmCostsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowCcmCostsResponse":{"type":"object","properties":{"last_synced_at":{"type":"integer","description":"Unix timestamp in milliseconds of most recent sync","format":"int64"},"monthly_cost":{"type":"number","description":"Total monthly cost across all resources","format":"double"},"monthly_saving":{"type":"number","description":"Total potential monthly savings from recommendations","format":"double"},"previous_monthly_cost":{"type":"number","description":"Total cost from previous billing period","format":"double"},"recommendation_count":{"type":"integer","description":"Number of resources with savings opportunities","format":"int64"},"resource_count":{"type":"integer","description":"Total resources with cost data","format":"int64"}},"required":["monthly_cost","monthly_saving","recommendation_count","previous_monthly_cost","resource_count"]}}}}
```

## The ShowExecutionResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowExecutionResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"The overall status of the execution","enum":["none","success","failure"]},"workspace":{"type":"string","description":"The unique identifier for the associated workspace"}},"required":["status","created","account","org","project","pipeline_execution_id","pipeline_stage_id","workspace","pipeline"]}}}}
```

## The ShowLicenceResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowLicenceResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account identifier","minLength":1,"maxLength":128},"ansible":{"$ref":"#/components/schemas/AnsibleLicenceData"},"isLicenced":{"type":"boolean","description":"True when this account is currently licenced to execute apply operations"},"isPaid":{"type":"boolean","description":"True when this account is a paid account"},"reason":{"type":"string","description":"If the account is not licenced, this is the reason why"},"startTime":{"type":"integer","description":"The unix timestamp of the current period over which usage was calculated","format":"int64"},"total":{"type":"integer","description":"The total number of successful apply operations this account is licenced to perform","format":"int64"},"used":{"type":"integer","description":"The count of successful apply operations already performed","format":"int64"}},"required":["account","used","total","startTime","isPaid","isLicenced"]},"AnsibleLicenceData":{"type":"object","properties":{"total":{"type":"integer","description":"Total ansible hosts allowed by license","format":"int64"},"used":{"type":"integer","description":"Unique hosts with runs in last 30 days","format":"int64"}},"required":["used","total"]}}}}
```

## The ShowRemoteExecutionResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowRemoteExecutionResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"custom_arguments":{"type":"object","description":"The arguments supplied to the plan.","additionalProperties":{"type":"array","items":{"type":"string"}}},"executed":{"type":"boolean","description":"The boolean value indicating if the remote execution has been executed."},"id":{"type":"string","description":"The ID of the remote execution.","format":"uuid"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The pipeline execution ID of the pipeline executing the remote execution"},"pipeline_execution_url":{"type":"string","description":"The pipeline execution URL of the pipeline executing the remote execution"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"sha256_checksum":{"type":"string","description":"The checksum of the patch file of changes that the remote execution will run against."},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"workspace":{"type":"string","description":"The workspace associated with the remote execution."}},"required":["account","org","project","id","workspace","pipeline_execution_id","pipeline_execution_url","created","updated","executed","sha256_checksum"]}}}}
```

## The ShowUsageResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowUsageResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UsageData"},"status":{"type":"string"}},"required":["status","data"]},"UsageData":{"type":"object","properties":{"ansible":{"$ref":"#/components/schemas/AnsibleUsageData"},"count":{"type":"integer","description":"Metric value (IACM successful applies)","format":"int64"}},"required":["count"]},"AnsibleUsageData":{"type":"object","properties":{"uniqueHosts30d":{"type":"integer","description":"Unique hosts with runs in last 30 days","format":"int64"}},"required":["uniqueHosts30d"]}}}}
```

## The ShowWorkspaceMetricsRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowWorkspaceMetricsRequest":{"type":"object","properties":{"status_counts":{"type":"object","description":"Counts by status","additionalProperties":{"type":"integer","format":"int64"}}}}}}}
```

## The ShowWorkspaceVariableResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowWorkspaceVariableResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"kind":{"type":"string","description":"Kind is the classfcation of the variable.","enum":["env","tf"]},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]},"workspace":{"type":"string","description":"Workspace is the resource workspace this variable is associated with."}},"required":["account","org","project","workspace","key","value","value_type","kind","created","updated"]}}}}
```

## The Stacks object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Stacks":{"type":"object","properties":{"assets_uuid":{"type":"string","description":"UUID of the uploaded CDK assets for this stack"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"drift_uuid":{"type":"string","description":"UUID of the uploaded drift detection results for this stack"},"error_message":{"type":"string","description":"Error message if status is failure"},"manifest_uuid":{"type":"string","description":"UUID of the uploaded CDK manifest for this stack"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"stack_name":{"type":"string","description":"Name of the CDK stack"},"stack_outputs":{"type":"object","description":"Outputs generated for stack","additionalProperties":{"type":"string"}},"stack_path":{"type":"string","description":"Path to the stack within the CDK app"},"status":{"type":"string","description":"Status of the stack operation","enum":["success","failure","skipped"]},"template_uuid":{"type":"string","description":"UUID of the uploaded CloudFormation template for this stack"},"tree_uuid":{"type":"string","description":"UUID of the uploaded CDK tree for this stack"}},"description":"Stack details for multi-stack deployments"},"Counts":{"type":"object","properties":{"added":{"type":"integer","description":"Number added","format":"int64"},"changed":{"type":"integer","description":"Number changed","format":"int64"},"deleted":{"type":"integer","description":"Number deleted","format":"int64"},"imported":{"type":"integer","description":"Number imported","format":"int64"},"removed":{"type":"integer","description":"Number removed","format":"int64"},"unchanged":{"type":"integer","description":"Number unchanged","format":"int64"}},"required":["added","changed","deleted","unchanged"]}}}}
```

## The StartActivityPayload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"StartActivityPayload":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"activity_id":{"type":"string","description":"Client-generated UUID for idempotency","format":"uuid"},"activity_type":{"type":"string","description":"Type of activity being performed","enum":["bootstrap","synth","deploy","destroy","plan","apply","diff","drift"]},"git_info":{"$ref":"#/components/schemas/GitInfo"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"Pipeline execution identifier"},"pipeline_id":{"type":"string","description":"Pipeline identifier"},"pipeline_stage_id":{"type":"string","description":"Pipeline stage identifier"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provisioner_type":{"type":"string","description":"Type of provisioner","enum":["awscdk","tf"]},"provisioner_version":{"type":"string","description":"Version of the provisioner (CDK CLI version, Terraform version)"},"workspace":{"type":"string","description":"Workspace identifier","minLength":1,"maxLength":128}},"description":"Payload for starting a provisioner activity","required":["account","org","project","workspace","activity_id","provisioner_type","activity_type"]},"GitInfo":{"type":"object","properties":{"branch":{"type":"string","description":"Git branch name"},"commit_message":{"type":"string","description":"Git commit message"},"commit_sha":{"type":"string","description":"Git commit SHA"},"repo":{"type":"string","description":"Git repository URL"}},"description":"Git repository information associated with an activity"}}}}
```

## The StartActivityRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"StartActivityRequest":{"type":"object","properties":{"activity_id":{"type":"string","description":"Client-generated UUID for idempotency","format":"uuid"},"activity_type":{"type":"string","description":"Type of activity being performed","enum":["bootstrap","synth","deploy","destroy","plan","apply","diff","drift"]},"git_info":{"$ref":"#/components/schemas/GitInfo"},"pipeline_execution_id":{"type":"string","description":"Pipeline execution identifier"},"pipeline_id":{"type":"string","description":"Pipeline identifier"},"pipeline_stage_id":{"type":"string","description":"Pipeline stage identifier"},"provisioner_type":{"type":"string","description":"Type of provisioner","enum":["awscdk","tf"]},"provisioner_version":{"type":"string","description":"Version of the provisioner (CDK CLI version, Terraform version)"}},"required":["activity_id","provisioner_type","activity_type"]},"GitInfo":{"type":"object","properties":{"branch":{"type":"string","description":"Git branch name"},"commit_message":{"type":"string","description":"Git commit message"},"commit_sha":{"type":"string","description":"Git commit SHA"},"repo":{"type":"string","description":"Git repository URL"}},"description":"Git repository information associated with an activity"}}}}
```

## The StartActivityResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"StartActivityResponse":{"type":"object","properties":{"activity_id":{"type":"string","description":"The activity identifier"},"started_at":{"type":"integer","description":"Unix timestamp in milliseconds when activity started","format":"int64"},"status":{"type":"string","description":"Current status of the activity","enum":["started","running","completed","failed"]}},"required":["activity_id","status","started_at"]}}}}
```

## The TerraformConfig object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"TerraformConfig":{"type":"object","properties":{"versions":{"type":"array","items":{"type":"string"},"description":"List of supported Terraform versions"}},"description":"Terraform configuration"}}}}
```

## The TerragruntConfig object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"TerragruntConfig":{"type":"object","properties":{"versions":{"type":"array","items":{"type":"string"},"description":"List of supported Terragrunt versions"}},"description":"Terragrunt configuration"}}}}
```

## The TerragruntDetail object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"TerragruntDetail":{"type":"object","properties":{"cost_breakdown_uuid":{"type":"string","description":"The ID of any associated cost breakdown data"},"cost_currency":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_total_monthly":{"type":"string","description":"The difference in total monthly cost"},"cost_diff_uuid":{"type":"string","description":"The ID of any associated cost diff data"},"cost_past_total_monthly":{"type":"string","description":"The past total monthly cost"},"cost_total_monthly":{"type":"string","description":"The total monthly cost"},"cost_total_monthly_percentage_change":{"type":"string","description":"The percentage change in total monthly cost"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"output_counts":{"$ref":"#/components/schemas/Counts"},"path_id":{"type":"string","description":"Path ID"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"state_file_link":{"type":"string","description":"State file link"},"status":{"type":"string","description":"Status"}}},"Counts":{"type":"object","properties":{"added":{"type":"integer","description":"Number added","format":"int64"},"changed":{"type":"integer","description":"Number changed","format":"int64"},"deleted":{"type":"integer","description":"Number deleted","format":"int64"},"imported":{"type":"integer","description":"Number imported","format":"int64"},"removed":{"type":"integer","description":"Number removed","format":"int64"},"unchanged":{"type":"integer","description":"Number unchanged","format":"int64"}},"required":["added","changed","deleted","unchanged"]}}}}
```

## The UnifiedExecutionRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UnifiedExecutionRequest":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"inventories":{"type":"array","items":{"type":"string"},"description":"List of inventory identifiers for ansible execution"},"module_test":{"type":"string","description":"The module test identifier"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_id":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"playbooks":{"type":"array","items":{"type":"string"},"description":"List of playbook identifiers for ansible execution"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"remote_execution_id":{"type":"string","description":"The unique identifier for the remote execution"},"skip_adding_to_db":{"type":"boolean","description":"Skip adding to database"},"webhook":{"$ref":"#/components/schemas/WebhookInfo"},"workspace":{"type":"string","description":"The unique identifier for the associated workspace"}},"description":"UnifiedExecutionRequest defines an individual execution of unified execution","required":["account","org","project","pipeline_execution_id","pipeline_stage_id","pipeline_id"]},"WebhookInfo":{"type":"object","properties":{"connector":{"type":"string","description":"The connector for the webhook"},"link":{"type":"string","description":"The link for the webhook"},"repo":{"type":"string","description":"The repository for the webhook"},"type":{"type":"string","description":"The type of the webhook","enum":["pull_request","merged","push","release","tag"]}},"description":"WebhookInfo defines the webhook information for a unified execution","required":["type"]}}}}
```

## The UnifiedExecutionRequest2 object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UnifiedExecutionRequest2":{"type":"object","properties":{"inventories":{"type":"array","items":{"type":"string"},"description":"List of inventory identifiers for ansible execution"},"module_test":{"type":"string","description":"The module test identifier"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_id":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"playbooks":{"type":"array","items":{"type":"string"},"description":"List of playbook identifiers for ansible execution"},"remote_execution_id":{"type":"string","description":"The unique identifier for the remote execution"},"skip_adding_to_db":{"type":"boolean","description":"Skip adding to database"},"webhook":{"$ref":"#/components/schemas/WebhookInfo"},"workspace":{"type":"string","description":"The unique identifier for the associated workspace"}},"required":["pipeline_execution_id","pipeline_stage_id","pipeline_id"]},"WebhookInfo":{"type":"object","properties":{"connector":{"type":"string","description":"The connector for the webhook"},"link":{"type":"string","description":"The link for the webhook"},"repo":{"type":"string","description":"The repository for the webhook"},"type":{"type":"string","description":"The type of the webhook","enum":["pull_request","merged","push","release","tag"]}},"description":"WebhookInfo defines the webhook information for a unified execution","required":["type"]}}}}
```

## The UnifiedExecutionResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UnifiedExecutionResponse":{"type":"object","properties":{"env_variables":{"type":"object","description":"Map of environment variables","additionalProperties":{"type":"string"}},"outputs":{"type":"object","description":"Map of output key-value pairs","additionalProperties":{"type":"string"}},"steps":{"type":"array","items":{"$ref":"#/components/schemas/IACMUnifiedStepWrapper"},"description":"List of execution steps"}},"description":"UnifiedExecutionResponse contains all data required for unified execution","required":["outputs","env_variables"]},"IACMUnifiedStepWrapper":{"type":"object","properties":{"dynamic_fields":{"type":"object","description":"Map of dynamic fields for the step","additionalProperties":{"type":"string"}},"id":{"type":"string","description":"Unique identifier for the step"},"name":{"type":"string","description":"Name of the step"},"yaml":{"type":"string","description":"YAML definition of the step"}},"description":"Wrapper for unified step data","required":["id","name","yaml"]}}}}
```

## The UnlockWorkspaceRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UnlockWorkspaceRequest":{"type":"object","properties":{"created":{"type":"string","description":"Time that the lock was taken."},"id":{"type":"string","description":"Unique ID for the lock. Generated by the terraform cli.","minLength":1},"info":{"type":"string","description":"Extra information to store with the lock.","default":""},"operation":{"type":"string","description":"Terraform operation."},"path":{"type":"string","description":"Path to the state file when applicable.","default":""},"version":{"type":"string","description":"Terraform version."},"who":{"type":"string","description":"The machine user who is performing the operation.","default":""}},"required":["id","operation","version","created"]}}}}
```

## The UpdateApprovalRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateApprovalRequest":{"type":"object","properties":{"actioned_by":{"type":"string","description":"User that approved/rejected the step"},"actioned_by_email":{"type":"string","description":"Email of the user that approved/rejected the step"},"status":{"type":"string","description":"Status update to be performed upon the Approval step","default":"pending","enum":["approved","rejected","pending"]}},"required":["status","pipeline_execution_id","pipeline_stage_id","workspace_id"]}}}}
```

## The UpdateDriftConfigRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateDriftConfigRequest":{"type":"object","properties":{"pipeline_id":{"type":"string","description":"Pipeline to run for drift detection"},"provisioner":{"type":"string","description":"Provisioner key (defaults to opentofu when omitted)"},"run_every":{"type":"integer","description":"Run drift detection every N hours or N days (see run_every_unit)","format":"int64"},"run_every_unit":{"type":"string","description":"hours or days","enum":["seconds","minutes","hours","days"]}},"required":["pipeline_id","run_every","run_every_unit"]}}}}
```

## The UpdateDriftConfigResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateDriftConfigResponse":{"type":"object","properties":{"status":{"type":"string","description":"Outcome message"}},"required":["status"]}}}}
```

## The UpdateEphemeralConfigRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateEphemeralConfigRequest":{"type":"object","properties":{"delete_delay_unit":{"type":"string","description":"Unit for delete delay","enum":["seconds","minutes","hours","days"]},"delete_delay_value":{"type":"integer","description":"Delete workspace after N hours or days from now","format":"int64"},"delete_on_date":{"type":"string","description":"Specific date to delete workspace (ISO 8601 format, e.g. 2026-09-02)"},"delete_workspace":{"type":"boolean","description":"Whether to delete the workspace record after infrastructure is destroyed"},"destroy_delay_unit":{"type":"string","description":"Unit for destroy delay","enum":["seconds","minutes","hours","days"]},"destroy_delay_value":{"type":"integer","description":"Destroy infrastructure after N hours or days from now","format":"int64"},"destroy_on_date":{"type":"string","description":"Specific date to destroy infrastructure (ISO 8601 format, e.g. 2026-08-24)"},"pipeline_id":{"type":"string","description":"Pipeline to run for destroying infrastructure"},"provisioner":{"type":"string","description":"Provisioner key (defaults to opentofu when omitted)"}},"required":["pipeline_id"]}}}}
```

## The UpdateEphemeralConfigResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateEphemeralConfigResponse":{"type":"object","properties":{"delete_at":{"type":"string","description":"Computed delete timestamp (ISO 8601), empty if delete_workspace is false"},"destroy_at":{"type":"string","description":"Computed destroy timestamp (ISO 8601)"},"status":{"type":"string","description":"Outcome message"}},"required":["status"]}}}}
```

## The UpdateExecutionRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateExecutionRequest":{"type":"object","properties":{"audit":{"$ref":"#/components/schemas/Audit"}}},"Audit":{"type":"object","properties":{"git_audit_data":{"$ref":"#/components/schemas/GitAuditData"}}},"GitAuditData":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of the git branch used","minLength":1,"maxLength":128},"name":{"type":"string","description":"The name of the branch or tag used"},"repo_url":{"type":"string","description":"Url of the repo used","minLength":1},"type":{"type":"string","description":"Type of fetch used to get the data","enum":["branch","tag"]}},"required":["hash","repo_url"]}}}}
```

## The UpdateRemediationRunRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateRemediationRunRequest":{"type":"object","properties":{"pipeline_execution_id":{"type":"string","description":"Pipeline execution identifier"},"result_payload":{"description":"Result data from the remediation agent"},"result_type":{"type":"string","description":"Type of result","enum":["pr_created","explanation"]},"status":{"type":"string","description":"New status","enum":["running","succeeded","failed"]}},"required":["status"]}}}}
```

## The UpdateRemediationRunResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateRemediationRunResponse":{"type":"object","properties":{"account":{"type":"string"},"created":{"type":"integer","description":"Created timestamp in milliseconds","format":"int64"},"id":{"type":"string","description":"Unique identifier"},"input_payload":{"description":"Input context"},"insight_id":{"type":"string","description":"Insight (recommendation) id linked to this run, if any."},"org":{"type":"string"},"pipeline_execution_id":{"type":"string"},"pipeline_identifier":{"type":"string","description":"Identifier of the pipeline that created this run."},"project":{"type":"string"},"recommendation_source":{"type":"string","description":"Recommendation source persisted for the insight link (derived server-side from remediation_type)."},"remediation_type":{"type":"string","enum":["drift","ccm","sto","custom"]},"result_payload":{"description":"Result data"},"result_type":{"type":"string","enum":["pr_created","explanation"]},"status":{"type":"string","description":"Current status","enum":["pending","running","succeeded","failed"]},"triggered_by":{"type":"string"},"updated":{"type":"integer","description":"Updated timestamp in milliseconds","format":"int64"},"workspace":{"type":"string"}},"required":["id","account","org","project","workspace","status","remediation_type","triggered_by","created","updated"]}}}}
```

## The UpdateResourcesRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateResourcesRequest":{"type":"object","properties":{"resources":{"type":"array","items":{"$ref":"#/components/schemas/ResourceUpdate"}},"session_id":{"type":"string","description":"Session ID to track resource updates belongs to same operation","format":"uuid"},"update_mode":{"type":"string","description":"Update mode: upsert (default) updates attributes; drift updates drift columns only","default":"upsert","enum":["upsert","drift"]}},"required":["resources"]},"ResourceUpdate":{"type":"object","properties":{"attributes":{"description":"Resource attributes"},"drift_attributes":{"type":"object","description":"Map of drifted attribute values (used when update_mode=drift)","additionalProperties":true},"drift_status":{"type":"string","description":"Drift status of the resource (used when update_mode=drift)","enum":["changed","deleted","unchanged",""]},"mode":{"type":"string","description":"managed, datasource, output"},"module":{"type":"string","description":"Module path"},"name":{"type":"string","description":"Resource name"},"path_id":{"type":"string","description":"path id"},"provider":{"type":"string","description":"Provider name"},"sensitive_attribute_paths":{"type":"array","items":{"type":"string"},"description":"Paths to sensitive attributes"},"type":{"type":"string","description":"Resource type"}},"description":"Resource update information","required":["provider","type","name","module","mode","attributes"]}}}}
```

## The UpdateResourcesResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateResourcesResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ResourceUpdateResult"}},"summary":{"$ref":"#/components/schemas/ResourceUpdateSummary"}},"required":["results","summary"]},"ResourceUpdateResult":{"type":"object","properties":{"error":{"type":"string"},"mode":{"type":"string"},"module":{"type":"string"},"name":{"type":"string"},"provider":{"type":"string"},"status":{"type":"string","enum":["updated","skipped","failed"]},"type":{"type":"string"}},"description":"Result of a resource update operation","required":["provider","type","name","module","mode"]},"ResourceUpdateSummary":{"type":"object","properties":{"failed":{"type":"integer","description":"Number of resources that failed to update","format":"int64"},"skipped":{"type":"integer","description":"Number of resources skipped","format":"int64"},"total":{"type":"integer","description":"Total number of resources processed","format":"int64"},"updated":{"type":"integer","description":"Number of resources successfully updated","format":"int64"}},"description":"Summary of a resource update operation","required":["total","updated","skipped","failed"]}}}}
```

## The UpdateVariableSetRequestAccountScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateVariableSetRequestAccountScope":{"type":"object","properties":{"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"required":["name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The UpdateVariableSetRequestOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateVariableSetRequestOrgScope":{"type":"object","properties":{"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"required":["name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The UpdateVariableSetRequestProjScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateVariableSetRequestProjScope":{"type":"object","properties":{"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"required":["name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The UpdateWorkspaceRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateWorkspaceRequest":{"type":"object","properties":{"budget":{"type":"number","description":"define the budget for a specific workspace","format":"float"},"ccm_cost_enabled":{"type":"boolean","description":"define if CCM cost integration is enabled for this workspace","default":false},"cost_estimation_enabled":{"type":"boolean","description":"define if cost estimation operations will be performed in this workspace","default":false},"default_pipelines":{"type":"object","description":"List of default pipelines associated with this workspace and any per-workspace overrides.","additionalProperties":{"$ref":"#/components/schemas/DefaultPipelineOverride"}},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"list of environment variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/Variable"}},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"Provider Connector is the reference to the connector for the infrastructure provider."},"provider_connectors":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceProviderConnector"},"description":"define an array of provider connectors that belong to Workspace"},"provisioner":{"type":"string","description":"Provisioner defines the provisioning tool to use."},"provisioner_configuration":{"type":"string","description":"Provisioner configuration metadata (key value pair provisioner specific configuration)."},"provisioner_version":{"type":"string","description":"Provisioner Version defines the tool version to use.","default":"latest"},"prune_sensitive_data":{"type":"boolean","description":"prune_sensitive_data is a flag to enable or disable pruning of sensitive data","default":false},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"repository_submodules":{"type":"string","description":"repository_submodules is the instruction about whether to clone submodules in the pipeline step","default":"false","enum":["false","true","recursive"]},"run_all":{"type":"boolean","description":"Run-All terragrunt modules."},"sparse_checkout":{"type":"string","description":"List of patterens that will be used for sparse checkout option of git clone"},"tags":{"type":"object","description":"Tags associated with the workspace.","additionalProperties":{"type":"string"}},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceTerraformVariableFiles"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"list of terraform variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/Variable"}},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"terragrunt_version":{"type":"string","description":"Terragrunt Version to use when provisioner is terragrunt."},"variable_sets":{"type":"array","items":{"type":"string"},"description":"Attached Variable Sets references"}},"required":["terraform_variables","environment_variables","name","provider_connector","provisioner"]},"DefaultPipelineOverride":{"type":"object","properties":{"project_pipeline":{"type":"string","description":"Default pipeline assigned as the project-level"},"workspace_pipeline":{"type":"string","description":"Default pipeline assigned as the workspace-level"}},"description":"Per-workspace override to the assigned default pipelines."},"Variable":{"type":"object","properties":{"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a workspace.","required":["key","value","value_type","kind"]},"WorkspaceProviderConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the connector was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"type":{"type":"string","description":"Type indicates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the connector was last updated.","format":"int64"},"workspace_id":{"type":"integer","description":"Workspace ID FK for internal uses","format":"int64"}},"description":"Workspace provider connector","required":["connector_ref","type"]},"WorkspaceTerraformVariableFiles":{"type":"object","properties":{"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."}},"description":"WorkspaceTerraformVarFiles defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The UpdateWorkspaceResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateWorkspaceResponse":{"type":"object","properties":{"policy_evaluation":{"$ref":"#/components/schemas/Evaluation"}}},"Evaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"EvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"EvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The UpdateWorkspaceTemplateRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateWorkspaceTemplateRequest":{"type":"object","properties":{"version":{"type":"string","description":"New template version","minLength":1,"maxLength":64}},"required":["version"]}}}}
```

## The UpdateWorkspaceTemplateResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateWorkspaceTemplateResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account identifier.","minLength":1,"maxLength":128},"created_at":{"type":"integer","description":"Timestamp when the workspace-template association was created.","format":"int64"},"org":{"type":"string","description":"Organization identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project identifier.","minLength":1,"maxLength":128},"template_id":{"type":"string","description":"Template identifier.","minLength":1,"maxLength":128},"updated_at":{"type":"integer","description":"Timestamp when the workspace-template association was last updated.","format":"int64"},"version":{"type":"string","description":"Template version associated with the workspace.","minLength":1,"maxLength":32},"workspace_id":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128}},"required":["workspace_id","template_id","created_at","updated_at","account","project","org"]}}}}
```

## The UpdateWorkspaceVariableRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateWorkspaceVariableRequest":{"type":"object","properties":{"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"required":["value","value_type"]}}}}
```

## The UpdateWorkspaceVariableResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateWorkspaceVariableResponse":{"type":"object","properties":{"policy_evaluation":{"$ref":"#/components/schemas/Evaluation"}}},"Evaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"EvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"EvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The UploadDependencyGraphResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UploadDependencyGraphResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier for the data"},"policy_evaluation":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataPolicyEvaluation"},"description":"Individual policy evaluation details"},"policy_evaluation_message":{"type":"string","description":"Pre-rendered message included when policy evaluation did not pass"},"policy_evaluation_status":{"type":"string","description":"The overall status of policy evaluation (if it occurred) indicating whether it passed","enum":["error","warning","pass"]}},"required":["id"]},"WorkspaceDataPolicyEvaluation":{"type":"object","properties":{"message":{"type":"string"},"policy_id":{"type":"string"},"policy_name":{"type":"string"},"policy_set_id":{"type":"string"},"policy_set_name":{"type":"string"},"policy_status":{"type":"string"}},"required":["policy_set_id","policy_set_name","policy_id","policy_name","policy_status","message"]}}}}
```

## The UploadRemoteExecutionResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UploadRemoteExecutionResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"custom_arguments":{"type":"object","description":"The arguments supplied to the plan.","additionalProperties":{"type":"array","items":{"type":"string"}}},"executed":{"type":"boolean","description":"The boolean value indicating if the remote execution has been executed."},"id":{"type":"string","description":"The ID of the remote execution.","format":"uuid"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The pipeline execution ID of the pipeline executing the remote execution"},"pipeline_execution_url":{"type":"string","description":"The pipeline execution URL of the pipeline executing the remote execution"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"sha256_checksum":{"type":"string","description":"The checksum of the patch file of changes that the remote execution will run against."},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"workspace":{"type":"string","description":"The workspace associated with the remote execution."}},"required":["account","org","project","id","workspace","pipeline_execution_id","pipeline_execution_url","created","updated","executed","sha256_checksum"]}}}}
```

## The UploadRiskAssessmentResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UploadRiskAssessmentResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier for the data"},"policy_evaluation":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataPolicyEvaluation"},"description":"Individual policy evaluation details"},"policy_evaluation_message":{"type":"string","description":"Pre-rendered message included when policy evaluation did not pass"},"policy_evaluation_status":{"type":"string","description":"The overall status of policy evaluation (if it occurred) indicating whether it passed","enum":["error","warning","pass"]}},"required":["id"]},"WorkspaceDataPolicyEvaluation":{"type":"object","properties":{"message":{"type":"string"},"policy_id":{"type":"string"},"policy_name":{"type":"string"},"policy_set_id":{"type":"string"},"policy_set_name":{"type":"string"},"policy_status":{"type":"string"}},"required":["policy_set_id","policy_set_name","policy_id","policy_name","policy_status","message"]}}}}
```

## The UpsertDefaultPipelineRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpsertDefaultPipelineRequest":{"type":"object","properties":{"operation":{"type":"string","description":"The default pipeline is associated with this operation","enum":["plan","apply","destroy","drift","synth","diff","deploy","remediation"]},"pipeline":{"type":"string","description":"The default pipeline associated with the provisioner operation"},"provisioner":{"type":"string","description":"The default pipeline is associated with this provisioner","enum":["terraform","opentofu","terragrunt","awscdk"]},"updated":{"type":"integer","description":"Time the default pipeline was last updated","format":"int64"},"workspace":{"type":"string","description":"The default pipeline is associated with this workspace if specified","default":""}},"required":["provisioner","operation","pipeline","updated"]}}}}
```

## The UsageData object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UsageData":{"type":"object","properties":{"ansible":{"$ref":"#/components/schemas/AnsibleUsageData"},"count":{"type":"integer","description":"Metric value (IACM successful applies)","format":"int64"}},"required":["count"]},"AnsibleUsageData":{"type":"object","properties":{"uniqueHosts30d":{"type":"integer","description":"Unique hosts with runs in last 30 days","format":"int64"}},"required":["uniqueHosts30d"]}}}}
```

## The UsageResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UsageResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UsageData"},"status":{"type":"string"}},"required":["status","data"]},"UsageData":{"type":"object","properties":{"ansible":{"$ref":"#/components/schemas/AnsibleUsageData"},"count":{"type":"integer","description":"Metric value (IACM successful applies)","format":"int64"}},"required":["count"]},"AnsibleUsageData":{"type":"object","properties":{"uniqueHosts30d":{"type":"integer","description":"Unique hosts with runs in last 30 days","format":"int64"}},"required":["uniqueHosts30d"]}}}}
```

## The ValueChange object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ValueChange":{"type":"object","properties":{"change":{"type":"string","description":"Change made to this resource.","enum":["added","changed","deleted","unchanged"]},"drift":{"type":"boolean","description":"Indicates whether this attribute is experiencing drift"},"new":{"type":"string","description":"Updated value"},"old":{"type":"string","description":"Previous value."},"sensitive":{"type":"boolean","description":"Indicates whether this value is sensitive"}},"required":["change","drift","sensitive"]}}}}
```

## The Variable object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Variable":{"type":"object","properties":{"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a workspace.","required":["key","value","value_type","kind"]}}}}
```

## The VariableFilePermissions object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableFilePermissions":{"type":"object","properties":{"canDelete":{"type":"boolean"},"canEdit":{"type":"boolean"}},"required":["canDelete","canEdit"]}}}}
```

## The VariableFileWithPermissions object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableFileWithPermissions":{"type":"object","properties":{"associatedTemplate":{"type":"string"},"associatedVariableSet":{"type":"string"},"inUse":{"type":"boolean","description":"Indicates if this variable file is the one actively used in the workspace"},"isInWorkspace":{"type":"boolean"},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#/components/schemas/VariableFilePermissions"},"repository":{"type":"string"},"repository_branch":{"type":"string"},"repository_commit":{"type":"string"},"repository_connector":{"type":"string"},"repository_path":{"type":"string"},"repository_sha":{"type":"string"},"source":{"type":"string","enum":["workspace","template","variableSet"]},"uuid":{"type":"string","description":"Unique identifier for this file"}},"required":["uuid","repository","source","isInWorkspace","permissions","inUse","repository_path","isLocked"]},"VariableFilePermissions":{"type":"object","properties":{"canDelete":{"type":"boolean"},"canEdit":{"type":"boolean"}},"required":["canDelete","canEdit"]}}}}
```

## The VariablePermissions object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariablePermissions":{"type":"object","properties":{"canDelete":{"type":"boolean"},"canEditKey":{"type":"boolean"},"canEditValue":{"type":"boolean"},"canEditValueType":{"type":"boolean"}},"required":["canDelete","canEditKey","canEditValue","canEditValueType"]}}}}
```

## The VariableResource object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableResource":{"type":"object","properties":{"created":{"type":"integer","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"updated":{"type":"integer","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a workspace.","required":["key","value","value_type","kind","created","updated"]}}}}
```

## The VariableSetAccScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableSetAccScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Create VariableSet at account level.","required":["account","identifier","name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The VariableSetConnector object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]}}}}
```

## The VariableSetOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableSetOrgScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Create VariableSet at org level.","required":["account","org","identifier","name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The VariableSetProjScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableSetProjScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Create VariableSet at project level.","required":["account","org","project","identifier","name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The VariableSetResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableSetResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmVariableSet"}},"HarnessIacmVariableSet":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"env_vars_count":{"type":"integer","description":"Number of environment variables defined in Variable Set.","format":"int64"},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"tf_vars_count":{"type":"integer","description":"Number of TF variables defined in Variable Set.","format":"int64"},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"var_files_count":{"type":"integer","description":"Number of variable files defined in Variable Set.","format":"int64"}},"description":"VariableSetResource is the representation for a variable-set association.","required":["account","org","project","identifier","name","env_vars_count","tf_vars_count","var_files_count"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The VariableSetUpdateAccScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableSetUpdateAccScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Update VariableSet at account level.","required":["account","identifier","name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The VariableSetUpdateOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableSetUpdateOrgScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Update VariableSet at org level.","required":["account","org","identifier","name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The VariableSetUpdateProjScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableSetUpdateProjScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Update VariableSet at project level.","required":["account","org","project","identifier","name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The VariableSetVar object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]}}}}
```

## The VariableSetVarFile object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The VariableSetsCreateVariableSetAccountLevelResponseBody object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableSetsCreateVariableSetAccountLevelResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Create-Variable-Set-Account-LevelResponseBody result type (default view)","required":["account","org","project","identifier","name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The VariableSetsGetVariableSetAccountLevelResponseBody object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableSetsGetVariableSetAccountLevelResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"connectors":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetConnector"},"description":"define an array of connectors that belong to Variable Set"},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the VariableSet identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableSetVarFile"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"map of terraform variables configured on the Variable Set.","additionalProperties":{"$ref":"#/components/schemas/VariableSetVar"}},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Get-Variable-Set-Account-LevelResponseBody result type (default view)","required":["account","org","project","identifier","name"]},"VariableSetConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"type":{"type":"string","description":"Type indecates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"Variable Set provider connector","required":["connector_ref","type"]},"VariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a Variable Set.","required":["key","value","value_type"]},"VariableSetVarFile":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable set was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"updated":{"type":"integer","description":"Timestamp when the variable set was last updated.","format":"int64"}},"description":"VariableSetVarFile defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The VariableWithPermissions object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableWithPermissions":{"type":"object","properties":{"associatedTemplate":{"type":"string"},"associatedVariableSet":{"type":"string"},"created":{"type":"integer","format":"int64"},"inUse":{"type":"boolean","description":"Indicates if this variable is the one actively used in the workspace"},"includeInWorkspace":{"type":"boolean"},"isLocked":{"type":"boolean"},"key":{"type":"string"},"kind":{"type":"string"},"permissions":{"$ref":"#/components/schemas/VariablePermissions"},"source":{"type":"string","enum":["workspace","template","variableSet"]},"updated":{"type":"integer","format":"int64"},"uuid":{"type":"string","description":"Unique identifier for this variable"},"value":{"type":"string"},"value_type":{"type":"string"}},"required":["uuid","key","value","value_type","source","kind","includeInWorkspace","isLocked","created","updated","permissions","inUse"]},"VariablePermissions":{"type":"object","properties":{"canDelete":{"type":"boolean"},"canEditKey":{"type":"boolean"},"canEditValue":{"type":"boolean"},"canEditValueType":{"type":"boolean"}},"required":["canDelete","canEditKey","canEditValue","canEditValueType"]}}}}
```

## The VariablesAndProvidersResult object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariablesAndProvidersResult":{"type":"object","properties":{"environment_variables":{"type":"array","items":{"$ref":"#/components/schemas/VariableWithPermissions"}},"provider_connectors":{"type":"array","items":{"$ref":"#/components/schemas/ProviderConnectorWithPermissions"}},"terraform_variables":{"type":"array","items":{"$ref":"#/components/schemas/VariableWithPermissions"}},"variable_files":{"type":"array","items":{"$ref":"#/components/schemas/VariableFileWithPermissions"}}},"required":["terraform_variables","environment_variables","provider_connectors","variable_files"]},"VariableWithPermissions":{"type":"object","properties":{"associatedTemplate":{"type":"string"},"associatedVariableSet":{"type":"string"},"created":{"type":"integer","format":"int64"},"inUse":{"type":"boolean","description":"Indicates if this variable is the one actively used in the workspace"},"includeInWorkspace":{"type":"boolean"},"isLocked":{"type":"boolean"},"key":{"type":"string"},"kind":{"type":"string"},"permissions":{"$ref":"#/components/schemas/VariablePermissions"},"source":{"type":"string","enum":["workspace","template","variableSet"]},"updated":{"type":"integer","format":"int64"},"uuid":{"type":"string","description":"Unique identifier for this variable"},"value":{"type":"string"},"value_type":{"type":"string"}},"required":["uuid","key","value","value_type","source","kind","includeInWorkspace","isLocked","created","updated","permissions","inUse"]},"VariablePermissions":{"type":"object","properties":{"canDelete":{"type":"boolean"},"canEditKey":{"type":"boolean"},"canEditValue":{"type":"boolean"},"canEditValueType":{"type":"boolean"}},"required":["canDelete","canEditKey","canEditValue","canEditValueType"]},"ProviderConnectorWithPermissions":{"type":"object","properties":{"associatedTemplate":{"type":"string"},"associatedVariableSet":{"type":"string"},"connector_ref":{"type":"string"},"created":{"type":"integer","format":"int64"},"inUse":{"type":"boolean","description":"Indicates if this connector is the one actively used in the workspace"},"isInWorkspace":{"type":"boolean"},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#/components/schemas/ConnectorPermissions"},"source":{"type":"string","enum":["workspace","template","variableSet"]},"type":{"type":"string","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","format":"int64"},"uuid":{"type":"string","description":"Unique identifier for this connector"}},"required":["uuid","connector_ref","type","created","updated","source","isInWorkspace","permissions","inUse","isLocked"]},"ConnectorPermissions":{"type":"object","properties":{"canDelete":{"type":"boolean"}},"required":["canDelete"]},"VariableFileWithPermissions":{"type":"object","properties":{"associatedTemplate":{"type":"string"},"associatedVariableSet":{"type":"string"},"inUse":{"type":"boolean","description":"Indicates if this variable file is the one actively used in the workspace"},"isInWorkspace":{"type":"boolean"},"isLocked":{"type":"boolean"},"permissions":{"$ref":"#/components/schemas/VariableFilePermissions"},"repository":{"type":"string"},"repository_branch":{"type":"string"},"repository_commit":{"type":"string"},"repository_connector":{"type":"string"},"repository_path":{"type":"string"},"repository_sha":{"type":"string"},"source":{"type":"string","enum":["workspace","template","variableSet"]},"uuid":{"type":"string","description":"Unique identifier for this file"}},"required":["uuid","repository","source","isInWorkspace","permissions","inUse","repository_path","isLocked"]},"VariableFilePermissions":{"type":"object","properties":{"canDelete":{"type":"boolean"},"canEdit":{"type":"boolean"}},"required":["canDelete","canEdit"]}}}}
```

## The WebhookInfo object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WebhookInfo":{"type":"object","properties":{"connector":{"type":"string","description":"The connector for the webhook"},"link":{"type":"string","description":"The link for the webhook"},"repo":{"type":"string","description":"The repository for the webhook"},"type":{"type":"string","description":"The type of the webhook","enum":["pull_request","merged","push","release","tag"]}},"description":"WebhookInfo defines the webhook information for a unified execution","required":["type"]}}}}
```

## The Workspace object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Workspace":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"associated_template":{"$ref":"#/components/schemas/AssociatedTemplate"},"budget":{"type":"number","description":"define the budget for a specific workspace","format":"float"},"ccm_cost_enabled":{"type":"boolean","description":"define if CCM cost integration is enabled for this workspace","default":false},"cost_breakdown_json":{"type":"string","description":"cost_breakdown_json is the identifier to the breakdown cost file from the current execution that was applied successfully"},"cost_diff_json":{"type":"string","description":"cost_diff_json is the identifier to the diff cost file between the previous and current successful executions"},"cost_estimation_enabled":{"type":"boolean","description":"define if cost estimation operations will be performed in this workspace","default":false},"create_default_pipelines":{"type":"boolean","description":"if true, auto-generate default pipelines for the workspace provisioner at creation time","default":true},"default_pipelines":{"type":"object","description":"List of default pipelines associated with this workspace and any per-workspace overrides.","additionalProperties":{"$ref":"#/components/schemas/DefaultPipelineOverride"}},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"list of environment variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/Variable"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128},"modules_json":{"type":"string","description":"modules_json is the identifier of any modules metadata associated with this workspace"},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"Provider Connector is the reference to the connector for the infrastructure provider."},"provider_connectors":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceProviderConnector"},"description":"define an array of provider connectors that belong to Workspace"},"providers_json":{"type":"string","description":"providers_json is the identifier of any modules metadata associated with this workspace"},"provisioner":{"type":"string","description":"Provisioner defines the provisioning tool to use."},"provisioner_configuration":{"type":"string","description":"Provisioner configuration metadata (key value pair provisioner specific configuration)."},"provisioner_version":{"type":"string","description":"Provisioner Version defines the tool version to use.","default":"latest"},"prune_sensitive_data":{"type":"boolean","description":"prune_sensitive_data is a flag to enable or disable pruning of sensitive data","default":false},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"repository_submodules":{"type":"string","description":"repository_submodules is the instruction about whether to clone submodules in the pipeline step","default":"false","enum":["false","true","recursive"]},"run_all":{"type":"boolean","description":"Run-All terragrunt modules."},"sparse_checkout":{"type":"string","description":"List of patterens that will be used for sparse checkout option of git clone"},"state_checksum":{"type":"string","description":"state_checksum is the sha-256 checksum of terraform state file"},"tags":{"type":"object","description":"Tags associated with the workspace.","additionalProperties":{"type":"string"}},"terraform_plan_json":{"type":"string","description":"terraform_plan_json is the identifier to the current state file only in JSON format."},"terraform_state":{"type":"string","description":"terraform_state is the identifier to the plan file used to create the latest state."},"terraform_state_json":{"type":"string","description":"terraform_state_json is the identifier to the plan file used to create the latest state only in JSON format."},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceTerraformVariableFiles"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"list of terraform variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/Variable"}},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"terragrunt_version":{"type":"string","description":"Terragrunt Version to use when provisioner is terragrunt."},"variable_sets":{"type":"array","items":{"type":"string"},"description":"Attached Variable Sets references"}},"description":"Workspace defines an infrastructure coupled with workflows.","required":["account","org","project","identifier","name","provider_connector","provisioner","terraform_variables","environment_variables"]},"AssociatedTemplate":{"type":"object","properties":{"template_id":{"type":"string","description":"Template ID of the template associated to the Workspace.","minLength":1,"maxLength":128},"version":{"type":"string","description":"Version of the template associated to the Workspace.","minLength":1,"maxLength":64}},"description":"AssociatedTemplate defines the template details with template_id and version."},"DefaultPipelineOverride":{"type":"object","properties":{"project_pipeline":{"type":"string","description":"Default pipeline assigned as the project-level"},"workspace_pipeline":{"type":"string","description":"Default pipeline assigned as the workspace-level"}},"description":"Per-workspace override to the assigned default pipelines."},"Variable":{"type":"object","properties":{"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a workspace.","required":["key","value","value_type","kind"]},"WorkspaceProviderConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the connector was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"type":{"type":"string","description":"Type indicates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the connector was last updated.","format":"int64"},"workspace_id":{"type":"integer","description":"Workspace ID FK for internal uses","format":"int64"}},"description":"Workspace provider connector","required":["connector_ref","type"]},"WorkspaceTerraformVariableFiles":{"type":"object","properties":{"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."}},"description":"WorkspaceTerraformVarFiles defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The WorkspaceData object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceData":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"data_type":{"type":"string","description":"Type of data stored","enum":["plan_human","state_raw","state_human","cost_breakdown","cost_diff","modules","providers","cdk_template","cdk_manifest","cdk_tree","cdk_assets","cdk_diff","cdk_drift"]},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_id":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline execution stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provisioner_type":{"type":"string","description":"Type of provisioner that created the data","enum":["tf","awscdk"]},"stack_path":{"type":"string","description":"Optional path to the stack module"},"stage_id":{"type":"string","description":"The unique identifier for a stage"},"workspace":{"type":"string","description":"Workspace identifier"}},"description":"WorkspaceData is the representation for a single item of data associated with a workspace.","required":["account","org","project","workspace","pipeline_id","stage_id","pipeline_execution_id","pipeline_stage_id","provisioner_type","data_type"]}}}}
```

## The WorkspaceDataInfo object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceDataInfo":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier for the data"},"policy_evaluation":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceDataPolicyEvaluation"},"description":"Individual policy evaluation details"},"policy_evaluation_message":{"type":"string","description":"Pre-rendered message included when policy evaluation did not pass"},"policy_evaluation_status":{"type":"string","description":"The overall status of policy evaluation (if it occurred) indicating whether it passed","enum":["error","warning","pass"]}},"required":["id"]},"WorkspaceDataPolicyEvaluation":{"type":"object","properties":{"message":{"type":"string"},"policy_id":{"type":"string"},"policy_name":{"type":"string"},"policy_set_id":{"type":"string"},"policy_set_name":{"type":"string"},"policy_status":{"type":"string"}},"required":["policy_set_id","policy_set_name","policy_id","policy_name","policy_status","message"]}}}}
```

## The WorkspaceDataPolicyEvaluation object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceDataPolicyEvaluation":{"type":"object","properties":{"message":{"type":"string"},"policy_id":{"type":"string"},"policy_name":{"type":"string"},"policy_set_id":{"type":"string"},"policy_set_name":{"type":"string"},"policy_status":{"type":"string"}},"required":["policy_set_id","policy_set_name","policy_id","policy_name","policy_status","message"]}}}}
```

## The WorkspaceDataResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceDataResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmWorkspacedata"}},"HarnessIacmWorkspacedata":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"data_type":{"type":"string","description":"Type of data stored","enum":["plan_human","state_raw","state_human","cost_breakdown","cost_diff","modules","providers","cdk_template","cdk_manifest","cdk_tree","cdk_assets","cdk_diff","cdk_drift"]},"id":{"type":"string","description":"The unique identifier for the data"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_id":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline execution stage"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provisioner_type":{"type":"string","description":"Type of provisioner that created the data","enum":["tf","awscdk"]},"rollback_source_id":{"type":"string","description":"ID of the workspacedata row this entry was rolled back from; null for non-rollback entries"},"stack_path":{"type":"string","description":"Optional path to the stack module"},"stage_id":{"type":"string","description":"The unique identifier for a stage"},"workspace":{"type":"string","description":"Workspace identifier"}},"description":"WorkspaceDataResource is the representation for a single item of data associated with a workspace.","required":["account","org","project","workspace","created","id","pipeline_id","stage_id","pipeline_execution_id","pipeline_stage_id","provisioner_type","data_type"]}}}}
```

## The WorkspaceEvent object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceEvent":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"data":{"type":"object","additionalProperties":{"type":"string"}},"event_type":{"type":"string","description":"The type of event that occurred","enum":["plan","drifted","provisioning","destroying","active","inactive","apply_needed","failed","stage-complete"]},"metadata":{"$ref":"#/components/schemas/ActivityMetadata"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"Deprecated: use metadata instead","default":""},"pipeline_stage_id":{"type":"string","description":"Deprecated: use metadata instead","default":""},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"workspace":{"type":"string","description":"Workspace associated with this event","minLength":1,"maxLength":1024}},"description":"WorkspaceEvent defines an individual workspace event","required":["account","org","project","workspace","event_type"]},"ActivityMetadata":{"type":"object","properties":{"PlannedChangesCount":{"type":"integer","description":"Deprecated: use resource_count_xxxx fields instead","default":0,"format":"int64"},"activity_status":{"type":"string","description":"The status of this activity","enum":["success","failure","incomplete"]},"activity_type":{"type":"string","description":"The type of this activity","enum":["apply","destroy","plan","drifted","import","bootstrap","synth","deploy","diff","drift","rollback"]},"cost_breakdown_uuid":{"type":"string","description":"The ID of any associated cost breakdown data"},"cost_currency":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_uuid":{"type":"string","description":"The ID of any associated cost diff data"},"cost_past_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_total_monthly":{"type":"string","description":"The currency used in cost data for this change"},"cost_total_monthly_percentage_change":{"type":"string","description":"The currency used in cost data for this change"},"data_length":{"type":"integer","description":"The length of the data","default":0,"format":"int64"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"enable_solutions_factory":{"type":"boolean","description":"Indicates if Harness Solution Factory functionality is enabled"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"modules_uuid":{"type":"string","description":"The ID of any associated modules data"},"output_counts":{"$ref":"#/components/schemas/Counts"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plan_uuid":{"type":"string","description":"The ID of any associated plan data"},"providers_uuid":{"type":"string","description":"The ID of any associated providers data"},"provisioner":{"type":"string","description":"The provisioner in use"},"provisioner_version":{"type":"string","description":"The current version of the provisioner in use"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"rollback_reason":{"type":"string","description":"For rollback activities: optional human-readable reason provided by the actor"},"rollback_source_id":{"type":"string","description":"For rollback activities: the workspacedata ID that was rolled back from"},"stacks":{"type":"array","items":{"$ref":"#/components/schemas/Stacks"},"description":"Stack details for multi-stack deployments"},"state_checksum":{"type":"string","description":"The checksum of the last-seen state file"},"state_uuid":{"type":"string","description":"The ID of any associated state data"},"terragrunt_details":{"type":"array","items":{"$ref":"#/components/schemas/TerragruntDetail"},"description":"Terragrunt details for any associated execution"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"Counts":{"type":"object","properties":{"added":{"type":"integer","description":"Number added","format":"int64"},"changed":{"type":"integer","description":"Number changed","format":"int64"},"deleted":{"type":"integer","description":"Number deleted","format":"int64"},"imported":{"type":"integer","description":"Number imported","format":"int64"},"removed":{"type":"integer","description":"Number removed","format":"int64"},"unchanged":{"type":"integer","description":"Number unchanged","format":"int64"}},"required":["added","changed","deleted","unchanged"]},"Stacks":{"type":"object","properties":{"assets_uuid":{"type":"string","description":"UUID of the uploaded CDK assets for this stack"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"drift_uuid":{"type":"string","description":"UUID of the uploaded drift detection results for this stack"},"error_message":{"type":"string","description":"Error message if status is failure"},"manifest_uuid":{"type":"string","description":"UUID of the uploaded CDK manifest for this stack"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"stack_name":{"type":"string","description":"Name of the CDK stack"},"stack_outputs":{"type":"object","description":"Outputs generated for stack","additionalProperties":{"type":"string"}},"stack_path":{"type":"string","description":"Path to the stack within the CDK app"},"status":{"type":"string","description":"Status of the stack operation","enum":["success","failure","skipped"]},"template_uuid":{"type":"string","description":"UUID of the uploaded CloudFormation template for this stack"},"tree_uuid":{"type":"string","description":"UUID of the uploaded CDK tree for this stack"}},"description":"Stack details for multi-stack deployments"},"TerragruntDetail":{"type":"object","properties":{"cost_breakdown_uuid":{"type":"string","description":"The ID of any associated cost breakdown data"},"cost_currency":{"type":"string","description":"The currency used in cost data for this change"},"cost_diff_total_monthly":{"type":"string","description":"The difference in total monthly cost"},"cost_diff_uuid":{"type":"string","description":"The ID of any associated cost diff data"},"cost_past_total_monthly":{"type":"string","description":"The past total monthly cost"},"cost_total_monthly":{"type":"string","description":"The total monthly cost"},"cost_total_monthly_percentage_change":{"type":"string","description":"The percentage change in total monthly cost"},"drift_counts":{"$ref":"#/components/schemas/Counts"},"output_counts":{"$ref":"#/components/schemas/Counts"},"path_id":{"type":"string","description":"Path ID"},"resource_counts":{"$ref":"#/components/schemas/Counts"},"state_file_link":{"type":"string","description":"State file link"},"status":{"type":"string","description":"Status"}}}}}}
```

## The WorkspaceLock object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceLock":{"type":"object","properties":{"created_at":{"type":"integer","description":"Unix timestamp (milliseconds) when the lock was created.","format":"int64"},"id":{"type":"string","description":"Lock ID."},"locked_by_display_name":{"type":"string","description":"Display name of who locked the workspace."},"locked_by_principal_id":{"type":"string","description":"Principal ID who locked the workspace."},"locked_by_principal_type":{"type":"string","description":"Type of principal who locked the workspace."},"manual":{"type":"boolean","description":"Whether the lock is manual (user-initiated). true = manual lock, false = automatic lock."},"reason":{"type":"string","description":"Reason for the lock."}},"description":"workspaceLock holds the details of an active workspace lock. Fields are populated for manual (user-initiated) locks and left empty for automatic (Terraform CLI) locks."}}}}
```

## The WorkspaceMetrics object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceMetrics":{"type":"object","properties":{"status_counts":{"type":"object","description":"Counts by status","additionalProperties":{"type":"integer","format":"int64"}}}}}}}
```

## The WorkspaceModuleCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceModuleCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmWorkspacemodule"}},"HarnessIacmWorkspacemodule":{"type":"object","properties":{"invocations":{"type":"integer","description":"Number of times this module is invoked in the workspace","format":"int64"},"key":{"type":"string","description":"Module key"},"source":{"type":"string","description":"Module source"},"stack_path":{"type":"string","description":"Terragrunt stack path (empty for regular Terraform workspaces)"},"version":{"type":"string","description":"Module version"}},"description":"Represents an individual OpenTofu or Terraform module.","required":["key","source","version","invocations"]}}}}
```

## The WorkspaceProviderConnector object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceProviderConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the connector was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"type":{"type":"string","description":"Type indicates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the connector was last updated.","format":"int64"},"workspace_id":{"type":"integer","description":"Workspace ID FK for internal uses","format":"int64"}},"description":"Workspace provider connector","required":["connector_ref","type"]}}}}
```

## The WorkspaceResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmWorkspace"}},"HarnessIacmWorkspace":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"associated_template":{"$ref":"#/components/schemas/AssociatedTemplate"},"backend_locked":{"type":"boolean","description":"Defines if the remote backend is locked or not","default":false},"budget":{"type":"number","description":"define the budget for a specific workspace","format":"float"},"ccm_cost_enabled":{"type":"boolean","description":"define if CCM cost integration is enabled for this workspace","default":false},"cost_breakdown_json":{"type":"string","description":"cost_breakdown_json is the identifier to the breakdown cost file from the current execution that was applied successfully"},"cost_diff_json":{"type":"string","description":"cost_diff_json is the identifier to the diff cost file between the previous and current successful executions"},"cost_estimation_enabled":{"type":"boolean","description":"define if cost estimation operations will be performed in this workspace","default":false},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"default_pipelines":{"type":"object","description":"List of default pipelines associated with this workspace and any per-workspace overrides.","additionalProperties":{"$ref":"#/components/schemas/DefaultPipelineOverride"}},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"list of environment variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/VariableResource"}},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"identifier":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128},"lock":{"$ref":"#/components/schemas/WorkspaceLock"},"modules_json":{"type":"string","description":"modules_json is the identifier of any modules metadata associated with this workspace"},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"Provider Connector is the reference to the connector for the infrastructure provider."},"provider_connectors":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceProviderConnector"},"description":"define an array of provider connectors that belong to Workspace"},"providers_json":{"type":"string","description":"providers_json is the identifier of any modules metadata associated with this workspace"},"provisioner":{"type":"string","description":"Provisioner defines the provisioning tool to use."},"provisioner_configuration":{"type":"string","description":"Provisioner configuration metadata (key value pair provisioner specific configuration)."},"provisioner_data":{"type":"string"},"provisioner_version":{"type":"string","description":"Provisioner Version defines the tool version to use.","default":"latest"},"prune_sensitive_data":{"type":"boolean","description":"prune_sensitive_data is a flag to enable or disable pruning of sensitive data","default":false},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"repository_submodules":{"type":"string","description":"repository_submodules is the instruction about whether to clone submodules in the pipeline step","default":"false","enum":["false","true","recursive"]},"run_all":{"type":"boolean","description":"Run-All terragrunt modules."},"sparse_checkout":{"type":"string","description":"List of patterens that will be used for sparse checkout option of git clone"},"state_checksum":{"type":"string","description":"state_checksum is the sha-256 checksum of terraform state file"},"status":{"type":"string","description":"The status of the workspace","enum":["active","inactive","provisioning","destroying","failed","unknown","rollback_applied"]},"tags":{"type":"object","description":"Tags associated with the workspace.","additionalProperties":{"type":"string"}},"terraform_plan_json":{"type":"string","description":"terraform_plan_json is the identifier to the current state file only in JSON format."},"terraform_state":{"type":"string","description":"terraform_state is the identifier to the plan file used to create the latest state."},"terraform_state_json":{"type":"string","description":"terraform_state_json is the identifier to the plan file used to create the latest state only in JSON format."},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceTerraformVariableFiles"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"list of terraform variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/VariableResource"}},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"terragrunt_version":{"type":"string","description":"Terragrunt Version to use when provisioner is terragrunt."},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"variable_sets":{"type":"array","items":{"type":"string"},"description":"Attached Variable Sets references"}},"description":"WorkspaceResource is the representation for a single workspace definition.","required":["account","org","project","identifier","name","provider_connector","provisioner","repository_connector","terraform_variables","environment_variables","created","updated","provisioner_data","status","tags"]},"AssociatedTemplate":{"type":"object","properties":{"template_id":{"type":"string","description":"Template ID of the template associated to the Workspace.","minLength":1,"maxLength":128},"version":{"type":"string","description":"Version of the template associated to the Workspace.","minLength":1,"maxLength":64}},"description":"AssociatedTemplate defines the template details with template_id and version."},"DefaultPipelineOverride":{"type":"object","properties":{"project_pipeline":{"type":"string","description":"Default pipeline assigned as the project-level"},"workspace_pipeline":{"type":"string","description":"Default pipeline assigned as the workspace-level"}},"description":"Per-workspace override to the assigned default pipelines."},"VariableResource":{"type":"object","properties":{"created":{"type":"integer","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"updated":{"type":"integer","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a workspace.","required":["key","value","value_type","kind","created","updated"]},"WorkspaceLock":{"type":"object","properties":{"created_at":{"type":"integer","description":"Unix timestamp (milliseconds) when the lock was created.","format":"int64"},"id":{"type":"string","description":"Lock ID."},"locked_by_display_name":{"type":"string","description":"Display name of who locked the workspace."},"locked_by_principal_id":{"type":"string","description":"Principal ID who locked the workspace."},"locked_by_principal_type":{"type":"string","description":"Type of principal who locked the workspace."},"manual":{"type":"boolean","description":"Whether the lock is manual (user-initiated). true = manual lock, false = automatic lock."},"reason":{"type":"string","description":"Reason for the lock."}},"description":"workspaceLock holds the details of an active workspace lock. Fields are populated for manual (user-initiated) locks and left empty for automatic (Terraform CLI) locks."},"WorkspaceProviderConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the connector was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"type":{"type":"string","description":"Type indicates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the connector was last updated.","format":"int64"},"workspace_id":{"type":"integer","description":"Workspace ID FK for internal uses","format":"int64"}},"description":"Workspace provider connector","required":["connector_ref","type"]},"WorkspaceTerraformVariableFiles":{"type":"object","properties":{"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."}},"description":"WorkspaceTerraformVarFiles defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The WorkspaceResourceSummary object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceResourceSummary":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"identifier":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"The status of the workspace","enum":["active","inactive","provisioning","destroying","failed","unknown","rollback_applied"]},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"}},"description":"WorkspaceResource is the representation for a single workspace definition. (summary view)","required":["account","org","project","identifier","name","created","updated","status"]}}}}
```

## The WorkspaceResourceSummaryCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceResourceSummaryCollection":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceResourceSummary"},"description":"WorkspaceResourceCollection is the result type for an array of WorkspaceResource (summary view)"},"WorkspaceResourceSummary":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"identifier":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"The status of the workspace","enum":["active","inactive","provisioning","destroying","failed","unknown","rollback_applied"]},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"}},"description":"WorkspaceResource is the representation for a single workspace definition. (summary view)","required":["account","org","project","identifier","name","created","updated","status"]}}}}
```

## The WorkspaceTerraformVariableFiles object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceTerraformVariableFiles":{"type":"object","properties":{"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."}},"description":"WorkspaceTerraformVarFiles defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The WorkspaceUpdate object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceUpdate":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"budget":{"type":"number","description":"define the budget for a specific workspace","format":"float"},"ccm_cost_enabled":{"type":"boolean","description":"define if CCM cost integration is enabled for this workspace","default":false},"cost_estimation_enabled":{"type":"boolean","description":"define if cost estimation operations will be performed in this workspace","default":false},"default_pipelines":{"type":"object","description":"List of default pipelines associated with this workspace and any per-workspace overrides.","additionalProperties":{"$ref":"#/components/schemas/DefaultPipelineOverride"}},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"list of environment variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/Variable"}},"identifier":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"Provider Connector is the reference to the connector for the infrastructure provider."},"provider_connectors":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceProviderConnector"},"description":"define an array of provider connectors that belong to Workspace"},"provisioner":{"type":"string","description":"Provisioner defines the provisioning tool to use."},"provisioner_configuration":{"type":"string","description":"Provisioner configuration metadata (key value pair provisioner specific configuration)."},"provisioner_version":{"type":"string","description":"Provisioner Version defines the tool version to use.","default":"latest"},"prune_sensitive_data":{"type":"boolean","description":"prune_sensitive_data is a flag to enable or disable pruning of sensitive data","default":false},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"repository_submodules":{"type":"string","description":"repository_submodules is the instruction about whether to clone submodules in the pipeline step","default":"false","enum":["false","true","recursive"]},"run_all":{"type":"boolean","description":"Run-All terragrunt modules."},"sparse_checkout":{"type":"string","description":"List of patterens that will be used for sparse checkout option of git clone"},"tags":{"type":"object","description":"Tags associated with the workspace.","additionalProperties":{"type":"string"}},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceTerraformVariableFiles"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"list of terraform variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/Variable"}},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"terragrunt_version":{"type":"string","description":"Terragrunt Version to use when provisioner is terragrunt."},"variable_sets":{"type":"array","items":{"type":"string"},"description":"Attached Variable Sets references"}},"description":"WorkspaceUpdate defines the fields of a workspace that can be updated.","required":["account","org","project","identifier","terraform_variables","environment_variables","name","provider_connector","provisioner"]},"DefaultPipelineOverride":{"type":"object","properties":{"project_pipeline":{"type":"string","description":"Default pipeline assigned as the project-level"},"workspace_pipeline":{"type":"string","description":"Default pipeline assigned as the workspace-level"}},"description":"Per-workspace override to the assigned default pipelines."},"Variable":{"type":"object","properties":{"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[A-Za-z_][A-Za-z0-9_-]*$","minLength":1,"maxLength":128},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a workspace.","required":["key","value","value_type","kind"]},"WorkspaceProviderConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the connector was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"type":{"type":"string","description":"Type indicates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the connector was last updated.","format":"int64"},"workspace_id":{"type":"integer","description":"Workspace ID FK for internal uses","format":"int64"}},"description":"Workspace provider connector","required":["connector_ref","type"]},"WorkspaceTerraformVariableFiles":{"type":"object","properties":{"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."}},"description":"WorkspaceTerraformVarFiles defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The WorkspaceVariable object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceVariable":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"kind":{"type":"string","description":"Kind is the classfcation of the variable.","enum":["env","tf"]},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]},"workspace":{"type":"string","description":"Workspace is the resource workspace this variable is associated with."}},"description":"Workspace Variable describes a base variable associated with a workspace. It is intended to be extended\ninto specific types which are then used.","required":["account","org","project","workspace","key","value","value_type","kind"]}}}}
```

## The WorkspaceVariableResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspaceVariableResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmWorkspacevariable"}},"HarnessIacmWorkspacevariable":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"kind":{"type":"string","description":"Kind is the classfcation of the variable.","enum":["env","tf"]},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]},"workspace":{"type":"string","description":"Workspace is the resource workspace this variable is associated with."}},"description":"WorkspaceVariableResource is the representation for a single environment variable associated with a workspace.","required":["account","org","project","workspace","key","value","value_type","kind","created","updated"]}}}}
```

## The WorkspacesCreateWorkspaceResponseBody object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspacesCreateWorkspaceResponseBody":{"type":"object","properties":{"policy_evaluation":{"$ref":"#/components/schemas/Evaluation"}},"description":"Create-WorkspaceResponseBody result type (default view)"},"Evaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"EvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"EvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The WorkspacesShowWorkspaceResponseBody object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"WorkspacesShowWorkspaceResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"associated_template":{"$ref":"#/components/schemas/AssociatedTemplate"},"backend_locked":{"type":"boolean","description":"Defines if the remote backend is locked or not","default":false},"budget":{"type":"number","description":"define the budget for a specific workspace","format":"float"},"ccm_cost_enabled":{"type":"boolean","description":"define if CCM cost integration is enabled for this workspace","default":false},"cost_breakdown_json":{"type":"string","description":"cost_breakdown_json is the identifier to the breakdown cost file from the current execution that was applied successfully"},"cost_diff_json":{"type":"string","description":"cost_diff_json is the identifier to the diff cost file between the previous and current successful executions"},"cost_estimation_enabled":{"type":"boolean","description":"define if cost estimation operations will be performed in this workspace","default":false},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"default_pipelines":{"type":"object","description":"List of default pipelines associated with this workspace and any per-workspace overrides.","additionalProperties":{"$ref":"#/components/schemas/DefaultPipelineOverride"}},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"list of environment variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/VariableResource"}},"identifier":{"type":"string","description":"Workspace identifier.","minLength":1,"maxLength":128},"lock":{"$ref":"#/components/schemas/WorkspaceLock"},"modules_json":{"type":"string","description":"modules_json is the identifier of any modules metadata associated with this workspace"},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"Provider Connector is the reference to the connector for the infrastructure provider."},"provider_connectors":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceProviderConnector"},"description":"define an array of provider connectors that belong to Workspace"},"providers_json":{"type":"string","description":"providers_json is the identifier of any modules metadata associated with this workspace"},"provisioner":{"type":"string","description":"Provisioner defines the provisioning tool to use."},"provisioner_configuration":{"type":"string","description":"Provisioner configuration metadata (key value pair provisioner specific configuration)."},"provisioner_data":{"type":"string"},"provisioner_version":{"type":"string","description":"Provisioner Version defines the tool version to use.","default":"latest"},"prune_sensitive_data":{"type":"boolean","description":"prune_sensitive_data is a flag to enable or disable pruning of sensitive data","default":false},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."},"repository_submodules":{"type":"string","description":"repository_submodules is the instruction about whether to clone submodules in the pipeline step","default":"false","enum":["false","true","recursive"]},"run_all":{"type":"boolean","description":"Run-All terragrunt modules."},"sparse_checkout":{"type":"string","description":"List of patterens that will be used for sparse checkout option of git clone"},"state_checksum":{"type":"string","description":"state_checksum is the sha-256 checksum of terraform state file"},"status":{"type":"string","description":"The status of the workspace","enum":["active","inactive","provisioning","destroying","failed","unknown","rollback_applied"]},"tags":{"type":"object","description":"Tags associated with the workspace.","additionalProperties":{"type":"string"}},"terraform_plan_json":{"type":"string","description":"terraform_plan_json is the identifier to the current state file only in JSON format."},"terraform_state":{"type":"string","description":"terraform_state is the identifier to the plan file used to create the latest state."},"terraform_state_json":{"type":"string","description":"terraform_state_json is the identifier to the plan file used to create the latest state only in JSON format."},"terraform_variable_files":{"type":"array","items":{"$ref":"#/components/schemas/WorkspaceTerraformVariableFiles"},"description":"define an array of terraform variables files that belong to a different repository"},"terraform_variables":{"type":"object","description":"list of terraform variables configured on the workspace.","additionalProperties":{"$ref":"#/components/schemas/VariableResource"}},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"terragrunt_version":{"type":"string","description":"Terragrunt Version to use when provisioner is terragrunt."},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"variable_sets":{"type":"array","items":{"type":"string"},"description":"Attached Variable Sets references"}},"description":"Show-WorkspaceResponseBody result type (default view)","required":["account","org","project","identifier","name","provider_connector","provisioner","repository_connector","terraform_variables","environment_variables","created","updated","provisioner_data","status","tags"]},"AssociatedTemplate":{"type":"object","properties":{"template_id":{"type":"string","description":"Template ID of the template associated to the Workspace.","minLength":1,"maxLength":128},"version":{"type":"string","description":"Version of the template associated to the Workspace.","minLength":1,"maxLength":64}},"description":"AssociatedTemplate defines the template details with template_id and version."},"DefaultPipelineOverride":{"type":"object","properties":{"project_pipeline":{"type":"string","description":"Default pipeline assigned as the project-level"},"workspace_pipeline":{"type":"string","description":"Default pipeline assigned as the workspace-level"}},"description":"Per-workspace override to the assigned default pipelines."},"VariableResource":{"type":"object","properties":{"created":{"type":"integer","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"updated":{"type":"integer","format":"int64"},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a\nreference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"Variable is the representation for a single variable associated with a workspace.","required":["key","value","value_type","kind","created","updated"]},"WorkspaceLock":{"type":"object","properties":{"created_at":{"type":"integer","description":"Unix timestamp (milliseconds) when the lock was created.","format":"int64"},"id":{"type":"string","description":"Lock ID."},"locked_by_display_name":{"type":"string","description":"Display name of who locked the workspace."},"locked_by_principal_id":{"type":"string","description":"Principal ID who locked the workspace."},"locked_by_principal_type":{"type":"string","description":"Type of principal who locked the workspace."},"manual":{"type":"boolean","description":"Whether the lock is manual (user-initiated). true = manual lock, false = automatic lock."},"reason":{"type":"string","description":"Reason for the lock."}},"description":"workspaceLock holds the details of an active workspace lock. Fields are populated for manual (user-initiated) locks and left empty for automatic (Terraform CLI) locks."},"WorkspaceProviderConnector":{"type":"object","properties":{"connector_ref":{"type":"string","description":"Connector reference in harness platform.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the connector was created.","format":"int64"},"id":{"type":"integer","description":"ID PK for internal uses","format":"int64"},"terragrunt_provider":{"type":"boolean","description":"Whether this workspace uses terragrunt to provision infrastructure","default":false},"type":{"type":"string","description":"Type indicates the connector type.","enum":["aws","azure","gcp","vault"]},"updated":{"type":"integer","description":"Timestamp when the connector was last updated.","format":"int64"},"workspace_id":{"type":"integer","description":"Workspace ID FK for internal uses","format":"int64"}},"description":"Workspace provider connector","required":["connector_ref","type"]},"WorkspaceTerraformVariableFiles":{"type":"object","properties":{"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this code."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_sha":{"type":"string","description":"Repository SHA in which the code should be accessed."}},"description":"WorkspaceTerraformVarFiles defines a variable file that lives in another repository than the workspace files.","required":["repository"]}}}}
```

## The AnsibleActivityMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleActivityMetadata":{"type":"object","properties":{"activity_status":{"type":"string","description":"The status of this activity"},"filters":{"type":"string","description":"Tags/skip-tags/limit applied to the run"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"metrics":{"$ref":"#/components/schemas/AnsibleMetrics"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plugin_version":{"type":"string","description":"The version of the Ansible plugin that produced this activity"},"results_uuid":{"type":"string","description":"The ID of any associated results"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"AnsibleMetrics":{"type":"object","properties":{"circuit_breaker_triggered":{"type":"boolean","description":"Whether circuit breaker was triggered"},"duration_ms":{"type":"integer","description":"Duration of ansible run in milliseconds","format":"int64"},"host_changed":{"type":"integer","description":"Number of hosts with changed status","format":"int64"},"host_failed":{"type":"integer","description":"Number of hosts with failed status","format":"int64"},"host_ok":{"type":"integer","description":"Number of hosts with ok status","format":"int64"},"host_skipped":{"type":"integer","description":"Number of hosts with skipped status","format":"int64"},"host_unreachable":{"type":"integer","description":"Number of hosts with unreachable status","format":"int64"},"output_size_bytes":{"type":"integer","description":"Size of structured ansible output in bytes","format":"int64"},"payload_size_bytes":{"type":"integer","description":"Size of payload sent to server in bytes","format":"int64"},"total_hosts":{"type":"integer","description":"Total number of hosts in the ansible run","format":"int64"},"total_tasks":{"type":"integer","description":"Total number of tasks across all hosts","format":"int64"}},"description":"Observability metrics for ansible playbook runs"}}}}
```

## The AnsibleActivityResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleActivityResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmAnsibleactivity"}},"HarnessIacmAnsibleactivity":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"event_type":{"type":"string","description":"The type of event that occurred","enum":["activity-execution","activity-dry-run-execution"]},"id":{"type":"string","description":"The unique identifier for this activity"},"inventories":{"type":"string","description":"Inventories associated with this event"},"metadata":{"$ref":"#/components/schemas/AnsibleActivityMetadata"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"playbooks":{"type":"string","description":"Playbooks associated with this event"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","inventories","playbooks","id","metadata","created","event_type"]},"AnsibleActivityMetadata":{"type":"object","properties":{"activity_status":{"type":"string","description":"The status of this activity"},"filters":{"type":"string","description":"Tags/skip-tags/limit applied to the run"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"metrics":{"$ref":"#/components/schemas/AnsibleMetrics"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plugin_version":{"type":"string","description":"The version of the Ansible plugin that produced this activity"},"results_uuid":{"type":"string","description":"The ID of any associated results"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"AnsibleMetrics":{"type":"object","properties":{"circuit_breaker_triggered":{"type":"boolean","description":"Whether circuit breaker was triggered"},"duration_ms":{"type":"integer","description":"Duration of ansible run in milliseconds","format":"int64"},"host_changed":{"type":"integer","description":"Number of hosts with changed status","format":"int64"},"host_failed":{"type":"integer","description":"Number of hosts with failed status","format":"int64"},"host_ok":{"type":"integer","description":"Number of hosts with ok status","format":"int64"},"host_skipped":{"type":"integer","description":"Number of hosts with skipped status","format":"int64"},"host_unreachable":{"type":"integer","description":"Number of hosts with unreachable status","format":"int64"},"output_size_bytes":{"type":"integer","description":"Size of structured ansible output in bytes","format":"int64"},"payload_size_bytes":{"type":"integer","description":"Size of payload sent to server in bytes","format":"int64"},"total_hosts":{"type":"integer","description":"Total number of hosts in the ansible run","format":"int64"},"total_tasks":{"type":"integer","description":"Total number of tasks across all hosts","format":"int64"}},"description":"Observability metrics for ansible playbook runs"}}}}
```

## The AnsibleData object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleData":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"data_type":{"type":"string","description":"Type of data stored","enum":["task_results"]},"inventories":{"type":"string","description":"Inventories associated with this event"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_id":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline execution stage"},"playbooks":{"type":"string","description":"Playbooks associated with this event"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"stage_id":{"type":"string","description":"The unique identifier for a stage"}},"description":"AnsibleData is the representation for a single item of data associated with an inventory and playbook.","required":["account","org","project","data_type","inventories","playbooks"]}}}}
```

## The AnsibleDataInfo object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleDataInfo":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier for the data"}},"required":["id"]}}}}
```

## The AnsibleDataResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleDataResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmAnsibledata"}},"HarnessIacmAnsibledata":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"data_type":{"type":"string","description":"Type of data stored","enum":["task_results"]},"id":{"type":"string","description":"The unique identifier for the data"},"inventories":{"type":"string","description":"Inventories associated with this event"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_id":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline execution stage"},"playbooks":{"type":"string","description":"Playbooks associated with this event"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"stage_id":{"type":"string","description":"The unique identifier for a stage"}},"description":"AnsibleDataResource is the representation for a single item of data associated with an ansible run.","required":["account","org","project","created","id","data_type","inventories","playbooks"]}}}}
```

## The AnsibleEvent object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleEvent":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"event_type":{"type":"string","description":"The type of event that occurred","enum":["activity-execution","activity-dry-run-execution"]},"inventories":{"type":"string","description":"Inventories associated with this event"},"metadata":{"$ref":"#/components/schemas/AnsibleActivityMetadata"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"playbooks":{"type":"string","description":"Playbooks associated with this event"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"description":"AnsibleEvent defines an individual ansible event","required":["account","org","project","inventories","playbooks","event_type"]},"AnsibleActivityMetadata":{"type":"object","properties":{"activity_status":{"type":"string","description":"The status of this activity"},"filters":{"type":"string","description":"Tags/skip-tags/limit applied to the run"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"metrics":{"$ref":"#/components/schemas/AnsibleMetrics"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plugin_version":{"type":"string","description":"The version of the Ansible plugin that produced this activity"},"results_uuid":{"type":"string","description":"The ID of any associated results"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"AnsibleMetrics":{"type":"object","properties":{"circuit_breaker_triggered":{"type":"boolean","description":"Whether circuit breaker was triggered"},"duration_ms":{"type":"integer","description":"Duration of ansible run in milliseconds","format":"int64"},"host_changed":{"type":"integer","description":"Number of hosts with changed status","format":"int64"},"host_failed":{"type":"integer","description":"Number of hosts with failed status","format":"int64"},"host_ok":{"type":"integer","description":"Number of hosts with ok status","format":"int64"},"host_skipped":{"type":"integer","description":"Number of hosts with skipped status","format":"int64"},"host_unreachable":{"type":"integer","description":"Number of hosts with unreachable status","format":"int64"},"output_size_bytes":{"type":"integer","description":"Size of structured ansible output in bytes","format":"int64"},"payload_size_bytes":{"type":"integer","description":"Size of payload sent to server in bytes","format":"int64"},"total_hosts":{"type":"integer","description":"Total number of hosts in the ansible run","format":"int64"},"total_tasks":{"type":"integer","description":"Total number of tasks across all hosts","format":"int64"}},"description":"Observability metrics for ansible playbook runs"}}}}
```

## The AnsibleGroup object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleGroup":{"type":"object","properties":{"hosts":{"type":"object","description":"The hosts in the group","additionalProperties":{"$ref":"#/components/schemas/AnsibleHost"}},"vars":{"type":"object","description":"The vars in the group","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"description":"AnsibleGroup is the representation for a single group associated with ansible.","required":["hosts"]},"AnsibleHost":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The AnsibleHost object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleHost":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The AnsibleMetrics object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleMetrics":{"type":"object","properties":{"circuit_breaker_triggered":{"type":"boolean","description":"Whether circuit breaker was triggered"},"duration_ms":{"type":"integer","description":"Duration of ansible run in milliseconds","format":"int64"},"host_changed":{"type":"integer","description":"Number of hosts with changed status","format":"int64"},"host_failed":{"type":"integer","description":"Number of hosts with failed status","format":"int64"},"host_ok":{"type":"integer","description":"Number of hosts with ok status","format":"int64"},"host_skipped":{"type":"integer","description":"Number of hosts with skipped status","format":"int64"},"host_unreachable":{"type":"integer","description":"Number of hosts with unreachable status","format":"int64"},"output_size_bytes":{"type":"integer","description":"Size of structured ansible output in bytes","format":"int64"},"payload_size_bytes":{"type":"integer","description":"Size of payload sent to server in bytes","format":"int64"},"total_hosts":{"type":"integer","description":"Total number of hosts in the ansible run","format":"int64"},"total_tasks":{"type":"integer","description":"Total number of tasks across all hosts","format":"int64"}},"description":"Observability metrics for ansible playbook runs"}}}}
```

## The AnsibleVariable object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The CreateAnsibleDataResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateAnsibleDataResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier for the data"}},"required":["id"]}}}}
```

## The CreateDynamicGroup object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateDynamicGroup":{"type":"object","properties":{"configuration":{"$ref":"#/components/schemas/DynamicConfig"},"connector_identifier":{"type":"string","description":"Connector Identifier is the identifier of the connector to use."},"connector_type":{"type":"string","description":"Connector Type is the type of connector to use.","enum":["workspace","aws","gcp","azure","vault"]},"dynamic_vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Dynamic Vars is the variables associated with the host."},"identifier":{"type":"string","description":"The identifier of the group"},"name":{"type":"string","description":"Name is the friendly name of the group."},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the variables associated with the host."}},"required":["identifier","name","connector_identifier","connector_type"]},"DynamicConfig":{"type":"object","properties":{"host_address_attribute":{"type":"string","description":"Host address is the address of the host."},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"selectors":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"}}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The CreateInventoryGroupRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateInventoryGroupRequest":{"type":"object","properties":{"configuration":{"$ref":"#/components/schemas/DynamicConfig"},"connector_identifier":{"type":"string","description":"Connector identifier is the connector identifier to use."},"connector_type":{"type":"string","description":"Connector Type is the type of connector to use.","enum":["workspace","aws","gcp","azure","vault"]},"dynamic_vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"List of dynamic variables that belong to the group"},"hosts":{"type":"array","items":{"type":"string"},"description":"List of host addresses that belong to the group"},"identifier":{"type":"string","description":"The identifier of the group"},"name":{"type":"string","description":"Name is the friendly name of the group."},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"List of variables that belong to the group"}},"required":["identifier","name"]},"DynamicConfig":{"type":"object","properties":{"host_address_attribute":{"type":"string","description":"Host address is the address of the host."},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"selectors":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"}}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The CreateInventoryHostRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateInventoryHostRequest":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string"},"description":"Groups is the list of groups the host belongs to."},"host_address":{"type":"string","description":"Host address is the address of the host."},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the variables associated with the host."}},"required":["host_address"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The CreateInventoryRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateInventoryRequest":{"type":"object","properties":{"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"dynamic_groups":{"type":"array","items":{"$ref":"#/components/schemas/CreateDynamicGroup"},"description":"Groups is the list of dynamic groups to use."},"groups":{"type":"array","items":{"$ref":"#/components/schemas/CreateManualGroup"},"description":"Groups is the list of manual groups to use."},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"plugin_options":{"$ref":"#/components/schemas/PluginOptions"},"remote_source":{"$ref":"#/components/schemas/RemoteSource"},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"},"type":{"type":"string","description":"Type indicates what kind of inventory this is","enum":["manual","dynamic","plugin","remote"]},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the list of manual variables to use."}},"required":["type","name","identifier","data"]},"CreateDynamicGroup":{"type":"object","properties":{"configuration":{"$ref":"#/components/schemas/DynamicConfig"},"connector_identifier":{"type":"string","description":"Connector Identifier is the identifier of the connector to use."},"connector_type":{"type":"string","description":"Connector Type is the type of connector to use.","enum":["workspace","aws","gcp","azure","vault"]},"dynamic_vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Dynamic Vars is the variables associated with the host."},"identifier":{"type":"string","description":"The identifier of the group"},"name":{"type":"string","description":"Name is the friendly name of the group."},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the variables associated with the host."}},"required":["identifier","name","connector_identifier","connector_type"]},"DynamicConfig":{"type":"object","properties":{"host_address_attribute":{"type":"string","description":"Host address is the address of the host."},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"selectors":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"}}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]},"CreateManualGroup":{"type":"object","properties":{"hosts":{"type":"array","items":{"type":"string"},"description":"Groups is the list of hosts in the group."},"identifier":{"type":"string","description":"The identifier of the group"},"name":{"type":"string","description":"Name is the name of the group."},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the variables associated with the host."}},"required":["identifier","name"]},"PluginOptions":{"type":"object","properties":{"inline_yaml":{"type":"string","description":"Inline plugin inventory YAML content."},"provider_connector_identifier":{"type":"string","description":"Provider connector identifier to use for plugin inventory execution."},"provider_connector_type":{"type":"string","description":"Provider connector type to use.","enum":["workspace","aws","gcp","azure","vault"]},"repository":{"type":"string","description":"Git repository name/identifier (required when source_type=git)."},"repository_branch":{"type":"string","description":"Git branch (optional; used when source_type=git)."},"repository_commit":{"type":"string","description":"Git commit/tag (optional; used when source_type=git)."},"repository_connector":{"type":"string","description":"Harness connector reference used to fetch repository content (required when source_type=git)."},"repository_path":{"type":"string","description":"Path within the repo to the plugin inventory YAML (required when source_type=git)."},"source_type":{"type":"string","description":"Source type for plugin inventory (git or inline).","enum":["git","inline"]}},"description":"plugin_options defines how plugin inventory content is sourced (inline or git) plus provider connector info."},"RemoteSource":{"type":"object","properties":{"repository":{"type":"string","description":"Git repository name/identifier."},"repository_branch":{"type":"string","description":"Git branch (optional; mutually exclusive with repository_commit)."},"repository_commit":{"type":"string","description":"Git commit or tag (optional; mutually exclusive with repository_branch)."},"repository_connector":{"type":"string","description":"Harness connector reference used to fetch repository content. Omit for Harness Code repositories."},"repository_path":{"type":"string","description":"Path within the repo to the inventory file or directory."}},"description":"remote_source is the git location a remote inventory's hosts, groups and group_vars are read from.","required":["repository","repository_path"]}}}}
```

## The CreateInventoryResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateInventoryResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"},"type":{"type":"string","description":"Type indicates what kind of inventory this is","enum":["manual","dynamic","plugin","remote"]},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"}},"required":["created","updated","account","org","project","identifier","name","type","data"]},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The CreateInventoryVarsRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateInventoryVarsRequest":{"type":"object","properties":{"env_vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}},"vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}}},"required":["vars"]},"HarnessIacmInventoryVarCreate":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable. eg: var, env_var"}},"required":["key","value","value_type"]}}}}
```

## The CreateManualGroup object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateManualGroup":{"type":"object","properties":{"hosts":{"type":"array","items":{"type":"string"},"description":"Groups is the list of hosts in the group."},"identifier":{"type":"string","description":"The identifier of the group"},"name":{"type":"string","description":"Name is the name of the group."},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the variables associated with the host."}},"required":["identifier","name"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The CreatePlaybookAccountLevelRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreatePlaybookAccountLevelRequest":{"type":"object","properties":{"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"object","description":"The environment vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"vars":{"type":"object","description":"The vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["identifier","name","repository_path"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The CreatePlaybookAccountLevelResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreatePlaybookAccountLevelResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"string","description":"The environment vars in the playbook"},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"vars":{"type":"string","description":"The vars in the playbook"}},"required":["created","updated","account","org","project","identifier","name","repository_path"]},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The CreatePlaybookOrgLevelRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreatePlaybookOrgLevelRequest":{"type":"object","properties":{"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"object","description":"The environment vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"vars":{"type":"object","description":"The vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["identifier","name","repository_path"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The CreatePlaybookOrgLevelResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreatePlaybookOrgLevelResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"string","description":"The environment vars in the playbook"},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"vars":{"type":"string","description":"The vars in the playbook"}},"required":["created","updated","account","org","project","identifier","name","repository_path"]},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The CreatePlaybookRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreatePlaybookRequest":{"type":"object","properties":{"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"object","description":"The environment vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"vars":{"type":"object","description":"The vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["identifier","name","repository_path"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The CreatePlaybookResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreatePlaybookResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"string","description":"The environment vars in the playbook"},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"vars":{"type":"string","description":"The vars in the playbook"}},"required":["created","updated","account","org","project","identifier","name","repository_path"]},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The CreatePlaybookVarAccountLevelRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreatePlaybookVarAccountLevelRequest":{"type":"object","properties":{"env_vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}},"vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}}},"required":["vars"]},"HarnessIacmInventoryVarCreate":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable. eg: var, env_var"}},"required":["key","value","value_type"]}}}}
```

## The CreatePlaybookVarOrgLevelRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreatePlaybookVarOrgLevelRequest":{"type":"object","properties":{"env_vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}},"vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}}},"required":["vars"]},"HarnessIacmInventoryVarCreate":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable. eg: var, env_var"}},"required":["key","value","value_type"]}}}}
```

## The CreatePlaybookVarRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreatePlaybookVarRequest":{"type":"object","properties":{"env_vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}},"vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}}},"required":["vars"]},"HarnessIacmInventoryVarCreate":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable. eg: var, env_var"}},"required":["key","value","value_type"]}}}}
```

## The DeletePlaybookVarsAccountLevelRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DeletePlaybookVarsAccountLevelRequest":{"type":"object","properties":{"vars":{"type":"array","items":{"type":"string"}}},"required":["vars"]}}}}
```

## The DeletePlaybookVarsOrgLevelRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DeletePlaybookVarsOrgLevelRequest":{"type":"object","properties":{"vars":{"type":"array","items":{"type":"string"}}},"required":["vars"]}}}}
```

## The DeletePlaybookVarsRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DeletePlaybookVarsRequest":{"type":"object","properties":{"vars":{"type":"array","items":{"type":"string"}}},"required":["vars"]}}}}
```

## The DynamicConfig object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DynamicConfig":{"type":"object","properties":{"host_address_attribute":{"type":"string","description":"Host address is the address of the host."},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"selectors":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"}}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]}}}}
```

## The DynamicGroup object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DynamicGroup":{"type":"object","properties":{"configuration":{"$ref":"#/components/schemas/DynamicConfig"},"connector_identifier":{"type":"string","description":"Connector Identifier is the identifier of the connector to use."},"connector_type":{"type":"string","description":"Connector Type is the type of connector to use.","enum":["workspace","aws","gcp","azure","vault"]},"dynamic_vars":{"type":"object","description":"The vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"identifier":{"type":"string","description":"The identifier of the dynamic group."},"vars":{"type":"object","description":"The vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["connector_type","connector_identifier"]},"DynamicConfig":{"type":"object","properties":{"host_address_attribute":{"type":"string","description":"Host address is the address of the host."},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"selectors":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"}}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The DynamicInventory object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DynamicInventory":{"type":"object","properties":{"env_vars":{"type":"object","description":"The environment vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"groups":{"type":"array","items":{"$ref":"#/components/schemas/DynamicGroup"},"description":"Groups is the list of dynamic groups to use."},"vars":{"type":"object","description":"The vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["groups"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]},"DynamicGroup":{"type":"object","properties":{"configuration":{"$ref":"#/components/schemas/DynamicConfig"},"connector_identifier":{"type":"string","description":"Connector Identifier is the identifier of the connector to use."},"connector_type":{"type":"string","description":"Connector Type is the type of connector to use.","enum":["workspace","aws","gcp","azure","vault"]},"dynamic_vars":{"type":"object","description":"The vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"identifier":{"type":"string","description":"The identifier of the dynamic group."},"vars":{"type":"object","description":"The vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["connector_type","connector_identifier"]},"DynamicConfig":{"type":"object","properties":{"host_address_attribute":{"type":"string","description":"Host address is the address of the host."},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"selectors":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"}}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]}}}}
```

## The DynamicInventoryResource object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DynamicInventoryResource":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"data":{"$ref":"#/components/schemas/DynamicInventory"},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","identifier","name","data","type"]},"DynamicInventory":{"type":"object","properties":{"env_vars":{"type":"object","description":"The environment vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"groups":{"type":"array","items":{"$ref":"#/components/schemas/DynamicGroup"},"description":"Groups is the list of dynamic groups to use."},"vars":{"type":"object","description":"The vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["groups"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]},"DynamicGroup":{"type":"object","properties":{"configuration":{"$ref":"#/components/schemas/DynamicConfig"},"connector_identifier":{"type":"string","description":"Connector Identifier is the identifier of the connector to use."},"connector_type":{"type":"string","description":"Connector Type is the type of connector to use.","enum":["workspace","aws","gcp","azure","vault"]},"dynamic_vars":{"type":"object","description":"The vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"identifier":{"type":"string","description":"The identifier of the dynamic group."},"vars":{"type":"object","description":"The vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["connector_type","connector_identifier"]},"DynamicConfig":{"type":"object","properties":{"host_address_attribute":{"type":"string","description":"Host address is the address of the host."},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"selectors":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"}}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]}}}}
```

## The AnsibleError object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleError":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## The AnsibleEvaluatedPolicy object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The AnsibleEvaluation object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The AnsibleEvaluationDetail object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The GetFilePayload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetFilePayload":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"Identifier of the playbook or inventory."},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"resource_type":{"type":"string","description":"Type of ansible resource (playbook or inventory).","enum":["playbook","inventory"]}},"description":"GetFilePayload specifies which ansible resource's file to fetch.","required":["account","org","project","resource_type","identifier"]}}}}
```

## The GetHostStatsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetHostStatsResponse":{"type":"object","properties":{"avg_tasks_last_5_runs":{"type":"number","description":"Average number of tasks executed across the last 5 runs","format":"double"},"failures_7d":{"type":"integer","description":"Number of failed runs (status failures or unreachable) in the last 7 days","format":"int64"},"last_playbook":{"type":"array","items":{"type":"string"},"description":"Playbooks from the most recent execution against this host"},"last_playbook_at":{"type":"integer","description":"Timestamp (ms) of the most recent execution against this host","format":"int64"},"success_rate_30d":{"type":"number","description":"Percentage of successful runs in the last 30 days (0-100)","format":"double"},"total_runs_30d":{"type":"integer","description":"Total number of runs in the last 30 days","format":"int64"}},"required":["success_rate_30d","total_runs_30d","failures_7d","avg_tasks_last_5_runs"]}}}}
```

## The GetHostsSummaryResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetHostsSummaryResponse":{"type":"object","properties":{"changed":{"type":"integer","description":"Number of hosts whose latest activity status is 'changed'","format":"int64"},"failures":{"type":"integer","description":"Number of hosts whose latest activity status is 'failures'","format":"int64"},"ignored":{"type":"integer","description":"Number of hosts whose latest activity status is 'ignored'","format":"int64"},"ok":{"type":"integer","description":"Number of hosts whose latest activity status is 'ok'","format":"int64"},"rescued":{"type":"integer","description":"Number of hosts whose latest activity status is 'rescued'","format":"int64"},"skipped":{"type":"integer","description":"Number of hosts whose latest activity status is 'skipped'","format":"int64"},"total":{"type":"integer","description":"Total number of hosts matching the filters","format":"int64"},"unknown":{"type":"integer","description":"Number of hosts with no activity rows (no derivable latest status)","format":"int64"},"unreachable":{"type":"integer","description":"Number of hosts whose latest activity status is 'unreachable'","format":"int64"}},"required":["total","ok","changed","failures","unreachable","skipped","ignored","rescued","unknown"]}}}}
```

## The HarnessIacmAnsibleactivity object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmAnsibleactivity":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"event_type":{"type":"string","description":"The type of event that occurred","enum":["activity-execution","activity-dry-run-execution"]},"id":{"type":"string","description":"The unique identifier for this activity"},"inventories":{"type":"string","description":"Inventories associated with this event"},"metadata":{"$ref":"#/components/schemas/AnsibleActivityMetadata"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"playbooks":{"type":"string","description":"Playbooks associated with this event"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","inventories","playbooks","id","metadata","created","event_type"]},"AnsibleActivityMetadata":{"type":"object","properties":{"activity_status":{"type":"string","description":"The status of this activity"},"filters":{"type":"string","description":"Tags/skip-tags/limit applied to the run"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"metrics":{"$ref":"#/components/schemas/AnsibleMetrics"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plugin_version":{"type":"string","description":"The version of the Ansible plugin that produced this activity"},"results_uuid":{"type":"string","description":"The ID of any associated results"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"AnsibleMetrics":{"type":"object","properties":{"circuit_breaker_triggered":{"type":"boolean","description":"Whether circuit breaker was triggered"},"duration_ms":{"type":"integer","description":"Duration of ansible run in milliseconds","format":"int64"},"host_changed":{"type":"integer","description":"Number of hosts with changed status","format":"int64"},"host_failed":{"type":"integer","description":"Number of hosts with failed status","format":"int64"},"host_ok":{"type":"integer","description":"Number of hosts with ok status","format":"int64"},"host_skipped":{"type":"integer","description":"Number of hosts with skipped status","format":"int64"},"host_unreachable":{"type":"integer","description":"Number of hosts with unreachable status","format":"int64"},"output_size_bytes":{"type":"integer","description":"Size of structured ansible output in bytes","format":"int64"},"payload_size_bytes":{"type":"integer","description":"Size of payload sent to server in bytes","format":"int64"},"total_hosts":{"type":"integer","description":"Total number of hosts in the ansible run","format":"int64"},"total_tasks":{"type":"integer","description":"Total number of tasks across all hosts","format":"int64"}},"description":"Observability metrics for ansible playbook runs"}}}}
```

## The HarnessIacmAnsibledata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmAnsibledata":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"data_type":{"type":"string","description":"Type of data stored","enum":["task_results"]},"id":{"type":"string","description":"The unique identifier for the data"},"inventories":{"type":"string","description":"Inventories associated with this event"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipeline_execution_id":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipeline_id":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline execution stage"},"playbooks":{"type":"string","description":"Playbooks associated with this event"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"stage_id":{"type":"string","description":"The unique identifier for a stage"}},"description":"AnsibleDataResource is the representation for a single item of data associated with an ansible run.","required":["account","org","project","created","id","data_type","inventories","playbooks"]}}}}
```

## The HarnessIacmDeleteInventoryGroup object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmDeleteInventoryGroup":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"The identifier of the group"},"inventory_identifier":{"type":"string","description":"The unique identifier for this inventory"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","inventory_identifier","identifier"]}}}}
```

## The HarnessIacmHost object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmHost":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the resource was created","format":"int64"},"host_address":{"type":"string","description":"The address of the host (hostname or IP)"},"id":{"type":"string","description":"The unique identifier for this host"},"inventories":{"type":"array","items":{"type":"string"},"description":"List of inventory identifiers this host belongs to"},"last_activity":{"$ref":"#/components/schemas/HostLastActivity"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated","format":"int64"}},"required":["id","host_address","created","updated"]},"HostLastActivity":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the activity was created","format":"int64"},"playbooks":{"type":"array","items":{"type":"string"},"description":"Playbooks that were run in the last activity"},"status":{"type":"string","description":"Status of the last activity run on this host"}},"description":"HostLastActivity contains information about the most recent activity run on a host","required":["status","playbooks","created"]}}}}
```

## The HarnessIacmHostactivity object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmHostactivity":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created","format":"int64"},"data":{"type":"string","description":"Host-specific execution data (stats and task results)"},"event_type":{"type":"string","description":"The type of event that occurred","enum":["activity-execution","activity-dry-run-execution"]},"id":{"type":"string","description":"The unique identifier for this activity"},"inventories":{"type":"string","description":"Inventories associated with this event"},"metadata":{"$ref":"#/components/schemas/AnsibleActivityMetadata"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"playbooks":{"type":"string","description":"Playbooks associated with this event"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"Host-specific status for this activity"}},"required":["account","org","project","inventories","playbooks","id","metadata","created","event_type"]},"AnsibleActivityMetadata":{"type":"object","properties":{"activity_status":{"type":"string","description":"The status of this activity"},"filters":{"type":"string","description":"Tags/skip-tags/limit applied to the run"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"metrics":{"$ref":"#/components/schemas/AnsibleMetrics"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plugin_version":{"type":"string","description":"The version of the Ansible plugin that produced this activity"},"results_uuid":{"type":"string","description":"The ID of any associated results"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"AnsibleMetrics":{"type":"object","properties":{"circuit_breaker_triggered":{"type":"boolean","description":"Whether circuit breaker was triggered"},"duration_ms":{"type":"integer","description":"Duration of ansible run in milliseconds","format":"int64"},"host_changed":{"type":"integer","description":"Number of hosts with changed status","format":"int64"},"host_failed":{"type":"integer","description":"Number of hosts with failed status","format":"int64"},"host_ok":{"type":"integer","description":"Number of hosts with ok status","format":"int64"},"host_skipped":{"type":"integer","description":"Number of hosts with skipped status","format":"int64"},"host_unreachable":{"type":"integer","description":"Number of hosts with unreachable status","format":"int64"},"output_size_bytes":{"type":"integer","description":"Size of structured ansible output in bytes","format":"int64"},"payload_size_bytes":{"type":"integer","description":"Size of payload sent to server in bytes","format":"int64"},"total_hosts":{"type":"integer","description":"Total number of hosts in the ansible run","format":"int64"},"total_tasks":{"type":"integer","description":"Total number of tasks across all hosts","format":"int64"}},"description":"Observability metrics for ansible playbook runs"}}}}
```

## The HarnessIacmInventory object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmInventory":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"},"type":{"type":"string","description":"Type indicates what kind of inventory this is","enum":["manual","dynamic","plugin","remote"]},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"}},"required":["created","updated","account","org","project","identifier","name","type","data"]}}}}
```

## The HarnessIacmInventoryCreate object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmInventoryCreate":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"dynamic_groups":{"type":"array","items":{"$ref":"#/components/schemas/CreateDynamicGroup"},"description":"Groups is the list of dynamic groups to use."},"groups":{"type":"array","items":{"$ref":"#/components/schemas/CreateManualGroup"},"description":"Groups is the list of manual groups to use."},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"plugin_options":{"$ref":"#/components/schemas/PluginOptions"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"remote_source":{"$ref":"#/components/schemas/RemoteSource"},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"},"type":{"type":"string","description":"Type indicates what kind of inventory this is","enum":["manual","dynamic","plugin","remote"]},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the list of manual variables to use."}},"required":["account","org","project","type","name","identifier","data"]},"CreateDynamicGroup":{"type":"object","properties":{"configuration":{"$ref":"#/components/schemas/DynamicConfig"},"connector_identifier":{"type":"string","description":"Connector Identifier is the identifier of the connector to use."},"connector_type":{"type":"string","description":"Connector Type is the type of connector to use.","enum":["workspace","aws","gcp","azure","vault"]},"dynamic_vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Dynamic Vars is the variables associated with the host."},"identifier":{"type":"string","description":"The identifier of the group"},"name":{"type":"string","description":"Name is the friendly name of the group."},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the variables associated with the host."}},"required":["identifier","name","connector_identifier","connector_type"]},"DynamicConfig":{"type":"object","properties":{"host_address_attribute":{"type":"string","description":"Host address is the address of the host."},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"selectors":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"}}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]},"CreateManualGroup":{"type":"object","properties":{"hosts":{"type":"array","items":{"type":"string"},"description":"Groups is the list of hosts in the group."},"identifier":{"type":"string","description":"The identifier of the group"},"name":{"type":"string","description":"Name is the name of the group."},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the variables associated with the host."}},"required":["identifier","name"]},"PluginOptions":{"type":"object","properties":{"inline_yaml":{"type":"string","description":"Inline plugin inventory YAML content."},"provider_connector_identifier":{"type":"string","description":"Provider connector identifier to use for plugin inventory execution."},"provider_connector_type":{"type":"string","description":"Provider connector type to use.","enum":["workspace","aws","gcp","azure","vault"]},"repository":{"type":"string","description":"Git repository name/identifier (required when source_type=git)."},"repository_branch":{"type":"string","description":"Git branch (optional; used when source_type=git)."},"repository_commit":{"type":"string","description":"Git commit/tag (optional; used when source_type=git)."},"repository_connector":{"type":"string","description":"Harness connector reference used to fetch repository content (required when source_type=git)."},"repository_path":{"type":"string","description":"Path within the repo to the plugin inventory YAML (required when source_type=git)."},"source_type":{"type":"string","description":"Source type for plugin inventory (git or inline).","enum":["git","inline"]}},"description":"plugin_options defines how plugin inventory content is sourced (inline or git) plus provider connector info."},"RemoteSource":{"type":"object","properties":{"repository":{"type":"string","description":"Git repository name/identifier."},"repository_branch":{"type":"string","description":"Git branch (optional; mutually exclusive with repository_commit)."},"repository_commit":{"type":"string","description":"Git commit or tag (optional; mutually exclusive with repository_branch)."},"repository_connector":{"type":"string","description":"Harness connector reference used to fetch repository content. Omit for Harness Code repositories."},"repository_path":{"type":"string","description":"Path within the repo to the inventory file or directory."}},"description":"remote_source is the git location a remote inventory's hosts, groups and group_vars are read from.","required":["repository","repository_path"]}}}}
```

## The HarnessIacmInventoryCreateresult object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmInventoryCreateresult":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"},"type":{"type":"string","description":"Type indicates what kind of inventory this is","enum":["manual","dynamic","plugin","remote"]},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"}},"required":["created","updated","account","org","project","identifier","name","type","data"]},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The HarnessIacmInventoryDetail object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmInventoryDetail":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"data":{"type":"string","description":"The data representing the inventory"},"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"},"type":{"type":"string","description":"Type indicates what kind of inventory this is","enum":["manual","dynamic","plugin","remote"]},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"}},"required":["created","updated","account","org","project","identifier","name","type","data"]}}}}
```

## The HarnessIacmInventoryGroup object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmInventoryGroup":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"configuration":{"$ref":"#/components/schemas/DynamicConfig"},"connector_identifier":{"type":"string","description":"Connector identifier is the connector identifier to use."},"connector_type":{"type":"string","description":"Connector Type is the type of connector to use.","enum":["workspace","aws","gcp","azure","vault"]},"dynamic_vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"List of dynamic variables that belong to the group"},"hosts":{"type":"array","items":{"type":"string"},"description":"List of host addresses that belong to the group"},"identifier":{"type":"string","description":"The identifier of the group"},"inventory_identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the friendly name of the group."},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"List of variables that belong to the group"}},"required":["account","org","project","inventory_identifier","identifier","name"]},"DynamicConfig":{"type":"object","properties":{"host_address_attribute":{"type":"string","description":"Host address is the address of the host."},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"selectors":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"}}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The HarnessIacmInventoryHost object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmInventoryHost":{"type":"object","properties":{"created":{"type":"integer","format":"int64"},"groups":{"type":"array","items":{"type":"string"},"description":"Groups is the list of groups the host belongs to."},"host_address":{"type":"string","description":"Host address is the address of the host."},"updated":{"type":"integer","format":"int64"},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the variables associated with the host."}},"required":["host_address"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The HarnessIacmInventoryVar object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmInventoryVar":{"type":"object","properties":{"created":{"type":"string","description":"Created is the timestamp of the creation."},"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"updated":{"type":"string","description":"Updated is the timestamp of the last update."},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable"}},"required":["key","value","value_type"]}}}}
```

## The HarnessIacmInventoryVarCreate object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmInventoryVarCreate":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable. eg: var, env_var"}},"required":["key","value","value_type"]}}}}
```

## The HarnessIacmInventoryVars object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmInventoryVars":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"env_vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}}},"required":["account","org","project","identifier","vars"]},"HarnessIacmInventoryVarCreate":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable. eg: var, env_var"}},"required":["key","value","value_type"]}}}}
```

## The HarnessIacmPlaybook object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmPlaybook":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"string","description":"The environment vars in the playbook"},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"vars":{"type":"string","description":"The vars in the playbook"}},"required":["created","updated","account","org","project","identifier","name","repository_path"]}}}}
```

## The HarnessIacmPlaybookCreateresult object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmPlaybookCreateresult":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"string","description":"The environment vars in the playbook"},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"vars":{"type":"string","description":"The vars in the playbook"}},"required":["created","updated","account","org","project","identifier","name","repository_path"]},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The HarnessIacmPlaybookList object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmPlaybookList":{"type":"object","properties":{"body":{"$ref":"#/components/schemas/PlaybookResourceCollection"},"pageSize":{"type":"integer","description":"Current page size","format":"int64"},"totalItems":{"type":"integer","description":"Total items available","format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","format":"int64"}},"required":["totalItems","totalPages","pageSize"]},"PlaybookResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmPlaybook"}},"HarnessIacmPlaybook":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"string","description":"The environment vars in the playbook"},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"vars":{"type":"string","description":"The vars in the playbook"}},"required":["created","updated","account","org","project","identifier","name","repository_path"]}}}}
```

## The HostActivityResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HostActivityResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmHostactivity"}},"HarnessIacmHostactivity":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created","format":"int64"},"data":{"type":"string","description":"Host-specific execution data (stats and task results)"},"event_type":{"type":"string","description":"The type of event that occurred","enum":["activity-execution","activity-dry-run-execution"]},"id":{"type":"string","description":"The unique identifier for this activity"},"inventories":{"type":"string","description":"Inventories associated with this event"},"metadata":{"$ref":"#/components/schemas/AnsibleActivityMetadata"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"playbooks":{"type":"string","description":"Playbooks associated with this event"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"status":{"type":"string","description":"Host-specific status for this activity"}},"required":["account","org","project","inventories","playbooks","id","metadata","created","event_type"]},"AnsibleActivityMetadata":{"type":"object","properties":{"activity_status":{"type":"string","description":"The status of this activity"},"filters":{"type":"string","description":"Tags/skip-tags/limit applied to the run"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"metrics":{"$ref":"#/components/schemas/AnsibleMetrics"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plugin_version":{"type":"string","description":"The version of the Ansible plugin that produced this activity"},"results_uuid":{"type":"string","description":"The ID of any associated results"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"AnsibleMetrics":{"type":"object","properties":{"circuit_breaker_triggered":{"type":"boolean","description":"Whether circuit breaker was triggered"},"duration_ms":{"type":"integer","description":"Duration of ansible run in milliseconds","format":"int64"},"host_changed":{"type":"integer","description":"Number of hosts with changed status","format":"int64"},"host_failed":{"type":"integer","description":"Number of hosts with failed status","format":"int64"},"host_ok":{"type":"integer","description":"Number of hosts with ok status","format":"int64"},"host_skipped":{"type":"integer","description":"Number of hosts with skipped status","format":"int64"},"host_unreachable":{"type":"integer","description":"Number of hosts with unreachable status","format":"int64"},"output_size_bytes":{"type":"integer","description":"Size of structured ansible output in bytes","format":"int64"},"payload_size_bytes":{"type":"integer","description":"Size of payload sent to server in bytes","format":"int64"},"total_hosts":{"type":"integer","description":"Total number of hosts in the ansible run","format":"int64"},"total_tasks":{"type":"integer","description":"Total number of tasks across all hosts","format":"int64"}},"description":"Observability metrics for ansible playbook runs"}}}}
```

## The HostLastActivity object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HostLastActivity":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the activity was created","format":"int64"},"playbooks":{"type":"array","items":{"type":"string"},"description":"Playbooks that were run in the last activity"},"status":{"type":"string","description":"Status of the last activity run on this host"}},"description":"HostLastActivity contains information about the most recent activity run on a host","required":["status","playbooks","created"]}}}}
```

## The HostResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HostResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmHost"}},"HarnessIacmHost":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the resource was created","format":"int64"},"host_address":{"type":"string","description":"The address of the host (hostname or IP)"},"id":{"type":"string","description":"The unique identifier for this host"},"inventories":{"type":"array","items":{"type":"string"},"description":"List of inventory identifiers this host belongs to"},"last_activity":{"$ref":"#/components/schemas/HostLastActivity"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated","format":"int64"}},"required":["id","host_address","created","updated"]},"HostLastActivity":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the activity was created","format":"int64"},"playbooks":{"type":"array","items":{"type":"string"},"description":"Playbooks that were run in the last activity"},"status":{"type":"string","description":"Status of the last activity run on this host"}},"description":"HostLastActivity contains information about the most recent activity run on a host","required":["status","playbooks","created"]}}}}
```

## The HostStats object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HostStats":{"type":"object","properties":{"avg_tasks_last_5_runs":{"type":"number","description":"Average number of tasks executed across the last 5 runs","format":"double"},"failures_7d":{"type":"integer","description":"Number of failed runs (status failures or unreachable) in the last 7 days","format":"int64"},"last_playbook":{"type":"array","items":{"type":"string"},"description":"Playbooks from the most recent execution against this host"},"last_playbook_at":{"type":"integer","description":"Timestamp (ms) of the most recent execution against this host","format":"int64"},"success_rate_30d":{"type":"number","description":"Percentage of successful runs in the last 30 days (0-100)","format":"double"},"total_runs_30d":{"type":"integer","description":"Total number of runs in the last 30 days","format":"int64"}},"description":"HostStats contains aggregated statistics for a host","required":["success_rate_30d","total_runs_30d","failures_7d","avg_tasks_last_5_runs"]}}}}
```

## The HostsSummary object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HostsSummary":{"type":"object","properties":{"changed":{"type":"integer","description":"Number of hosts whose latest activity status is 'changed'","format":"int64"},"failures":{"type":"integer","description":"Number of hosts whose latest activity status is 'failures'","format":"int64"},"ignored":{"type":"integer","description":"Number of hosts whose latest activity status is 'ignored'","format":"int64"},"ok":{"type":"integer","description":"Number of hosts whose latest activity status is 'ok'","format":"int64"},"rescued":{"type":"integer","description":"Number of hosts whose latest activity status is 'rescued'","format":"int64"},"skipped":{"type":"integer","description":"Number of hosts whose latest activity status is 'skipped'","format":"int64"},"total":{"type":"integer","description":"Total number of hosts matching the filters","format":"int64"},"unknown":{"type":"integer","description":"Number of hosts with no activity rows (no derivable latest status)","format":"int64"},"unreachable":{"type":"integer","description":"Number of hosts whose latest activity status is 'unreachable'","format":"int64"}},"description":"HostsSummary contains aggregated host counts grouped by the latest activity status.","required":["total","ok","changed","failures","unreachable","skipped","ignored","rescued","unknown"]}}}}
```

## The ImportInventoryRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ImportInventoryRequest":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"content":{"type":"string","description":"Raw inventory content as a string (paste or client-read file).","minLength":1,"maxLength":1048576},"format":{"type":"string","description":"Source format of the content.","enum":["yaml","ini"]},"identifier":{"type":"string","description":"The identifier of the new inventory.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Display name of the new inventory.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"Optional tags to apply to the new inventory."}},"required":["account","org","project","identifier","name","format","content"]}}}}
```

## The ImportInventoryRequest2 object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ImportInventoryRequest2":{"type":"object","properties":{"content":{"type":"string","description":"Raw inventory content as a string (paste or client-read file).","minLength":1,"maxLength":1048576},"format":{"type":"string","description":"Source format of the content.","enum":["yaml","ini"]},"identifier":{"type":"string","description":"The identifier of the new inventory.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Display name of the new inventory.","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"Optional tags to apply to the new inventory."}},"required":["identifier","name","format","content"]}}}}
```

## The ImportInventoryResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ImportInventoryResponse":{"type":"object","properties":{"inventory":{"$ref":"#/components/schemas/HarnessIacmInventory"},"warnings":{"type":"array","items":{"type":"string"},"description":"Warnings surfaced during import (lossy conversions, flattened groups, etc.)."}},"required":["inventory","warnings"]},"HarnessIacmInventory":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"},"type":{"type":"string","description":"Type indicates what kind of inventory this is","enum":["manual","dynamic","plugin","remote"]},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"}},"required":["created","updated","account","org","project","identifier","name","type","data"]}}}}
```

## The Inventory object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Inventory":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"data":{"type":"string","description":"The data representing the inventory"},"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"},"type":{"type":"string","description":"Type indicates what kind of inventory this is","enum":["manual","dynamic","plugin","remote"]}},"required":["account","org","project","identifier","name","type","data"]}}}}
```

## The InventoryDetailResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"InventoryDetailResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryDetail"}},"HarnessIacmInventoryDetail":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"data":{"type":"string","description":"The data representing the inventory"},"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"},"type":{"type":"string","description":"Type indicates what kind of inventory this is","enum":["manual","dynamic","plugin","remote"]},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"}},"required":["created","updated","account","org","project","identifier","name","type","data"]}}}}
```

## The InventoryHost object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"InventoryHost":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string"},"description":"Groups is the list of groups the host belongs to."},"host_address":{"type":"string","description":"Host address is the address of the host."},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the variables associated with the host."}},"required":["host_address"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The InventoryHostResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"InventoryHostResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryHost"}},"HarnessIacmInventoryHost":{"type":"object","properties":{"created":{"type":"integer","format":"int64"},"groups":{"type":"array","items":{"type":"string"},"description":"Groups is the list of groups the host belongs to."},"host_address":{"type":"string","description":"Host address is the address of the host."},"updated":{"type":"integer","format":"int64"},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the variables associated with the host."}},"required":["host_address"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The InventoryResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"InventoryResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventory"}},"HarnessIacmInventory":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"},"type":{"type":"string","description":"Type indicates what kind of inventory this is","enum":["manual","dynamic","plugin","remote"]},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"}},"required":["created","updated","account","org","project","identifier","name","type","data"]}}}}
```

## The InventoryUpdate object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"InventoryUpdate":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"data":{"type":"string","description":"The data representing the inventory"},"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"}},"required":["account","org","project","identifier","name","type","data"]}}}}
```

## The InventoryVarResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"InventoryVarResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVar"}},"HarnessIacmInventoryVar":{"type":"object","properties":{"created":{"type":"string","description":"Created is the timestamp of the creation."},"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"updated":{"type":"string","description":"Updated is the timestamp of the last update."},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable"}},"required":["key","value","value_type"]}}}}
```

## The ListPlaybooksAccountScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListPlaybooksAccountScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"limit":{"type":"integer","description":"Limit is the number of records to return for a page.","default":30,"format":"int64","minimum":1,"maximum":1000},"page":{"type":"integer","description":"Page is the page number to return relative to the page 'limit'.","default":1,"format":"int64","minimum":1},"searchTerm":{"type":"string","description":"Filter results by partial name match","default":""},"sort":{"type":"string","description":"Sort order for results","default":"name,ASC","enum":["name,ASC","name,DESC","updated,ASC","updated,DESC"]},"tags":{"type":"array","items":{"type":"string"},"description":"Filter results by tags (OR logic, exact match)"}},"required":["account"]}}}}
```

## The ListPlaybooksOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListPlaybooksOrgScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"limit":{"type":"integer","description":"Limit is the number of records to return for a page.","default":30,"format":"int64","minimum":1,"maximum":1000},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"page":{"type":"integer","description":"Page is the page number to return relative to the page 'limit'.","default":1,"format":"int64","minimum":1},"searchTerm":{"type":"string","description":"Filter results by partial name match","default":""},"sort":{"type":"string","description":"Sort order for results","default":"name,ASC","enum":["name,ASC","name,DESC","updated,ASC","updated,DESC"]},"tags":{"type":"array","items":{"type":"string"},"description":"Filter results by tags (OR logic, exact match)"}},"required":["account","org"]}}}}
```

## The ManualInventory object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ManualInventory":{"type":"object","properties":{"env_vars":{"type":"object","description":"The environment vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"groups":{"type":"object","description":"The groups in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleGroup"}},"vars":{"type":"object","description":"The vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["groups"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]},"AnsibleGroup":{"type":"object","properties":{"hosts":{"type":"object","description":"The hosts in the group","additionalProperties":{"$ref":"#/components/schemas/AnsibleHost"}},"vars":{"type":"object","description":"The vars in the group","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"description":"AnsibleGroup is the representation for a single group associated with ansible.","required":["hosts"]},"AnsibleHost":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}}}}
```

## The ManualInventoryResource object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ManualInventoryResource":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"data":{"$ref":"#/components/schemas/ManualInventory"},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","identifier","name","data","type"]},"ManualInventory":{"type":"object","properties":{"env_vars":{"type":"object","description":"The environment vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"groups":{"type":"object","description":"The groups in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleGroup"}},"vars":{"type":"object","description":"The vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["groups"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]},"AnsibleGroup":{"type":"object","properties":{"hosts":{"type":"object","description":"The hosts in the group","additionalProperties":{"$ref":"#/components/schemas/AnsibleHost"}},"vars":{"type":"object","description":"The vars in the group","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"description":"AnsibleGroup is the representation for a single group associated with ansible.","required":["hosts"]},"AnsibleHost":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}}}}
```

## The Playbook object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Playbook":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"object","description":"The environment vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"vars":{"type":"object","description":"The vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["account","org","project","identifier","name","repository_path"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The PlaybookAccountScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PlaybookAccountScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"object","description":"The environment vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"vars":{"type":"object","description":"The vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["account","identifier","name","repository_path"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The PlaybookOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PlaybookOrgScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"object","description":"The environment vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"vars":{"type":"object","description":"The vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["account","org","identifier","name","repository_path"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The PlaybookResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PlaybookResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmPlaybook"}},"HarnessIacmPlaybook":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"string","description":"The environment vars in the playbook"},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"vars":{"type":"string","description":"The vars in the playbook"}},"required":["created","updated","account","org","project","identifier","name","repository_path"]}}}}
```

## The PlaybookUpdate object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PlaybookUpdate":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"object","description":"The environment vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"vars":{"type":"object","description":"The vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["account","org","project","identifier","name","repository_path"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The PlaybookUpdateAccountScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PlaybookUpdateAccountScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"object","description":"The environment vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"vars":{"type":"object","description":"The vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["account","identifier","org","project","name","repository_path"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The PlaybookUpdateOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PlaybookUpdateOrgScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"object","description":"The environment vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"vars":{"type":"object","description":"The vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["account","org","identifier","project","name","repository_path"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The PlaybookVarsAccountScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PlaybookVarsAccountScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"env_vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}}},"required":["account","identifier","vars"]},"HarnessIacmInventoryVarCreate":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable. eg: var, env_var"}},"required":["key","value","value_type"]}}}}
```

## The PlaybookVarsDeleteAccountScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PlaybookVarsDeleteAccountScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"vars":{"type":"array","items":{"type":"string"}}},"required":["account","identifier","vars"]}}}}
```

## The PlaybookVarsDeleteOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PlaybookVarsDeleteOrgScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"vars":{"type":"array","items":{"type":"string"}}},"required":["account","org","identifier","vars"]}}}}
```

## The PlaybookVarsOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PlaybookVarsOrgScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"env_vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}}},"required":["account","org","identifier","vars"]},"HarnessIacmInventoryVarCreate":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable. eg: var, env_var"}},"required":["key","value","value_type"]}}}}
```

## The PluginInventory object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PluginInventory":{"type":"object","properties":{"env_vars":{"type":"object","description":"The environment vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"plugin_options":{"$ref":"#/components/schemas/PluginOptions"},"vars":{"type":"object","description":"The vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}}},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]},"PluginOptions":{"type":"object","properties":{"inline_yaml":{"type":"string","description":"Inline plugin inventory YAML content."},"provider_connector_identifier":{"type":"string","description":"Provider connector identifier to use for plugin inventory execution."},"provider_connector_type":{"type":"string","description":"Provider connector type to use.","enum":["workspace","aws","gcp","azure","vault"]},"repository":{"type":"string","description":"Git repository name/identifier (required when source_type=git)."},"repository_branch":{"type":"string","description":"Git branch (optional; used when source_type=git)."},"repository_commit":{"type":"string","description":"Git commit/tag (optional; used when source_type=git)."},"repository_connector":{"type":"string","description":"Harness connector reference used to fetch repository content (required when source_type=git)."},"repository_path":{"type":"string","description":"Path within the repo to the plugin inventory YAML (required when source_type=git)."},"source_type":{"type":"string","description":"Source type for plugin inventory (git or inline).","enum":["git","inline"]}},"description":"plugin_options defines how plugin inventory content is sourced (inline or git) plus provider connector info."}}}}
```

## The PluginInventoryResource object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PluginInventoryResource":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"data":{"$ref":"#/components/schemas/PluginInventory"},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","identifier","name","data","type"]},"PluginInventory":{"type":"object","properties":{"env_vars":{"type":"object","description":"The environment vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"plugin_options":{"$ref":"#/components/schemas/PluginOptions"},"vars":{"type":"object","description":"The vars in the inventory","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}}},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]},"PluginOptions":{"type":"object","properties":{"inline_yaml":{"type":"string","description":"Inline plugin inventory YAML content."},"provider_connector_identifier":{"type":"string","description":"Provider connector identifier to use for plugin inventory execution."},"provider_connector_type":{"type":"string","description":"Provider connector type to use.","enum":["workspace","aws","gcp","azure","vault"]},"repository":{"type":"string","description":"Git repository name/identifier (required when source_type=git)."},"repository_branch":{"type":"string","description":"Git branch (optional; used when source_type=git)."},"repository_commit":{"type":"string","description":"Git commit/tag (optional; used when source_type=git)."},"repository_connector":{"type":"string","description":"Harness connector reference used to fetch repository content (required when source_type=git)."},"repository_path":{"type":"string","description":"Path within the repo to the plugin inventory YAML (required when source_type=git)."},"source_type":{"type":"string","description":"Source type for plugin inventory (git or inline).","enum":["git","inline"]}},"description":"plugin_options defines how plugin inventory content is sourced (inline or git) plus provider connector info."}}}}
```

## The PluginOptions object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PluginOptions":{"type":"object","properties":{"inline_yaml":{"type":"string","description":"Inline plugin inventory YAML content."},"provider_connector_identifier":{"type":"string","description":"Provider connector identifier to use for plugin inventory execution."},"provider_connector_type":{"type":"string","description":"Provider connector type to use.","enum":["workspace","aws","gcp","azure","vault"]},"repository":{"type":"string","description":"Git repository name/identifier (required when source_type=git)."},"repository_branch":{"type":"string","description":"Git branch (optional; used when source_type=git)."},"repository_commit":{"type":"string","description":"Git commit/tag (optional; used when source_type=git)."},"repository_connector":{"type":"string","description":"Harness connector reference used to fetch repository content (required when source_type=git)."},"repository_path":{"type":"string","description":"Path within the repo to the plugin inventory YAML (required when source_type=git)."},"source_type":{"type":"string","description":"Source type for plugin inventory (git or inline).","enum":["git","inline"]}},"description":"plugin_options defines how plugin inventory content is sourced (inline or git) plus provider connector info."}}}}
```

## The AnsiblePolicySet object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsiblePolicySet":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"policies":{"type":"array","items":{"$ref":"#/components/schemas/LinkedPolicy"},"description":"Policies linked to this policy set"},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"LinkedPolicy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"severity":{"type":"string","description":"The severity of this policy in this context","enum":["warning","error"]},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["account_id","org_id","project_id","identifier","name","severity","rego","created","updated"]}}}}
```

## The AnsiblePolicyViolationError object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"AnsiblePolicyViolationError":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The PublishResultsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PublishResultsResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier for the data"}},"required":["id"]}}}}
```

## The RemoteSource object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RemoteSource":{"type":"object","properties":{"repository":{"type":"string","description":"Git repository name/identifier."},"repository_branch":{"type":"string","description":"Git branch (optional; mutually exclusive with repository_commit)."},"repository_commit":{"type":"string","description":"Git commit or tag (optional; mutually exclusive with repository_branch)."},"repository_connector":{"type":"string","description":"Harness connector reference used to fetch repository content. Omit for Harness Code repositories."},"repository_path":{"type":"string","description":"Path within the repo to the inventory file or directory."}},"description":"remote_source is the git location a remote inventory's hosts, groups and group_vars are read from.","required":["repository","repository_path"]}}}}
```

## The ReplaceInventoryFromImportRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ReplaceInventoryFromImportRequest":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"content":{"type":"string","description":"Raw inventory content.","minLength":1,"maxLength":1048576},"format":{"type":"string","description":"Source format of the content.","enum":["yaml","ini"]},"identifier":{"type":"string","description":"The identifier of the inventory to replace.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","identifier","format","content"]}}}}
```

## The ReplaceInventoryFromImportRequest2 object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ReplaceInventoryFromImportRequest2":{"type":"object","properties":{"content":{"type":"string","description":"Raw inventory content.","minLength":1,"maxLength":1048576},"format":{"type":"string","description":"Source format of the content.","enum":["yaml","ini"]}},"required":["format","content"]}}}}
```

## The ReplaceInventoryFromImportResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ReplaceInventoryFromImportResponse":{"type":"object","properties":{"warnings":{"type":"array","items":{"type":"string"},"description":"Warnings surfaced during replace."}},"required":["warnings"]}}}}
```

## The ResourceAttributeSelector object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ResourceAttributeSelector":{"type":"object","properties":{"host_address_attribute":{"type":"string","description":"Host address is the address of the host."}},"required":["host_address_attribute"]}}}}
```

## The ScopedAnsibleActivityID object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedAnsibleActivityID":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"id":{"type":"string","description":"The unique ID for this activity"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","id"]}}}}
```

## The ScopedAnsibleDataIdentifier object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedAnsibleDataIdentifier":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"id":{"type":"string","description":"The unique identifier for the data"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","id"]}}}}
```

## The ScopedHostID object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedHostID":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"id":{"type":"string","description":"The unique identifier for this host"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","id"]}}}}
```

## The ScopedInventoryID object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedInventoryID":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","identifier"]}}}}
```

## The ScopedPlaybookID object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedPlaybookID":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","identifier"]}}}}
```

## The ScopedPlaybookIDAccountScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedPlaybookIDAccountScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"The unique identifier for this playbook"}},"required":["account","identifier"]}}}}
```

## The ScopedPlaybookIDOrgScope object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ScopedPlaybookIDOrgScope":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},"required":["account","org","identifier"]}}}}
```

## The SearchResourcesPayload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"SearchResourcesPayload":{"type":"object","properties":{"selectors":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelector"}}}},"ResourcesSelector":{"type":"object","properties":{"include_conditions":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"},"description":"The conditions to include the resource."},"path_id":{"type":"string","description":"Path identifier to filter resources by"},"provider":{"type":"string","description":"Provider Type to filter resources by"},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"search_text":{"type":"string","description":"Search resources by text string"}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]}}}}
```

## The SendAnsibleEventRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"SendAnsibleEventRequest":{"type":"object","properties":{"event_type":{"type":"string","description":"The type of event that occurred","enum":["activity-execution","activity-dry-run-execution"]},"inventories":{"type":"string","description":"Inventories associated with this event"},"metadata":{"$ref":"#/components/schemas/AnsibleActivityMetadata"},"playbooks":{"type":"string","description":"Playbooks associated with this event"}},"required":["inventories","playbooks","event_type"]},"AnsibleActivityMetadata":{"type":"object","properties":{"activity_status":{"type":"string","description":"The status of this activity"},"filters":{"type":"string","description":"Tags/skip-tags/limit applied to the run"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"metrics":{"$ref":"#/components/schemas/AnsibleMetrics"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plugin_version":{"type":"string","description":"The version of the Ansible plugin that produced this activity"},"results_uuid":{"type":"string","description":"The ID of any associated results"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"AnsibleMetrics":{"type":"object","properties":{"circuit_breaker_triggered":{"type":"boolean","description":"Whether circuit breaker was triggered"},"duration_ms":{"type":"integer","description":"Duration of ansible run in milliseconds","format":"int64"},"host_changed":{"type":"integer","description":"Number of hosts with changed status","format":"int64"},"host_failed":{"type":"integer","description":"Number of hosts with failed status","format":"int64"},"host_ok":{"type":"integer","description":"Number of hosts with ok status","format":"int64"},"host_skipped":{"type":"integer","description":"Number of hosts with skipped status","format":"int64"},"host_unreachable":{"type":"integer","description":"Number of hosts with unreachable status","format":"int64"},"output_size_bytes":{"type":"integer","description":"Size of structured ansible output in bytes","format":"int64"},"payload_size_bytes":{"type":"integer","description":"Size of payload sent to server in bytes","format":"int64"},"total_hosts":{"type":"integer","description":"Total number of hosts in the ansible run","format":"int64"},"total_tasks":{"type":"integer","description":"Total number of tasks across all hosts","format":"int64"}},"description":"Observability metrics for ansible playbook runs"}}}}
```

## The ShowAnsibleActivityResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowAnsibleActivityResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"event_type":{"type":"string","description":"The type of event that occurred","enum":["activity-execution","activity-dry-run-execution"]},"id":{"type":"string","description":"The unique identifier for this activity"},"inventories":{"type":"string","description":"Inventories associated with this event"},"metadata":{"$ref":"#/components/schemas/AnsibleActivityMetadata"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"playbooks":{"type":"string","description":"Playbooks associated with this event"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","inventories","playbooks","id","metadata","created","event_type"]},"AnsibleActivityMetadata":{"type":"object","properties":{"activity_status":{"type":"string","description":"The status of this activity"},"filters":{"type":"string","description":"Tags/skip-tags/limit applied to the run"},"git_branch":{"type":"string","description":"Git branch associated with this execution"},"git_commit_message":{"type":"string","description":"Git commit message associated with this execution"},"git_commit_sha":{"type":"string","description":"Git commit SHA associated with this execution"},"git_repo":{"type":"string","description":"Git repo associated with this execution"},"metrics":{"$ref":"#/components/schemas/AnsibleMetrics"},"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"plugin_version":{"type":"string","description":"The version of the Ansible plugin that produced this activity"},"results_uuid":{"type":"string","description":"The ID of any associated results"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}},"AnsibleMetrics":{"type":"object","properties":{"circuit_breaker_triggered":{"type":"boolean","description":"Whether circuit breaker was triggered"},"duration_ms":{"type":"integer","description":"Duration of ansible run in milliseconds","format":"int64"},"host_changed":{"type":"integer","description":"Number of hosts with changed status","format":"int64"},"host_failed":{"type":"integer","description":"Number of hosts with failed status","format":"int64"},"host_ok":{"type":"integer","description":"Number of hosts with ok status","format":"int64"},"host_skipped":{"type":"integer","description":"Number of hosts with skipped status","format":"int64"},"host_unreachable":{"type":"integer","description":"Number of hosts with unreachable status","format":"int64"},"output_size_bytes":{"type":"integer","description":"Size of structured ansible output in bytes","format":"int64"},"payload_size_bytes":{"type":"integer","description":"Size of payload sent to server in bytes","format":"int64"},"total_hosts":{"type":"integer","description":"Total number of hosts in the ansible run","format":"int64"},"total_tasks":{"type":"integer","description":"Total number of tasks across all hosts","format":"int64"}},"description":"Observability metrics for ansible playbook runs"}}}}
```

## The ShowHostResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowHostResponse":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the resource was created","format":"int64"},"host_address":{"type":"string","description":"The address of the host (hostname or IP)"},"id":{"type":"string","description":"The unique identifier for this host"},"inventories":{"type":"array","items":{"type":"string"},"description":"List of inventory identifiers this host belongs to"},"last_activity":{"$ref":"#/components/schemas/HostLastActivity"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated","format":"int64"}},"required":["id","host_address","created","updated"]},"HostLastActivity":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the activity was created","format":"int64"},"playbooks":{"type":"array","items":{"type":"string"},"description":"Playbooks that were run in the last activity"},"status":{"type":"string","description":"Status of the last activity run on this host"}},"description":"HostLastActivity contains information about the most recent activity run on a host","required":["status","playbooks","created"]}}}}
```

## The ShowInventoryGroupsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowInventoryGroupsResponse":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string"}}}}}}}
```

## The ShowInventoryHostsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowInventoryHostsResponse":{"type":"object","properties":{"hosts":{"$ref":"#/components/schemas/InventoryHostResourceCollection"}}},"InventoryHostResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryHost"}},"HarnessIacmInventoryHost":{"type":"object","properties":{"created":{"type":"integer","format":"int64"},"groups":{"type":"array","items":{"type":"string"},"description":"Groups is the list of groups the host belongs to."},"host_address":{"type":"string","description":"Host address is the address of the host."},"updated":{"type":"integer","format":"int64"},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the variables associated with the host."}},"required":["host_address"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The ShowInventoryResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowInventoryResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"data":{"type":"string","description":"The data representing the inventory"},"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"identifier":{"type":"string","description":"The unique identifier for this inventory"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"},"type":{"type":"string","description":"Type indicates what kind of inventory this is","enum":["manual","dynamic","plugin","remote"]},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"}},"required":["created","updated","account","org","project","identifier","name","type","data"]}}}}
```

## The ShowInventoryVarsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowInventoryVarsResponse":{"type":"object","properties":{"env_vars":{"$ref":"#/components/schemas/InventoryVarResourceCollection"},"vars":{"$ref":"#/components/schemas/InventoryVarResourceCollection"}}},"InventoryVarResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVar"}},"HarnessIacmInventoryVar":{"type":"object","properties":{"created":{"type":"string","description":"Created is the timestamp of the creation."},"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"updated":{"type":"string","description":"Updated is the timestamp of the last update."},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable"}},"required":["key","value","value_type"]}}}}
```

## The ShowPlaybookAccountLevelResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowPlaybookAccountLevelResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"string","description":"The environment vars in the playbook"},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"vars":{"type":"string","description":"The vars in the playbook"}},"required":["created","updated","account","org","project","identifier","name","repository_path"]}}}}
```

## The ShowPlaybookOrgLevelResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowPlaybookOrgLevelResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"string","description":"The environment vars in the playbook"},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"vars":{"type":"string","description":"The vars in the playbook"}},"required":["created","updated","account","org","project","identifier","name","repository_path"]}}}}
```

## The ShowPlaybookResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowPlaybookResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"created":{"type":"integer","description":"Timestamp when the resource was created.","format":"int64"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"string","description":"The environment vars in the playbook"},"identifier":{"type":"string","description":"The unique identifier for this playbook"},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"updated":{"type":"integer","description":"Timestamp when the resource was last updated.","format":"int64"},"vars":{"type":"string","description":"The vars in the playbook"}},"required":["created","updated","account","org","project","identifier","name","repository_path"]}}}}
```

## The ShowPlaybookVarsAccountLevelResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowPlaybookVarsAccountLevelResponse":{"type":"object","properties":{"env_vars":{"$ref":"#/components/schemas/InventoryVarResourceCollection"},"vars":{"$ref":"#/components/schemas/InventoryVarResourceCollection"}}},"InventoryVarResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVar"}},"HarnessIacmInventoryVar":{"type":"object","properties":{"created":{"type":"string","description":"Created is the timestamp of the creation."},"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"updated":{"type":"string","description":"Updated is the timestamp of the last update."},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable"}},"required":["key","value","value_type"]}}}}
```

## The ShowPlaybookVarsOrgLevelResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowPlaybookVarsOrgLevelResponse":{"type":"object","properties":{"env_vars":{"$ref":"#/components/schemas/InventoryVarResourceCollection"},"vars":{"$ref":"#/components/schemas/InventoryVarResourceCollection"}}},"InventoryVarResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVar"}},"HarnessIacmInventoryVar":{"type":"object","properties":{"created":{"type":"string","description":"Created is the timestamp of the creation."},"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"updated":{"type":"string","description":"Updated is the timestamp of the last update."},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable"}},"required":["key","value","value_type"]}}}}
```

## The ShowPlaybookVarsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ShowPlaybookVarsResponse":{"type":"object","properties":{"env_vars":{"$ref":"#/components/schemas/InventoryVarResourceCollection"},"vars":{"$ref":"#/components/schemas/InventoryVarResourceCollection"}}},"InventoryVarResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVar"}},"HarnessIacmInventoryVar":{"type":"object","properties":{"created":{"type":"string","description":"Created is the timestamp of the creation."},"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"updated":{"type":"string","description":"Updated is the timestamp of the last update."},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable"}},"required":["key","value","value_type"]}}}}
```

## The UpdateInventoryGroupRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateInventoryGroupRequest":{"type":"object","properties":{"configuration":{"$ref":"#/components/schemas/DynamicConfig"},"connector_identifier":{"type":"string","description":"Connector identifier is the connector identifier to use."},"connector_type":{"type":"string","description":"Connector Type is the type of connector to use.","enum":["workspace","aws","gcp","azure","vault"]},"dynamic_vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"List of dynamic variables that belong to the group"},"hosts":{"type":"array","items":{"type":"string"},"description":"List of host addresses that belong to the group"},"name":{"type":"string","description":"Name is the friendly name of the group."},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"List of variables that belong to the group"}},"required":["name"]},"DynamicConfig":{"type":"object","properties":{"host_address_attribute":{"type":"string","description":"Host address is the address of the host."},"resource_type":{"type":"string","description":"Type is the type of resource to select."},"selectors":{"type":"array","items":{"$ref":"#/components/schemas/ResourcesSelectorConditions"}}}},"ResourcesSelectorConditions":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute is the attribute to select on."},"operator":{"type":"string","description":"Operator is the operator to use for the selector.","enum":["equals","not_equals","contains","not_contains","starts_with","ends_with"]},"value":{"type":"string","description":"Value is the value to check."}},"required":["attribute","operator","value"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The UpdateInventoryHostRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateInventoryHostRequest":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string"},"description":"Groups is the list of groups the host belongs to."},"vars":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleVariable"},"description":"Vars is the variables associated with the host."}}},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The UpdateInventoryPluginPayload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateInventoryPluginPayload":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"Inventory identifier"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"plugin_options":{"$ref":"#/components/schemas/PluginOptions"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["account","org","project","identifier","plugin_options"]},"PluginOptions":{"type":"object","properties":{"inline_yaml":{"type":"string","description":"Inline plugin inventory YAML content."},"provider_connector_identifier":{"type":"string","description":"Provider connector identifier to use for plugin inventory execution."},"provider_connector_type":{"type":"string","description":"Provider connector type to use.","enum":["workspace","aws","gcp","azure","vault"]},"repository":{"type":"string","description":"Git repository name/identifier (required when source_type=git)."},"repository_branch":{"type":"string","description":"Git branch (optional; used when source_type=git)."},"repository_commit":{"type":"string","description":"Git commit/tag (optional; used when source_type=git)."},"repository_connector":{"type":"string","description":"Harness connector reference used to fetch repository content (required when source_type=git)."},"repository_path":{"type":"string","description":"Path within the repo to the plugin inventory YAML (required when source_type=git)."},"source_type":{"type":"string","description":"Source type for plugin inventory (git or inline).","enum":["git","inline"]}},"description":"plugin_options defines how plugin inventory content is sourced (inline or git) plus provider connector info."}}}}
```

## The UpdateInventoryPluginRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateInventoryPluginRequest":{"type":"object","properties":{"plugin_options":{"$ref":"#/components/schemas/PluginOptions"}},"required":["plugin_options"]},"PluginOptions":{"type":"object","properties":{"inline_yaml":{"type":"string","description":"Inline plugin inventory YAML content."},"provider_connector_identifier":{"type":"string","description":"Provider connector identifier to use for plugin inventory execution."},"provider_connector_type":{"type":"string","description":"Provider connector type to use.","enum":["workspace","aws","gcp","azure","vault"]},"repository":{"type":"string","description":"Git repository name/identifier (required when source_type=git)."},"repository_branch":{"type":"string","description":"Git branch (optional; used when source_type=git)."},"repository_commit":{"type":"string","description":"Git commit/tag (optional; used when source_type=git)."},"repository_connector":{"type":"string","description":"Harness connector reference used to fetch repository content (required when source_type=git)."},"repository_path":{"type":"string","description":"Path within the repo to the plugin inventory YAML (required when source_type=git)."},"source_type":{"type":"string","description":"Source type for plugin inventory (git or inline).","enum":["git","inline"]}},"description":"plugin_options defines how plugin inventory content is sourced (inline or git) plus provider connector info."}}}}
```

## The UpdateInventoryPluginResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateInventoryPluginResponse":{"type":"object","properties":{"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"}}},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The UpdateInventoryRemotePayload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateInventoryRemotePayload":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"identifier":{"type":"string","description":"Inventory identifier"},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"remote_source":{"$ref":"#/components/schemas/RemoteSource"}},"required":["account","org","project","identifier","remote_source"]},"RemoteSource":{"type":"object","properties":{"repository":{"type":"string","description":"Git repository name/identifier."},"repository_branch":{"type":"string","description":"Git branch (optional; mutually exclusive with repository_commit)."},"repository_commit":{"type":"string","description":"Git commit or tag (optional; mutually exclusive with repository_branch)."},"repository_connector":{"type":"string","description":"Harness connector reference used to fetch repository content. Omit for Harness Code repositories."},"repository_path":{"type":"string","description":"Path within the repo to the inventory file or directory."}},"description":"remote_source is the git location a remote inventory's hosts, groups and group_vars are read from.","required":["repository","repository_path"]}}}}
```

## The UpdateInventoryRemoteRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateInventoryRemoteRequest":{"type":"object","properties":{"remote_source":{"$ref":"#/components/schemas/RemoteSource"}},"required":["remote_source"]},"RemoteSource":{"type":"object","properties":{"repository":{"type":"string","description":"Git repository name/identifier."},"repository_branch":{"type":"string","description":"Git branch (optional; mutually exclusive with repository_commit)."},"repository_commit":{"type":"string","description":"Git commit or tag (optional; mutually exclusive with repository_branch)."},"repository_connector":{"type":"string","description":"Harness connector reference used to fetch repository content. Omit for Harness Code repositories."},"repository_path":{"type":"string","description":"Path within the repo to the inventory file or directory."}},"description":"remote_source is the git location a remote inventory's hosts, groups and group_vars are read from.","required":["repository","repository_path"]}}}}
```

## The UpdateInventoryRemoteResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateInventoryRemoteResponse":{"type":"object","properties":{"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"}}},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The UpdateInventoryRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateInventoryRequest":{"type":"object","properties":{"data":{"type":"string","description":"The data representing the inventory"},"description":{"type":"string","description":"Description documents the inventory purpose and usage","maxLength":1024},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the inventory"}},"required":["name","type","data"]}}}}
```

## The UpdateInventoryResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateInventoryResponse":{"type":"object","properties":{"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"}}},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The UpdateInventoryVarsRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateInventoryVarsRequest":{"type":"object","properties":{"env_vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}},"vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}}},"required":["vars"]},"HarnessIacmInventoryVarCreate":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable. eg: var, env_var"}},"required":["key","value","value_type"]}}}}
```

## The UpdatePlaybookAccountLevelRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdatePlaybookAccountLevelRequest":{"type":"object","properties":{"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"object","description":"The environment vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"vars":{"type":"object","description":"The vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["org","project","name","repository_path"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The UpdatePlaybookAccountLevelResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdatePlaybookAccountLevelResponse":{"type":"object","properties":{"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"}}},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The UpdatePlaybookOrgLevelRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdatePlaybookOrgLevelRequest":{"type":"object","properties":{"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"object","description":"The environment vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"vars":{"type":"object","description":"The vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["project","name","repository_path"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The UpdatePlaybookOrgLevelResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdatePlaybookOrgLevelResponse":{"type":"object","properties":{"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"}}},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The UpdatePlaybookRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdatePlaybookRequest":{"type":"object","properties":{"ansible_galaxy":{"type":"boolean","description":"Install Ansible Galaxy dependencies","default":false},"ansible_galaxy_requirements_file":{"type":"string","description":"Path to Ansible Galaxy requirements file"},"description":{"type":"string","description":"Description documents the playbook purpose and usage","maxLength":1024},"env_vars":{"type":"object","description":"The environment vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}},"name":{"type":"string","description":"Name is the human readable name","minLength":1,"maxLength":1024},"repository":{"type":"string","description":"Repository is the name of the repository to use."},"repository_branch":{"type":"string","description":"Repository Branch in which the playbook should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the playbook should be accessed."},"repository_connector":{"type":"string","description":"Repository Connector is the reference to the connector to use for this playbook."},"repository_path":{"type":"string","description":"Repository Path is the path in which the playbook resides.","default":""},"tags":{"type":"array","items":{"type":"string"},"description":"Tags associated with the playbook"},"vars":{"type":"object","description":"The vars in the playbook","additionalProperties":{"$ref":"#/components/schemas/AnsibleVariable"}}},"required":["name","repository_path"]},"AnsibleVariable":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"}},"description":"AnsibleVariable is the representation for a single variable associated with ansible.","required":["key","value","value_type"]}}}}
```

## The UpdatePlaybookResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdatePlaybookResponse":{"type":"object","properties":{"policy_evaluation":{"$ref":"#/components/schemas/AnsibleEvaluation"}}},"AnsibleEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"AnsibleEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/AnsibleEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"AnsibleEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The UpdatePlaybookVarsAccountLevelRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdatePlaybookVarsAccountLevelRequest":{"type":"object","properties":{"env_vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}},"vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}}},"required":["vars"]},"HarnessIacmInventoryVarCreate":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable. eg: var, env_var"}},"required":["key","value","value_type"]}}}}
```

## The UpdatePlaybookVarsOrgLevelRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdatePlaybookVarsOrgLevelRequest":{"type":"object","properties":{"env_vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}},"vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}}},"required":["vars"]},"HarnessIacmInventoryVarCreate":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable. eg: var, env_var"}},"required":["key","value","value_type"]}}}}
```

## The UpdatePlaybookVarsRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdatePlaybookVarsRequest":{"type":"object","properties":{"env_vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}},"vars":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmInventoryVarCreate"}}},"required":["vars"]},"HarnessIacmInventoryVarCreate":{"type":"object","properties":{"file_name":{"type":"string","description":"Filename is where to store the value of the secret."},"key":{"type":"string","description":"Key is the identifier for the secret.","pattern":"^[a-zA-Z0-9_]+$","minLength":1,"maxLength":128},"uuid":{"type":"string","description":"UUID is the unique identifier for the secret."},"value":{"type":"string","description":"Value is the value of the secret."},"value_type":{"type":"string","description":"Type indecates the value type of the secret. In the case of secret this is a\nreference to an item in the secret store"},"var_type":{"type":"string","description":"The type of variable. eg: var, env_var"}},"required":["key","value","value_type"]}}}}
```

## The BatchCheckModuleLifecycleRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"BatchCheckModuleLifecycleRequest":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ModuleLifecycleBatchCheckItem"},"description":"List of modules to check","maxItems":1000}},"required":["items"]},"ModuleLifecycleBatchCheckItem":{"type":"object","properties":{"name":{"type":"string","description":"Module name","minLength":1},"namespace":{"type":"string","description":"Encoded namespace identifying the module scope","minLength":1},"system":{"type":"string","description":"Module system (provider)","minLength":1},"version":{"type":"string","description":"Module version to check","minLength":1}},"description":"A single module item to check lifecycle status for","required":["namespace","name","system","version"]}}}}
```

## The BatchCheckModuleLifecycleResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"BatchCheckModuleLifecycleResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ModuleLifecycleBatchCheckResult"},"description":"Lifecycle violations found; items with no rule or supported tier are omitted"}},"required":["results"]},"ModuleLifecycleBatchCheckResult":{"type":"object","properties":{"action":{"type":"string","description":"Enforcement action for the tier","enum":["no_action","warn","fail"]},"minimum_supported_version":{"type":"string","description":"The lowest-numbered version currently in the supported tier"},"name":{"type":"string","description":"Module name"},"namespace":{"type":"string","description":"Encoded namespace identifying the module scope"},"system":{"type":"string","description":"Module system (provider)"},"tier":{"type":"string","description":"Lifecycle tier: warning or deprecated","enum":["warning","deprecated"]},"version":{"type":"string","description":"Module version"}},"description":"Lifecycle check result for a single module item","required":["namespace","name","system","version","tier","action"]}}}}
```

## The BatchCheckProviderLifecycleRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"BatchCheckProviderLifecycleRequest":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ProviderLifecycleBatchCheckItem"},"description":"List of providers to check","minItems":1,"maxItems":1000}},"required":["items"]},"ProviderLifecycleBatchCheckItem":{"type":"object","properties":{"namespace":{"type":"string","description":"Namespace identifying the provider scope","minLength":1},"type":{"type":"string","description":"Provider type","minLength":1},"version":{"type":"string","description":"Provider version to check","minLength":1}},"description":"A single provider item to check lifecycle status for","required":["namespace","type","version"]}}}}
```

## The BatchCheckProviderLifecycleResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"BatchCheckProviderLifecycleResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ProviderLifecycleBatchCheckResult"},"description":"Lifecycle violations found; items with no rule or supported tier are omitted"}},"required":["results"]},"ProviderLifecycleBatchCheckResult":{"type":"object","properties":{"action":{"type":"string","description":"Enforcement action for the tier","enum":["no_action","warn","fail"]},"minimum_supported_version":{"type":"string","description":"The lowest-numbered version currently in the supported tier"},"namespace":{"type":"string","description":"Namespace identifying the provider scope"},"tier":{"type":"string","description":"Lifecycle tier: warning or deprecated","enum":["warning","deprecated"]},"type":{"type":"string","description":"Provider type"},"version":{"type":"string","description":"Provider version"}},"description":"Lifecycle check result for a single provider item","required":["namespace","type","version","tier","action"]}}}}
```

## The CreateModuleDataRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateModuleDataRequest":{"type":"object","properties":{"download_url":{"type":"string","description":"download url of the module"},"error":{"type":"object","description":"error from the tag operation","additionalProperties":{"type":"string"}},"examples_paths":{"type":"array","items":{"type":"string"},"description":"path of the examples relative to the module"},"git_tag":{"type":"string","description":"git tag of the module"},"metadata":{"type":"string","description":"metadata to be parsed"},"repo_url":{"type":"string","description":"url pointing to the repo"},"submodule_name":{"type":"string","description":"name of the submodule been processed"},"submodule_paths":{"type":"array","items":{"type":"string"},"description":"path of the submodules relative to the module"}},"required":["metadata","download_url","git_tag"]}}}}
```

## The CreateModuleExecutionRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateModuleExecutionRequest":{"type":"object","properties":{"account":{"type":"string","description":"account name"},"module_onboarding":{"type":"boolean","description":"Is module onboarding execution","default":false},"pipeline":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_org":{"type":"string","description":"pipeline org"},"pipeline_project":{"type":"string","description":"pipeline project"},"pipelineExecutionId":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipelineStageId":{"type":"string","description":"The unique identifier for the associated pipeline stage"}},"required":["account","pipeline_org","pipeline_project","pipelineExecutionId","pipelineStageId","pipeline"]}}}}
```

## The CreateModuleExecutionResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateModuleExecutionResponse":{"type":"object","properties":{"account":{"type":"string","description":"account name"},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"metadata":{"$ref":"#/components/schemas/ModuleExecutionMetadata"},"module_onboarding":{"type":"boolean","description":"Is module onboarding execution","default":false},"moduleId":{"type":"string","description":"The unique identifier for the associated module"},"org":{"type":"string"},"project":{"type":"string"},"status":{"type":"string","description":"The overall status of the execution"}},"required":["org","project","status","created","account","pipeline_org","pipeline_project","pipelineExecutionId","pipelineStageId","moduleId","pipeline"]},"ModuleExecutionMetadata":{"type":"object","properties":{"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}}}}}
```

## The CreateModuleRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateModuleRequest":{"type":"object","properties":{"description":{"type":"string","description":"Free-form text describing the purpose and usage of the module."},"git_tag_style":{"type":"string","description":"Pattern used to match Git tags for module versioning. Use 'module-name-*' to match tags like 'my-vpc-module-v1.0.0'."},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"onboarding_pipeline":{"type":"string","description":"Identifier of the Harness pipeline used for module onboarding and metadata sync."},"onboarding_pipeline_org":{"type":"string","description":"Organization where the onboarding pipeline is defined. Defaults to scope_org if not provided."},"onboarding_pipeline_project":{"type":"string","description":"Project where the onboarding pipeline is defined. Defaults to scope_project if not provided."},"onboarding_pipeline_sync":{"type":"boolean","description":"When true, module metadata is automatically synced via the onboarding pipeline when new Git tags are pushed.","default":false},"org":{"type":"string","description":"Organization identifier where the Git connector is defined. Defaults to scope_org if not provided.","maxLength":1024},"project":{"type":"string","description":"Project identifier where the Git connector is defined. Defaults to scope_project if not provided.","maxLength":1024},"repository":{"type":"string","description":"Name of the Git repository that contains the module source code."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Harness Git connector identifier used to access the Git repository. Must reference a valid Git connector in your account. Leave empty when using Harness Code as the repository source."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"storage_type":{"type":"string","description":"Defines how module versions are stored. 'git_reference' resolves versions from Git tags; 'artifact' stores uploaded archive files.","default":"git_reference","enum":["git_reference","artifact"]},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"string","description":"Comma-separated list of tags to categorize the module (e.g. networking,vpc,aws)."}},"required":["name","system"]}}}}
```

## The CreateModuleTagsRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateModuleTagsRequest":{"type":"object","properties":{"error":{"type":"object","description":"error from the tag operation","additionalProperties":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"},"description":"tags defining the module"}}}}}}
```

## The CreateOnboardingPipelineRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateOnboardingPipelineRequest":{"type":"object","properties":{"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},"required":["org","project"]}}}}
```

## The CreateProviderRequestBody object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateProviderRequestBody":{"type":"object","properties":{"description":{"type":"string","description":"Provider description"}}}}}}
```

## The CreateProviderResponseBody object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateProviderResponseBody":{"type":"object","properties":{"id":{"type":"string","description":"Provider ID"}},"required":["id"]}}}}
```

## The CreateProviderVersionRequestBody object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateProviderVersionRequestBody":{"type":"object","properties":{"gpg_key_id":{"type":"string","description":"GPG key ID"},"protocol":{"type":"array","items":{"type":"string"},"description":"Supported Terraform protocol versions"},"version":{"type":"string","description":"Provider version"}},"required":["version","protocol","gpg_key_id"]}}}}
```

## The CreateTestingPipelineRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"CreateTestingPipelineRequest":{"type":"object","properties":{"pipeline_org":{"type":"string","description":"pipeline org"},"pipeline_project":{"type":"string","description":"pipeline project"},"type":{"type":"string","description":"type of the pipeline to create","default":"test"}},"required":["pipeline_org","pipeline_project"]}}}}
```

## The DependenciesMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DependenciesMetadata":{"type":"object","properties":{"dependency_name":{"type":"string","description":"Dependency name"},"dependency_source":{"type":"string","description":"Dependency source"},"dependency_version":{"type":"string","description":"Dependency version"}}}}}}
```

## The DownloadModuleResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"DownloadModuleResponse":{"type":"object","properties":{"location":{"type":"string","description":"location of the artifact"}}}}}}
```

## The EnableTestingRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"EnableTestingRequest":{"type":"object","properties":{"pipeline_id":{"type":"array","items":{"type":"string"},"description":"pipelines to create the webhooks to trigger the executions for testing"},"pipeline_org":{"type":"string","description":"pipeline org"},"pipeline_project":{"type":"string","description":"pipeline project"},"provider_connector":{"type":"string","description":"provider connector","default":""},"provisioner_type":{"type":"string","description":"provisioner type"},"provisioner_version":{"type":"string","description":"provisioner version"},"release_pipeline":{"type":"string","description":"pipeline to create the webhooks for releases"}},"required":["provisioner_type","provisioner_version","pipeline_org","pipeline_project"]}}}}
```

## The RegistryError object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RegistryError":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## The RegistryEvaluatedPolicy object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RegistryEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The RegistryEvaluation object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RegistryEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/RegistryEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"RegistryEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/RegistryEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"RegistryEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The RegistryEvaluationDetail object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RegistryEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/RegistryEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"RegistryEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The ExampleTreeItem object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ExampleTreeItem":{"type":"object","properties":{"content_type":{"type":"string","description":"kind of entry","enum":["file","directory"]},"name":{"type":"string","description":"leaf name of the entry (no path separators)"},"path":{"type":"string","description":"full relative path from the module root, forward-slash separated"}},"required":["name","path","content_type"]}}}}
```

## The GPGKey object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GPGKey":{"type":"object","properties":{"ascii_armor":{"type":"string","description":"ASCII-armored GPG public key"},"key_id":{"type":"string","description":"GPG key ID"}},"description":"GPG key information for provider verification","required":["key_id","ascii_armor"]}}}}
```

## The GetModuleLifecycleResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetModuleLifecycleResponse":{"type":"object","properties":{"deprecated_action":{"type":"string","description":"Enforcement action for deprecated-tier versions","default":"fail","enum":["no_action","warn","fail"]},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/ModuleLifecycleOverride"},"description":"Manual per-version tier overrides","maxItems":1000},"supported_action":{"type":"string","description":"Enforcement action for supported-tier versions","default":"no_action","enum":["no_action","warn","fail"]},"supported_count":{"type":"integer","description":"Number of most-recent non-pre-release versions classified as supported","format":"int64","minimum":1},"warning_action":{"type":"string","description":"Enforcement action for warning-tier versions","default":"warn","enum":["no_action","warn","fail"]},"warning_count":{"type":"integer","description":"Number of versions immediately after the supported window classified as warning","format":"int64","minimum":0}},"required":["supported_count","warning_count","supported_action","warning_action","deprecated_action"]},"ModuleLifecycleOverride":{"type":"object","properties":{"reason":{"type":"string","description":"Optional reason for this override","maxLength":1000},"tier":{"type":"string","description":"Lifecycle tier to assign to this version","enum":["supported","warning","deprecated"]},"version":{"type":"string","description":"Version string to override","minLength":1}},"description":"Manual lifecycle tier override for a specific module version","required":["version","tier"]}}}}
```

## The GetModuleLifecycleVersionStatusResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetModuleLifecycleVersionStatusResponse":{"type":"object","properties":{"action":{"type":"string","description":"Enforcement action derived from the tier's rule action","enum":["no_action","warn","fail"]},"minimum_supported_version":{"type":"string","description":"The lowest-numbered version currently in the supported tier"},"tier":{"type":"string","description":"Lifecycle tier: supported, warning, or deprecated","enum":["supported","warning","deprecated"]}},"required":["tier","action"]}}}}
```

## The GetProviderDomainResponseBody object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetProviderDomainResponseBody":{"type":"object","properties":{"domain":{"type":"string","description":"Domain"}},"required":["domain"]}}}}
```

## The GetProviderDownloadResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetProviderDownloadResponse":{"type":"object","properties":{"arch":{"type":"string","description":"Architecture"},"download_url":{"type":"string","description":"URL to download the provider binary"},"filename":{"type":"string","description":"Provider binary filename"},"os":{"type":"string","description":"Operating system"},"protocols":{"type":"array","items":{"type":"string"},"description":"Supported Terraform protocol versions"},"shasum":{"type":"string","description":"SHA256 checksum of the provider binary"},"shasums_signature_url":{"type":"string","description":"URL to download the checksums signature"},"shasums_url":{"type":"string","description":"URL to download the checksums file"},"signing_keys":{"$ref":"#/components/schemas/HarnessIacmProviderRegistrySigningKeys"}},"description":"Provider download information","required":["protocols","os","arch","filename","download_url","shasums_url","shasums_signature_url","shasum","signing_keys"]},"HarnessIacmProviderRegistrySigningKeys":{"type":"object","properties":{"gpg_public_keys":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmProviderRegistryGpgPublicKey"},"description":"GPG public keys"}},"description":"SigningKeys contains GPG public keys used for provider verification","required":["gpg_public_keys"]},"HarnessIacmProviderRegistryGpgPublicKey":{"type":"object","properties":{"ascii_armor":{"type":"string","description":"ASCII-armored GPG public key"},"key_id":{"type":"string","description":"GPG key ID"}},"description":"GPGPublicKey contains a GPG public key for provider verification","required":["key_id","ascii_armor"]}}}}
```

## The GetProviderLifecycleResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetProviderLifecycleResponse":{"type":"object","properties":{"deprecated_action":{"type":"string","description":"Enforcement action for deprecated-tier versions","default":"fail","enum":["no_action","warn","fail"]},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/ProviderLifecycleOverride"},"description":"Manual per-version tier overrides","maxItems":1000},"supported_action":{"type":"string","description":"Enforcement action for supported-tier versions","default":"no_action","enum":["no_action","warn","fail"]},"supported_count":{"type":"integer","description":"Number of most-recent non-pre-release versions classified as supported","format":"int64","minimum":1},"warning_action":{"type":"string","description":"Enforcement action for warning-tier versions","default":"warn","enum":["no_action","warn","fail"]},"warning_count":{"type":"integer","description":"Number of versions immediately after the supported window classified as warning","format":"int64","minimum":0}},"required":["supported_count","warning_count","supported_action","warning_action","deprecated_action"]},"ProviderLifecycleOverride":{"type":"object","properties":{"reason":{"type":"string","description":"Optional reason for this override","maxLength":1000},"tier":{"type":"string","description":"Lifecycle tier to assign to this version","enum":["supported","warning","deprecated"]},"version":{"type":"string","description":"Version string to override","minLength":1}},"description":"Manual lifecycle tier override for a specific provider version","required":["version","tier"]}}}}
```

## The GetProviderLifecycleVersionStatusResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetProviderLifecycleVersionStatusResponse":{"type":"object","properties":{"action":{"type":"string","description":"Enforcement action derived from the tier's rule action","enum":["no_action","warn","fail"]},"minimum_supported_version":{"type":"string","description":"The lowest-numbered version currently in the supported tier"},"tier":{"type":"string","description":"Lifecycle tier: supported, warning, or deprecated","enum":["supported","warning","deprecated"]}},"required":["tier","action"]}}}}
```

## The GetProviderResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetProviderResponse":{"type":"object","properties":{"account":{"type":"string","description":"Account that owns the provider"},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Description of the provider"},"domain_prefix":{"type":"string","description":"Domain prefix of the provider"},"id":{"type":"string","description":"Provider ID"},"namespace":{"type":"string","description":"Provider namespace"},"type":{"type":"string","description":"Provider type"},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"versions":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmProviderRegistryProviderVersionMetadata"},"description":"Provider versions"}},"description":"Provider","required":["id","account","type","description","versions","created","updated"]},"HarnessIacmProviderRegistryProviderVersionMetadata":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string"},"description":"Uploaded provider files"},"synced":{"type":"boolean","description":"Provider version synced"},"tier":{"type":"string","description":"Lifecycle tier of the version (supported, warning, deprecated)"},"version":{"type":"string","description":"Provider version"}},"description":"ProviderVersionMetadata contains metadata about a specific provider version","required":["version","synced","files"]}}}}
```

## The GetProviderVersionResponseBody object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"GetProviderVersionResponseBody":{"type":"object","properties":{"gpg_key_id":{"type":"string","description":"GPG key ID"},"id":{"type":"string","description":"Provider version ID"},"protocols":{"type":"array","items":{"type":"string"},"description":"Supported Terraform protocol versions"}},"required":["id","gpg_key_id","protocols"]}}}}
```

## The HarnessIacmModuleRegistryCreateModule object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryCreateModule":{"type":"object","properties":{"account":{"type":"string","description":"Harness account ID that owns the module.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Free-form text describing the purpose and usage of the module."},"git_tag_style":{"type":"string","description":"Pattern used to match Git tags for module versioning. Use 'module-name-*' to match tags like 'my-vpc-module-v1.0.0'."},"id":{"type":"string","description":"module id"},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"onboarding_pipeline":{"type":"string","description":"Identifier of the Harness pipeline used for module onboarding and metadata sync."},"onboarding_pipeline_org":{"type":"string","description":"Organization where the onboarding pipeline is defined. Defaults to scope_org if not provided."},"onboarding_pipeline_project":{"type":"string","description":"Project where the onboarding pipeline is defined. Defaults to scope_project if not provided."},"onboarding_pipeline_sync":{"type":"boolean","description":"When true, module metadata is automatically synced via the onboarding pipeline when new Git tags are pushed.","default":false},"onboarding_pipeline_wh":{"type":"string","description":"Webhook identifier used to trigger the onboarding pipeline on Git events.","default":""},"org":{"type":"string","description":"Organization identifier where the Git connector is defined. Defaults to scope_org if not provided.","maxLength":1024},"project":{"type":"string","description":"Project identifier where the Git connector is defined. Defaults to scope_project if not provided.","maxLength":1024},"repository":{"type":"string","description":"Name of the Git repository that contains the module source code."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Harness Git connector identifier used to access the Git repository. Must reference a valid Git connector in your account. Leave empty when using Harness Code as the repository source."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"scope_org":{"type":"string","description":"Organization identifier where the module is scoped.","maxLength":1024},"scope_project":{"type":"string","description":"Project identifier where the module is scoped.","maxLength":1024},"storage_type":{"type":"string","description":"Defines how module versions are stored. 'git_reference' resolves versions from Git tags; 'artifact' stores uploaded archive files.","default":"git_reference","enum":["git_reference","artifact"]},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"string","description":"Comma-separated list of tags to categorize the module (e.g. networking,vpc,aws)."},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"}},"required":["account","name","system","id","created","updated"]}}}}
```

## The HarnessIacmModuleRegistryDownload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryDownload":{"type":"object","properties":{"location":{"type":"string","description":"location of the artifact"},"url":{"type":"string","description":"url of the module for a given version"}},"description":"DownloadModule returns the url of the module for a given version","required":["url"]}}}}
```

## The HarnessIacmModuleRegistryLifecycleBatchCheck object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryLifecycleBatchCheck":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ModuleLifecycleBatchCheckResult"},"description":"Lifecycle violations found; items with no rule or supported tier are omitted"}},"description":"Batch lifecycle check results; only violations (warning or deprecated) are included","required":["results"]},"ModuleLifecycleBatchCheckResult":{"type":"object","properties":{"action":{"type":"string","description":"Enforcement action for the tier","enum":["no_action","warn","fail"]},"minimum_supported_version":{"type":"string","description":"The lowest-numbered version currently in the supported tier"},"name":{"type":"string","description":"Module name"},"namespace":{"type":"string","description":"Encoded namespace identifying the module scope"},"system":{"type":"string","description":"Module system (provider)"},"tier":{"type":"string","description":"Lifecycle tier: warning or deprecated","enum":["warning","deprecated"]},"version":{"type":"string","description":"Module version"}},"description":"Lifecycle check result for a single module item","required":["namespace","name","system","version","tier","action"]}}}}
```

## The HarnessIacmModuleRegistryLifecycleRule object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryLifecycleRule":{"type":"object","properties":{"deprecated_action":{"type":"string","description":"Enforcement action for deprecated-tier versions","default":"fail","enum":["no_action","warn","fail"]},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/ModuleLifecycleOverride"},"description":"Manual per-version tier overrides","maxItems":1000},"supported_action":{"type":"string","description":"Enforcement action for supported-tier versions","default":"no_action","enum":["no_action","warn","fail"]},"supported_count":{"type":"integer","description":"Number of most-recent non-pre-release versions classified as supported","format":"int64","minimum":1},"warning_action":{"type":"string","description":"Enforcement action for warning-tier versions","default":"warn","enum":["no_action","warn","fail"]},"warning_count":{"type":"integer","description":"Number of versions immediately after the supported window classified as warning","format":"int64","minimum":0}},"description":"Lifecycle rule for a module, including overrides","required":["supported_count","warning_count","supported_action","warning_action","deprecated_action"]},"ModuleLifecycleOverride":{"type":"object","properties":{"reason":{"type":"string","description":"Optional reason for this override","maxLength":1000},"tier":{"type":"string","description":"Lifecycle tier to assign to this version","enum":["supported","warning","deprecated"]},"version":{"type":"string","description":"Version string to override","minLength":1}},"description":"Manual lifecycle tier override for a specific module version","required":["version","tier"]}}}}
```

## The HarnessIacmModuleRegistryListVersions object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryListVersions":{"type":"object","properties":{"modules":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmModuleRegistryVersions"},"description":"list of versions for a given module"}},"description":"ListVersions returns the list of versions for a given module","required":["modules"]},"HarnessIacmModuleRegistryVersions":{"type":"object","properties":{"versions":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmModuleRegistryVersionTypes"},"description":"list of versions for a given module"}},"description":"Versions returns the list of versions for a given module","required":["versions"]},"HarnessIacmModuleRegistryVersionTypes":{"type":"object","properties":{"git_version":{"type":"string","description":"git version"},"module_version":{"type":"string","description":"module version"}},"description":"Returns the module_version and git_version for a specific module","required":["module_version","git_version"]}}}}
```

## The HarnessIacmModuleRegistryModule object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryModule":{"type":"object","properties":{"account":{"type":"string","description":"Harness account ID that owns the module.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Free-form text describing the purpose and usage of the module."},"git_tag_style":{"type":"string","description":"Pattern used to match Git tags for module versioning. Use 'module-name-*' to match tags like 'my-vpc-module-v1.0.0'."},"id":{"type":"string","description":"module id"},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"onboarding_pipeline":{"type":"string","description":"Identifier of the Harness pipeline used for module onboarding and metadata sync."},"onboarding_pipeline_org":{"type":"string","description":"Organization where the onboarding pipeline is defined. Defaults to scope_org if not provided."},"onboarding_pipeline_project":{"type":"string","description":"Project where the onboarding pipeline is defined. Defaults to scope_project if not provided."},"onboarding_pipeline_sync":{"type":"boolean","description":"When true, module metadata is automatically synced via the onboarding pipeline when new Git tags are pushed.","default":false},"onboarding_pipeline_wh":{"type":"string","description":"Webhook identifier used to trigger the onboarding pipeline on Git events.","default":""},"org":{"type":"string","description":"Organization identifier where the Git connector is defined. Defaults to scope_org if not provided.","maxLength":1024},"project":{"type":"string","description":"Project identifier where the Git connector is defined. Defaults to scope_project if not provided.","maxLength":1024},"repository":{"type":"string","description":"Name of the Git repository that contains the module source code."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Harness Git connector identifier used to access the Git repository. Must reference a valid Git connector in your account. Leave empty when using Harness Code as the repository source."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"scope_org":{"type":"string","description":"Organization identifier where the module is scoped.","maxLength":1024},"scope_project":{"type":"string","description":"Project identifier where the module is scoped.","maxLength":1024},"storage_type":{"type":"string","description":"Defines how module versions are stored. 'git_reference' resolves versions from Git tags; 'artifact' stores uploaded archive files.","default":"git_reference","enum":["git_reference","artifact"]},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"string","description":"Comma-separated list of tags to categorize the module (e.g. networking,vpc,aws)."},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"}},"description":"Type that describes the attributes stored in the iac-server related with a specific module","required":["account","name","system","id","created","updated"]}}}}
```

## The HarnessIacmModuleRegistryModuleList object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryModuleList":{"type":"object","properties":{"account":{"type":"string","description":"Harness account ID that owns the module.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Free-form text describing the purpose and usage of the module."},"domain_prefix":{"type":"string","description":"Domain prefix for the module"},"git_tag_style":{"type":"string","description":"Pattern used to match Git tags for module versioning. Use 'module-name-*' to match tags like 'my-vpc-module-v1.0.0'."},"id":{"type":"string","description":"module id"},"module_error":{"type":"string","description":"error while retrieving the module"},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"namespace":{"type":"string","description":"Namespace derived from account, org and project for use with the Terraform module registry"},"onboarding_pipeline":{"type":"string","description":"Identifier of the Harness pipeline used for module onboarding and metadata sync."},"onboarding_pipeline_org":{"type":"string","description":"Organization where the onboarding pipeline is defined. Defaults to scope_org if not provided."},"onboarding_pipeline_project":{"type":"string","description":"Project where the onboarding pipeline is defined. Defaults to scope_project if not provided."},"onboarding_pipeline_sync":{"type":"boolean","description":"When true, module metadata is automatically synced via the onboarding pipeline when new Git tags are pushed.","default":false},"onboarding_pipeline_wh":{"type":"string","description":"Webhook identifier used to trigger the onboarding pipeline on Git events.","default":""},"org":{"type":"string","description":"Organization identifier where the Git connector is defined. Defaults to scope_org if not provided.","maxLength":1024},"project":{"type":"string","description":"Project identifier where the Git connector is defined. Defaults to scope_project if not provided.","maxLength":1024},"repository":{"type":"string","description":"Name of the Git repository that contains the module source code."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Harness Git connector identifier used to access the Git repository. Must reference a valid Git connector in your account. Leave empty when using Harness Code as the repository source."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_url":{"type":"string","description":"Repository url."},"scope_org":{"type":"string","description":"Organization identifier where the module is scoped.","maxLength":1024},"scope_project":{"type":"string","description":"Project identifier where the module is scoped.","maxLength":1024},"storage_type":{"type":"string","description":"Defines how module versions are stored. 'git_reference' resolves versions from Git tags; 'artifact' stores uploaded archive files.","default":"git_reference","enum":["git_reference","artifact"]},"synced":{"type":"integer","description":"Synced is the unix timestamp at which the resource was synced for the last time in milliseconds.","format":"int64"},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"string","description":"Comma-separated list of tags to categorize the module (e.g. networking,vpc,aws)."},"testing_enabled":{"type":"boolean","description":"testing enabled"},"testing_metadata":{"$ref":"#/components/schemas/HarnessIacmModuleRegistryModuleTestingMetadata"},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"version_statuses":{"type":"object","description":"Map of module version to lifecycle status (supported, warning, deprecated). Populated only when the lifecycle feature flag is enabled.","additionalProperties":{"type":"string"}},"versions":{"type":"array","items":{"type":"string"},"description":"versions"}},"required":["account","name","system","id","created","updated","synced"]},"HarnessIacmModuleRegistryModuleTestingMetadata":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipelines":{"type":"array","items":{"type":"string"},"description":"pipelines where the testing is enabled"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"provider connector for testing purposes"},"provisioner_type":{"type":"string","description":"provisioner type for testing purposes"},"provisioner_version":{"type":"string","description":"provisioner version for testing purposes"},"release_pipeline":{"type":"string","description":"release pipeline"}},"required":["account","org","project","provisioner_type","provisioner_version","provider_connector","pipelines"]}}}}
```

## The HarnessIacmModuleRegistryModuleMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryModuleMetadata":{"type":"object","properties":{"account":{"type":"string","description":"account name"},"dependencies":{"type":"array","items":{"$ref":"#/components/schemas/DependenciesMetadata"},"description":"Dependencies of the module"},"examples_paths":{"type":"array","items":{"type":"string"},"description":"Example directories discovered for this module version"},"metadata_error":{"type":"string","description":"error while retrieving the module"},"module_version":{"type":"string","description":"module version"},"name":{"type":"string","description":"module name"},"outputs":{"type":"array","items":{"$ref":"#/components/schemas/OutputMetadata"},"description":"Outputs of the module"},"providers":{"type":"array","items":{"$ref":"#/components/schemas/ProviderMetadata"},"description":"Providers of the module"},"resources":{"type":"array","items":{"$ref":"#/components/schemas/ResourceMetadata"},"description":"Resources of the module"},"scope_org":{"type":"string","description":"org name"},"scope_project":{"type":"string","description":"project name"},"submodule":{"type":"array","items":{"type":"string"},"description":"Submodules of the module"},"system":{"type":"string","description":"system name"},"variables":{"type":"array","items":{"$ref":"#/components/schemas/VariableMetadata"},"description":"Variables of the module"}},"description":"Type that describes the metadata stored in the iac-server related with a specific module and version","required":["account","name","system","module_version","outputs","providers","resources","variables"]},"DependenciesMetadata":{"type":"object","properties":{"dependency_name":{"type":"string","description":"Dependency name"},"dependency_source":{"type":"string","description":"Dependency source"},"dependency_version":{"type":"string","description":"Dependency version"}}},"OutputMetadata":{"type":"object","properties":{"output_description":{"type":"string","description":"Output description"},"output_name":{"type":"string","description":"Output name"},"output_sensitive":{"type":"boolean","description":"Output sensitivity"}}},"ProviderMetadata":{"type":"object","properties":{"provider_name":{"type":"string","description":"Provider name"},"provider_source":{"type":"string","description":"Provider source"},"provider_version":{"type":"string","description":"Provider version"}}},"ResourceMetadata":{"type":"object","properties":{"resource_name":{"type":"string","description":"Resource name"},"resource_type":{"type":"string","description":"Resource type"}}},"VariableMetadata":{"type":"object","properties":{"variable_default":{"type":"string","description":"Variable default value"},"variable_description":{"type":"string","description":"Variable description"},"variable_name":{"type":"string","description":"Variable name"},"variable_required":{"type":"boolean","description":"Is variable required"},"variable_sensitive":{"type":"boolean","description":"Is variable sensitive"},"variable_type":{"type":"string","description":"Variable type"}}}}}}
```

## The HarnessIacmModuleRegistryModuleTestingMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryModuleTestingMetadata":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipelines":{"type":"array","items":{"type":"string"},"description":"pipelines where the testing is enabled"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"provider connector for testing purposes"},"provisioner_type":{"type":"string","description":"provisioner type for testing purposes"},"provisioner_version":{"type":"string","description":"provisioner version for testing purposes"},"release_pipeline":{"type":"string","description":"release pipeline"}},"required":["account","org","project","provisioner_type","provisioner_version","provider_connector","pipelines"]}}}}
```

## The HarnessIacmModuleRegistryVersionStatus object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryVersionStatus":{"type":"object","properties":{"action":{"type":"string","description":"Enforcement action derived from the tier's rule action","enum":["no_action","warn","fail"]},"minimum_supported_version":{"type":"string","description":"The lowest-numbered version currently in the supported tier"},"tier":{"type":"string","description":"Lifecycle tier: supported, warning, or deprecated","enum":["supported","warning","deprecated"]}},"description":"Computed lifecycle status for a specific module version","required":["tier","action"]}}}}
```

## The HarnessIacmModuleRegistryVersionTypes object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryVersionTypes":{"type":"object","properties":{"git_version":{"type":"string","description":"git version"},"module_version":{"type":"string","description":"module version"}},"description":"Returns the module_version and git_version for a specific module","required":["module_version","git_version"]}}}}
```

## The HarnessIacmModuleRegistryVersions object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleRegistryVersions":{"type":"object","properties":{"versions":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmModuleRegistryVersionTypes"},"description":"list of versions for a given module"}},"description":"Versions returns the list of versions for a given module","required":["versions"]},"HarnessIacmModuleRegistryVersionTypes":{"type":"object","properties":{"git_version":{"type":"string","description":"git version"},"module_version":{"type":"string","description":"module version"}},"description":"Returns the module_version and git_version for a specific module","required":["module_version","git_version"]}}}}
```

## The HarnessIacmModuleexecutionresource object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmModuleexecutionresource":{"type":"object","properties":{"account":{"type":"string","description":"account name"},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"metadata":{"$ref":"#/components/schemas/ModuleExecutionMetadata"},"module_onboarding":{"type":"boolean","description":"Is module onboarding execution","default":false},"moduleId":{"type":"string","description":"The unique identifier for the associated module"},"org":{"type":"string"},"project":{"type":"string"},"status":{"type":"string","description":"The overall status of the execution"}},"description":"ModuleExecutionResource is the representation for a single module execution.","required":["org","project","status","created","account","pipeline_org","pipeline_project","pipelineExecutionId","pipelineStageId","moduleId","pipeline"]},"ModuleExecutionMetadata":{"type":"object","properties":{"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}}}}}
```

## The HarnessIacmProviderRegistryGpgPublicKey object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProviderRegistryGpgPublicKey":{"type":"object","properties":{"ascii_armor":{"type":"string","description":"ASCII-armored GPG public key"},"key_id":{"type":"string","description":"GPG key ID"}},"description":"GPGPublicKey contains a GPG public key for provider verification","required":["key_id","ascii_armor"]}}}}
```

## The HarnessIacmProviderRegistryLifecycleBatchCheck object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProviderRegistryLifecycleBatchCheck":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ProviderLifecycleBatchCheckResult"},"description":"Lifecycle violations found; items with no rule or supported tier are omitted"}},"description":"Batch lifecycle check results; only violations (warning or deprecated) are included","required":["results"]},"ProviderLifecycleBatchCheckResult":{"type":"object","properties":{"action":{"type":"string","description":"Enforcement action for the tier","enum":["no_action","warn","fail"]},"minimum_supported_version":{"type":"string","description":"The lowest-numbered version currently in the supported tier"},"namespace":{"type":"string","description":"Namespace identifying the provider scope"},"tier":{"type":"string","description":"Lifecycle tier: warning or deprecated","enum":["warning","deprecated"]},"type":{"type":"string","description":"Provider type"},"version":{"type":"string","description":"Provider version"}},"description":"Lifecycle check result for a single provider item","required":["namespace","type","version","tier","action"]}}}}
```

## The HarnessIacmProviderRegistryLifecycleRule object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProviderRegistryLifecycleRule":{"type":"object","properties":{"deprecated_action":{"type":"string","description":"Enforcement action for deprecated-tier versions","default":"fail","enum":["no_action","warn","fail"]},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/ProviderLifecycleOverride"},"description":"Manual per-version tier overrides","maxItems":1000},"supported_action":{"type":"string","description":"Enforcement action for supported-tier versions","default":"no_action","enum":["no_action","warn","fail"]},"supported_count":{"type":"integer","description":"Number of most-recent non-pre-release versions classified as supported","format":"int64","minimum":1},"warning_action":{"type":"string","description":"Enforcement action for warning-tier versions","default":"warn","enum":["no_action","warn","fail"]},"warning_count":{"type":"integer","description":"Number of versions immediately after the supported window classified as warning","format":"int64","minimum":0}},"description":"Lifecycle rule for a provider, including overrides","required":["supported_count","warning_count","supported_action","warning_action","deprecated_action"]},"ProviderLifecycleOverride":{"type":"object","properties":{"reason":{"type":"string","description":"Optional reason for this override","maxLength":1000},"tier":{"type":"string","description":"Lifecycle tier to assign to this version","enum":["supported","warning","deprecated"]},"version":{"type":"string","description":"Version string to override","minLength":1}},"description":"Manual lifecycle tier override for a specific provider version","required":["version","tier"]}}}}
```

## The HarnessIacmProviderRegistryPlatform object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProviderRegistryPlatform":{"type":"object","properties":{"arch":{"type":"string","description":"Architecture"},"os":{"type":"string","description":"Operating system"}},"description":"Platform defines an operating system and architecture combination","required":["os","arch"]}}}}
```

## The HarnessIacmProviderRegistryProvider object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProviderRegistryProvider":{"type":"object","properties":{"account":{"type":"string","description":"Account that owns the provider"},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Description of the provider"},"domain_prefix":{"type":"string","description":"Domain prefix of the provider"},"id":{"type":"string","description":"Provider ID"},"namespace":{"type":"string","description":"Provider namespace"},"type":{"type":"string","description":"Provider type"},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"versions":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmProviderRegistryProviderVersionMetadata"},"description":"Provider versions"}},"description":"Provider contains information about a Terraform provider","required":["id","account","type","description","versions","created","updated"]},"HarnessIacmProviderRegistryProviderVersionMetadata":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string"},"description":"Uploaded provider files"},"synced":{"type":"boolean","description":"Provider version synced"},"tier":{"type":"string","description":"Lifecycle tier of the version (supported, warning, deprecated)"},"version":{"type":"string","description":"Provider version"}},"description":"ProviderVersionMetadata contains metadata about a specific provider version","required":["version","synced","files"]}}}}
```

## The HarnessIacmProviderRegistryProviderDownload object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProviderRegistryProviderDownload":{"type":"object","properties":{"arch":{"type":"string","description":"Architecture"},"download_url":{"type":"string","description":"URL to download the provider binary"},"filename":{"type":"string","description":"Provider binary filename"},"os":{"type":"string","description":"Operating system"},"protocols":{"type":"array","items":{"type":"string"},"description":"Supported Terraform protocol versions"},"shasum":{"type":"string","description":"SHA256 checksum of the provider binary"},"shasums_signature_url":{"type":"string","description":"URL to download the checksums signature"},"shasums_url":{"type":"string","description":"URL to download the checksums file"},"signing_keys":{"$ref":"#/components/schemas/HarnessIacmProviderRegistrySigningKeys"}},"description":"ProviderDownloadResponse contains information for downloading a provider","required":["protocols","os","arch","filename","download_url","shasums_url","shasums_signature_url","shasum","signing_keys"]},"HarnessIacmProviderRegistrySigningKeys":{"type":"object","properties":{"gpg_public_keys":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmProviderRegistryGpgPublicKey"},"description":"GPG public keys"}},"description":"SigningKeys contains GPG public keys used for provider verification","required":["gpg_public_keys"]},"HarnessIacmProviderRegistryGpgPublicKey":{"type":"object","properties":{"ascii_armor":{"type":"string","description":"ASCII-armored GPG public key"},"key_id":{"type":"string","description":"GPG key ID"}},"description":"GPGPublicKey contains a GPG public key for provider verification","required":["key_id","ascii_armor"]}}}}
```

## The HarnessIacmProviderRegistryProviderVersion object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProviderRegistryProviderVersion":{"type":"object","properties":{"platforms":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmProviderRegistryPlatform"},"description":"Supported platforms"},"protocols":{"type":"array","items":{"type":"string"},"description":"Supported Terraform protocol versions"},"version":{"type":"string","description":"Provider version"}},"description":"ProviderVersion contains information about a specific provider version","required":["version","protocols","platforms"]},"HarnessIacmProviderRegistryPlatform":{"type":"object","properties":{"arch":{"type":"string","description":"Architecture"},"os":{"type":"string","description":"Operating system"}},"description":"Platform defines an operating system and architecture combination","required":["os","arch"]}}}}
```

## The HarnessIacmProviderRegistryProviderVersionMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProviderRegistryProviderVersionMetadata":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string"},"description":"Uploaded provider files"},"synced":{"type":"boolean","description":"Provider version synced"},"tier":{"type":"string","description":"Lifecycle tier of the version (supported, warning, deprecated)"},"version":{"type":"string","description":"Provider version"}},"description":"ProviderVersionMetadata contains metadata about a specific provider version","required":["version","synced","files"]}}}}
```

## The HarnessIacmProviderRegistryProviderVersions object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProviderRegistryProviderVersions":{"type":"object","properties":{"versions":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmProviderRegistryProviderVersion"},"description":"List of available provider versions"}},"description":"ProviderVersionsResponse returns the list of available versions for a provider","required":["versions"]},"HarnessIacmProviderRegistryProviderVersion":{"type":"object","properties":{"platforms":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmProviderRegistryPlatform"},"description":"Supported platforms"},"protocols":{"type":"array","items":{"type":"string"},"description":"Supported Terraform protocol versions"},"version":{"type":"string","description":"Provider version"}},"description":"ProviderVersion contains information about a specific provider version","required":["version","protocols","platforms"]},"HarnessIacmProviderRegistryPlatform":{"type":"object","properties":{"arch":{"type":"string","description":"Architecture"},"os":{"type":"string","description":"Operating system"}},"description":"Platform defines an operating system and architecture combination","required":["os","arch"]}}}}
```

## The HarnessIacmProviderRegistrySigningKey object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProviderRegistrySigningKey":{"type":"object","properties":{"ascii_armor":{"type":"string","description":"ASCII-armored GPG public key"},"created_at":{"type":"string","description":"Creation timestamp"},"id":{"type":"string","description":"ID of the signing key"},"key_id":{"type":"string","description":"GPG key ID"},"key_name":{"type":"string","description":"GPG key name"},"updated_at":{"type":"string","description":"Last updated timestamp"},"user":{"type":"string","description":"User who uploaded the key"}},"description":"SigningKey contains a GPG key for provider verification","required":["id","key_id","ascii_armor","key_name","created_at","updated_at","user"]}}}}
```

## The HarnessIacmProviderRegistrySigningKeys object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProviderRegistrySigningKeys":{"type":"object","properties":{"gpg_public_keys":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmProviderRegistryGpgPublicKey"},"description":"GPG public keys"}},"description":"SigningKeys contains GPG public keys used for provider verification","required":["gpg_public_keys"]},"HarnessIacmProviderRegistryGpgPublicKey":{"type":"object","properties":{"ascii_armor":{"type":"string","description":"ASCII-armored GPG public key"},"key_id":{"type":"string","description":"GPG key ID"}},"description":"GPGPublicKey contains a GPG public key for provider verification","required":["key_id","ascii_armor"]}}}}
```

## The HarnessIacmProviderRegistryVersionStatus object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"HarnessIacmProviderRegistryVersionStatus":{"type":"object","properties":{"action":{"type":"string","description":"Enforcement action derived from the tier's rule action","enum":["no_action","warn","fail"]},"minimum_supported_version":{"type":"string","description":"The lowest-numbered version currently in the supported tier"},"tier":{"type":"string","description":"Lifecycle tier: supported, warning, or deprecated","enum":["supported","warning","deprecated"]}},"description":"Computed lifecycle status for a specific provider version","required":["tier","action"]}}}}
```

## The ListModuleByIDResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListModuleByIDResponse":{"type":"object","properties":{"account":{"type":"string","description":"Harness account ID that owns the module.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Free-form text describing the purpose and usage of the module."},"domain_prefix":{"type":"string","description":"Domain prefix for the module"},"git_tag_style":{"type":"string","description":"Pattern used to match Git tags for module versioning. Use 'module-name-*' to match tags like 'my-vpc-module-v1.0.0'."},"id":{"type":"string","description":"module id"},"module_error":{"type":"string","description":"error while retrieving the module"},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"namespace":{"type":"string","description":"Namespace derived from account, org and project for use with the Terraform module registry"},"onboarding_pipeline":{"type":"string","description":"Identifier of the Harness pipeline used for module onboarding and metadata sync."},"onboarding_pipeline_org":{"type":"string","description":"Organization where the onboarding pipeline is defined. Defaults to scope_org if not provided."},"onboarding_pipeline_project":{"type":"string","description":"Project where the onboarding pipeline is defined. Defaults to scope_project if not provided."},"onboarding_pipeline_sync":{"type":"boolean","description":"When true, module metadata is automatically synced via the onboarding pipeline when new Git tags are pushed.","default":false},"onboarding_pipeline_wh":{"type":"string","description":"Webhook identifier used to trigger the onboarding pipeline on Git events.","default":""},"org":{"type":"string","description":"Organization identifier where the Git connector is defined. Defaults to scope_org if not provided.","maxLength":1024},"project":{"type":"string","description":"Project identifier where the Git connector is defined. Defaults to scope_project if not provided.","maxLength":1024},"repository":{"type":"string","description":"Name of the Git repository that contains the module source code."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Harness Git connector identifier used to access the Git repository. Must reference a valid Git connector in your account. Leave empty when using Harness Code as the repository source."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_url":{"type":"string","description":"Repository url."},"scope_org":{"type":"string","description":"Organization identifier where the module is scoped.","maxLength":1024},"scope_project":{"type":"string","description":"Project identifier where the module is scoped.","maxLength":1024},"storage_type":{"type":"string","description":"Defines how module versions are stored. 'git_reference' resolves versions from Git tags; 'artifact' stores uploaded archive files.","default":"git_reference","enum":["git_reference","artifact"]},"synced":{"type":"integer","description":"Synced is the unix timestamp at which the resource was synced for the last time in milliseconds.","format":"int64"},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"string","description":"Comma-separated list of tags to categorize the module (e.g. networking,vpc,aws)."},"testing_enabled":{"type":"boolean","description":"testing enabled"},"testing_metadata":{"$ref":"#/components/schemas/HarnessIacmModuleRegistryModuleTestingMetadata"},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"version_statuses":{"type":"object","description":"Map of module version to lifecycle status (supported, warning, deprecated). Populated only when the lifecycle feature flag is enabled.","additionalProperties":{"type":"string"}},"versions":{"type":"array","items":{"type":"string"},"description":"versions"}},"required":["account","name","system","id","created","updated","synced"]},"HarnessIacmModuleRegistryModuleTestingMetadata":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipelines":{"type":"array","items":{"type":"string"},"description":"pipelines where the testing is enabled"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"provider connector for testing purposes"},"provisioner_type":{"type":"string","description":"provisioner type for testing purposes"},"provisioner_version":{"type":"string","description":"provisioner version for testing purposes"},"release_pipeline":{"type":"string","description":"release pipeline"}},"required":["account","org","project","provisioner_type","provisioner_version","provider_connector","pipelines"]}}}}
```

## The ListModuleExampleTreeResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListModuleExampleTreeResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ExampleTreeItem"},"description":"immediate children at the requested path"}},"required":["items"]},"ExampleTreeItem":{"type":"object","properties":{"content_type":{"type":"string","description":"kind of entry","enum":["file","directory"]},"name":{"type":"string","description":"leaf name of the entry (no path separators)"},"path":{"type":"string","description":"full relative path from the module root, forward-slash separated"}},"required":["name","path","content_type"]}}}}
```

## The ListModuleMetadataResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListModuleMetadataResponse":{"type":"object","properties":{"account":{"type":"string","description":"account name"},"dependencies":{"type":"array","items":{"$ref":"#/components/schemas/DependenciesMetadata"},"description":"Dependencies of the module"},"examples_paths":{"type":"array","items":{"type":"string"},"description":"Example directories discovered for this module version"},"metadata_error":{"type":"string","description":"error while retrieving the module"},"module_version":{"type":"string","description":"module version"},"name":{"type":"string","description":"module name"},"outputs":{"type":"array","items":{"$ref":"#/components/schemas/OutputMetadata"},"description":"Outputs of the module"},"providers":{"type":"array","items":{"$ref":"#/components/schemas/ProviderMetadata"},"description":"Providers of the module"},"resources":{"type":"array","items":{"$ref":"#/components/schemas/ResourceMetadata"},"description":"Resources of the module"},"scope_org":{"type":"string","description":"org name"},"scope_project":{"type":"string","description":"project name"},"submodule":{"type":"array","items":{"type":"string"},"description":"Submodules of the module"},"system":{"type":"string","description":"system name"},"variables":{"type":"array","items":{"$ref":"#/components/schemas/VariableMetadata"},"description":"Variables of the module"}},"required":["account","name","system","module_version","outputs","providers","resources","variables"]},"DependenciesMetadata":{"type":"object","properties":{"dependency_name":{"type":"string","description":"Dependency name"},"dependency_source":{"type":"string","description":"Dependency source"},"dependency_version":{"type":"string","description":"Dependency version"}}},"OutputMetadata":{"type":"object","properties":{"output_description":{"type":"string","description":"Output description"},"output_name":{"type":"string","description":"Output name"},"output_sensitive":{"type":"boolean","description":"Output sensitivity"}}},"ProviderMetadata":{"type":"object","properties":{"provider_name":{"type":"string","description":"Provider name"},"provider_source":{"type":"string","description":"Provider source"},"provider_version":{"type":"string","description":"Provider version"}}},"ResourceMetadata":{"type":"object","properties":{"resource_name":{"type":"string","description":"Resource name"},"resource_type":{"type":"string","description":"Resource type"}}},"VariableMetadata":{"type":"object","properties":{"variable_default":{"type":"string","description":"Variable default value"},"variable_description":{"type":"string","description":"Variable description"},"variable_name":{"type":"string","description":"Variable name"},"variable_required":{"type":"boolean","description":"Is variable required"},"variable_sensitive":{"type":"boolean","description":"Is variable sensitive"},"variable_type":{"type":"string","description":"Variable type"}}}}}}
```

## The ListModuleVersionsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListModuleVersionsResponse":{"type":"object","properties":{"modules":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmModuleRegistryVersions"},"description":"list of versions for a given module"}},"required":["modules"]},"HarnessIacmModuleRegistryVersions":{"type":"object","properties":{"versions":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmModuleRegistryVersionTypes"},"description":"list of versions for a given module"}},"description":"Versions returns the list of versions for a given module","required":["versions"]},"HarnessIacmModuleRegistryVersionTypes":{"type":"object","properties":{"git_version":{"type":"string","description":"git version"},"module_version":{"type":"string","description":"module version"}},"description":"Returns the module_version and git_version for a specific module","required":["module_version","git_version"]}}}}
```

## The ListProviderVersionsResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ListProviderVersionsResponse":{"type":"object","properties":{"versions":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmProviderRegistryProviderVersion"},"description":"List of available provider versions"}},"description":"List of provider versions","required":["versions"]},"HarnessIacmProviderRegistryProviderVersion":{"type":"object","properties":{"platforms":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmProviderRegistryPlatform"},"description":"Supported platforms"},"protocols":{"type":"array","items":{"type":"string"},"description":"Supported Terraform protocol versions"},"version":{"type":"string","description":"Provider version"}},"description":"ProviderVersion contains information about a specific provider version","required":["version","protocols","platforms"]},"HarnessIacmProviderRegistryPlatform":{"type":"object","properties":{"arch":{"type":"string","description":"Architecture"},"os":{"type":"string","description":"Operating system"}},"description":"Platform defines an operating system and architecture combination","required":["os","arch"]}}}}
```

## The Module object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Module":{"type":"object","properties":{"account":{"type":"string","description":"Harness account ID that owns the module.","minLength":1,"maxLength":128},"description":{"type":"string","description":"Free-form text describing the purpose and usage of the module."},"git_tag_style":{"type":"string","description":"Pattern used to match Git tags for module versioning. Use 'module-name-*' to match tags like 'my-vpc-module-v1.0.0'."},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"onboarding_pipeline":{"type":"string","description":"Identifier of the Harness pipeline used for module onboarding and metadata sync."},"onboarding_pipeline_org":{"type":"string","description":"Organization where the onboarding pipeline is defined. Defaults to scope_org if not provided."},"onboarding_pipeline_project":{"type":"string","description":"Project where the onboarding pipeline is defined. Defaults to scope_project if not provided."},"onboarding_pipeline_sync":{"type":"boolean","description":"When true, module metadata is automatically synced via the onboarding pipeline when new Git tags are pushed.","default":false},"onboarding_pipeline_wh":{"type":"string","description":"Webhook identifier used to trigger the onboarding pipeline on Git events.","default":""},"org":{"type":"string","description":"Organization identifier where the Git connector is defined. Defaults to scope_org if not provided.","maxLength":1024},"project":{"type":"string","description":"Project identifier where the Git connector is defined. Defaults to scope_project if not provided.","maxLength":1024},"repository":{"type":"string","description":"Name of the Git repository that contains the module source code."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Harness Git connector identifier used to access the Git repository. Must reference a valid Git connector in your account. Leave empty when using Harness Code as the repository source."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"scope_org":{"type":"string","description":"Organization identifier where the module is scoped.","maxLength":1024},"scope_project":{"type":"string","description":"Project identifier where the module is scoped.","maxLength":1024},"storage_type":{"type":"string","description":"Defines how module versions are stored. 'git_reference' resolves versions from Git tags; 'artifact' stores uploaded archive files.","default":"git_reference","enum":["git_reference","artifact"]},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"string","description":"Comma-separated list of tags to categorize the module (e.g. networking,vpc,aws)."}},"description":"Describes the attributes of a Module in the module registry"}}}}
```

## The ModuleData object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleData":{"type":"object","properties":{"account":{"type":"string","description":"account name"},"download_url":{"type":"string","description":"download url of the module"},"error":{"type":"object","description":"error from the tag operation","additionalProperties":{"type":"string"}},"examples_paths":{"type":"array","items":{"type":"string"},"description":"path of the examples relative to the module"},"git_tag":{"type":"string","description":"git tag of the module"},"metadata":{"type":"string","description":"metadata to be parsed"},"name":{"type":"string","description":"module name"},"repo_url":{"type":"string","description":"url pointing to the repo"},"scope_org":{"type":"string","description":"org name"},"scope_project":{"type":"string","description":"project name"},"submodule_name":{"type":"string","description":"name of the submodule been processed"},"submodule_paths":{"type":"array","items":{"type":"string"},"description":"path of the submodules relative to the module"},"system":{"type":"string","description":"system name"},"version":{"type":"string","description":"version of the module"}},"description":"Type used to create an entry in the module metadata table related with a module and a specific version","required":["account","name","system","version","metadata","download_url","git_tag"]}}}}
```

## The ModuleEvent object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleEvent":{"type":"object","properties":{"account":{"type":"string","description":"account name"},"eventType":{"type":"string","description":"The type of event that occurred"},"metadata":{"$ref":"#/components/schemas/ModuleExecutionMetadata"},"moduleId":{"type":"string","description":"module id associated with this event","minLength":1,"maxLength":1024},"org":{"type":"string","description":"pipeline org"},"project":{"type":"string","description":"pipeline project"}},"description":"ModuleEvent defines an individual module event","required":["moduleId","eventType","account","org","project"]},"ModuleExecutionMetadata":{"type":"object","properties":{"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}}}}}
```

## The ModuleExecution object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleExecution":{"type":"object","properties":{"account":{"type":"string","description":"account name"},"module_onboarding":{"type":"boolean","description":"Is module onboarding execution","default":false},"moduleId":{"type":"string","description":"The unique identifier for the associated module"},"pipeline":{"type":"string","description":"The unique identifier for the associated pipeline"},"pipeline_org":{"type":"string","description":"pipeline org"},"pipeline_project":{"type":"string","description":"pipeline project"},"pipelineExecutionId":{"type":"string","description":"The unique identifier for the associated pipeline execution"},"pipelineStageId":{"type":"string","description":"The unique identifier for the associated pipeline stage"}},"description":"ModuleExecution defines an individual execution of a module pipeline","required":["account","pipeline_org","pipeline_project","pipelineExecutionId","pipelineStageId","moduleId","pipeline"]}}}}
```

## The ModuleExecutionMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleExecutionMetadata":{"type":"object","properties":{"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}}}}}
```

## The ModuleExecutionResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleExecutionResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmModuleexecutionresource"}},"HarnessIacmModuleexecutionresource":{"type":"object","properties":{"account":{"type":"string","description":"account name"},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"metadata":{"$ref":"#/components/schemas/ModuleExecutionMetadata"},"module_onboarding":{"type":"boolean","description":"Is module onboarding execution","default":false},"moduleId":{"type":"string","description":"The unique identifier for the associated module"},"org":{"type":"string"},"project":{"type":"string"},"status":{"type":"string","description":"The overall status of the execution"}},"description":"ModuleExecutionResource is the representation for a single module execution.","required":["org","project","status","created","account","pipeline_org","pipeline_project","pipelineExecutionId","pipelineStageId","moduleId","pipeline"]},"ModuleExecutionMetadata":{"type":"object","properties":{"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}}}}}
```

## The ModuleLifecycleBatchCheckItem object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleLifecycleBatchCheckItem":{"type":"object","properties":{"name":{"type":"string","description":"Module name","minLength":1},"namespace":{"type":"string","description":"Encoded namespace identifying the module scope","minLength":1},"system":{"type":"string","description":"Module system (provider)","minLength":1},"version":{"type":"string","description":"Module version to check","minLength":1}},"description":"A single module item to check lifecycle status for","required":["namespace","name","system","version"]}}}}
```

## The ModuleLifecycleBatchCheckResult object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleLifecycleBatchCheckResult":{"type":"object","properties":{"action":{"type":"string","description":"Enforcement action for the tier","enum":["no_action","warn","fail"]},"minimum_supported_version":{"type":"string","description":"The lowest-numbered version currently in the supported tier"},"name":{"type":"string","description":"Module name"},"namespace":{"type":"string","description":"Encoded namespace identifying the module scope"},"system":{"type":"string","description":"Module system (provider)"},"tier":{"type":"string","description":"Lifecycle tier: warning or deprecated","enum":["warning","deprecated"]},"version":{"type":"string","description":"Module version"}},"description":"Lifecycle check result for a single module item","required":["namespace","name","system","version","tier","action"]}}}}
```

## The ModuleLifecycleOverride object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleLifecycleOverride":{"type":"object","properties":{"reason":{"type":"string","description":"Optional reason for this override","maxLength":1000},"tier":{"type":"string","description":"Lifecycle tier to assign to this version","enum":["supported","warning","deprecated"]},"version":{"type":"string","description":"Version string to override","minLength":1}},"description":"Manual lifecycle tier override for a specific module version","required":["version","tier"]}}}}
```

## The ModuleLifecycleRule object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleLifecycleRule":{"type":"object","properties":{"deprecated_action":{"type":"string","description":"Enforcement action for deprecated-tier versions","default":"fail","enum":["no_action","warn","fail"]},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/ModuleLifecycleOverride"},"description":"Manual per-version tier overrides","maxItems":1000},"supported_action":{"type":"string","description":"Enforcement action for supported-tier versions","default":"no_action","enum":["no_action","warn","fail"]},"supported_count":{"type":"integer","description":"Number of most-recent non-pre-release versions classified as supported","format":"int64","minimum":1},"warning_action":{"type":"string","description":"Enforcement action for warning-tier versions","default":"warn","enum":["no_action","warn","fail"]},"warning_count":{"type":"integer","description":"Number of versions immediately after the supported window classified as warning","format":"int64","minimum":0}},"description":"Lifecycle rule configuration for a module registry module","required":["supported_count","warning_count","supported_action","warning_action","deprecated_action"]},"ModuleLifecycleOverride":{"type":"object","properties":{"reason":{"type":"string","description":"Optional reason for this override","maxLength":1000},"tier":{"type":"string","description":"Lifecycle tier to assign to this version","enum":["supported","warning","deprecated"]},"version":{"type":"string","description":"Version string to override","minLength":1}},"description":"Manual lifecycle tier override for a specific module version","required":["version","tier"]}}}}
```

## The ModuleMetadataRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleMetadataRequest":{"type":"object","properties":{"account":{"type":"string","description":"account name"},"module_id":{"type":"string","description":"module id"},"scope_org":{"type":"string","description":"org name"},"scope_project":{"type":"string","description":"project name"},"submodule":{"type":"string","description":"submodule name"},"version":{"type":"string","description":"version of the module"}},"description":"Type to retrieve the metadata related to a specific version of a module","required":["module_id","account","version"]}}}}
```

## The ModuleRegistryCreateModuleResponseBody object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleRegistryCreateModuleResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Harness account ID that owns the module.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Free-form text describing the purpose and usage of the module."},"id":{"type":"string","description":"module id"},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Organization identifier where the Git connector is defined. Defaults to scope_org if not provided.","maxLength":1024},"project":{"type":"string","description":"Project identifier where the Git connector is defined. Defaults to scope_project if not provided.","maxLength":1024},"repository":{"type":"string","description":"Name of the Git repository that contains the module source code."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Harness Git connector identifier used to access the Git repository. Must reference a valid Git connector in your account. Leave empty when using Harness Code as the repository source."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"scope_org":{"type":"string","description":"Organization identifier where the module is scoped.","maxLength":1024},"scope_project":{"type":"string","description":"Project identifier where the module is scoped.","maxLength":1024},"storage_type":{"type":"string","description":"Defines how module versions are stored. 'git_reference' resolves versions from Git tags; 'artifact' stores uploaded archive files.","default":"git_reference","enum":["git_reference","artifact"]},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"string","description":"Comma-separated list of tags to categorize the module (e.g. networking,vpc,aws)."},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"}},"description":"Create-ModuleResponseBody result type (default view)","required":["account","name","system","id","created","updated"]}}}}
```

## The ModuleRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleRequest":{"type":"object","properties":{"account":{"type":"string","description":"Harness account ID that owns the module.","minLength":1,"maxLength":128},"description":{"type":"string","description":"Free-form text describing the purpose and usage of the module."},"git_tag_style":{"type":"string","description":"Pattern used to match Git tags for module versioning. Use 'module-name-*' to match tags like 'my-vpc-module-v1.0.0'."},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"onboarding_pipeline":{"type":"string","description":"Identifier of the Harness pipeline used for module onboarding and metadata sync."},"onboarding_pipeline_org":{"type":"string","description":"Organization where the onboarding pipeline is defined. Defaults to scope_org if not provided."},"onboarding_pipeline_project":{"type":"string","description":"Project where the onboarding pipeline is defined. Defaults to scope_project if not provided."},"onboarding_pipeline_sync":{"type":"boolean","description":"When true, module metadata is automatically synced via the onboarding pipeline when new Git tags are pushed.","default":false},"org":{"type":"string","description":"Organization identifier where the Git connector is defined. Defaults to scope_org if not provided.","maxLength":1024},"project":{"type":"string","description":"Project identifier where the Git connector is defined. Defaults to scope_project if not provided.","maxLength":1024},"repository":{"type":"string","description":"Name of the Git repository that contains the module source code."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Harness Git connector identifier used to access the Git repository. Must reference a valid Git connector in your account. Leave empty when using Harness Code as the repository source."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"scope_org":{"type":"string","description":"Organization identifier where the module is scoped.","maxLength":1024},"scope_project":{"type":"string","description":"Project identifier where the module is scoped.","maxLength":1024},"storage_type":{"type":"string","description":"Defines how module versions are stored. 'git_reference' resolves versions from Git tags; 'artifact' stores uploaded archive files.","default":"git_reference","enum":["git_reference","artifact"]},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"string","description":"Comma-separated list of tags to categorize the module (e.g. networking,vpc,aws)."}},"description":"Type used to create a module from a request","required":["account","name","system"]}}}}
```

## The ModuleResource object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleResource":{"type":"object","properties":{"account":{"type":"string","description":"Harness account ID that owns the module.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Free-form text describing the purpose and usage of the module."},"domain_prefix":{"type":"string","description":"Domain prefix for the module"},"git_tag_style":{"type":"string","description":"Pattern used to match Git tags for module versioning. Use 'module-name-*' to match tags like 'my-vpc-module-v1.0.0'."},"id":{"type":"string","description":"module id"},"module_error":{"type":"string","description":"error while retrieving the module"},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"namespace":{"type":"string","description":"Namespace derived from account, org and project for use with the Terraform module registry"},"onboarding_pipeline":{"type":"string","description":"Identifier of the Harness pipeline used for module onboarding and metadata sync."},"onboarding_pipeline_org":{"type":"string","description":"Organization where the onboarding pipeline is defined. Defaults to scope_org if not provided."},"onboarding_pipeline_project":{"type":"string","description":"Project where the onboarding pipeline is defined. Defaults to scope_project if not provided."},"onboarding_pipeline_sync":{"type":"boolean","description":"When true, module metadata is automatically synced via the onboarding pipeline when new Git tags are pushed.","default":false},"org":{"type":"string","description":"Organization identifier where the Git connector is defined. Defaults to scope_org if not provided.","maxLength":1024},"project":{"type":"string","description":"Project identifier where the Git connector is defined. Defaults to scope_project if not provided.","maxLength":1024},"repository":{"type":"string","description":"Name of the Git repository that contains the module source code."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Harness Git connector identifier used to access the Git repository. Must reference a valid Git connector in your account. Leave empty when using Harness Code as the repository source."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_url":{"type":"string","description":"Repository url."},"scope_org":{"type":"string","description":"Organization identifier where the module is scoped.","maxLength":1024},"scope_project":{"type":"string","description":"Project identifier where the module is scoped.","maxLength":1024},"storage_type":{"type":"string","description":"Defines how module versions are stored. 'git_reference' resolves versions from Git tags; 'artifact' stores uploaded archive files.","default":"git_reference","enum":["git_reference","artifact"]},"synced":{"type":"integer","description":"Synced is the unix timestamp at which the resource was synced for the last time in milliseconds.","format":"int64"},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"string","description":"Comma-separated list of tags to categorize the module (e.g. networking,vpc,aws)."},"testing_enabled":{"type":"boolean","description":"testing enabled"},"testing_metadata":{"$ref":"#/components/schemas/ModuleTestingMetadata"},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"version_statuses":{"type":"object","description":"Map of module version to lifecycle status (supported, warning, deprecated). Populated only when the lifecycle feature flag is enabled.","additionalProperties":{"type":"string"}},"versions":{"type":"array","items":{"type":"string"},"description":"versions"}},"description":"ModuleResource result type (default view)","required":["account","name","system","id","created","updated","synced"]},"ModuleTestingMetadata":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipelines":{"type":"array","items":{"type":"string"},"description":"pipelines where the testing is enabled"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"provider connector for testing purposes"},"provisioner_type":{"type":"string","description":"provisioner type for testing purposes"},"provisioner_version":{"type":"string","description":"provisioner version for testing purposes"},"release_pipeline":{"type":"string","description":"release pipeline"}},"description":"ModuleTestingMetadata result type (default view)","required":["account","org","project","provisioner_type","provisioner_version","provider_connector","pipelines"]}}}}
```

## The ModuleResourceCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/ModuleResource"},"description":"ModuleResourceCollection is the result type for an array of ModuleResource (default view)"},"ModuleResource":{"type":"object","properties":{"account":{"type":"string","description":"Harness account ID that owns the module.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Free-form text describing the purpose and usage of the module."},"domain_prefix":{"type":"string","description":"Domain prefix for the module"},"git_tag_style":{"type":"string","description":"Pattern used to match Git tags for module versioning. Use 'module-name-*' to match tags like 'my-vpc-module-v1.0.0'."},"id":{"type":"string","description":"module id"},"module_error":{"type":"string","description":"error while retrieving the module"},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"namespace":{"type":"string","description":"Namespace derived from account, org and project for use with the Terraform module registry"},"onboarding_pipeline":{"type":"string","description":"Identifier of the Harness pipeline used for module onboarding and metadata sync."},"onboarding_pipeline_org":{"type":"string","description":"Organization where the onboarding pipeline is defined. Defaults to scope_org if not provided."},"onboarding_pipeline_project":{"type":"string","description":"Project where the onboarding pipeline is defined. Defaults to scope_project if not provided."},"onboarding_pipeline_sync":{"type":"boolean","description":"When true, module metadata is automatically synced via the onboarding pipeline when new Git tags are pushed.","default":false},"org":{"type":"string","description":"Organization identifier where the Git connector is defined. Defaults to scope_org if not provided.","maxLength":1024},"project":{"type":"string","description":"Project identifier where the Git connector is defined. Defaults to scope_project if not provided.","maxLength":1024},"repository":{"type":"string","description":"Name of the Git repository that contains the module source code."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Harness Git connector identifier used to access the Git repository. Must reference a valid Git connector in your account. Leave empty when using Harness Code as the repository source."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"repository_url":{"type":"string","description":"Repository url."},"scope_org":{"type":"string","description":"Organization identifier where the module is scoped.","maxLength":1024},"scope_project":{"type":"string","description":"Project identifier where the module is scoped.","maxLength":1024},"storage_type":{"type":"string","description":"Defines how module versions are stored. 'git_reference' resolves versions from Git tags; 'artifact' stores uploaded archive files.","default":"git_reference","enum":["git_reference","artifact"]},"synced":{"type":"integer","description":"Synced is the unix timestamp at which the resource was synced for the last time in milliseconds.","format":"int64"},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"string","description":"Comma-separated list of tags to categorize the module (e.g. networking,vpc,aws)."},"testing_enabled":{"type":"boolean","description":"testing enabled"},"testing_metadata":{"$ref":"#/components/schemas/ModuleTestingMetadata"},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"version_statuses":{"type":"object","description":"Map of module version to lifecycle status (supported, warning, deprecated). Populated only when the lifecycle feature flag is enabled.","additionalProperties":{"type":"string"}},"versions":{"type":"array","items":{"type":"string"},"description":"versions"}},"description":"ModuleResource result type (default view)","required":["account","name","system","id","created","updated","synced"]},"ModuleTestingMetadata":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipelines":{"type":"array","items":{"type":"string"},"description":"pipelines where the testing is enabled"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"provider connector for testing purposes"},"provisioner_type":{"type":"string","description":"provisioner type for testing purposes"},"provisioner_version":{"type":"string","description":"provisioner version for testing purposes"},"release_pipeline":{"type":"string","description":"release pipeline"}},"description":"ModuleTestingMetadata result type (default view)","required":["account","org","project","provisioner_type","provisioner_version","provider_connector","pipelines"]}}}}
```

## The ModuleTagRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleTagRequest":{"type":"object","properties":{"account":{"type":"string","description":"Harness account ID that owns the module.","minLength":1,"maxLength":128},"error":{"type":"object","description":"error from the tag operation","additionalProperties":{"type":"string"}},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"scope_org":{"type":"string","description":"Organization identifier where the module is scoped.","maxLength":1024},"scope_project":{"type":"string","description":"Project identifier where the module is scoped.","maxLength":1024},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"array","items":{"type":"string"},"description":"tags defining the module"}},"description":"Type used to create a request to post data in relation to the tags of a module","required":["account","name","system"]}}}}
```

## The ModuleTestingMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleTestingMetadata":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"pipelines":{"type":"array","items":{"type":"string"},"description":"pipelines where the testing is enabled"},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"provider_connector":{"type":"string","description":"provider connector for testing purposes"},"provisioner_type":{"type":"string","description":"provisioner type for testing purposes"},"provisioner_version":{"type":"string","description":"provisioner version for testing purposes"},"release_pipeline":{"type":"string","description":"release pipeline"}},"description":"ModuleTestingMetadata result type (default view)","required":["account","org","project","provisioner_type","provisioner_version","provider_connector","pipelines"]}}}}
```

## The ModuleUpdate object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ModuleUpdate":{"type":"object","properties":{"account":{"type":"string","description":"Harness account ID that owns the module.","minLength":1,"maxLength":128},"description":{"type":"string","description":"Free-form text describing the purpose and usage of the module."},"git_tag_style":{"type":"string","description":"Pattern used to match Git tags for module versioning. Use 'module-name-*' to match tags like 'my-vpc-module-v1.0.0'."},"id":{"type":"string","description":"module id"},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"onboarding_pipeline":{"type":"string","description":"Identifier of the Harness pipeline used for module onboarding and metadata sync."},"onboarding_pipeline_org":{"type":"string","description":"Organization where the onboarding pipeline is defined. Defaults to scope_org if not provided."},"onboarding_pipeline_project":{"type":"string","description":"Project where the onboarding pipeline is defined. Defaults to scope_project if not provided."},"onboarding_pipeline_sync":{"type":"boolean","description":"When true, module metadata is automatically synced via the onboarding pipeline when new Git tags are pushed.","default":false},"org":{"type":"string","description":"Organization identifier where the Git connector is defined. Defaults to scope_org if not provided.","maxLength":1024},"project":{"type":"string","description":"Project identifier where the Git connector is defined. Defaults to scope_project if not provided.","maxLength":1024},"repository":{"type":"string","description":"Name of the Git repository that contains the module source code."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Harness Git connector identifier used to access the Git repository. Must reference a valid Git connector in your account. Leave empty when using Harness Code as the repository source."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"scope_org":{"type":"string","description":"Organization identifier where the module is scoped.","maxLength":1024},"scope_project":{"type":"string","description":"Project identifier where the module is scoped.","maxLength":1024},"storage_type":{"type":"string","description":"Defines how module versions are stored. 'git_reference' resolves versions from Git tags; 'artifact' stores uploaded archive files.","default":"git_reference","enum":["git_reference","artifact"]},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"string","description":"Comma-separated list of tags to categorize the module (e.g. networking,vpc,aws)."}},"description":"ModuleUpdate defines the field of a module that can be updated in the module registry","required":["id","account","name","system"]}}}}
```

## The OutputMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"OutputMetadata":{"type":"object","properties":{"output_description":{"type":"string","description":"Output description"},"output_name":{"type":"string","description":"Output name"},"output_sensitive":{"type":"boolean","description":"Output sensitivity"}}}}}}
```

## The RegistryPolicySet object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RegistryPolicySet":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"policies":{"type":"array","items":{"$ref":"#/components/schemas/LinkedPolicy"},"description":"Policies linked to this policy set"},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"LinkedPolicy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"severity":{"type":"string","description":"The severity of this policy in this context","enum":["warning","error"]},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["account_id","org_id","project_id","identifier","name","severity","rego","created","updated"]}}}}
```

## The RegistryPolicyViolationError object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"RegistryPolicyViolationError":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"policy_evaluation":{"$ref":"#/components/schemas/RegistryEvaluation"},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]},"RegistryEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed"},"action":{"type":"string","description":"The action that triggered evaluation"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time milliseconds","format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/RegistryEvaluationDetail"},"description":"The detailed results of te evaluation"},"entity":{"type":"string","description":"An arbitrary user-supplied string that globally identifies the entity under evaluation"},"entity_metadata":{"type":"string","description":"Additional arbitrary user-supplied metadata about the entity under evaluation"},"id":{"type":"integer","description":"The ID of this evaluation","format":"int64"},"input":{"description":"The input provided at evaluation time"},"org_id":{"type":"string","description":"The Harness organisation in which the evaluation was performed"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"The types of the entity under evaluation"}},"description":"The result of a single evaluation","required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","input","details"]},"RegistryEvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":""},"action":{"type":"string","description":"Action that triggers the policy set","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","format":"int64"},"description":{"type":"string","description":"Description of the policy set"},"details":{"type":"array","items":{"$ref":"#/components/schemas/RegistryEvaluatedPolicy"}},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action"},"identifier":{"type":"string","description":"Identifier of the policy set","minLength":1},"name":{"type":"string","description":"Name of the policy set","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":""},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","enum":["error","warning","pass"]},"type":{"type":"string","description":"Type of input suitable for the policy set","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","format":"int64"}},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"RegistryEvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string"},"description":"The values of any `deny` rego rules as returned by the rego engine"},"output":{"description":"The output returned by the rego engine when this policy was evaluated"},"policy":{"$ref":"#/components/schemas/Policy"},"rego_error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated"},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","enum":["error","warning","pass"]}},"required":["status","policy","output","deny_messages","rego_error"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":""},"created":{"type":"integer","description":"Time the policy was created","format":"int64"},"identifier":{"type":"string","description":"identifier of the policy","minLength":1},"name":{"type":"string","description":"Name of the policy","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":""},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":""},"rego":{"type":"string","description":"Rego that defines the policy","minLength":1},"updated":{"type":"integer","description":"Time the policy was last updated","format":"int64"}},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]}}}}
```

## The PostFilesResponseBody object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PostFilesResponseBody":{"type":"object","properties":{"synced":{"type":"boolean","description":"Indicates if the provider version is synced"}}}}}}
```

## The Provider object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"Provider":{"type":"object","properties":{"account":{"type":"string","description":"Account that owns the provider"},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Description of the provider"},"domain_prefix":{"type":"string","description":"Domain prefix of the provider"},"id":{"type":"string","description":"Provider ID"},"namespace":{"type":"string","description":"Provider namespace"},"type":{"type":"string","description":"Provider type"},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"versions":{"type":"array","items":{"$ref":"#/components/schemas/ProviderVersionMetadata"},"description":"Provider versions"}},"description":"Provider contains information about a Terraform provider (default view)","required":["id","account","type","description","versions","created","updated"]},"ProviderVersionMetadata":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string"},"description":"Uploaded provider files"},"synced":{"type":"boolean","description":"Provider version synced"},"tier":{"type":"string","description":"Lifecycle tier of the version (supported, warning, deprecated)"},"version":{"type":"string","description":"Provider version"}},"description":"ProviderVersionMetadata contains metadata about a specific provider version (default view)","required":["version","synced","files"]}}}}
```

## The ProviderBinary object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ProviderBinary":{"type":"object","properties":{"arch":{"type":"string","description":"Architecture"},"binary":{"type":"string","description":"Provider binary file","format":"binary"},"filename":{"type":"string","description":"Provider binary filename"},"os":{"type":"string","description":"Operating system"}},"description":"Provider binary for a specific platform","required":["os","arch","binary","filename"]}}}}
```

## The ProviderCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ProviderCollection":{"type":"array","items":{"$ref":"#/components/schemas/Provider"},"description":"ProviderCollection is the result type for an array of Provider (default view)"},"Provider":{"type":"object","properties":{"account":{"type":"string","description":"Account that owns the provider"},"created":{"type":"integer","description":"Created is the unix timestamp at which the resource was originally created in milliseconds.","format":"int64"},"description":{"type":"string","description":"Description of the provider"},"domain_prefix":{"type":"string","description":"Domain prefix of the provider"},"id":{"type":"string","description":"Provider ID"},"namespace":{"type":"string","description":"Provider namespace"},"type":{"type":"string","description":"Provider type"},"updated":{"type":"integer","description":"Modified is the unix timestamp at which the resource was last modified in milliseconds.","format":"int64"},"versions":{"type":"array","items":{"$ref":"#/components/schemas/ProviderVersionMetadata"},"description":"Provider versions"}},"description":"Provider contains information about a Terraform provider (default view)","required":["id","account","type","description","versions","created","updated"]},"ProviderVersionMetadata":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string"},"description":"Uploaded provider files"},"synced":{"type":"boolean","description":"Provider version synced"},"tier":{"type":"string","description":"Lifecycle tier of the version (supported, warning, deprecated)"},"version":{"type":"string","description":"Provider version"}},"description":"ProviderVersionMetadata contains metadata about a specific provider version (default view)","required":["version","synced","files"]}}}}
```

## The ProviderLifecycleBatchCheckItem object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ProviderLifecycleBatchCheckItem":{"type":"object","properties":{"namespace":{"type":"string","description":"Namespace identifying the provider scope","minLength":1},"type":{"type":"string","description":"Provider type","minLength":1},"version":{"type":"string","description":"Provider version to check","minLength":1}},"description":"A single provider item to check lifecycle status for","required":["namespace","type","version"]}}}}
```

## The ProviderLifecycleBatchCheckResult object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ProviderLifecycleBatchCheckResult":{"type":"object","properties":{"action":{"type":"string","description":"Enforcement action for the tier","enum":["no_action","warn","fail"]},"minimum_supported_version":{"type":"string","description":"The lowest-numbered version currently in the supported tier"},"namespace":{"type":"string","description":"Namespace identifying the provider scope"},"tier":{"type":"string","description":"Lifecycle tier: warning or deprecated","enum":["warning","deprecated"]},"type":{"type":"string","description":"Provider type"},"version":{"type":"string","description":"Provider version"}},"description":"Lifecycle check result for a single provider item","required":["namespace","type","version","tier","action"]}}}}
```

## The ProviderLifecycleOverride object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ProviderLifecycleOverride":{"type":"object","properties":{"reason":{"type":"string","description":"Optional reason for this override","maxLength":1000},"tier":{"type":"string","description":"Lifecycle tier to assign to this version","enum":["supported","warning","deprecated"]},"version":{"type":"string","description":"Version string to override","minLength":1}},"description":"Manual lifecycle tier override for a specific provider version","required":["version","tier"]}}}}
```

## The ProviderLifecycleRule object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ProviderLifecycleRule":{"type":"object","properties":{"deprecated_action":{"type":"string","description":"Enforcement action for deprecated-tier versions","default":"fail","enum":["no_action","warn","fail"]},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/ProviderLifecycleOverride"},"description":"Manual per-version tier overrides","maxItems":1000},"supported_action":{"type":"string","description":"Enforcement action for supported-tier versions","default":"no_action","enum":["no_action","warn","fail"]},"supported_count":{"type":"integer","description":"Number of most-recent non-pre-release versions classified as supported","format":"int64","minimum":1},"warning_action":{"type":"string","description":"Enforcement action for warning-tier versions","default":"warn","enum":["no_action","warn","fail"]},"warning_count":{"type":"integer","description":"Number of versions immediately after the supported window classified as warning","format":"int64","minimum":0}},"description":"Lifecycle rule configuration for a provider registry provider","required":["supported_count","warning_count","supported_action","warning_action","deprecated_action"]},"ProviderLifecycleOverride":{"type":"object","properties":{"reason":{"type":"string","description":"Optional reason for this override","maxLength":1000},"tier":{"type":"string","description":"Lifecycle tier to assign to this version","enum":["supported","warning","deprecated"]},"version":{"type":"string","description":"Version string to override","minLength":1}},"description":"Manual lifecycle tier override for a specific provider version","required":["version","tier"]}}}}
```

## The ProviderMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ProviderMetadata":{"type":"object","properties":{"provider_name":{"type":"string","description":"Provider name"},"provider_source":{"type":"string","description":"Provider source"},"provider_version":{"type":"string","description":"Provider version"}}}}}}
```

## The ProviderRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ProviderRequest":{"type":"object","properties":{"account":{"type":"string","description":"Account that owns the provider"},"binaries":{"type":"array","items":{"$ref":"#/components/schemas/ProviderBinary"},"description":"Provider binary files for different platforms"},"checksums_file":{"type":"string","description":"SHA256SUMS file containing checksums for all binaries","format":"binary"},"description":{"type":"string","description":"Description of the provider"},"protocols":{"type":"array","items":{"type":"string"},"description":"Supported Terraform protocol versions"},"signature_file":{"type":"string","description":"Detached signature for the SHA256SUMS file","format":"binary"},"signing_key":{"$ref":"#/components/schemas/GPGKey"},"type":{"type":"string","description":"Provider type"}},"description":"ProviderRequest defines the fields of a provider creation request","required":["account","type","signing_key","protocols","binaries","checksums_file","signature_file","id","description","versions","created","updated"]},"ProviderBinary":{"type":"object","properties":{"arch":{"type":"string","description":"Architecture"},"binary":{"type":"string","description":"Provider binary file","format":"binary"},"filename":{"type":"string","description":"Provider binary filename"},"os":{"type":"string","description":"Operating system"}},"description":"Provider binary for a specific platform","required":["os","arch","binary","filename"]},"GPGKey":{"type":"object","properties":{"ascii_armor":{"type":"string","description":"ASCII-armored GPG public key"},"key_id":{"type":"string","description":"GPG key ID"}},"description":"GPG key information for provider verification","required":["key_id","ascii_armor"]}}}}
```

## The ProviderVersionMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ProviderVersionMetadata":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string"},"description":"Uploaded provider files"},"synced":{"type":"boolean","description":"Provider version synced"},"tier":{"type":"string","description":"Lifecycle tier of the version (supported, warning, deprecated)"},"version":{"type":"string","description":"Provider version"}},"description":"ProviderVersionMetadata contains metadata about a specific provider version (default view)","required":["version","synced","files"]}}}}
```

## The PutModuleLifecycleResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PutModuleLifecycleResponse":{"type":"object","properties":{"deprecated_action":{"type":"string","description":"Enforcement action for deprecated-tier versions","default":"fail","enum":["no_action","warn","fail"]},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/ModuleLifecycleOverride"},"description":"Manual per-version tier overrides","maxItems":1000},"supported_action":{"type":"string","description":"Enforcement action for supported-tier versions","default":"no_action","enum":["no_action","warn","fail"]},"supported_count":{"type":"integer","description":"Number of most-recent non-pre-release versions classified as supported","format":"int64","minimum":1},"warning_action":{"type":"string","description":"Enforcement action for warning-tier versions","default":"warn","enum":["no_action","warn","fail"]},"warning_count":{"type":"integer","description":"Number of versions immediately after the supported window classified as warning","format":"int64","minimum":0}},"required":["supported_count","warning_count","supported_action","warning_action","deprecated_action"]},"ModuleLifecycleOverride":{"type":"object","properties":{"reason":{"type":"string","description":"Optional reason for this override","maxLength":1000},"tier":{"type":"string","description":"Lifecycle tier to assign to this version","enum":["supported","warning","deprecated"]},"version":{"type":"string","description":"Version string to override","minLength":1}},"description":"Manual lifecycle tier override for a specific module version","required":["version","tier"]}}}}
```

## The PutProviderLifecycleResponse object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"PutProviderLifecycleResponse":{"type":"object","properties":{"deprecated_action":{"type":"string","description":"Enforcement action for deprecated-tier versions","default":"fail","enum":["no_action","warn","fail"]},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/ProviderLifecycleOverride"},"description":"Manual per-version tier overrides","maxItems":1000},"supported_action":{"type":"string","description":"Enforcement action for supported-tier versions","default":"no_action","enum":["no_action","warn","fail"]},"supported_count":{"type":"integer","description":"Number of most-recent non-pre-release versions classified as supported","format":"int64","minimum":1},"warning_action":{"type":"string","description":"Enforcement action for warning-tier versions","default":"warn","enum":["no_action","warn","fail"]},"warning_count":{"type":"integer","description":"Number of versions immediately after the supported window classified as warning","format":"int64","minimum":0}},"required":["supported_count","warning_count","supported_action","warning_action","deprecated_action"]},"ProviderLifecycleOverride":{"type":"object","properties":{"reason":{"type":"string","description":"Optional reason for this override","maxLength":1000},"tier":{"type":"string","description":"Lifecycle tier to assign to this version","enum":["supported","warning","deprecated"]},"version":{"type":"string","description":"Version string to override","minLength":1}},"description":"Manual lifecycle tier override for a specific provider version","required":["version","tier"]}}}}
```

## The ResourceMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"ResourceMetadata":{"type":"object","properties":{"resource_name":{"type":"string","description":"Resource name"},"resource_type":{"type":"string","description":"Resource type"}}}}}}
```

## The SendModuleEventRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"SendModuleEventRequest":{"type":"object","properties":{"account":{"type":"string","description":"account name"},"eventType":{"type":"string","description":"The type of event that occurred"},"metadata":{"$ref":"#/components/schemas/ModuleExecutionMetadata"},"org":{"type":"string","description":"pipeline org"},"project":{"type":"string","description":"pipeline project"}},"required":["eventType","account","org","project"]},"ModuleExecutionMetadata":{"type":"object","properties":{"pipeline":{"type":"string","description":"The unique identifier of any associated pipeline"},"pipeline_execution_id":{"type":"string","description":"The unique identifier for any associated pipeline execution"},"pipeline_execution_number":{"type":"string","description":"The unique number for any associated pipeline execution"},"pipeline_name":{"type":"string","description":"The name of any associated pipeline"},"pipeline_stage_id":{"type":"string","description":"The unique identifier for the associated pipeline stage"},"trigger":{"type":"object","description":"Trigger info for any associated pipeline execution","additionalProperties":true}}}}}}
```

## The SigningKey object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"SigningKey":{"type":"object","properties":{"ascii_armor":{"type":"string","description":"ASCII-armored GPG public key"},"created_at":{"type":"string","description":"Creation timestamp"},"id":{"type":"string","description":"ID of the signing key"},"key_id":{"type":"string","description":"GPG key ID"},"key_name":{"type":"string","description":"GPG key name"},"updated_at":{"type":"string","description":"Last updated timestamp"},"user":{"type":"string","description":"User who uploaded the key"}},"description":"SigningKey contains a GPG key for provider verification (default view)","required":["id","key_id","ascii_armor","key_name","created_at","updated_at","user"]}}}}
```

## The SigningKeyCollection object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"SigningKeyCollection":{"type":"array","items":{"$ref":"#/components/schemas/SigningKey"},"description":"SigningKeyCollection is the result type for an array of SigningKey (default view)"},"SigningKey":{"type":"object","properties":{"ascii_armor":{"type":"string","description":"ASCII-armored GPG public key"},"created_at":{"type":"string","description":"Creation timestamp"},"id":{"type":"string","description":"ID of the signing key"},"key_id":{"type":"string","description":"GPG key ID"},"key_name":{"type":"string","description":"GPG key name"},"updated_at":{"type":"string","description":"Last updated timestamp"},"user":{"type":"string","description":"User who uploaded the key"}},"description":"SigningKey contains a GPG key for provider verification (default view)","required":["id","key_id","ascii_armor","key_name","created_at","updated_at","user"]}}}}
```

## The UpdateModuleRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateModuleRequest":{"type":"object","properties":{"description":{"type":"string","description":"Free-form text describing the purpose and usage of the module."},"git_tag_style":{"type":"string","description":"Pattern used to match Git tags for module versioning. Use 'module-name-*' to match tags like 'my-vpc-module-v1.0.0'."},"name":{"type":"string","description":"Human-readable name of the module. Must be unique within the same scope and system.","minLength":1,"maxLength":128},"onboarding_pipeline":{"type":"string","description":"Identifier of the Harness pipeline used for module onboarding and metadata sync."},"onboarding_pipeline_org":{"type":"string","description":"Organization where the onboarding pipeline is defined. Defaults to scope_org if not provided."},"onboarding_pipeline_project":{"type":"string","description":"Project where the onboarding pipeline is defined. Defaults to scope_project if not provided."},"onboarding_pipeline_sync":{"type":"boolean","description":"When true, module metadata is automatically synced via the onboarding pipeline when new Git tags are pushed.","default":false},"org":{"type":"string","description":"Organization identifier where the Git connector is defined. Defaults to scope_org if not provided.","maxLength":1024},"project":{"type":"string","description":"Project identifier where the Git connector is defined. Defaults to scope_project if not provided.","maxLength":1024},"repository":{"type":"string","description":"Name of the Git repository that contains the module source code."},"repository_branch":{"type":"string","description":"Repository Branch in which the code should be accessed."},"repository_commit":{"type":"string","description":"Repository Commit/Tag in which the code should be accessed."},"repository_connector":{"type":"string","description":"Harness Git connector identifier used to access the Git repository. Must reference a valid Git connector in your account. Leave empty when using Harness Code as the repository source."},"repository_path":{"type":"string","description":"Repository Path is the path in which the infra code resides.","default":""},"storage_type":{"type":"string","description":"Defines how module versions are stored. 'git_reference' resolves versions from Git tags; 'artifact' stores uploaded archive files.","default":"git_reference","enum":["git_reference","artifact"]},"system":{"type":"string","description":"Provider or system the module targets. Lowercase letters only (e.g. aws, gcp, azure, kubernetes).","pattern":"^[a-z]+$","minLength":1,"maxLength":128},"tags":{"type":"string","description":"Comma-separated list of tags to categorize the module (e.g. networking,vpc,aws)."}},"required":["name","system"]}}}}
```

## The UpdateProviderVersionRequestBody object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateProviderVersionRequestBody":{"type":"object","properties":{"gpg_key_id":{"type":"string","description":"GPG key ID"},"protocol":{"type":"array","items":{"type":"string"},"description":"Supported Terraform protocol versions"}},"required":["protocol","gpg_key_id"]}}}}
```

## The UpdateTestingRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UpdateTestingRequest":{"type":"object","properties":{"pipeline_id":{"type":"array","items":{"type":"string"},"description":"pipelines to create the webhooks to trigger the executions for testing"},"pipeline_org":{"type":"string","description":"pipeline org"},"pipeline_project":{"type":"string","description":"pipeline project"},"provider_connector":{"type":"string","description":"provider connector","default":""},"provisioner_type":{"type":"string","description":"provisioner type"},"provisioner_version":{"type":"string","description":"provisioner version"},"release_pipeline":{"type":"string","description":"pipeline to create the webhooks for releases"}},"required":["provisioner_type","provisioner_version","pipeline_org","pipeline_project"]}}}}
```

## The UploadSigningKeyRequest object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"UploadSigningKeyRequest":{"type":"object","properties":{"ascii_armor":{"type":"string","description":"ASCII-armored GPG public key"},"key_id":{"type":"string","description":"GPG key ID"},"key_name":{"type":"string","description":"GPG key name"},"user":{"type":"string","description":"User who uploaded the key"}},"required":["key_id","key_name","ascii_armor","user"]}}}}
```

## The VariableMetadata object

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"components":{"schemas":{"VariableMetadata":{"type":"object","properties":{"variable_default":{"type":"string","description":"Variable default value"},"variable_description":{"type":"string","description":"Variable description"},"variable_name":{"type":"string","description":"Variable name"},"variable_required":{"type":"boolean","description":"Is variable required"},"variable_sensitive":{"type":"boolean","description":"Is variable sensitive"},"variable_type":{"type":"string","description":"Variable type"}}}}}}
```
