Smart Action Definitions
Last updated
Was this helpful?
Last updated
Was this helpful?
Define filter-based actions that reviewers can apply to certifications results with a matching attribute or status.
Reviewers can view and apply custom actions from the Review interface by clicking Smart Action > Prepared Actions.
Create a smart action definition, globally or for a single Workflow.
A certification result includes all source and destination node properties discovered or added by Veza. You can specify a SCIM filter to select the results to affect, for example:
Example request:
The filter can apply to any source or destination node property.
When apply_to_all_rows
is true
and no other filter criteria is specified, the action will run on all certification results.
Mutable fields contain result attributes that are not sourced from Authorization Graph data. Use mutable_fields
to apply changes to a result, and mutable_filter
to filter results based on decision or sign-off state:
decision
One of: "RESULT_DECISION_UNKNOWN" "RESULT_DECISION_NONE" "RESULT_DECISION_ACCEPTED" "RESULT_DECISION_REJECTED" "RESULT_DECISION_FIXED"
notes
string
signed_off_state
One of: "UNKNOWN" "NOT_SIGNED_OFF" "SIGNED_OFF"
Delete a prepared action by definition id
.
Returns an array of smart action definitions. By default, this endpoint lists all definitions. If a workflow_id
is specified, only definitions for that workflow are included in the response.
Alter a smart action definition by specifying the id
and an array of values
to change.
/api/preview/awf/smart_action_definitions
/api/preview/awf/smart_action_definitions/{id}
/api/preview/awf/smart_action_definitions
If no value is passed for workflow_id, all smart actions will be returned. If workflow_id is not "", smart actions with a matching workflow_id or with an empty workflow_id will be returned.
/api/preview/awf/smart_action_definitions