Skip to main content

List actions

List actions by NRN, action, user, or dimensions

Path Parameters
nrn string REQUIRED

This is the resource (application, scope, etc.) that will be subject to approvals. 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.

Example: organization=1:account=2:namespace=4:application=4:scope=5

entity string REQUIRED

The entity that will be subject to approvals. At this time we support approvals for the deployment entity

action string REQUIRED

The entity's action that will be subject to approvals. At this time we support only deployment:create

dimensions string

These are the dimensions that you might have configured such as environment, country, etc. You can specify many dimensions separating them with commas and key-values must be separated using a colon. Here's an example: environment:production,country:us

Example: environment:production,country:us

Responses
200
Schema OPTIONAL
paging object OPTIONAL
offset integer OPTIONAL

The start of the paging window. Minimum is 0.

limit integer OPTIONAL

Maximum number of elements to retrieve per call. Maximum is 200.

total integer OPTIONAL

Total number of elements that can be retrieved

results object[] OPTIONAL
id integer

A system-wide unique ID representing the action

nrn string

The NRN of the resource (including children resources) where the action will apply

entity string

The entity to which this action applies. Example: deployment

action string

The action to which this action applies. Example: deployment:create

dimensions object OPTIONAL

The set of dimension/values to which this action applies.

on_policy_success string

Possible values: [approve, manual]

The action to be taken on policy success.

on_policy_fail string

Possible values: [manual, deny]

The action to be taken on policy failure.