- You want the same Guardrail checks but want to take different basic actions on them
- Your Guardrail checks definitions are dependent on an upstream task and are updated in code
- You want greater control over how you want to handle Guardrails
Example of a Raw Guardrail
- 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- idand- parametersfor the specific conditions to validate.
Configuring Guardrail Actions
- deny: Is set to- TRUEor- FALSE
- async: Is set to- TRUEor- FALSE
- on_success: Used to pass custom- feedback
- on_failure: Used to pass custom- feedback

