Action Result Variables
The following variables are made available for use in subsequent expressions and CEL interpolations after the action has run. Variable values will only apply to the last action execution, results are not concatenated.
Add Headers
actions.ngrok.add_headers.headers_addedobject
Map of headers that were added by the action.
Basic Auth
actions.ngrok.basic_auth.credentials.presentedbool
Whether there were Basic Auth credentials presented in the Authorization header.
actions.ngrok.basic_auth.credentials.usernamestring
The username of the credentials presented.
actions.ngrok.basic_auth.credentials.authorizedbool
Whether the presented basic auth credentials were authorized for this request.
Compress Response
actions.ngrok.compress.already_compressedboolean
Indicates whether the body was already compressed before the action was applied. Returns
true
if no further compression was performed.actions.ngrok.compress.negotiated_algorithmstring
The compression algorithm selected and applied by the action, based on the client's request and action configuration.
JWT Validation
actions.ngrok.jwt_validation.tokensarray of objects
The list of JSON Web Tokens (JWTs) processed by the action.
actions.ngrok.jwt_validation.error.codestring
A machine-readable code describing an error that occurred during the action's execution.
actions.ngrok.jwt_validation.error.messagestring
A human-readable message providing details about an error that occurred during the action's execution.
Log
actions.ngrok.log.metadataobject
A key-value map containing metadata that was logged during the action. Each key represents a metadata attribute, and the value provides its corresponding details.