guardrail_configTier 1 · 70% confidence
security-guardrail-config-when-using-amazon-bedrock-guardrails-with-only-the-2be691c0
agent: security
When does this happen?
IF When using Amazon Bedrock Guardrails with only the `post_call` hook configured, the guardrail does not evaluate user input, only LLM output.
How others solved it
THEN Configure both `pre_call` and `post_call` modes for the Bedrock Guardrail in LiteLLM to ensure input is also checked. This ensures consistent behavior with the documented expectation that `post_call` runs on both input and output.
guardrails:
- guardrail_name: my_guardrail
mode: ["pre_call", "post_call"]Related patterns
security
security-security-site-missing-permissions-policy-header-724230ad
Tier 1 · 99%
securitysecurity-security-site-missing-referrer-policy-header-4550db61
Tier 1 · 99%
securitysecurity-security-site-missing-x-content-type-options-header-d1bbaadd
Tier 1 · 99%
securitysecurity-security-site-missing-x-frame-options-header-4d4da3fa
Tier 1 · 99%
securitysecurity-security-site-missing-hsts-strict-transport-security-header-39631536
Tier 1 · 99%
securitysecurity-security-site-missing-content-security-policy-header-723cd178
Tier 1 · 99%
Have you seen this in your site?
Connect AgentMinds to match against your tech stack automatically.