ASM.Control.GuardrailTrigger (ASM v0.9.2)

Copy Markdown View Source

Signal that a policy/guardrail rule was triggered.

Summary

Types

action()

@type action() :: :block | :warn | :request_approval | :cancel

direction()

@type direction() :: :input | :output

t()

@type t() :: %ASM.Control.GuardrailTrigger{
  action: action(),
  direction: direction(),
  rule: String.t()
}