Workspaces Service handles the API for managing workspaces and triggering workflows against them.
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": "6q",
- "created": 6300190115670433000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "4",
- "name": "resource name",
- "org": "5",
- "project": "75v",
- "status": "failed",
- "updated": 6966559721203562000
}, - {
- "account": "6q",
- "created": 6300190115670433000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "4",
- "name": "resource name",
- "org": "5",
- "project": "75v",
- "status": "failed",
- "updated": 6966559721203562000
}, - {
- "account": "6q",
- "created": 6300190115670433000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "4",
- "name": "resource name",
- "org": "5",
- "project": "75v",
- "status": "failed",
- "updated": 6966559721203562000
}, - {
- "account": "6q",
- "created": 6300190115670433000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "4",
- "name": "resource name",
- "org": "5",
- "project": "75v",
- "status": "failed",
- "updated": 6966559721203562000
}
]
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": "vd",
- "version": "fx"
}, - "budget": 0.70820117,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "At et.": {
- "project_pipeline": "Aut sit officia.",
- "workspace_pipeline": "Ex officiis maiores dolore."
}, - "Beatae reiciendis.": {
- "project_pipeline": "Aut sit officia.",
- "workspace_pipeline": "Ex officiis maiores dolore."
}, - "Pariatur sapiente voluptate aliquid quod qui iusto.": {
- "project_pipeline": "Aut sit officia.",
- "workspace_pipeline": "Ex officiis maiores dolore."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Cupiditate enim quia provident esse.": {
- "key": "5",
- "value": "Maxime est veritatis et eum voluptatem.",
- "value_type": "secret"
}
}, - "identifier": "ao8",
- "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "name": "resource name",
- "provider_connector": "Dicta libero natus.",
- "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "provisioner": "opentofu",
- "provisioner_version": "Quis aperiam.",
- "repository": "Tempora porro tenetur earum dolor aut.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Aperiam cum dolorum molestiae et sed.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
- "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Cumque sapiente.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Eum nihil.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Cumque sapiente.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Eum nihil.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Cumque sapiente.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Eum nihil.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Cupiditate atque quod nam consequatur.": {
- "key": "5",
- "value": "Maxime est veritatis et eum voluptatem.",
- "value_type": "secret"
}, - "Doloremque modi.": {
- "key": "5",
- "value": "Maxime est veritatis et eum voluptatem.",
- "value_type": "secret"
}, - "Molestiae vero iste vel mollitia.": {
- "key": "5",
- "value": "Maxime est veritatis et eum voluptatem.",
- "value_type": "secret"
}
}
}
{- "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
}, - {
- "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": "6",
- "associated_template": {
- "template_id": "o",
- "version": "va"
}, - "backend_locked": true,
- "budget": 0.22428106,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "created": 526805003693969300,
- "default_pipelines": {
- "Commodi voluptatem magni ullam quis.": {
- "project_pipeline": "Doloribus qui.",
- "workspace_pipeline": "Quibusdam id nostrum in."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Alias mollitia repellat.": {
- "created": 3232536488574763500,
- "key": "mf",
- "updated": 5214596999390925000,
- "value": "Sunt vel est.",
- "value_type": "string"
}, - "Nisi ipsam.": {
- "created": 3232536488574763500,
- "key": "mf",
- "updated": 5214596999390925000,
- "value": "Sunt vel est.",
- "value_type": "string"
}
}, - "identifier": "la4",
- "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "name": "resource name",
- "org": "c",
- "project": "y",
- "provider_connector": "Est qui beatae nisi nostrum non ullam.",
- "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "provisioner": "terraform",
- "provisioner_data": "Qui esse qui omnis.",
- "provisioner_version": "Non omnis iusto perspiciatis occaecati iste.",
- "repository": "Omnis sunt quas cum sed nostrum.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Quaerat voluptatem et dolor.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
- "status": "destroying",
- "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Rem deleniti repellat atque enim voluptas earum.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Saepe molestias.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Rem deleniti repellat atque enim voluptas earum.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Saepe molestias.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Rem deleniti repellat atque enim voluptas earum.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Saepe molestias.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Rem deleniti repellat atque enim voluptas earum.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Saepe molestias.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Debitis et consectetur magni perferendis iste.": {
- "created": 3232536488574763500,
- "key": "mf",
- "updated": 5214596999390925000,
- "value": "Sunt vel est.",
- "value_type": "string"
}, - "Vel id voluptatem.": {
- "created": 3232536488574763500,
- "key": "mf",
- "updated": 5214596999390925000,
- "value": "Sunt vel est.",
- "value_type": "string"
}, - "Voluptates omnis voluptatibus ut reprehenderit laboriosam non.": {
- "created": 3232536488574763500,
- "key": "mf",
- "updated": 5214596999390925000,
- "value": "Sunt vel est.",
- "value_type": "string"
}
}, - "updated": 8404031554218628000
}
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.51997536,
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "Reprehenderit dolorem sit.": {
- "project_pipeline": "Aut sit officia.",
- "workspace_pipeline": "Ex officiis maiores dolore."
}, - "Voluptatum aut doloribus.": {
- "project_pipeline": "Aut sit officia.",
- "workspace_pipeline": "Ex officiis maiores dolore."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Deserunt maiores id neque.": {
- "key": "5",
- "value": "Maxime est veritatis et eum voluptatem.",
- "value_type": "secret"
}, - "Fugit perferendis asperiores architecto a quidem debitis.": {
- "key": "5",
- "value": "Maxime est veritatis et eum voluptatem.",
- "value_type": "secret"
}, - "Voluptates in.": {
- "key": "5",
- "value": "Maxime est veritatis et eum voluptatem.",
- "value_type": "secret"
}
}, - "name": "resource name",
- "provider_connector": "Autem itaque laborum sed amet modi.",
- "provisioner": "opentofu",
- "provisioner_version": "Quo quaerat asperiores.",
- "repository": "Eius eum.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Vel aspernatur accusamus.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "terraform_variable_files": [
- {
- "repository": "Cumque sapiente.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Eum nihil.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Cumque sapiente.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Eum nihil.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Cumque sapiente.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Eum nihil.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Dolorum qui sunt dolorem ut placeat voluptas.": {
- "key": "5",
- "value": "Maxime est veritatis et eum voluptatem.",
- "value_type": "secret"
}, - "Modi ipsa sunt.": {
- "key": "5",
- "value": "Maxime est veritatis et eum voluptatem.",
- "value_type": "secret"
}
}
}
{- "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
}, - {
- "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"
}, - {
- "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": "Illum voluptatem eligendi."
}, - {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Illum voluptatem eligendi."
}
], - "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"
}, - {
- "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": "b4",
- "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
}, - {
- "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": 704895526972018600,
- "data_type": "state_human",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "1q",
- "pipeline_execution_id": "Quidem velit laboriosam quaerat occaecati.",
- "pipeline_id": "Earum sint.",
- "pipeline_stage_id": "Ex voluptatem.",
- "project": "i0q",
- "provisioner_type": "tf",
- "stage_id": "Fugiat eum id.",
- "workspace": "workspace123"
}, - {
- "account": "p",
- "created": 704895526972018600,
- "data_type": "state_human",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "1q",
- "pipeline_execution_id": "Quidem velit laboriosam quaerat occaecati.",
- "pipeline_id": "Earum sint.",
- "pipeline_stage_id": "Ex voluptatem.",
- "project": "i0q",
- "provisioner_type": "tf",
- "stage_id": "Fugiat eum id.",
- "workspace": "workspace123"
}, - {
- "account": "p",
- "created": 704895526972018600,
- "data_type": "state_human",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "1q",
- "pipeline_execution_id": "Quidem velit laboriosam quaerat occaecati.",
- "pipeline_id": "Earum sint.",
- "pipeline_stage_id": "Ex voluptatem.",
- "project": "i0q",
- "provisioner_type": "tf",
- "stage_id": "Fugiat eum id.",
- "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": "Assumenda dolorem.",
- "policy_id": "Eos et et quas eius non.",
- "policy_name": "Deserunt sint aliquid fugiat et id harum.",
- "policy_set_id": "Debitis rerum.",
- "policy_set_name": "Ullam consequatur repellat ut qui.",
- "policy_status": "Cupiditate sint perspiciatis."
}, - {
- "message": "Assumenda dolorem.",
- "policy_id": "Eos et et quas eius non.",
- "policy_name": "Deserunt sint aliquid fugiat et id harum.",
- "policy_set_id": "Debitis rerum.",
- "policy_set_name": "Ullam consequatur repellat ut qui.",
- "policy_status": "Cupiditate sint perspiciatis."
}
], - "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": "Assumenda dolorem.",
- "policy_id": "Eos et et quas eius non.",
- "policy_name": "Deserunt sint aliquid fugiat et id harum.",
- "policy_set_id": "Debitis rerum.",
- "policy_set_name": "Ullam consequatur repellat ut qui.",
- "policy_status": "Cupiditate sint perspiciatis."
}, - {
- "message": "Assumenda dolorem.",
- "policy_id": "Eos et et quas eius non.",
- "policy_name": "Deserunt sint aliquid fugiat et id harum.",
- "policy_set_id": "Debitis rerum.",
- "policy_set_name": "Ullam consequatur repellat ut qui.",
- "policy_status": "Cupiditate sint perspiciatis."
}, - {
- "message": "Assumenda dolorem.",
- "policy_id": "Eos et et quas eius non.",
- "policy_name": "Deserunt sint aliquid fugiat et id harum.",
- "policy_set_id": "Debitis rerum.",
- "policy_set_name": "Ullam consequatur repellat ut qui.",
- "policy_status": "Cupiditate sint perspiciatis."
}
], - "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": {
- "Iure alias voluptatem illum.": "Et explicabo."
}, - "event_type": "inactive",
- "metadata": {
- "PlannedChangesCount": 8221408484065931000,
- "activity_status": "success",
- "activity_type": "plan",
- "cost_breakdown_uuid": "Quis maiores quisquam.",
- "cost_currency": "Id quia commodi cupiditate eum fugiat.",
- "cost_diff_total_monthly": "Facilis inventore nesciunt modi.",
- "cost_diff_uuid": "Et voluptas aspernatur autem.",
- "cost_past_total_monthly": "In reprehenderit quis dignissimos inventore illum.",
- "cost_total_monthly": "Autem temporibus id numquam sit.",
- "cost_total_monthly_percentage_change": "Illo quae.",
- "drift_counts": {
- "added": 4719185321194616000,
- "changed": 5844320494422241000,
- "deleted": 581803132266193900,
- "unchanged": 1024881802020948400
}, - "enable_solutions_factory": true,
- "git_branch": "Autem ut in.",
- "git_commit_message": "Et consequatur aut commodi qui.",
- "git_commit_sha": "Omnis aspernatur officia.",
- "modules_uuid": "Vitae esse sit fuga.",
- "output_counts": {
- "added": 4719185321194616000,
- "changed": 5844320494422241000,
- "deleted": 581803132266193900,
- "unchanged": 1024881802020948400
}, - "pipeline": "Harum mollitia sint et.",
- "pipeline_execution_id": "Odio culpa.",
- "pipeline_execution_number": "Quas atque quidem impedit.",
- "pipeline_name": "A ad adipisci dolores.",
- "pipeline_stage_id": "Et sed est deleniti quia cum.",
- "plan_uuid": "Perspiciatis ea odit temporibus qui.",
- "providers_uuid": "Possimus et ipsa et numquam.",
- "provisioner": "Quia illo sit ipsam autem praesentium.",
- "provisioner_version": "Perferendis cupiditate vitae ut facilis quisquam consectetur.",
- "resource_counts": {
- "added": 4719185321194616000,
- "changed": 5844320494422241000,
- "deleted": 581803132266193900,
- "unchanged": 1024881802020948400
}, - "state_checksum": "Dignissimos animi aspernatur voluptatem minus.",
- "state_uuid": "Vitae harum suscipit quia modi.",
- "trigger": "Neque placeat voluptate."
}, - "pipeline_execution_id": "Consequuntur est.",
- "pipeline_stage_id": "Optio molestias suscipit est non voluptas."
}
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": "a4h",
- "org": "67",
- "pipelines": [
- "Magnam ab.",
- "Odit ad nobis officia et.",
- "A eaque possimus sint quos maxime."
], - "project": "q"
}
Create a remote execution for a workspace.
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.
{- "account": "2xr",
- "created": 3558790140280185300,
- "executed": true,
- "id": "901cd4a0-0443-4c0e-b83b-9d98abdcb54e",
- "org": "c",
- "pipeline_execution_id": "Unde saepe.",
- "pipeline_execution_url": "Corrupti ea quae qui eveniet sunt.",
- "project": "pug",
- "sha256_checksum": "Qui commodi esse cum.",
- "updated": 6394245687046053000,
- "workspace": "Ipsa voluptas eligendi quasi quia ut."
}
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": "w6",
- "created": 8124988946077168000,
- "executed": true,
- "id": "6b6a6c17-db3e-4c26-944c-d1f792635431",
- "org": "a",
- "pipeline_execution_id": "Nesciunt architecto tenetur minus accusamus iure.",
- "pipeline_execution_url": "Quis beatae.",
- "project": "gxp",
- "sha256_checksum": "Quam nostrum.",
- "updated": 5792927959265118000,
- "workspace": "Aspernatur corrupti esse ratione vero tempore."
}
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": "9x",
- "created": 1622449216158502000,
- "executed": false,
- "id": "9782058f-dcee-4f0a-b2d0-64a8970be932",
- "org": "0",
- "pipeline_execution_id": "Tempora et et doloribus ullam.",
- "pipeline_execution_url": "Aut incidunt maiores quam.",
- "project": "xe",
- "sha256_checksum": "Dolores beatae aut et.",
- "updated": 5403442864094975000,
- "workspace": "A sunt vel."
}
Upload the source code for the remote execution.
Harness-Account required | string [ 1 .. 128 ] characters Account is the internal customer account ID. Example: bxk |
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: Dolore quia nostrum tenetur officia provident. |
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": "k",
- "created": 2868213782221628400,
- "executed": true,
- "id": "a4406182-24e3-4c8d-a59f-cf70d3129cc8",
- "org": "jz",
- "pipeline_execution_id": "Est sit autem ut eius.",
- "pipeline_execution_url": "Tempora quo iste.",
- "project": "5v7",
- "sha256_checksum": "Eos quo provident.",
- "updated": 5358756051489970000,
- "workspace": "Error magni qui eius voluptas dolorem voluptatem."
}