With the raw Guardrails mode, we let you define your Guardrail checks & actions however you want, directly in code.
type
: Specifies the type of hook, which is guardrail
.name
: Gives a name to the guardrail for identification.checks
: Lists the checks that make up the guardrail. Each check includes an id
and parameters
for the specific conditions to validate.deny
: Is set to TRUE
or FALSE
async
: Is set to TRUE
or FALSE
on_success
: Used to pass custom feedback
on_failure
: Used to pass custom feedback