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": {
- "Dolores natus.": 3071406004755095000
}
}
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": "q",
- "created": 1208790653448628500,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "s1v",
- "name": "resource name",
- "org": "g",
- "project": "0a",
- "status": "unknown",
- "updated": 2786574127142621000
}, - {
- "account": "q",
- "created": 1208790653448628500,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "s1v",
- "name": "resource name",
- "org": "g",
- "project": "0a",
- "status": "unknown",
- "updated": 2786574127142621000
}, - {
- "account": "q",
- "created": 1208790653448628500,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "s1v",
- "name": "resource name",
- "org": "g",
- "project": "0a",
- "status": "unknown",
- "updated": 2786574127142621000
}
]
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": "7u",
- "version": "4u"
}, - "budget": 0.96011406,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "Asperiores facere est quia.": {
- "project_pipeline": "Optio quos sunt magni reiciendis.",
- "workspace_pipeline": "Aperiam ipsum aperiam quis."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Id non.": {
- "key": "i5",
- "value": "Rerum cumque.",
- "value_type": "secret"
}, - "Molestiae nisi sint.": {
- "key": "i5",
- "value": "Rerum cumque.",
- "value_type": "secret"
}, - "Vero fugit in velit voluptatem.": {
- "key": "i5",
- "value": "Rerum cumque.",
- "value_type": "secret"
}
}, - "id": 7066108598060831000,
- "identifier": "i",
- "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "name": "resource name",
- "provider_connector": "Aut omnis id id ad ipsum tempore.",
- "provider_connectors": [
- {
- "connector_ref": "h8h",
- "created": 1627590400,
- "id": 3972048360848832500,
- "type": "gcp",
- "updated": 1627686800,
- "workspace_id": 7356608592720691000
}, - {
- "connector_ref": "h8h",
- "created": 1627590400,
- "id": 3972048360848832500,
- "type": "gcp",
- "updated": 1627686800,
- "workspace_id": 7356608592720691000
}
], - "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "provisioner": "opentofu",
- "provisioner_version": "Possimus quibusdam dolores qui.",
- "repository": "Voluptatibus exercitationem cumque mollitia laborum dolores.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Ipsa eos.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "repository_submodules": "recursive",
- "sparse_checkout": "Voluptatem nulla perspiciatis officia quia natus impedit.",
- "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
- "tags": {
- "foo": "bar"
}, - "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Nemo reiciendis.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Porro et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Nemo reiciendis.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Porro et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Unde voluptatem velit possimus.": {
- "key": "i5",
- "value": "Rerum cumque.",
- "value_type": "secret"
}
}, - "variable_sets": [
- "Inventore ad cupiditate.",
- "Doloribus quos enim accusantium.",
- "Et saepe rerum non adipisci.",
- "Qui voluptatum veritatis dolore aspernatur velit expedita."
]
}
{- "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"
}
], - "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"
}
], - "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"
}
], - "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": "py",
- "associated_template": {
- "template_id": "zx",
- "version": "3"
}, - "backend_locked": true,
- "budget": 0.009476694,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "created": 34320627300546350,
- "default_pipelines": {
- "Aut sit distinctio.": {
- "project_pipeline": "Voluptas minus perspiciatis aliquam.",
- "workspace_pipeline": "Nihil et id ducimus explicabo fuga inventore."
}, - "In sed velit qui voluptate.": {
- "project_pipeline": "Voluptas minus perspiciatis aliquam.",
- "workspace_pipeline": "Nihil et id ducimus explicabo fuga inventore."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Omnis tenetur dolores.": {
- "created": 3806278365598465000,
- "key": "46",
- "updated": 4928358569030762000,
- "value": "Id sint quam.",
- "value_type": "secret"
}
}, - "identifier": "1zq",
- "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "name": "resource name",
- "org": "ncu",
- "project": "k",
- "provider_connector": "In aperiam et consequuntur aut omnis enim.",
- "provider_connectors": [
- {
- "connector_ref": "ud",
- "created": 1627590400,
- "id": 5431443114581221000,
- "type": "aws",
- "updated": 1627686800,
- "workspace_id": 8735968129367883000
}, - {
- "connector_ref": "ud",
- "created": 1627590400,
- "id": 5431443114581221000,
- "type": "aws",
- "updated": 1627686800,
- "workspace_id": 8735968129367883000
}, - {
- "connector_ref": "ud",
- "created": 1627590400,
- "id": 5431443114581221000,
- "type": "aws",
- "updated": 1627686800,
- "workspace_id": 8735968129367883000
}, - {
- "connector_ref": "ud",
- "created": 1627590400,
- "id": 5431443114581221000,
- "type": "aws",
- "updated": 1627686800,
- "workspace_id": 8735968129367883000
}
], - "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "provisioner": "opentofu",
- "provisioner_data": "Voluptas eaque aut.",
- "provisioner_version": "Error ut.",
- "repository": "Recusandae error maxime.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Dolorem ut velit.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "repository_submodules": "recursive",
- "sparse_checkout": "Deleniti debitis perferendis et quaerat labore.",
- "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
- "status": "provisioning",
- "tags": {
- "foo": "bar"
}, - "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Optio sed debitis incidunt est fugiat eos.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Tempora quos.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Optio sed debitis incidunt est fugiat eos.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Tempora quos.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Optio sed debitis incidunt est fugiat eos.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Tempora quos.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Est vel.": {
- "created": 3806278365598465000,
- "key": "46",
- "updated": 4928358569030762000,
- "value": "Id sint quam.",
- "value_type": "secret"
}
}, - "updated": 5050652216941577000,
- "variable_sets": [
- "Omnis occaecati enim illo.",
- "Molestias nemo ut.",
- "Voluptatibus distinctio laudantium."
]
}
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.086352475,
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "Corporis ipsa quis.": {
- "project_pipeline": "Optio quos sunt magni reiciendis.",
- "workspace_pipeline": "Aperiam ipsum aperiam quis."
}, - "Itaque recusandae aliquid cumque.": {
- "project_pipeline": "Optio quos sunt magni reiciendis.",
- "workspace_pipeline": "Aperiam ipsum aperiam quis."
}, - "Quod sequi impedit.": {
- "project_pipeline": "Optio quos sunt magni reiciendis.",
- "workspace_pipeline": "Aperiam ipsum aperiam quis."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Qui quaerat magni.": {
- "key": "i5",
- "value": "Rerum cumque.",
- "value_type": "secret"
}, - "Sequi perferendis unde iure voluptas.": {
- "key": "i5",
- "value": "Rerum cumque.",
- "value_type": "secret"
}
}, - "name": "resource name",
- "provider_connector": "Tenetur ut cupiditate eaque.",
- "provider_connectors": [
- {
- "connector_ref": "h8h",
- "created": 1627590400,
- "id": 3972048360848832500,
- "type": "gcp",
- "updated": 1627686800,
- "workspace_id": 7356608592720691000
}, - {
- "connector_ref": "h8h",
- "created": 1627590400,
- "id": 3972048360848832500,
- "type": "gcp",
- "updated": 1627686800,
- "workspace_id": 7356608592720691000
}, - {
- "connector_ref": "h8h",
- "created": 1627590400,
- "id": 3972048360848832500,
- "type": "gcp",
- "updated": 1627686800,
- "workspace_id": 7356608592720691000
}, - {
- "connector_ref": "h8h",
- "created": 1627590400,
- "id": 3972048360848832500,
- "type": "gcp",
- "updated": 1627686800,
- "workspace_id": 7356608592720691000
}
], - "provisioner": "terraform",
- "provisioner_version": "Totam dolor pariatur.",
- "repository": "Vel cumque autem nihil porro quibusdam.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Ipsum pariatur laboriosam et praesentium.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "repository_submodules": "recursive",
- "sparse_checkout": "Vitae rem culpa accusamus consequatur.",
- "tags": {
- "foo": "bar"
}, - "terraform_variable_files": [
- {
- "repository": "Nemo reiciendis.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Porro et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Nemo reiciendis.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Porro et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Nemo reiciendis.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Porro et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Nemo reiciendis.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Porro et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Molestias possimus laboriosam vero quasi.": {
- "key": "i5",
- "value": "Rerum cumque.",
- "value_type": "secret"
}, - "Quis aut inventore illum quae.": {
- "key": "i5",
- "value": "Rerum cumque.",
- "value_type": "secret"
}, - "Reprehenderit doloremque aut.": {
- "key": "i5",
- "value": "Rerum cumque.",
- "value_type": "secret"
}
}, - "variable_sets": [
- "Eligendi omnis facere.",
- "Doloribus quod repellat unde modi libero cum.",
- "Id voluptas soluta aut enim."
]
}
{- "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"
}
], - "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"
}
], - "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"
}
], - "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.
{- "data_sources": [
- {
- "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"
}
], - "outputs": [
- {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Possimus id sint."
}, - {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Possimus id sint."
}
], - "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": "7",
- "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"
}
], - "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"
}
], - "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"
}
], - "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": "7k",
- "created": 8660668924312509000,
- "data_type": "state_raw",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "m",
- "pipeline_execution_id": "Ut quis possimus et.",
- "pipeline_id": "Ipsum dolore soluta optio.",
- "pipeline_stage_id": "Rerum quidem voluptatem est dignissimos ut.",
- "project": "v9a",
- "provisioner_type": "tf",
- "stage_id": "Adipisci nesciunt laboriosam est aut.",
- "workspace": "workspace123"
}, - {
- "account": "7k",
- "created": 8660668924312509000,
- "data_type": "state_raw",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "m",
- "pipeline_execution_id": "Ut quis possimus et.",
- "pipeline_id": "Ipsum dolore soluta optio.",
- "pipeline_stage_id": "Rerum quidem voluptatem est dignissimos ut.",
- "project": "v9a",
- "provisioner_type": "tf",
- "stage_id": "Adipisci nesciunt laboriosam est aut.",
- "workspace": "workspace123"
}, - {
- "account": "7k",
- "created": 8660668924312509000,
- "data_type": "state_raw",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "m",
- "pipeline_execution_id": "Ut quis possimus et.",
- "pipeline_id": "Ipsum dolore soluta optio.",
- "pipeline_stage_id": "Rerum quidem voluptatem est dignissimos ut.",
- "project": "v9a",
- "provisioner_type": "tf",
- "stage_id": "Adipisci nesciunt laboriosam est aut.",
- "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": "Eius dolor qui at quas at quod.",
- "policy_id": "Nisi quasi cumque ipsa odit inventore ut.",
- "policy_name": "Fuga ea.",
- "policy_set_id": "Eaque ducimus ullam sunt molestiae facere.",
- "policy_set_name": "Repellendus hic reprehenderit non est totam.",
- "policy_status": "Animi reiciendis laudantium in."
}, - {
- "message": "Eius dolor qui at quas at quod.",
- "policy_id": "Nisi quasi cumque ipsa odit inventore ut.",
- "policy_name": "Fuga ea.",
- "policy_set_id": "Eaque ducimus ullam sunt molestiae facere.",
- "policy_set_name": "Repellendus hic reprehenderit non est totam.",
- "policy_status": "Animi reiciendis laudantium in."
}, - {
- "message": "Eius dolor qui at quas at quod.",
- "policy_id": "Nisi quasi cumque ipsa odit inventore ut.",
- "policy_name": "Fuga ea.",
- "policy_set_id": "Eaque ducimus ullam sunt molestiae facere.",
- "policy_set_name": "Repellendus hic reprehenderit non est totam.",
- "policy_status": "Animi reiciendis laudantium in."
}
], - "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": "Eius dolor qui at quas at quod.",
- "policy_id": "Nisi quasi cumque ipsa odit inventore ut.",
- "policy_name": "Fuga ea.",
- "policy_set_id": "Eaque ducimus ullam sunt molestiae facere.",
- "policy_set_name": "Repellendus hic reprehenderit non est totam.",
- "policy_status": "Animi reiciendis laudantium in."
}, - {
- "message": "Eius dolor qui at quas at quod.",
- "policy_id": "Nisi quasi cumque ipsa odit inventore ut.",
- "policy_name": "Fuga ea.",
- "policy_set_id": "Eaque ducimus ullam sunt molestiae facere.",
- "policy_set_name": "Repellendus hic reprehenderit non est totam.",
- "policy_status": "Animi reiciendis laudantium in."
}, - {
- "message": "Eius dolor qui at quas at quod.",
- "policy_id": "Nisi quasi cumque ipsa odit inventore ut.",
- "policy_name": "Fuga ea.",
- "policy_set_id": "Eaque ducimus ullam sunt molestiae facere.",
- "policy_set_name": "Repellendus hic reprehenderit non est totam.",
- "policy_status": "Animi reiciendis laudantium in."
}
], - "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": {
- "Molestiae ea ut.": "Nihil magni dolor."
}, - "event_type": "provisioning",
- "metadata": {
- "PlannedChangesCount": 2452092610264062000,
- "activity_status": "failure",
- "activity_type": "import",
- "cost_breakdown_uuid": "Maxime eum est fuga inventore.",
- "cost_currency": "Tenetur nesciunt.",
- "cost_diff_total_monthly": "Rem ipsam qui numquam nemo.",
- "cost_diff_uuid": "Ea natus possimus.",
- "cost_past_total_monthly": "A modi dolores quia rerum.",
- "cost_total_monthly": "Facilis quia officiis eveniet.",
- "cost_total_monthly_percentage_change": "Molestias nemo quos.",
- "drift_counts": {
- "added": 1926069642079262000,
- "changed": 6644572953107601000,
- "deleted": 8213593984185752000,
- "unchanged": 1083001572762766100
}, - "enable_solutions_factory": false,
- "git_branch": "Deserunt a similique quibusdam incidunt officiis.",
- "git_commit_message": "Eaque facilis.",
- "git_commit_sha": "Neque laborum.",
- "git_repo": "Dignissimos exercitationem eius illum est.",
- "modules_uuid": "Consequatur numquam perspiciatis.",
- "output_counts": {
- "added": 1926069642079262000,
- "changed": 6644572953107601000,
- "deleted": 8213593984185752000,
- "unchanged": 1083001572762766100
}, - "pipeline": "Sequi blanditiis provident atque.",
- "pipeline_execution_id": "Facere aspernatur fugiat vel molestiae eveniet.",
- "pipeline_execution_number": "Numquam voluptatem.",
- "pipeline_name": "Eum quo omnis.",
- "pipeline_stage_id": "Et provident molestiae omnis cumque aliquam placeat.",
- "plan_uuid": "Eveniet eum voluptatem porro quidem quidem accusantium.",
- "providers_uuid": "Iure dolorem.",
- "provisioner": "Et distinctio iure animi facilis.",
- "provisioner_version": "Aspernatur sit molestias alias nihil.",
- "resource_counts": {
- "added": 1926069642079262000,
- "changed": 6644572953107601000,
- "deleted": 8213593984185752000,
- "unchanged": 1083001572762766100
}, - "state_checksum": "Similique pariatur doloremque nihil placeat.",
- "state_uuid": "Assumenda autem explicabo quidem culpa occaecati et.",
- "trigger": {
- "Officiis nisi.": "A molestiae sint iure voluptas.",
- "Placeat qui accusamus.": "Ea et aliquid.",
- "Ut animi voluptatibus voluptatibus.": "Aperiam similique."
}
}, - "pipeline_execution_id": "Odit natus et nihil quas.",
- "pipeline_stage_id": "Est culpa ut saepe sit."
}
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": "s",
- "org": "0",
- "pipelines": [
- "Et magnam dignissimos qui odit aut.",
- "Ratione quia rerum quidem.",
- "Voluptate aliquid et neque qui."
], - "project": "p"
}
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": {
- "A accusantium tenetur consequuntur.": [
- "Odit sequi sit vitae aliquam.",
- "Reprehenderit libero fugiat.",
- "Consectetur delectus delectus veritatis sint.",
- "Aut blanditiis."
], - "Dolor iste eaque.": [
- "Labore aperiam repellat.",
- "Vitae mollitia consequuntur qui facilis dolor quia."
]
}
}
{- "account": "p",
- "created": 5201359725552042000,
- "custom_arguments": {
- "Dignissimos eos natus quia suscipit nostrum.": [
- "At sunt perferendis.",
- "Dolorem velit vel occaecati mollitia tenetur quis.",
- "Debitis quas facere.",
- "Consequuntur voluptatem ratione."
], - "Fugiat omnis aut laborum est porro ullam.": [
- "Iure adipisci ea voluptate a.",
- "Ut quidem explicabo."
], - "Pariatur voluptates voluptatem.": [
- "Quaerat ea nemo ut voluptas facilis.",
- "Sit vel qui id."
]
}, - "executed": false,
- "id": "c4cda836-6ff0-4a73-8fa9-3ae2f99d028a",
- "org": "1",
- "pipeline_execution_id": "Atque iusto quis.",
- "pipeline_execution_url": "Earum eum et sapiente et quod.",
- "project": "1ni",
- "sha256_checksum": "Amet mollitia et voluptate omnis minima laboriosam.",
- "updated": 1115410022123217300,
- "workspace": "Ex asperiores."
}
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": "n",
- "created": 6901230229512400000,
- "custom_arguments": {
- "Facilis delectus doloribus laborum ex soluta cupiditate.": [
- "Dignissimos aut dolorum tenetur.",
- "Qui veritatis cumque assumenda.",
- "Aut ut officiis aut.",
- "Dolore fugiat ut assumenda veniam quidem."
]
}, - "executed": true,
- "id": "c9dcbfe2-2fd8-4921-b968-59120f5f44cb",
- "org": "he",
- "pipeline_execution_id": "At aspernatur alias quidem ab tempora sed.",
- "pipeline_execution_url": "Et quidem tempore voluptatum earum iure provident.",
- "project": "u7a",
- "sha256_checksum": "Dolor sed sit ipsam incidunt laboriosam vel.",
- "updated": 907821693697979600,
- "workspace": "Facere soluta illo non."
}
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": "fj1",
- "created": 6064672155280667000,
- "custom_arguments": {
- "Provident beatae non veniam.": [
- "Assumenda labore et nisi.",
- "Accusantium a eum et dolorem.",
- "Adipisci quidem dicta.",
- "Tempora sit sequi neque."
], - "Quasi quia.": [
- "Tempore ipsam ea quia eveniet vitae perferendis.",
- "Aut assumenda et magni architecto.",
- "Ut ratione.",
- "Impedit sed quam quisquam enim."
]
}, - "executed": false,
- "id": "48ea8dde-6a7e-4070-ae4e-d583873203ae",
- "org": "ps",
- "pipeline_execution_id": "Temporibus laudantium.",
- "pipeline_execution_url": "Voluptatum repellendus modi eum voluptas ut animi.",
- "project": "rci",
- "sha256_checksum": "Vel beatae et consequatur aliquam.",
- "updated": 8942566710390643000,
- "workspace": "Doloremque animi."
}
Upload the source code for the remote execution.
Harness-Account required | string [ 1 .. 128 ] characters Account is the internal customer account ID. Example: a |
Content-Length | integer <int64> Size in bytes of the source code. Example: 1044803321604207500 |
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: Cupiditate nisi. |
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": "ce0",
- "created": 27741312053188064,
- "custom_arguments": {
- "Et et rerum maiores beatae quasi architecto.": [
- "Consequatur omnis aperiam.",
- "Voluptas odio.",
- "Tenetur quo dolore.",
- "Repellat sit alias ut consequatur expedita."
], - "Fugit est non.": [
- "Aut aut aut nihil.",
- "Saepe qui."
], - "Perspiciatis rem vel molestiae.": [
- "Eum rerum dolorem.",
- "Et voluptate voluptas."
]
}, - "executed": false,
- "id": "732f30f0-f0dc-442d-8b61-14f03dbe5200",
- "org": "oxd",
- "pipeline_execution_id": "Impedit in dolor est ab.",
- "pipeline_execution_url": "Vel nam atque.",
- "project": "k",
- "sha256_checksum": "Fuga rem aperiam.",
- "updated": 4558187102902579000,
- "workspace": "Eius repudiandae aut."
}
Retrieves the ratio of provisioners used by 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.
{- "provisioner": {
- "Dolor accusamus cum.": 0.29927427279442853,
- "Totam dolorum accusantium possimus.": 0.7454666798653101
}, - "total": 0.8914537451967556
}
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": "8jg",
- "created_at": 1627590400,
- "org": "l",
- "project": "c",
- "template_id": "p",
- "updated_at": 1627686800,
- "version": "ru",
- "workspace_id": "f"
}, - {
- "account": "8jg",
- "created_at": 1627590400,
- "org": "l",
- "project": "c",
- "template_id": "p",
- "updated_at": 1627686800,
- "version": "ru",
- "workspace_id": "f"
}, - {
- "account": "8jg",
- "created_at": 1627590400,
- "org": "l",
- "project": "c",
- "template_id": "p",
- "updated_at": 1627686800,
- "version": "ru",
- "workspace_id": "f"
}
]