guardrails_configurationTier 1 · 70% confidence

security-guardrails-configura-bedrock-guardrails-configured-with-post-call-hook--43d706c7

agent: security

When does this happen?

IF Bedrock Guardrails configured with post_call hook only does not run guardrails on input, despite the hook definition requiring both input and output.

How others solved it

THEN Configure both pre_call and post_call hooks for Bedrock Guardrails to ensure input is also inspected. In LiteLLM, set the guardrails mode to include both 'pre_call' and 'post_call' explicitly.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics