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": {
- "Laborum facilis.": 7285286212044060000
}
}
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": "3",
- "created": 6769379692591357000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "kqg",
- "name": "resource name",
- "org": "9b",
- "project": "jx",
- "status": "provisioning",
- "updated": 5349581066518324000
}, - {
- "account": "3",
- "created": 6769379692591357000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "kqg",
- "name": "resource name",
- "org": "9b",
- "project": "jx",
- "status": "provisioning",
- "updated": 5349581066518324000
}, - {
- "account": "3",
- "created": 6769379692591357000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "kqg",
- "name": "resource name",
- "org": "9b",
- "project": "jx",
- "status": "provisioning",
- "updated": 5349581066518324000
}, - {
- "account": "3",
- "created": 6769379692591357000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "kqg",
- "name": "resource name",
- "org": "9b",
- "project": "jx",
- "status": "provisioning",
- "updated": 5349581066518324000
}
]
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": "3",
- "version": "k"
}, - "budget": 0.10952692,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "Accusamus beatae fuga consequatur officiis exercitationem.": {
- "project_pipeline": "Ea mollitia.",
- "workspace_pipeline": "Nostrum dolore est sit ut."
}, - "Quibusdam soluta dicta.": {
- "project_pipeline": "Ea mollitia.",
- "workspace_pipeline": "Nostrum dolore est sit ut."
}, - "Voluptas reprehenderit.": {
- "project_pipeline": "Ea mollitia.",
- "workspace_pipeline": "Nostrum dolore est sit ut."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Ab soluta.": {
- "key": "j",
- "value": "Repellat autem nam modi magni distinctio.",
- "value_type": "secret"
}, - "Et ipsum necessitatibus eos.": {
- "key": "j",
- "value": "Repellat autem nam modi magni distinctio.",
- "value_type": "secret"
}, - "Expedita est maxime ut explicabo.": {
- "key": "j",
- "value": "Repellat autem nam modi magni distinctio.",
- "value_type": "secret"
}
}, - "identifier": "5",
- "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "name": "resource name",
- "provider_connector": "Incidunt error rem consequuntur saepe non temporibus.",
- "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "provisioner": "opentofu",
- "provisioner_version": "Laboriosam rerum quibusdam.",
- "repository": "Maxime aut incidunt saepe.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Quo at molestiae omnis aut natus et.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
- "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Expedita hic omnis sapiente itaque qui quaerat.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Maxime eius vel in maxime et ad.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Expedita hic omnis sapiente itaque qui quaerat.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Maxime eius vel in maxime et ad.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Expedita hic omnis sapiente itaque qui quaerat.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Maxime eius vel in maxime et ad.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Est dolore delectus qui.": {
- "key": "j",
- "value": "Repellat autem nam modi magni distinctio.",
- "value_type": "secret"
}
}, - "variable_sets": [
- "Qui aut illo omnis quibusdam.",
- "Omnis eligendi unde.",
- "Maiores omnis blanditiis explicabo voluptates totam.",
- "A sunt vel."
]
}
{- "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"
}, - {
- "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"
}, - {
- "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"
}, - {
- "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": "8",
- "associated_template": {
- "template_id": "y",
- "version": "13"
}, - "backend_locked": false,
- "budget": 0.6245874,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "created": 7178695302051972000,
- "default_pipelines": {
- "Veniam perferendis.": {
- "project_pipeline": "Nostrum rerum et non aspernatur corrupti esse.",
- "workspace_pipeline": "Vero tempore ex nesciunt architecto."
}, - "Voluptas reiciendis.": {
- "project_pipeline": "Nostrum rerum et non aspernatur corrupti esse.",
- "workspace_pipeline": "Vero tempore ex nesciunt architecto."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Aut reiciendis libero quo doloribus omnis quo.": {
- "created": 7623694479888309000,
- "key": "6kj",
- "updated": 5759491524192653000,
- "value": "Quis beatae.",
- "value_type": "string"
}, - "Deserunt laudantium aut dignissimos.": {
- "created": 7623694479888309000,
- "key": "6kj",
- "updated": 5759491524192653000,
- "value": "Quis beatae.",
- "value_type": "string"
}, - "Repudiandae molestiae.": {
- "created": 7623694479888309000,
- "key": "6kj",
- "updated": 5759491524192653000,
- "value": "Quis beatae.",
- "value_type": "string"
}
}, - "identifier": "e",
- "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "name": "resource name",
- "org": "w3",
- "project": "hd",
- "provider_connector": "Reiciendis eos nihil alias eligendi eos quos.",
- "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "provisioner": "terraform",
- "provisioner_data": "Voluptatem possimus tempora veniam ea laborum omnis.",
- "provisioner_version": "Sapiente dolor commodi nesciunt aut modi quo.",
- "repository": "Accusantium voluptas beatae.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Expedita dignissimos.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
- "status": "active",
- "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Eum quasi fugit.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Cumque a eaque et quasi.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Eum quasi fugit.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Cumque a eaque et quasi.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Quas sed non accusantium.": {
- "created": 7623694479888309000,
- "key": "6kj",
- "updated": 5759491524192653000,
- "value": "Quis beatae.",
- "value_type": "string"
}, - "Sed laudantium laudantium nesciunt blanditiis.": {
- "created": 7623694479888309000,
- "key": "6kj",
- "updated": 5759491524192653000,
- "value": "Quis beatae.",
- "value_type": "string"
}
}, - "updated": 2564473642249789400,
- "variable_sets": [
- "Aut rerum.",
- "In quae qui.",
- "Autem quia vel."
]
}
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.97758543,
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "A non eum qui in omnis ea.": {
- "project_pipeline": "Ea mollitia.",
- "workspace_pipeline": "Nostrum dolore est sit ut."
}, - "Ut consectetur eaque odio.": {
- "project_pipeline": "Ea mollitia.",
- "workspace_pipeline": "Nostrum dolore est sit ut."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Et nesciunt totam omnis dolor facere qui.": {
- "key": "j",
- "value": "Repellat autem nam modi magni distinctio.",
- "value_type": "secret"
}, - "Fugiat a earum harum et amet animi.": {
- "key": "j",
- "value": "Repellat autem nam modi magni distinctio.",
- "value_type": "secret"
}
}, - "name": "resource name",
- "provider_connector": "Dolore aut eum id aut dolor.",
- "provisioner": "terraform",
- "provisioner_version": "Dolore voluptatum dignissimos ut.",
- "repository": "Assumenda illum dolores quis ratione.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Rerum nemo quod.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "terraform_variable_files": [
- {
- "repository": "Expedita hic omnis sapiente itaque qui quaerat.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Maxime eius vel in maxime et ad.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Expedita hic omnis sapiente itaque qui quaerat.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Maxime eius vel in maxime et ad.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Debitis impedit esse corrupti numquam accusantium inventore.": {
- "key": "j",
- "value": "Repellat autem nam modi magni distinctio.",
- "value_type": "secret"
}
}, - "variable_sets": [
- "Impedit libero nam aut.",
- "Fugit exercitationem.",
- "Assumenda amet.",
- "A sunt tempora possimus eum fuga."
]
}
{- "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"
}, - {
- "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"
}, - {
- "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"
}, - {
- "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"
}
]
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": "Tenetur perferendis mollitia neque sed voluptatem corporis."
}, - {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Tenetur perferendis mollitia neque sed voluptatem corporis."
}, - {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Tenetur perferendis mollitia neque sed voluptatem corporis."
}
], - "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"
}
]
}
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": "wj3",
- "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"
}, - {
- "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"
}, - {
- "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"
}, - {
- "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": "p",
- "created": 5538211431624164000,
- "data_type": "plan_human",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "ym1",
- "pipeline_execution_id": "Sed et animi consequuntur.",
- "pipeline_id": "Saepe tenetur possimus voluptatem quidem.",
- "pipeline_stage_id": "Magnam eligendi neque odio.",
- "project": "c",
- "provisioner_type": "tf",
- "stage_id": "Ullam et autem ipsum.",
- "workspace": "workspace123"
}, - {
- "account": "p",
- "created": 5538211431624164000,
- "data_type": "plan_human",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "ym1",
- "pipeline_execution_id": "Sed et animi consequuntur.",
- "pipeline_id": "Saepe tenetur possimus voluptatem quidem.",
- "pipeline_stage_id": "Magnam eligendi neque odio.",
- "project": "c",
- "provisioner_type": "tf",
- "stage_id": "Ullam et autem ipsum.",
- "workspace": "workspace123"
}, - {
- "account": "p",
- "created": 5538211431624164000,
- "data_type": "plan_human",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "ym1",
- "pipeline_execution_id": "Sed et animi consequuntur.",
- "pipeline_id": "Saepe tenetur possimus voluptatem quidem.",
- "pipeline_stage_id": "Magnam eligendi neque odio.",
- "project": "c",
- "provisioner_type": "tf",
- "stage_id": "Ullam et autem ipsum.",
- "workspace": "workspace123"
}, - {
- "account": "p",
- "created": 5538211431624164000,
- "data_type": "plan_human",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "ym1",
- "pipeline_execution_id": "Sed et animi consequuntur.",
- "pipeline_id": "Saepe tenetur possimus voluptatem quidem.",
- "pipeline_stage_id": "Magnam eligendi neque odio.",
- "project": "c",
- "provisioner_type": "tf",
- "stage_id": "Ullam et autem ipsum.",
- "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": "Tempore sint dolore praesentium tenetur.",
- "policy_id": "Illum cum libero dolorum voluptas.",
- "policy_name": "Ut nisi.",
- "policy_set_id": "In est possimus dolor hic.",
- "policy_set_name": "Eveniet iure.",
- "policy_status": "Debitis ipsa culpa quod enim."
}, - {
- "message": "Tempore sint dolore praesentium tenetur.",
- "policy_id": "Illum cum libero dolorum voluptas.",
- "policy_name": "Ut nisi.",
- "policy_set_id": "In est possimus dolor hic.",
- "policy_set_name": "Eveniet iure.",
- "policy_status": "Debitis ipsa culpa quod enim."
}, - {
- "message": "Tempore sint dolore praesentium tenetur.",
- "policy_id": "Illum cum libero dolorum voluptas.",
- "policy_name": "Ut nisi.",
- "policy_set_id": "In est possimus dolor hic.",
- "policy_set_name": "Eveniet iure.",
- "policy_status": "Debitis ipsa culpa quod enim."
}, - {
- "message": "Tempore sint dolore praesentium tenetur.",
- "policy_id": "Illum cum libero dolorum voluptas.",
- "policy_name": "Ut nisi.",
- "policy_set_id": "In est possimus dolor hic.",
- "policy_set_name": "Eveniet iure.",
- "policy_status": "Debitis ipsa culpa quod enim."
}
], - "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": "Tempore sint dolore praesentium tenetur.",
- "policy_id": "Illum cum libero dolorum voluptas.",
- "policy_name": "Ut nisi.",
- "policy_set_id": "In est possimus dolor hic.",
- "policy_set_name": "Eveniet iure.",
- "policy_status": "Debitis ipsa culpa quod enim."
}, - {
- "message": "Tempore sint dolore praesentium tenetur.",
- "policy_id": "Illum cum libero dolorum voluptas.",
- "policy_name": "Ut nisi.",
- "policy_set_id": "In est possimus dolor hic.",
- "policy_set_name": "Eveniet iure.",
- "policy_status": "Debitis ipsa culpa quod enim."
}, - {
- "message": "Tempore sint dolore praesentium tenetur.",
- "policy_id": "Illum cum libero dolorum voluptas.",
- "policy_name": "Ut nisi.",
- "policy_set_id": "In est possimus dolor hic.",
- "policy_set_name": "Eveniet iure.",
- "policy_status": "Debitis ipsa culpa quod enim."
}, - {
- "message": "Tempore sint dolore praesentium tenetur.",
- "policy_id": "Illum cum libero dolorum voluptas.",
- "policy_name": "Ut nisi.",
- "policy_set_id": "In est possimus dolor hic.",
- "policy_set_name": "Eveniet iure.",
- "policy_status": "Debitis ipsa culpa quod enim."
}
], - "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": {
- "Veritatis nemo.": "Qui et dolorem voluptas quisquam."
}, - "event_type": "failed",
- "metadata": {
- "PlannedChangesCount": 8490926910563650000,
- "activity_status": "failure",
- "activity_type": "apply",
- "cost_breakdown_uuid": "Rem nesciunt dolorum hic.",
- "cost_currency": "Blanditiis quis.",
- "cost_diff_total_monthly": "Nihil eos voluptatem optio.",
- "cost_diff_uuid": "Optio laborum modi voluptate.",
- "cost_past_total_monthly": "Perferendis ratione ipsum nobis distinctio.",
- "cost_total_monthly": "Aut et.",
- "cost_total_monthly_percentage_change": "Mollitia ad accusamus quasi ut aut.",
- "drift_counts": {
- "added": 2875771233481497000,
- "changed": 5938716045951728000,
- "deleted": 4554572944707777500,
- "unchanged": 2562628840846574000
}, - "enable_solutions_factory": false,
- "git_branch": "Et molestiae debitis labore tempore et voluptas.",
- "git_commit_message": "Pariatur hic quos ipsum exercitationem exercitationem.",
- "git_commit_sha": "Natus totam incidunt dolor quo illum.",
- "git_repo": "Eius eveniet illum.",
- "modules_uuid": "Blanditiis repudiandae ipsum numquam dolorum.",
- "output_counts": {
- "added": 2875771233481497000,
- "changed": 5938716045951728000,
- "deleted": 4554572944707777500,
- "unchanged": 2562628840846574000
}, - "pipeline": "Expedita quisquam.",
- "pipeline_execution_id": "Aperiam ratione commodi id nemo.",
- "pipeline_execution_number": "Veniam repudiandae odit omnis quis.",
- "pipeline_name": "Sunt ipsa placeat voluptatem veniam.",
- "pipeline_stage_id": "Vero sit.",
- "plan_uuid": "Sint sit dolor laborum eum nemo ut.",
- "providers_uuid": "Voluptatibus velit rem velit aut ut sit.",
- "provisioner": "Omnis tempore a quia minima nemo.",
- "provisioner_version": "Harum vel nisi eum.",
- "resource_counts": {
- "added": 2875771233481497000,
- "changed": 5938716045951728000,
- "deleted": 4554572944707777500,
- "unchanged": 2562628840846574000
}, - "state_checksum": "Delectus quia odio illum magnam et neque.",
- "state_uuid": "Et ducimus a distinctio.",
- "trigger": {
- "Et ut et sunt veritatis aut.": "Quasi totam."
}
}, - "pipeline_execution_id": "Aperiam sit tempore vel dolorem fugiat aut.",
- "pipeline_stage_id": "A omnis excepturi asperiores libero quaerat et."
}
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": "0v",
- "org": "e",
- "pipelines": [
- "Similique cumque.",
- "Adipisci vel sed quod magni repudiandae doloremque.",
- "Aperiam quis.",
- "Et sed voluptatem ea sapiente delectus."
], - "project": "80"
}
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": {
- "Et velit minima aspernatur voluptas earum non.": [
- "Nulla voluptas voluptas accusamus nisi numquam debitis.",
- "Unde maxime sequi voluptates facere.",
- "Quibusdam autem porro id enim ea.",
- "Molestias autem omnis quisquam."
], - "Expedita assumenda libero fuga perferendis.": [
- "Modi et dolores in ullam est laudantium.",
- "Ut error aspernatur minus deleniti et quasi.",
- "Voluptas vitae eos repellat voluptates."
], - "Ut voluptatem nesciunt.": [
- "Et ad fugit nesciunt amet magni rem.",
- "Et est dignissimos non."
]
}
}
{- "account": "l6",
- "created": 7059030763787109000,
- "custom_arguments": {
- "Ab praesentium impedit impedit qui eligendi.": [
- "Accusamus consequuntur ut.",
- "Numquam in occaecati voluptatum numquam harum.",
- "Nostrum a ex enim.",
- "Iste sunt libero assumenda debitis eum debitis."
], - "Aut sit.": [
- "Voluptatem enim est.",
- "Optio accusamus dolore.",
- "Repellat exercitationem voluptas tempora dolore.",
- "Consequatur magni consectetur sint eos dignissimos est."
], - "Inventore dolore.": [
- "Ipsam ut.",
- "Ea quasi eum quae."
]
}, - "executed": true,
- "id": "01ffa9ce-7f4a-4ab4-8de9-7a15795ea798",
- "org": "sk2",
- "pipeline_execution_id": "Voluptatem quia.",
- "pipeline_execution_url": "Tempore quisquam dicta itaque.",
- "project": "mz",
- "sha256_checksum": "Nihil aut consequatur ducimus voluptatem suscipit quidem.",
- "updated": 9106090072191144000,
- "workspace": "Voluptas consequatur placeat ipsum rem."
}
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": "pnv",
- "created": 2275601611304323300,
- "custom_arguments": {
- "Qui ipsa ex voluptatem et vel soluta.": [
- "Enim repellendus.",
- "Aliquid doloribus quidem quam ut similique.",
- "Sint est deleniti et facere rerum dolor.",
- "Et voluptatum necessitatibus."
], - "Repellendus officiis et dicta sed autem rerum.": [
- "Qui dolorem earum vel tenetur odit beatae.",
- "Excepturi facilis labore nihil deleniti."
]
}, - "executed": true,
- "id": "5dc7f8a4-b9bb-4319-b419-b5d87512326b",
- "org": "6v",
- "pipeline_execution_id": "Voluptas quo ex.",
- "pipeline_execution_url": "Autem quis fugit voluptatem nulla magni quisquam.",
- "project": "m",
- "sha256_checksum": "Doloribus quisquam.",
- "updated": 7902167227968351000,
- "workspace": "Ut quod qui iure rerum."
}
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": "py9",
- "created": 1215991044050867000,
- "custom_arguments": {
- "Accusamus harum aliquid minus.": [
- "Sed quia aliquam eligendi.",
- "Nemo enim voluptate natus.",
- "Voluptates vitae debitis dolorum quod."
], - "Enim earum qui qui omnis laboriosam distinctio.": [
- "Ullam similique.",
- "Molestiae iusto.",
- "Dolores odio placeat et.",
- "Aut doloremque rerum id."
], - "Soluta minima quaerat harum sit quia.": [
- "Saepe ad non error dolorem.",
- "Cumque et.",
- "Id saepe labore minima assumenda.",
- "Dignissimos consequatur."
]
}, - "executed": true,
- "id": "bed26b79-ae96-4bfc-a6da-7b14fbeafb5a",
- "org": "goi",
- "pipeline_execution_id": "Tenetur consequatur quod in odio minus.",
- "pipeline_execution_url": "Eos qui et aut iure.",
- "project": "u",
- "sha256_checksum": "Quis eum.",
- "updated": 6014953954371395000,
- "workspace": "Autem est."
}
Upload the source code for the remote execution.
Harness-Account required | string [ 1 .. 128 ] characters Account is the internal customer account ID. Example: vf |
Content-Length | integer <int64> Size in bytes of the source code. Example: 8254549818997101000 |
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: Eius quam aliquid maiores eligendi suscipit. |
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": "1vp",
- "created": 5870418372671915000,
- "custom_arguments": {
- "Assumenda est.": [
- "Est suscipit corrupti ducimus sed minus qui.",
- "Ut eveniet atque nam in quas."
], - "Quia ut molestiae blanditiis nihil quisquam.": [
- "Iste et alias.",
- "Reprehenderit sit eligendi eligendi eum eos."
], - "Sint omnis quis.": [
- "Molestiae nam aut voluptatem dolorum consequatur.",
- "Non magni eum est itaque.",
- "Quis enim."
]
}, - "executed": true,
- "id": "c5f059c4-1a63-426a-99d6-251bf548f149",
- "org": "q",
- "pipeline_execution_id": "Molestias nihil nam reprehenderit.",
- "pipeline_execution_url": "Quasi rerum aperiam.",
- "project": "3gf",
- "sha256_checksum": "Qui quo magnam cupiditate.",
- "updated": 2543279644387391500,
- "workspace": "Doloribus alias amet et iusto."
}
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": "j",
- "created_at": 1627590400,
- "org": "jd",
- "project": "v13",
- "template_id": "2i0",
- "updated_at": 1627686800,
- "version": "e03",
- "workspace_id": "v1"
}, - {
- "account": "j",
- "created_at": 1627590400,
- "org": "jd",
- "project": "v13",
- "template_id": "2i0",
- "updated_at": 1627686800,
- "version": "e03",
- "workspace_id": "v1"
}
]