Workspaces Service handles the API for managing workspaces and triggering workflows against them.
Show metrics for workspaces
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "status_counts": {
- "Aperiam quasi porro.": 2480000993154800600,
- "Nisi ex et minus minus.": 5123002518543087000,
- "Pariatur dolores excepturi perferendis.": 3327690886455505400
}
}
List all workspaces.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
[- {
- "account": "5k3",
- "created": 1655395860833833000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "f",
- "name": "resource name",
- "org": "t",
- "project": "z8k",
- "status": "destroying",
- "updated": 211033580760198270
}, - {
- "account": "5k3",
- "created": 1655395860833833000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "f",
- "name": "resource name",
- "org": "t",
- "project": "z8k",
- "status": "destroying",
- "updated": 211033580760198270
}, - {
- "account": "5k3",
- "created": 1655395860833833000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "f",
- "name": "resource name",
- "org": "t",
- "project": "z8k",
- "status": "destroying",
- "updated": 211033580760198270
}, - {
- "account": "5k3",
- "created": 1655395860833833000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "f",
- "name": "resource name",
- "org": "t",
- "project": "z8k",
- "status": "destroying",
- "updated": 211033580760198270
}
]
Create a new workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "associated_template": {
- "template_id": "2",
- "version": "cr"
}, - "budget": 0.5912672,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "Aperiam ut debitis impedit esse corrupti.": {
- "project_pipeline": "Accusantium inventore quisquam laborum fugiat a earum.",
- "workspace_pipeline": "Et amet animi."
}, - "Et nesciunt totam omnis dolor facere qui.": {
- "project_pipeline": "Accusantium inventore quisquam laborum fugiat a earum.",
- "workspace_pipeline": "Et amet animi."
}, - "Sed laboriosam voluptate a non eum qui.": {
- "project_pipeline": "Accusantium inventore quisquam laborum fugiat a earum.",
- "workspace_pipeline": "Et amet animi."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Sed dolore.": {
- "key": "8",
- "value": "Non voluptatum consequatur quia.",
- "value_type": "string"
}
}, - "identifier": "ef",
- "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "name": "resource name",
- "provider_connector": "Explicabo aut autem nam laborum facilis.",
- "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "provisioner": "terraform",
- "provisioner_version": "Sequi et.",
- "repository": "Ut vel ut cumque animi et quis.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "At aliquid minus ut et sunt aliquid.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "repository_submodules": "recursive",
- "sparse_checkout": "Sit magnam doloribus.",
- "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
- "tags": {
- "foo": "bar"
}, - "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Ut qui dolore aut eum id aut.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Rerum assumenda illum dolores quis ratione sunt.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Ut qui dolore aut eum id aut.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Rerum assumenda illum dolores quis ratione sunt.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Ut qui dolore aut eum id aut.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Rerum assumenda illum dolores quis ratione sunt.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Ut qui dolore aut eum id aut.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Rerum assumenda illum dolores quis ratione sunt.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Porro repellendus aut nesciunt.": {
- "key": "8",
- "value": "Non voluptatum consequatur quia.",
- "value_type": "string"
}, - "Voluptatem sequi repellat.": {
- "key": "8",
- "value": "Non voluptatum consequatur quia.",
- "value_type": "string"
}
}, - "variable_sets": [
- "Odio necessitatibus qui impedit libero.",
- "Aut velit."
]
}
{- "policy_evaluation": {
- "account_id": "XRQAjvT37acOiXx9PRaQMF",
- "action": "onrun",
- "created": 1636370209475,
- "details": [
- {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}
], - "entity": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "entity_metadata": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "id": 123,
- "input": "",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline,service"
}
}
Deletes the given workspace.
No Content response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
Show an individual workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "account": "9wc",
- "associated_template": {
- "template_id": "t6",
- "version": "hq"
}, - "backend_locked": true,
- "budget": 0.4244252,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "created": 3881737113712192500,
- "default_pipelines": {
- "Dolorum sed tempore libero aut porro mollitia.": {
- "project_pipeline": "Voluptatem et doloribus minima laboriosam aperiam optio.",
- "workspace_pipeline": "Et exercitationem alias sit velit."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Qui commodi qui explicabo.": {
- "created": 3533500076040305000,
- "key": "b41",
- "updated": 8723111932189396000,
- "value": "Fugiat expedita tempore.",
- "value_type": "string"
}
}, - "identifier": "zs",
- "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "name": "resource name",
- "org": "zl",
- "project": "z",
- "provider_connector": "Non ullam modi debitis sapiente.",
- "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "provisioner": "opentofu",
- "provisioner_data": "Atque fuga excepturi.",
- "provisioner_version": "Incidunt in adipisci repellendus et.",
- "repository": "Ducimus ut.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Perferendis iste iste adipisci et aut ut.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "repository_submodules": "recursive",
- "sparse_checkout": "Aut perspiciatis praesentium.",
- "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
- "status": "failed",
- "tags": {
- "foo": "bar"
}, - "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Repellat ut.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Aut sunt possimus.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Repellat ut.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Aut sunt possimus.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Repellat ut.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Aut sunt possimus.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Commodi animi iste at qui et corrupti.": {
- "created": 3533500076040305000,
- "key": "b41",
- "updated": 8723111932189396000,
- "value": "Fugiat expedita tempore.",
- "value_type": "string"
}, - "Perferendis ut temporibus.": {
- "created": 3533500076040305000,
- "key": "b41",
- "updated": 8723111932189396000,
- "value": "Fugiat expedita tempore.",
- "value_type": "string"
}, - "Sit magni.": {
- "created": 3533500076040305000,
- "key": "b41",
- "updated": 8723111932189396000,
- "value": "Fugiat expedita tempore.",
- "value_type": "string"
}
}, - "updated": 156953076689056830,
- "variable_sets": [
- "Quo saepe ratione veritatis ut.",
- "Quia omnis."
]
}
Updates the given workspace with new info.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "budget": 0.9948196,
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "Fugiat possimus aliquam voluptatem.": {
- "project_pipeline": "Accusantium inventore quisquam laborum fugiat a earum.",
- "workspace_pipeline": "Et amet animi."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Quaerat reprehenderit sint necessitatibus rem.": {
- "key": "8",
- "value": "Non voluptatum consequatur quia.",
- "value_type": "string"
}, - "Ratione suscipit.": {
- "key": "8",
- "value": "Non voluptatum consequatur quia.",
- "value_type": "string"
}, - "Ut animi dolor maxime aut quas.": {
- "key": "8",
- "value": "Non voluptatum consequatur quia.",
- "value_type": "string"
}
}, - "name": "resource name",
- "provider_connector": "Id velit dignissimos.",
- "provisioner": "terraform",
- "provisioner_version": "Possimus nostrum quisquam.",
- "repository": "Exercitationem et aliquid molestias ut ut sit.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Velit sapiente natus et quia quia.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "repository_submodules": "recursive",
- "sparse_checkout": "Qui rerum assumenda.",
- "tags": {
- "foo": "bar"
}, - "terraform_variable_files": [
- {
- "repository": "Ut qui dolore aut eum id aut.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Rerum assumenda illum dolores quis ratione sunt.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Ut qui dolore aut eum id aut.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Rerum assumenda illum dolores quis ratione sunt.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Ut qui dolore aut eum id aut.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Rerum assumenda illum dolores quis ratione sunt.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "A labore qui reprehenderit.": {
- "key": "8",
- "value": "Non voluptatum consequatur quia.",
- "value_type": "string"
}
}, - "variable_sets": [
- "Reiciendis similique cumque magnam adipisci vel sed.",
- "Magni repudiandae doloremque quia aperiam quis."
]
}
{- "policy_evaluation": {
- "account_id": "XRQAjvT37acOiXx9PRaQMF",
- "action": "onrun",
- "created": 1636370209475,
- "details": [
- {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}
], - "entity": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "entity_metadata": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "id": 123,
- "input": "",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline,service"
}
}
Force unlock a workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
List modules associated with this workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
[- {
- "key": "ec2-instance_test",
- "source": "registry.opentofu.org/terraform-aws-modules/ec2-instance/aws//examples/complete",
- "version": "5.0.0"
}, - {
- "key": "ec2-instance_test",
- "source": "registry.opentofu.org/terraform-aws-modules/ec2-instance/aws//examples/complete",
- "version": "5.0.0"
}, - {
- "key": "ec2-instance_test",
- "source": "registry.opentofu.org/terraform-aws-modules/ec2-instance/aws//examples/complete",
- "version": "5.0.0"
}, - {
- "key": "ec2-instance_test",
- "source": "registry.opentofu.org/terraform-aws-modules/ec2-instance/aws//examples/complete",
- "version": "5.0.0"
}
]
List resources associated with this workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "outputs": [
- {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Aperiam labore exercitationem ab."
}, - {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Aperiam labore exercitationem ab."
}
], - "resources": [
- {
- "attributes": {
- "ami": "ami-830c94ec",
- "instance_type": "t2.micro"
}, - "drift_attributes": {
- "instance_type": "t2.nano"
}, - "drift_status": "changed",
- "module": "full_stack",
- "name": "app_server",
- "provider": "AWS",
- "sensitive_attributes": [
- "instance_type"
], - "type": "S3 Bucket"
}, - {
- "attributes": {
- "ami": "ami-830c94ec",
- "instance_type": "t2.micro"
}, - "drift_attributes": {
- "instance_type": "t2.nano"
}, - "drift_status": "changed",
- "module": "full_stack",
- "name": "app_server",
- "provider": "AWS",
- "sensitive_attributes": [
- "instance_type"
], - "type": "S3 Bucket"
}, - {
- "attributes": {
- "ami": "ami-830c94ec",
- "instance_type": "t2.micro"
}, - "drift_attributes": {
- "instance_type": "t2.nano"
}, - "drift_status": "changed",
- "module": "full_stack",
- "name": "app_server",
- "provider": "AWS",
- "sensitive_attributes": [
- "instance_type"
], - "type": "S3 Bucket"
}
]
}
Clone the given workspace with new name.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "identifier": "q2",
- "name": "resource name"
}
{- "policy_evaluation": {
- "account_id": "XRQAjvT37acOiXx9PRaQMF",
- "action": "onrun",
- "created": 1636370209475,
- "details": [
- {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}
], - "entity": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "entity_metadata": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "id": 123,
- "input": "",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline,service"
}
}
List all stored data for a workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
[- {
- "account": "v0",
- "created": 7395612051997432000,
- "data_type": "cost_breakdown",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "ndg",
- "pipeline_execution_id": "Ab qui voluptas.",
- "pipeline_id": "Facilis voluptas placeat.",
- "pipeline_stage_id": "Error eveniet similique ea quis est.",
- "project": "z",
- "provisioner_type": "tf",
- "stage_id": "Quisquam reprehenderit est atque fuga accusamus.",
- "workspace": "workspace123"
}, - {
- "account": "v0",
- "created": 7395612051997432000,
- "data_type": "cost_breakdown",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "ndg",
- "pipeline_execution_id": "Ab qui voluptas.",
- "pipeline_id": "Facilis voluptas placeat.",
- "pipeline_stage_id": "Error eveniet similique ea quis est.",
- "project": "z",
- "provisioner_type": "tf",
- "stage_id": "Quisquam reprehenderit est atque fuga accusamus.",
- "workspace": "workspace123"
}, - {
- "account": "v0",
- "created": 7395612051997432000,
- "data_type": "cost_breakdown",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "ndg",
- "pipeline_execution_id": "Ab qui voluptas.",
- "pipeline_id": "Facilis voluptas placeat.",
- "pipeline_stage_id": "Error eveniet similique ea quis est.",
- "project": "z",
- "provisioner_type": "tf",
- "stage_id": "Quisquam reprehenderit est atque fuga accusamus.",
- "workspace": "workspace123"
}, - {
- "account": "v0",
- "created": 7395612051997432000,
- "data_type": "cost_breakdown",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "ndg",
- "pipeline_execution_id": "Ab qui voluptas.",
- "pipeline_id": "Facilis voluptas placeat.",
- "pipeline_stage_id": "Error eveniet similique ea quis est.",
- "project": "z",
- "provisioner_type": "tf",
- "stage_id": "Quisquam reprehenderit est atque fuga accusamus.",
- "workspace": "workspace123"
}
]
Store binary data generated by the provisioner, such as plans and state files.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "policy_evaluation": [
- {
- "message": "Et velit minima aspernatur voluptas earum non.",
- "policy_id": "Amet magni.",
- "policy_name": "Ea et.",
- "policy_set_id": "Eos ut voluptatem.",
- "policy_set_name": "Qui magnam et ad fugit.",
- "policy_status": "Dignissimos non."
}, - {
- "message": "Et velit minima aspernatur voluptas earum non.",
- "policy_id": "Amet magni.",
- "policy_name": "Ea et.",
- "policy_set_id": "Eos ut voluptatem.",
- "policy_set_name": "Qui magnam et ad fugit.",
- "policy_status": "Dignissimos non."
}, - {
- "message": "Et velit minima aspernatur voluptas earum non.",
- "policy_id": "Amet magni.",
- "policy_name": "Ea et.",
- "policy_set_id": "Eos ut voluptatem.",
- "policy_set_name": "Qui magnam et ad fugit.",
- "policy_status": "Dignissimos non."
}, - {
- "message": "Et velit minima aspernatur voluptas earum non.",
- "policy_id": "Amet magni.",
- "policy_name": "Ea et.",
- "policy_set_id": "Eos ut voluptatem.",
- "policy_set_name": "Qui magnam et ad fugit.",
- "policy_status": "Dignissimos non."
}
], - "policy_evaluation_message": "- instance type 'xlarge' is not permitted",
- "policy_evaluation_status": "error"
}
Get binary data generated by the provisioner, such as plans and state files.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
"string"
Evaluate policy against previously stored data, such as plans and state files.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "policy_evaluation": [
- {
- "message": "Et velit minima aspernatur voluptas earum non.",
- "policy_id": "Amet magni.",
- "policy_name": "Ea et.",
- "policy_set_id": "Eos ut voluptatem.",
- "policy_set_name": "Qui magnam et ad fugit.",
- "policy_status": "Dignissimos non."
}, - {
- "message": "Et velit minima aspernatur voluptas earum non.",
- "policy_id": "Amet magni.",
- "policy_name": "Ea et.",
- "policy_set_id": "Eos ut voluptatem.",
- "policy_set_name": "Qui magnam et ad fugit.",
- "policy_status": "Dignissimos non."
}, - {
- "message": "Et velit minima aspernatur voluptas earum non.",
- "policy_id": "Amet magni.",
- "policy_name": "Ea et.",
- "policy_set_id": "Eos ut voluptatem.",
- "policy_set_name": "Qui magnam et ad fugit.",
- "policy_status": "Dignissimos non."
}, - {
- "message": "Et velit minima aspernatur voluptas earum non.",
- "policy_id": "Amet magni.",
- "policy_name": "Ea et.",
- "policy_set_id": "Eos ut voluptatem.",
- "policy_set_name": "Qui magnam et ad fugit.",
- "policy_status": "Dignissimos non."
}
], - "policy_evaluation_message": "- instance type 'xlarge' is not permitted",
- "policy_evaluation_status": "error"
}
Store binary data generated by the provisioner, such as plans and state files.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "data": {
- "Dolorum sint.": "Explicabo nulla.",
- "Eveniet voluptate sunt.": "Asperiores nostrum."
}, - "event_type": "provisioning",
- "metadata": {
- "PlannedChangesCount": 3792597036300497400,
- "activity_status": "success",
- "activity_type": "apply",
- "cost_breakdown_uuid": "Nam reprehenderit mollitia quasi rerum aperiam.",
- "cost_currency": "Autem cupiditate sit quo et fugit.",
- "cost_diff_total_monthly": "Esse molestiae enim nihil quod deleniti.",
- "cost_diff_uuid": "Ea qui quo magnam cupiditate laudantium nostrum.",
- "cost_past_total_monthly": "Ut ullam quos sit voluptatum iste.",
- "cost_total_monthly": "Cupiditate itaque corrupti eaque laudantium velit.",
- "cost_total_monthly_percentage_change": "Perferendis doloribus.",
- "drift_counts": {
- "added": 3521044027668500500,
- "changed": 1758244777272374500,
- "deleted": 6593554740255922000,
- "unchanged": 8813246402021677000
}, - "enable_solutions_factory": true,
- "git_branch": "Maxime ad et delectus ut soluta.",
- "git_commit_message": "Ut ea.",
- "git_commit_sha": "Enim ad dolor quam sit maiores.",
- "git_repo": "Molestiae expedita.",
- "modules_uuid": "Est quo voluptas est.",
- "output_counts": {
- "added": 3521044027668500500,
- "changed": 1758244777272374500,
- "deleted": 6593554740255922000,
- "unchanged": 8813246402021677000
}, - "pipeline": "Est eum facilis optio.",
- "pipeline_execution_id": "Sit quos ratione facilis laboriosam.",
- "pipeline_execution_number": "Ad explicabo quia autem.",
- "pipeline_name": "In error voluptate sint architecto necessitatibus suscipit.",
- "pipeline_stage_id": "Inventore corrupti sequi consectetur.",
- "plan_uuid": "Amet et.",
- "providers_uuid": "Corrupti ducimus sed minus qui illo ut.",
- "provisioner": "Dolorem dolorum reprehenderit nisi.",
- "provisioner_version": "Repellendus delectus quo.",
- "resource_counts": {
- "added": 3521044027668500500,
- "changed": 1758244777272374500,
- "deleted": 6593554740255922000,
- "unchanged": 8813246402021677000
}, - "state_checksum": "Atque nam in.",
- "state_uuid": "Quas molestias.",
- "trigger": {
- "Iste necessitatibus officia ipsum id.": "Asperiores magnam omnis inventore numquam minima repellendus.",
- "Quia qui.": "Et et laudantium."
}
}, - "pipeline_execution_id": "Aliquam est distinctio corporis aliquam.",
- "pipeline_stage_id": "Illum voluptas earum."
}
List the pipelines where the workspace is been used
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "account": "o",
- "org": "bb",
- "pipelines": [
- "Et possimus deserunt ea ut fugit.",
- "Maiores quis.",
- "Autem molestias est."
], - "project": "ttk"
}
Create a remote execution for a workspace.
object The arguments supplied to the plan. |
Created response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "custom_arguments": {
- "Sed illum quo quasi.": [
- "Esse quidem ipsam necessitatibus ipsum.",
- "Nesciunt consequuntur deleniti est a in commodi.",
- "Enim vel aut esse alias."
]
}
}
{- "account": "v61",
- "created": 5653526842277450000,
- "custom_arguments": {
- "Aut veniam sed voluptatem non temporibus inventore.": [
- "Porro nam ex.",
- "Consequatur dolor facere ipsam ut quod qui."
], - "Sit consequuntur dolores et magni aliquid.": [
- "Suscipit deserunt exercitationem.",
- "Consequatur et reiciendis.",
- "In temporibus sit."
]
}, - "executed": true,
- "id": "ec928250-8bea-4b2e-a718-f60b63e67bdd",
- "org": "b",
- "pipeline_execution_id": "Qui placeat quidem.",
- "pipeline_execution_url": "Explicabo debitis odit hic porro.",
- "project": "ts",
- "sha256_checksum": "Nostrum molestiae et est porro.",
- "updated": 7893269433470947000,
- "workspace": "Rem illum accusantium ut voluptate."
}
Find remote execution
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "account": "vvw",
- "created": 9209262826501788000,
- "custom_arguments": {
- "Harum id perferendis.": [
- "Enim iste modi iste maiores laborum numquam.",
- "Dicta nisi dolores."
], - "Ipsum sapiente qui ut fuga minus.": [
- "Expedita eius.",
- "Velit modi omnis mollitia nostrum qui."
], - "Ut fugiat molestiae omnis.": [
- "Magnam rerum eum ab.",
- "Dolor repellendus consequatur earum.",
- "Veritatis sapiente libero in."
]
}, - "executed": false,
- "id": "572443a5-ed34-4428-a516-a43d9b598b74",
- "org": "ss",
- "pipeline_execution_id": "Saepe labore.",
- "pipeline_execution_url": "Assumenda deserunt.",
- "project": "iz8",
- "sha256_checksum": "Et assumenda explicabo eum fuga.",
- "updated": 8121796847450423000,
- "workspace": "Rerum cumque et dicta."
}
Download the source code for the remote plan.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
"string"
Execute the remote execution
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "account": "y2",
- "created": 887176332694788700,
- "custom_arguments": {
- "Et pariatur praesentium voluptas asperiores facere.": [
- "Iure optio.",
- "Sunt magni reiciendis sapiente aperiam ipsum aperiam."
], - "Magnam accusamus error eius beatae porro harum.": [
- "Ad cupiditate dolor doloribus.",
- "Enim accusantium autem et.",
- "Rerum non.",
- "Eum qui voluptatum veritatis dolore."
], - "Velit expedita.": [
- "Dicta maxime dicta excepturi voluptas.",
- "Earum hic id sunt doloremque."
]
}, - "executed": false,
- "id": "950be2c1-4f33-4e66-a2ea-28b07d616a13",
- "org": "0qa",
- "pipeline_execution_id": "Velit voluptatem dolores id non.",
- "pipeline_execution_url": "Molestiae nisi sint.",
- "project": "agf",
- "sha256_checksum": "Nemo reiciendis.",
- "updated": 5129131103844576000,
- "workspace": "Porro sapiente rerum vero fugit."
}
Upload the source code for the remote execution.
Harness-Account required | string [ 1 .. 128 ] characters Account is the internal customer account ID. Example: 7 |
Content-Length | integer <int64> Size in bytes of the source code. Example: 5222965219930925000 |
Content-Digest required | string Content-Digest header as defined in https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Digest. Sha256 is the only supported algorithm. Example: Est ut qui. |
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "account": "dm",
- "created": 6529872817684359000,
- "custom_arguments": {
- "Minima sint vel officia et illum ipsum.": [
- "Minima at voluptatem in aut ut omnis.",
- "Et libero fugiat consequatur ea repellendus.",
- "Iste repudiandae perferendis aut voluptatibus qui voluptatem."
], - "Quam eveniet sed.": [
- "Ut sed sequi eos.",
- "Ut numquam sed provident."
], - "Totam incidunt explicabo.": [
- "Voluptate sequi.",
- "Rerum aliquid voluptates.",
- "Et aspernatur autem."
]
}, - "executed": true,
- "id": "27f08d54-2d39-4193-a97c-bc79e75c8260",
- "org": "sft",
- "pipeline_execution_id": "Dolorem consectetur modi.",
- "pipeline_execution_url": "Qui aut voluptas.",
- "project": "d",
- "sha256_checksum": "Voluptatibus et dicta et minima voluptas dolor.",
- "updated": 6296628869063078000,
- "workspace": "Sequi omnis facilis recusandae earum assumenda."
}
Get all workspaces associated with a specific template ID
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
[- {
- "account": "4q",
- "created_at": 1627590400,
- "org": "t",
- "project": "rfq",
- "template_id": "10u",
- "updated_at": 1627686800,
- "version": "g7o",
- "workspace_id": "8h"
}, - {
- "account": "4q",
- "created_at": 1627590400,
- "org": "t",
- "project": "rfq",
- "template_id": "10u",
- "updated_at": 1627686800,
- "version": "g7o",
- "workspace_id": "8h"
}, - {
- "account": "4q",
- "created_at": 1627590400,
- "org": "t",
- "project": "rfq",
- "template_id": "10u",
- "updated_at": 1627686800,
- "version": "g7o",
- "workspace_id": "8h"
}
]