List all workspace variables.
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": 100778728206121140,
- "key": "a2",
- "kind": "env",
- "org": "l",
- "project": "c",
- "updated": 3193347946744091600,
- "value": "Ab sunt sit aut temporibus.",
- "value_type": "string",
- "workspace": "Recusandae fugit officiis delectus."
}, - {
- "account": "l",
- "created": 100778728206121140,
- "key": "a2",
- "kind": "env",
- "org": "l",
- "project": "c",
- "updated": 3193347946744091600,
- "value": "Ab sunt sit aut temporibus.",
- "value_type": "string",
- "workspace": "Recusandae fugit officiis delectus."
}
]
Creates a new workspace variable
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": "f",
- "kind": "env",
- "value": "Minima laboriosam aperiam optio quia.",
- "value_type": "string"
}
{- "account": "4t6",
- "created": 27964620516703140,
- "key": "m",
- "kind": "env",
- "org": "hq",
- "policy_evaluation": {
- "account_id": "XRQAjvT37acOiXx9PRaQMF",
- "action": "onrun",
- "created": 1636370209475,
- "details": [
- {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}
], - "entity": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "entity_metadata": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "id": 123,
- "input": "",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline,service"
}, - "project": "1h",
- "updated": 4571342399890101000,
- "value": "Sint consequuntur necessitatibus quia assumenda.",
- "value_type": "secret",
- "workspace": "Incidunt et asperiores sint reprehenderit."
}
Deletes the given workspace variable.
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.
{- "policy_evaluation": {
- "account_id": "XRQAjvT37acOiXx9PRaQMF",
- "action": "onrun",
- "created": 1636370209475,
- "details": [
- {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}
], - "entity": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "entity_metadata": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "id": 123,
- "input": "",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline,service"
}
}
Show an individual workspace variable.
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": "w8",
- "created": 2956900173847807500,
- "key": "zw",
- "kind": "env",
- "org": "979",
- "project": "872",
- "updated": 4169076552075429000,
- "value": "Et accusantium voluptas beatae similique expedita dignissimos.",
- "value_type": "string",
- "workspace": "Eos nihil."
}
Updates the given workspace variable 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.
{- "value": "Autem quia vel.",
- "value_type": "secret"
}
{- "policy_evaluation": {
- "account_id": "XRQAjvT37acOiXx9PRaQMF",
- "action": "onrun",
- "created": 1636370209475,
- "details": [
- {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}
], - "entity": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "entity_metadata": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "id": 123,
- "input": "",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline,service"
}
}