Action
List actions
List approval actions filtered by NRN, entity, action, or dimensions.
get/approval/action
Query parameters
nrnstring required
The resource that will be subject to approvals.
Note: This is a hierarchical setting, so if you set approvals for a namespace, then all applications and scopes inside the namespace will match against the action.
entity'deployment' | 'scope' | 'service:action' | 'parameter' | 'action_item' required
The entity that requires approval.
Example:deployment
The entity that requires approval.
action'deployment:create' | 'scope:create' | 'scope:recreate' | 'scope:write' | 'scope:delete' | 'scope:stop' | 'service:action:create' | 'parameter:read-secrets' | 'action_item:resolve' | 'action_item:defer' | 'action_item:reject' required
The action that requires approval.
Example:deployment:create
The action that requires approval.
dimensionsstring
Specify the dimensions you have configured.You can include multiple key-value pairs, separated by commas
show_descendantsboolean
Specifies whether to show entities defined in the lower level of the NRN hierarchy
Response
The operation was successful.
Example response
{
"paging": {
"limit": 200
},
"results": [
{
"id": 1234,
"nrn": "organization=1:account=2:namespace=3:application=4",
"entity": "deployment",
"action": "deployment:create",
"dimensions": {
"environment": "production",
"country": "us"
},
"on_policy_success": "approve",
"on_policy_fail": "deny",
"time_to_reply": 259200000,
"allowed_time_to_execute": 86400000
}
]
}