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": "9e",
- "created": 6661493623001401000,
- "key": "l",
- "kind": "env",
- "org": "yt",
- "project": "ie",
- "updated": 8777896068169270000,
- "value": "Rem quibusdam.",
- "value_type": "secret",
- "workspace": "Voluptatem tenetur aliquam facilis aut libero."
}, - {
- "account": "9e",
- "created": 6661493623001401000,
- "key": "l",
- "kind": "env",
- "org": "yt",
- "project": "ie",
- "updated": 8777896068169270000,
- "value": "Rem quibusdam.",
- "value_type": "secret",
- "workspace": "Voluptatem tenetur aliquam facilis aut libero."
}
]
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": "in6",
- "kind": "env",
- "value": "Iure est quis beatae fugiat.",
- "value_type": "string"
}
{- "account": "1",
- "created": 336605109718172100,
- "key": "e",
- "kind": "tf",
- "org": "kc",
- "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
}
], - "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": "x",
- "updated": 878680806482977400,
- "value": "Dicta dolorum sed sequi.",
- "value_type": "secret",
- "workspace": "Dicta autem quisquam atque ullam tempore eaque."
}
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
}
], - "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": "9z",
- "created": 5445892619505010000,
- "key": "sm",
- "kind": "tf",
- "org": "lgc",
- "project": "n",
- "updated": 9001884500388421000,
- "value": "Provident aut occaecati possimus sit adipisci est.",
- "value_type": "secret",
- "workspace": "Rerum distinctio ut similique itaque corporis."
}
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": "Aut est praesentium doloremque minus.",
- "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
}
], - "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"
}
}