Workspaces Service handles the API for managing workspaces and triggering workflows against them.
Show metrics for workspaces
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "status_counts": {
- "Consequatur harum voluptas voluptatem sit non eius.": 6196160213110854000,
- "Eligendi eligendi sunt nulla quos distinctio enim.": 611862575483109000,
- "Qui non doloremque labore dolor non.": 7454580734899437000
}
}
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": "g",
- "created": 8360277501748368000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "wm",
- "name": "resource name",
- "org": "c",
- "project": "5u2",
- "status": "unknown",
- "updated": 272104118471277020
}, - {
- "account": "g",
- "created": 8360277501748368000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "wm",
- "name": "resource name",
- "org": "c",
- "project": "5u2",
- "status": "unknown",
- "updated": 272104118471277020
}, - {
- "account": "g",
- "created": 8360277501748368000,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "wm",
- "name": "resource name",
- "org": "c",
- "project": "5u2",
- "status": "unknown",
- "updated": 272104118471277020
}
]
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": "q0",
- "version": "2hu"
}, - "budget": 0.8490217,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "Tempore dolorem velit vel occaecati.": {
- "project_pipeline": "Tenetur quis libero.",
- "workspace_pipeline": "Quas facere ipsa consequuntur."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Et sapiente et quod a repudiandae amet.": {
- "key": "a1",
- "value": "Ad iure ex asperiores libero.",
- "value_type": "secret"
}
}, - "id": 802131525631891200,
- "identifier": "32s",
- "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "name": "resource name",
- "provider_connector": "Nemo quidem.",
- "provider_connectors": [
- {
- "connector_ref": "3va",
- "created": 1627590400,
- "id": 1219232998228301800,
- "terragrunt_provider": true,
- "type": "azure",
- "updated": 1627686800,
- "workspace_id": 7133809002535258000
}, - {
- "connector_ref": "3va",
- "created": 1627590400,
- "id": 1219232998228301800,
- "terragrunt_provider": true,
- "type": "azure",
- "updated": 1627686800,
- "workspace_id": 7133809002535258000
}, - {
- "connector_ref": "3va",
- "created": 1627590400,
- "id": 1219232998228301800,
- "terragrunt_provider": true,
- "type": "azure",
- "updated": 1627686800,
- "workspace_id": 7133809002535258000
}, - {
- "connector_ref": "3va",
- "created": 1627590400,
- "id": 1219232998228301800,
- "terragrunt_provider": true,
- "type": "azure",
- "updated": 1627686800,
- "workspace_id": 7133809002535258000
}
], - "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "provisioner": "Quo consequatur.",
- "provisioner_version": "Magni ab tempora.",
- "prune_sensitive_data": true,
- "repository": "Molestias eos recusandae quaerat est aperiam dolorum.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Beatae assumenda et beatae sit.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "repository_submodules": "recursive",
- "run_all": false,
- "sparse_checkout": "Iure nostrum.",
- "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
- "tags": {
- "foo": "bar"
}, - "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Voluptate omnis minima laboriosam qui eos.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Eos natus quia suscipit nostrum ea et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Voluptate omnis minima laboriosam qui eos.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Eos natus quia suscipit nostrum ea et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Maiores natus ea fugit.": {
- "key": "a1",
- "value": "Ad iure ex asperiores libero.",
- "value_type": "secret"
}, - "Quis qui.": {
- "key": "a1",
- "value": "Ad iure ex asperiores libero.",
- "value_type": "secret"
}
}, - "terragrunt_provider": false,
- "terragrunt_version": "Sint dolorum.",
- "variable_sets": [
- "Ullam consequatur id.",
- "Adipisci ea.",
- "A fugit ut quidem explicabo doloremque pariatur.",
- "Voluptatem dolor soluta quaerat ea nemo."
]
}
{- "policy_evaluation": {
- "account_id": "XRQAjvT37acOiXx9PRaQMF",
- "action": "onrun",
- "created": 1636370209475,
- "details": [
- {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}
], - "entity": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "entity_metadata": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "id": 123,
- "input": "",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline,service"
}
}
Deletes the given workspace.
No Content response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
Show an individual workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "account": "po",
- "associated_template": {
- "template_id": "3nl",
- "version": "t"
}, - "backend_locked": true,
- "budget": 0.91971445,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "created": 914833002181738200,
- "default_pipelines": {
- "Voluptatem et omnis quo.": {
- "project_pipeline": "Blanditiis provident atque aut.",
- "workspace_pipeline": "Quo omnis aut facere."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Esse porro alias dolorem.": {
- "created": 188313336339995970,
- "key": "ehp",
- "updated": 8417673460528250000,
- "value": "Iusto numquam voluptatem.",
- "value_type": "string"
}, - "Non fugiat.": {
- "created": 188313336339995970,
- "key": "ehp",
- "updated": 8417673460528250000,
- "value": "Iusto numquam voluptatem.",
- "value_type": "string"
}
}, - "identifier": "cau",
- "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "name": "resource name",
- "org": "swd",
- "project": "qf",
- "provider_connector": "Ipsam deserunt alias commodi natus vel.",
- "provider_connectors": [
- {
- "connector_ref": "s",
- "created": 1627590400,
- "id": 559326760424070460,
- "terragrunt_provider": false,
- "type": "aws",
- "updated": 1627686800,
- "workspace_id": 5139016603692465000
}, - {
- "connector_ref": "s",
- "created": 1627590400,
- "id": 559326760424070460,
- "terragrunt_provider": false,
- "type": "aws",
- "updated": 1627686800,
- "workspace_id": 5139016603692465000
}, - {
- "connector_ref": "s",
- "created": 1627590400,
- "id": 559326760424070460,
- "terragrunt_provider": false,
- "type": "aws",
- "updated": 1627686800,
- "workspace_id": 5139016603692465000
}
], - "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "provisioner": "Accusamus ipsam autem ut.",
- "provisioner_data": "Facilis tempore illum voluptatum itaque.",
- "provisioner_version": "Ratione est.",
- "prune_sensitive_data": true,
- "repository": "Commodi ut qui.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Laboriosam cum saepe exercitationem.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "repository_submodules": "recursive",
- "run_all": false,
- "sparse_checkout": "Nulla recusandae consequuntur nisi eius facilis aut.",
- "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
- "status": "unknown",
- "tags": {
- "foo": "bar"
}, - "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Culpa ut saepe sit rerum sit sunt.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Ea ut et nihil magni dolor deleniti.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Culpa ut saepe sit rerum sit sunt.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Ea ut et nihil magni dolor deleniti.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Culpa ut saepe sit rerum sit sunt.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Ea ut et nihil magni dolor deleniti.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Dolorum itaque inventore quisquam eos tempore amet.": {
- "created": 188313336339995970,
- "key": "ehp",
- "updated": 8417673460528250000,
- "value": "Iusto numquam voluptatem.",
- "value_type": "string"
}, - "Molestias quisquam vel eum accusantium.": {
- "created": 188313336339995970,
- "key": "ehp",
- "updated": 8417673460528250000,
- "value": "Iusto numquam voluptatem.",
- "value_type": "string"
}, - "Nihil quas est aspernatur illo qui non.": {
- "created": 188313336339995970,
- "key": "ehp",
- "updated": 8417673460528250000,
- "value": "Iusto numquam voluptatem.",
- "value_type": "string"
}
}, - "terragrunt_provider": true,
- "terragrunt_version": "Occaecati aut repellendus deserunt ullam.",
- "updated": 4758892555209879000,
- "variable_sets": [
- "Dolores voluptate.",
- "Quia qui assumenda repellat provident animi repellendus.",
- "Fugiat quam cupiditate sed eaque."
]
}
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.5072158,
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "Occaecati minima quisquam suscipit non porro.": {
- "project_pipeline": "Tenetur quis libero.",
- "workspace_pipeline": "Quas facere ipsa consequuntur."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Fugiat ut assumenda.": {
- "key": "a1",
- "value": "Ad iure ex asperiores libero.",
- "value_type": "secret"
}, - "Quidem similique quo.": {
- "key": "a1",
- "value": "Ad iure ex asperiores libero.",
- "value_type": "secret"
}
}, - "name": "resource name",
- "provider_connector": "Quisquam dolor sed.",
- "provider_connectors": [
- {
- "connector_ref": "3va",
- "created": 1627590400,
- "id": 1219232998228301800,
- "terragrunt_provider": true,
- "type": "azure",
- "updated": 1627686800,
- "workspace_id": 7133809002535258000
}, - {
- "connector_ref": "3va",
- "created": 1627590400,
- "id": 1219232998228301800,
- "terragrunt_provider": true,
- "type": "azure",
- "updated": 1627686800,
- "workspace_id": 7133809002535258000
}, - {
- "connector_ref": "3va",
- "created": 1627590400,
- "id": 1219232998228301800,
- "terragrunt_provider": true,
- "type": "azure",
- "updated": 1627686800,
- "workspace_id": 7133809002535258000
}
], - "provisioner": "Illo non animi.",
- "provisioner_version": "Aspernatur alias quidem ab tempora sed omnis.",
- "prune_sensitive_data": true,
- "repository": "Ipsam incidunt laboriosam.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Quod aut facilis.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "repository_submodules": "recursive",
- "run_all": false,
- "sparse_checkout": "Doloribus laborum.",
- "tags": {
- "foo": "bar"
}, - "terraform_variable_files": [
- {
- "repository": "Voluptate omnis minima laboriosam qui eos.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Eos natus quia suscipit nostrum ea et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Voluptate omnis minima laboriosam qui eos.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Eos natus quia suscipit nostrum ea et.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Aut ut officiis aut.": {
- "key": "a1",
- "value": "Ad iure ex asperiores libero.",
- "value_type": "secret"
}, - "Cupiditate molestias aut dignissimos aut dolorum.": {
- "key": "a1",
- "value": "Ad iure ex asperiores libero.",
- "value_type": "secret"
}, - "Eum qui veritatis cumque assumenda.": {
- "key": "a1",
- "value": "Ad iure ex asperiores libero.",
- "value_type": "secret"
}
}, - "terragrunt_provider": true,
- "terragrunt_version": "Tempore voluptatum earum iure.",
- "variable_sets": [
- "Saepe perferendis atque ea quasi in cumque.",
- "Eum labore iusto iure ut aut."
]
}
{- "policy_evaluation": {
- "account_id": "XRQAjvT37acOiXx9PRaQMF",
- "action": "onrun",
- "created": 1636370209475,
- "details": [
- {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}
], - "entity": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "entity_metadata": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "id": 123,
- "input": "",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline,service"
}
}
Force unlock a workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
List modules associated with this workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
[- {
- "key": "ec2-instance_test",
- "source": "registry.opentofu.org/terraform-aws-modules/ec2-instance/aws//examples/complete",
- "version": "5.0.0"
}, - {
- "key": "ec2-instance_test",
- "source": "registry.opentofu.org/terraform-aws-modules/ec2-instance/aws//examples/complete",
- "version": "5.0.0"
}, - {
- "key": "ec2-instance_test",
- "source": "registry.opentofu.org/terraform-aws-modules/ec2-instance/aws//examples/complete",
- "version": "5.0.0"
}
]
List resources associated with this workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "data_sources": [
- {
- "attributes": {
- "ami": "ami-830c94ec",
- "instance_type": "t2.micro"
}, - "drift_attributes": {
- "instance_type": "t2.nano"
}, - "drift_status": "changed",
- "module": "full_stack",
- "name": "app_server",
- "provider": "AWS",
- "sensitive_attributes": [
- "instance_type"
], - "type": "S3 Bucket"
}, - {
- "attributes": {
- "ami": "ami-830c94ec",
- "instance_type": "t2.micro"
}, - "drift_attributes": {
- "instance_type": "t2.nano"
}, - "drift_status": "changed",
- "module": "full_stack",
- "name": "app_server",
- "provider": "AWS",
- "sensitive_attributes": [
- "instance_type"
], - "type": "S3 Bucket"
}, - {
- "attributes": {
- "ami": "ami-830c94ec",
- "instance_type": "t2.micro"
}, - "drift_attributes": {
- "instance_type": "t2.nano"
}, - "drift_status": "changed",
- "module": "full_stack",
- "name": "app_server",
- "provider": "AWS",
- "sensitive_attributes": [
- "instance_type"
], - "type": "S3 Bucket"
}, - {
- "attributes": {
- "ami": "ami-830c94ec",
- "instance_type": "t2.micro"
}, - "drift_attributes": {
- "instance_type": "t2.nano"
}, - "drift_status": "changed",
- "module": "full_stack",
- "name": "app_server",
- "provider": "AWS",
- "sensitive_attributes": [
- "instance_type"
], - "type": "S3 Bucket"
}
], - "outputs": [
- {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Sit quis ullam aut est qui minus."
}, - {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Sit quis ullam aut est qui minus."
}
], - "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"
}
]
}
List resources for a workspace using selectors.
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.
{- "limit": 30,
- "page": 1,
- "selectors": [
- {
- "include_conditions": [
- {
- "attribute": "tag.environment",
- "operator": "equals",
- "value": "prod"
}
], - "resource_type": "aws_instance"
}, - {
- "include_conditions": [
- {
- "attribute": "tag.environment",
- "operator": "equals",
- "value": "prod"
}
], - "resource_type": "aws_instance"
}, - {
- "include_conditions": [
- {
- "attribute": "tag.environment",
- "operator": "equals",
- "value": "prod"
}
], - "resource_type": "aws_instance"
}, - {
- "include_conditions": [
- {
- "attribute": "tag.environment",
- "operator": "equals",
- "value": "prod"
}
], - "resource_type": "aws_instance"
}
]
}
[- {
- "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": "3fs",
- "name": "resource name"
}
{- "policy_evaluation": {
- "account_id": "XRQAjvT37acOiXx9PRaQMF",
- "action": "onrun",
- "created": 1636370209475,
- "details": [
- {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}
], - "entity": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "entity_metadata": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "id": 123,
- "input": "",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline,service"
}
}
List all stored data for a workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
[- {
- "account": "9dp",
- "created": 6874213526855861000,
- "data_type": "providers",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "l",
- "pipeline_execution_id": "Voluptatem voluptas reiciendis itaque aut et.",
- "pipeline_id": "Tempore nulla ut et qui et amet.",
- "pipeline_stage_id": "Tempora sit ex perferendis aut animi laborum.",
- "project": "19r",
- "provisioner_type": "tf",
- "stage_id": "Assumenda eveniet.",
- "workspace": "workspace123"
}, - {
- "account": "9dp",
- "created": 6874213526855861000,
- "data_type": "providers",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "l",
- "pipeline_execution_id": "Voluptatem voluptas reiciendis itaque aut et.",
- "pipeline_id": "Tempore nulla ut et qui et amet.",
- "pipeline_stage_id": "Tempora sit ex perferendis aut animi laborum.",
- "project": "19r",
- "provisioner_type": "tf",
- "stage_id": "Assumenda eveniet.",
- "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": "Quia eum et debitis sint ducimus.",
- "policy_id": "Autem et et tenetur occaecati.",
- "policy_name": "Error dolores neque voluptatum.",
- "policy_set_id": "Iusto qui sit dolore quia recusandae.",
- "policy_set_name": "A sint.",
- "policy_status": "Eos et esse ex qui blanditiis quo."
}, - {
- "message": "Quia eum et debitis sint ducimus.",
- "policy_id": "Autem et et tenetur occaecati.",
- "policy_name": "Error dolores neque voluptatum.",
- "policy_set_id": "Iusto qui sit dolore quia recusandae.",
- "policy_set_name": "A sint.",
- "policy_status": "Eos et esse ex qui blanditiis quo."
}, - {
- "message": "Quia eum et debitis sint ducimus.",
- "policy_id": "Autem et et tenetur occaecati.",
- "policy_name": "Error dolores neque voluptatum.",
- "policy_set_id": "Iusto qui sit dolore quia recusandae.",
- "policy_set_name": "A sint.",
- "policy_status": "Eos et esse ex qui blanditiis quo."
}, - {
- "message": "Quia eum et debitis sint ducimus.",
- "policy_id": "Autem et et tenetur occaecati.",
- "policy_name": "Error dolores neque voluptatum.",
- "policy_set_id": "Iusto qui sit dolore quia recusandae.",
- "policy_set_name": "A sint.",
- "policy_status": "Eos et esse ex qui blanditiis quo."
}
], - "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": "Quia eum et debitis sint ducimus.",
- "policy_id": "Autem et et tenetur occaecati.",
- "policy_name": "Error dolores neque voluptatum.",
- "policy_set_id": "Iusto qui sit dolore quia recusandae.",
- "policy_set_name": "A sint.",
- "policy_status": "Eos et esse ex qui blanditiis quo."
}, - {
- "message": "Quia eum et debitis sint ducimus.",
- "policy_id": "Autem et et tenetur occaecati.",
- "policy_name": "Error dolores neque voluptatum.",
- "policy_set_id": "Iusto qui sit dolore quia recusandae.",
- "policy_set_name": "A sint.",
- "policy_status": "Eos et esse ex qui blanditiis quo."
}, - {
- "message": "Quia eum et debitis sint ducimus.",
- "policy_id": "Autem et et tenetur occaecati.",
- "policy_name": "Error dolores neque voluptatum.",
- "policy_set_id": "Iusto qui sit dolore quia recusandae.",
- "policy_set_name": "A sint.",
- "policy_status": "Eos et esse ex qui blanditiis quo."
}
], - "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": {
- "Facere laboriosam et.": "Eaque accusantium ea quo quae unde.",
- "Laudantium quibusdam voluptatem illum rerum voluptatem non.": "Fuga ipsum."
}, - "event_type": "stage-complete",
- "metadata": {
- "PlannedChangesCount": 1564896385827558700,
- "activity_status": "success",
- "activity_type": "import",
- "cost_breakdown_uuid": "Voluptatibus voluptatem a.",
- "cost_currency": "Cum quo.",
- "cost_diff_total_monthly": "Aut sed rerum voluptatibus quidem velit.",
- "cost_diff_uuid": "Non accusantium et sunt quasi dolor.",
- "cost_past_total_monthly": "Autem commodi natus modi veritatis est.",
- "cost_total_monthly": "Placeat odit cum et.",
- "cost_total_monthly_percentage_change": "Et praesentium.",
- "drift_counts": {
- "added": 8991425374433659000,
- "changed": 113553894264113700,
- "deleted": 2258726041729259000,
- "imported": 913953750339561100,
- "removed": 5209011678468686000,
- "unchanged": 6875716529476673000
}, - "enable_solutions_factory": false,
- "git_branch": "Quo dolores sapiente totam.",
- "git_commit_message": "Itaque ut vel pariatur tenetur.",
- "git_commit_sha": "Dignissimos laborum.",
- "git_repo": "Reprehenderit voluptatibus optio est sed inventore voluptatem.",
- "modules_uuid": "Laudantium nobis maiores non occaecati quia.",
- "output_counts": {
- "added": 8991425374433659000,
- "changed": 113553894264113700,
- "deleted": 2258726041729259000,
- "imported": 913953750339561100,
- "removed": 5209011678468686000,
- "unchanged": 6875716529476673000
}, - "pipeline": "Sed saepe.",
- "pipeline_execution_id": "Deleniti numquam et ea unde ut illo.",
- "pipeline_execution_number": "Neque illum quod error consequatur cumque nihil.",
- "pipeline_name": "Laborum eos magnam sed et et.",
- "pipeline_stage_id": "Magnam laboriosam omnis voluptatem itaque vero.",
- "plan_uuid": "Et ex.",
- "providers_uuid": "Nulla consequuntur voluptatibus ducimus.",
- "provisioner": "Tempore consequatur voluptatem voluptatum et.",
- "provisioner_version": "Necessitatibus ut rerum deserunt error reprehenderit.",
- "resource_counts": {
- "added": 8991425374433659000,
- "changed": 113553894264113700,
- "deleted": 2258726041729259000,
- "imported": 913953750339561100,
- "removed": 5209011678468686000,
- "unchanged": 6875716529476673000
}, - "state_checksum": "Sit et.",
- "state_uuid": "Eius autem.",
- "trigger": {
- "Minus neque et earum dolores neque.": "Qui velit eaque nesciunt tempora nesciunt nam."
}
}, - "pipeline_execution_id": "Cum rerum iste qui qui commodi.",
- "pipeline_stage_id": "Quisquam animi non reiciendis sit deserunt."
}
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": "w",
- "org": "3bl",
- "pipelines": [
- "Porro tempora.",
- "Minima nisi qui aspernatur voluptatem voluptate est."
], - "project": "8be"
}
Create a remote execution for a workspace.
object The arguments supplied to the plan. |
Created response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "custom_arguments": {
- "Cupiditate modi ut aut ullam officia tenetur.": [
- "Eos voluptatibus doloremque perferendis.",
- "Culpa quia repudiandae modi.",
- "Aspernatur nihil laborum voluptas architecto eum."
], - "In ut nulla aut et vero.": [
- "Amet sint natus sint quos enim.",
- "Est maiores quibusdam aliquid."
], - "Quia sit et eligendi et sit.": [
- "Adipisci et quod officiis et.",
- "Quia numquam nihil dolor.",
- "Praesentium dolorum explicabo pariatur maxime omnis qui."
]
}
}
{- "account": "yfh",
- "created": 1318587545902807600,
- "custom_arguments": {
- "Qui ipsam.": [
- "Aut alias vel est ea modi quas.",
- "Cumque incidunt fuga consequatur odio.",
- "Ut velit sit porro sed."
]
}, - "executed": false,
- "id": "c6e343d2-685a-4d91-8da4-d17dce5b6015",
- "org": "ck",
- "pipeline_execution_id": "Minus aut unde dolorem commodi exercitationem.",
- "pipeline_execution_url": "Deleniti sint aliquam qui.",
- "project": "rxs",
- "sha256_checksum": "Ratione ipsam est qui.",
- "updated": 4641665795756345000,
- "workspace": "Eligendi ab deleniti et quia enim quibusdam."
}
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": "s",
- "created": 5846184400883632000,
- "custom_arguments": {
- "Voluptas ipsam harum consequuntur voluptatibus ut.": [
- "Reiciendis harum minima laboriosam velit accusantium sed.",
- "Reprehenderit qui et.",
- "Veritatis amet voluptatum a.",
- "Corporis exercitationem laboriosam voluptate natus qui voluptas."
]
}, - "executed": false,
- "id": "ba4ca104-d592-49b0-b19e-ce91ce47b7e5",
- "org": "up",
- "pipeline_execution_id": "Quisquam et in aut iusto ipsum.",
- "pipeline_execution_url": "Officia quidem.",
- "project": "jm",
- "sha256_checksum": "Cupiditate aut.",
- "updated": 2925468222543709700,
- "workspace": "Occaecati voluptates explicabo unde adipisci praesentium dolorem."
}
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": "l",
- "created": 4464042538801969000,
- "custom_arguments": {
- "Sint asperiores qui id.": [
- "Eum aliquid ratione repellendus sit atque.",
- "Ut sit minima eos est laboriosam.",
- "Molestiae officia adipisci consequuntur et architecto.",
- "Commodi placeat veritatis."
]
}, - "executed": false,
- "id": "3790fd30-98a9-4722-9d86-60cbfb2803cd",
- "org": "gm",
- "pipeline_execution_id": "Nisi sit dolorem aut animi magni.",
- "pipeline_execution_url": "Quae dicta dolores expedita facere maxime amet.",
- "project": "zf",
- "sha256_checksum": "Quo quasi recusandae quaerat aut.",
- "updated": 7809216171335552000,
- "workspace": "Temporibus debitis."
}
Upload the source code for the remote execution.
Harness-Account required | string [ 1 .. 128 ] characters Account is the internal customer account ID. Example: yi |
Content-Length | integer <int64> Size in bytes of the source code. Example: 3860330988925239000 |
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: Cum aperiam voluptate excepturi. |
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": "4c",
- "created": 5255090707618725000,
- "custom_arguments": {
- "Natus illum.": [
- "Vel ut deleniti.",
- "Inventore non.",
- "Odio voluptatem fugiat.",
- "Totam vitae consequatur beatae."
]
}, - "executed": false,
- "id": "5e4ed888-8448-43ff-960a-95df01e1f215",
- "org": "ve",
- "pipeline_execution_id": "Id tenetur minima reiciendis aliquam sit est.",
- "pipeline_execution_url": "Veniam veniam sapiente beatae voluptas molestias modi.",
- "project": "ars",
- "sha256_checksum": "Id sed placeat est rerum laboriosam.",
- "updated": 2833096911449527300,
- "workspace": "Esse corrupti beatae exercitationem recusandae aspernatur."
}
Retrieves the ratio of provisioners used by workspaces
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "provisioner": {
- "Est praesentium impedit corrupti est ut.": 0.27619197192658046,
- "Sit quod odio porro.": 0.8531117606487337
}, - "total": 0.6876921519832563
}
Get all workspaces associated with a specific template ID
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
[- {
- "account": "x",
- "created_at": 1627590400,
- "org": "us",
- "project": "m",
- "template_id": "oq",
- "updated_at": 1627686800,
- "version": "uen",
- "workspace_id": "xfx"
}, - {
- "account": "x",
- "created_at": 1627590400,
- "org": "us",
- "project": "m",
- "template_id": "oq",
- "updated_at": 1627686800,
- "version": "uen",
- "workspace_id": "xfx"
}, - {
- "account": "x",
- "created_at": 1627590400,
- "org": "us",
- "project": "m",
- "template_id": "oq",
- "updated_at": 1627686800,
- "version": "uen",
- "workspace_id": "xfx"
}
]