@post-execute
Execution pipeline which is executed after
the main @execute pipeline.
This is executed regardless of whether the main @execute pipeline accepted or
rejected the request, but is skipped if the @pre-execute pipeline rejected the
request.
Note: The
@prefix is required for pipeline blocks. The legacy syntax without@(e.g.,post-execute {}) is deprecated and emits warnings. Use@post-execute {}for new configurations.
Result of this pipeline is ignored; it cannot change the outcome of the request. However, it can modify the reply attributes, log information, or perform other side effects.
See also
- Execution context - Available variables
- Actions - Available actions
- Pipeline directives - Control flow
Example
@post-execute {
if all {
aaa.result == "Accept";
} then {
log {
message "Request accepted";
context {
identity aaa.identity;
}
}
} else {
log {
message "Request rejected";
context {
identity aaa.identity;
}
}
}
}
Navigation