list examples
OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
InternalServer: Internal Server Error response.
BadGateway: Bad Gateway response.
[- {
- "desc": "This is a pipeline example",
- "input": "{\"message\": \"everyone\"}",
- "name": "Pipeline example",
- "rego": "package test\ndeny[\"should say hello world\"] {input.message != \"world\"}",
- "type": "pipeline",
- "variables": [
- {
- "default": [
- "JiraUpdate",
- "HarnessApproval"
], - "desc": "The required steps that the policy enforces",
- "id": "requiredsteps",
- "name": "Required Steps",
- "type": "selectOne",
- "values": [
- "JiraUpdate",
- "HarnessApproval"
]
}, - {
- "default": [
- "JiraUpdate",
- "HarnessApproval"
], - "desc": "The required steps that the policy enforces",
- "id": "requiredsteps",
- "name": "Required Steps",
- "type": "selectOne",
- "values": [
- "JiraUpdate",
- "HarnessApproval"
]
}, - {
- "default": [
- "JiraUpdate",
- "HarnessApproval"
], - "desc": "The required steps that the policy enforces",
- "id": "requiredsteps",
- "name": "Required Steps",
- "type": "selectOne",
- "values": [
- "JiraUpdate",
- "HarnessApproval"
]
}
]
}, - {
- "desc": "This is a pipeline example",
- "input": "{\"message\": \"everyone\"}",
- "name": "Pipeline example",
- "rego": "package test\ndeny[\"should say hello world\"] {input.message != \"world\"}",
- "type": "pipeline",
- "variables": [
- {
- "default": [
- "JiraUpdate",
- "HarnessApproval"
], - "desc": "The required steps that the policy enforces",
- "id": "requiredsteps",
- "name": "Required Steps",
- "type": "selectOne",
- "values": [
- "JiraUpdate",
- "HarnessApproval"
]
}, - {
- "default": [
- "JiraUpdate",
- "HarnessApproval"
], - "desc": "The required steps that the policy enforces",
- "id": "requiredsteps",
- "name": "Required Steps",
- "type": "selectOne",
- "values": [
- "JiraUpdate",
- "HarnessApproval"
]
}, - {
- "default": [
- "JiraUpdate",
- "HarnessApproval"
], - "desc": "The required steps that the policy enforces",
- "id": "requiredsteps",
- "name": "Required Steps",
- "type": "selectOne",
- "values": [
- "JiraUpdate",
- "HarnessApproval"
]
}
]
}, - {
- "desc": "This is a pipeline example",
- "input": "{\"message\": \"everyone\"}",
- "name": "Pipeline example",
- "rego": "package test\ndeny[\"should say hello world\"] {input.message != \"world\"}",
- "type": "pipeline",
- "variables": [
- {
- "default": [
- "JiraUpdate",
- "HarnessApproval"
], - "desc": "The required steps that the policy enforces",
- "id": "requiredsteps",
- "name": "Required Steps",
- "type": "selectOne",
- "values": [
- "JiraUpdate",
- "HarnessApproval"
]
}, - {
- "default": [
- "JiraUpdate",
- "HarnessApproval"
], - "desc": "The required steps that the policy enforces",
- "id": "requiredsteps",
- "name": "Required Steps",
- "type": "selectOne",
- "values": [
- "JiraUpdate",
- "HarnessApproval"
]
}, - {
- "default": [
- "JiraUpdate",
- "HarnessApproval"
], - "desc": "The required steps that the policy enforces",
- "id": "requiredsteps",
- "name": "Required Steps",
- "type": "selectOne",
- "values": [
- "JiraUpdate",
- "HarnessApproval"
]
}
]
}
]