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": "ug",
- "created": 2625551168308408300,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "5h",
- "name": "resource name",
- "org": "n",
- "project": "4xv",
- "status": "unknown",
- "updated": 8640656156686715000
}, - {
- "account": "ug",
- "created": 2625551168308408300,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "5h",
- "name": "resource name",
- "org": "n",
- "project": "4xv",
- "status": "unknown",
- "updated": 8640656156686715000
}, - {
- "account": "ug",
- "created": 2625551168308408300,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "5h",
- "name": "resource name",
- "org": "n",
- "project": "4xv",
- "status": "unknown",
- "updated": 8640656156686715000
}
]
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.
{- "budget": 0.12234099,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "Pariatur ut cum at distinctio ut dolores.": {
- "project_pipeline": "Minus ducimus saepe.",
- "workspace_pipeline": "Accusamus veniam."
}, - "Tenetur rerum facilis et nihil.": {
- "project_pipeline": "Minus ducimus saepe.",
- "workspace_pipeline": "Accusamus veniam."
}, - "Ut officia quidem.": {
- "project_pipeline": "Minus ducimus saepe.",
- "workspace_pipeline": "Accusamus veniam."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Doloribus iste qui libero vero.": {
- "key": "2",
- "value": "Quasi amet voluptates.",
- "value_type": "secret"
}, - "Nihil aut a porro maxime autem.": {
- "key": "2",
- "value": "Quasi amet voluptates.",
- "value_type": "secret"
}
}, - "identifier": "3",
- "name": "resource name",
- "provider_connector": "Neque ullam laborum dicta in.",
- "provisioner": "terraform",
- "provisioner_version": "Dolores ut voluptatum autem eligendi assumenda doloribus.",
- "repository": "Nihil libero nemo similique pariatur ea.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Praesentium et quasi voluptas voluptatem iste.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Ratione repellat ipsa eveniet doloribus.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Est aliquam dicta nostrum et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Ratione repellat ipsa eveniet doloribus.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Est aliquam dicta nostrum et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Ratione repellat ipsa eveniet doloribus.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Est aliquam dicta nostrum et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Ratione repellat ipsa eveniet doloribus.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Est aliquam dicta nostrum et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Eum recusandae quidem officia nobis.": {
- "key": "2",
- "value": "Quasi amet voluptates.",
- "value_type": "secret"
}, - "Omnis et eum voluptate.": {
- "key": "2",
- "value": "Quasi amet voluptates.",
- "value_type": "secret"
}, - "Qui quisquam nihil maxime et sint.": {
- "key": "2",
- "value": "Quasi amet voluptates.",
- "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
}
], - "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": "usr",
- "backend_locked": false,
- "budget": 0.59996074,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "created": 2541057058745774600,
- "default_pipelines": {
- "Tempore omnis et tempore.": {
- "project_pipeline": "Est qui quibusdam ut at quod voluptas.",
- "workspace_pipeline": "Nesciunt corporis ullam maxime et distinctio."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Deserunt rerum voluptates non.": {
- "created": 9068960495229524000,
- "key": "in",
- "updated": 1214246311856638500,
- "value": "Vel commodi quae quam voluptate.",
- "value_type": "secret"
}, - "Exercitationem sint cumque.": {
- "created": 9068960495229524000,
- "key": "in",
- "updated": 1214246311856638500,
- "value": "Vel commodi quae quam voluptate.",
- "value_type": "secret"
}, - "Inventore dolor odio.": {
- "created": 9068960495229524000,
- "key": "in",
- "updated": 1214246311856638500,
- "value": "Vel commodi quae quam voluptate.",
- "value_type": "secret"
}
}, - "identifier": "k",
- "name": "resource name",
- "org": "m",
- "project": "sl8",
- "provider_connector": "Et nesciunt veritatis ipsa non voluptas saepe.",
- "provisioner": "opentofu",
- "provisioner_data": "Reprehenderit distinctio deleniti exercitationem reiciendis.",
- "provisioner_version": "Animi quae unde.",
- "repository": "Dolores voluptatem.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Dolor nobis corporis sit qui.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "status": "failed",
- "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Blanditiis quia delectus nobis.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Qui perferendis qui sed quia.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Blanditiis quia delectus nobis.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Qui perferendis qui sed quia.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Blanditiis quia delectus nobis.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Qui perferendis qui sed quia.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Alias sed laboriosam.": {
- "created": 9068960495229524000,
- "key": "in",
- "updated": 1214246311856638500,
- "value": "Vel commodi quae quam voluptate.",
- "value_type": "secret"
}
}, - "updated": 2021486826809921300
}
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.20790882,
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "Dolorem voluptatem voluptatem.": {
- "project_pipeline": "Minus ducimus saepe.",
- "workspace_pipeline": "Accusamus veniam."
}, - "Eaque qui aspernatur recusandae unde sed animi.": {
- "project_pipeline": "Minus ducimus saepe.",
- "workspace_pipeline": "Accusamus veniam."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Impedit corrupti modi rerum dolor laudantium.": {
- "key": "2",
- "value": "Quasi amet voluptates.",
- "value_type": "secret"
}
}, - "name": "resource name",
- "provider_connector": "Quia voluptatem rerum aut odit et.",
- "provisioner": "opentofu",
- "provisioner_version": "Itaque nam ratione laudantium non sit.",
- "repository": "Sequi nam.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Voluptatem aut deserunt qui.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "terraform_variable_files": [
- {
- "repository": "Ratione repellat ipsa eveniet doloribus.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Est aliquam dicta nostrum et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Ratione repellat ipsa eveniet doloribus.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Est aliquam dicta nostrum et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Aperiam non temporibus iusto porro amet.": {
- "key": "2",
- "value": "Quasi amet voluptates.",
- "value_type": "secret"
}, - "Nisi laudantium odio.": {
- "key": "2",
- "value": "Quasi amet voluptates.",
- "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
}
], - "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 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": "Repellendus pariatur."
}, - {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Repellendus pariatur."
}
], - "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"
}
]
}
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": "g",
- "created": 7087521780533566000,
- "data_type": "cost_diff",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "ze",
- "pipeline_execution_id": "Velit et impedit eos.",
- "pipeline_id": "Qui aperiam sint.",
- "pipeline_stage_id": "Debitis hic assumenda.",
- "project": "p",
- "provisioner_type": "tf",
- "stage_id": "Corrupti est eos explicabo iste tempore ipsa.",
- "workspace": "workspace123"
}, - {
- "account": "g",
- "created": 7087521780533566000,
- "data_type": "cost_diff",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "ze",
- "pipeline_execution_id": "Velit et impedit eos.",
- "pipeline_id": "Qui aperiam sint.",
- "pipeline_stage_id": "Debitis hic assumenda.",
- "project": "p",
- "provisioner_type": "tf",
- "stage_id": "Corrupti est eos explicabo iste tempore ipsa.",
- "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": "Quo architecto.",
- "policy_id": "Alias aut libero eos error.",
- "policy_name": "Ut debitis in exercitationem voluptates ipsam sint.",
- "policy_set_id": "Sapiente quis molestiae est.",
- "policy_set_name": "Optio autem explicabo mollitia.",
- "policy_status": "Fugiat dignissimos a."
}, - {
- "message": "Quo architecto.",
- "policy_id": "Alias aut libero eos error.",
- "policy_name": "Ut debitis in exercitationem voluptates ipsam sint.",
- "policy_set_id": "Sapiente quis molestiae est.",
- "policy_set_name": "Optio autem explicabo mollitia.",
- "policy_status": "Fugiat dignissimos a."
}
], - "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": "Quo architecto.",
- "policy_id": "Alias aut libero eos error.",
- "policy_name": "Ut debitis in exercitationem voluptates ipsam sint.",
- "policy_set_id": "Sapiente quis molestiae est.",
- "policy_set_name": "Optio autem explicabo mollitia.",
- "policy_status": "Fugiat dignissimos a."
}, - {
- "message": "Quo architecto.",
- "policy_id": "Alias aut libero eos error.",
- "policy_name": "Ut debitis in exercitationem voluptates ipsam sint.",
- "policy_set_id": "Sapiente quis molestiae est.",
- "policy_set_name": "Optio autem explicabo mollitia.",
- "policy_status": "Fugiat dignissimos a."
}
], - "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": {
- "Dicta eos delectus sed nesciunt porro.": "Voluptas ut ut molestiae itaque et officiis.",
- "Est in et atque dolorum officia ut.": "Officiis rerum impedit et sequi et.",
- "Itaque accusamus mollitia quia.": "Molestiae harum odio."
}, - "event_type": "failed",
- "metadata": {
- "Velit commodi ea.": "Sunt aut sit quo aut voluptatem."
}, - "pipeline_execution_id": "Asperiores rem aspernatur.",
- "pipeline_stage_id": "Numquam a."
}
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": "ubh",
- "org": "br",
- "pipelines": [
- "Laboriosam dolor et qui autem consequuntur aut.",
- "Modi vel atque distinctio sint accusamus."
], - "project": "jex"
}