Check ID:
Provider: AWS
Service:
Severity: HIGH
Categories:
Resource type:
bedrock_agent_guardrail_enabledProvider: AWS
Service:
bedrockSeverity: HIGH
Categories:
gen-aiResource type:
OtherWhat this check verifies
Bedrock agents should have an associated guardrail for their sessions. The evaluation identifies agents without a guardrail linked for input/output screening during interactions.Risk
Without guardrails, agent exchanges may expose PII or internal data (confidentiality), accept prompt injections that manipulate tool calls or outputs (integrity), and produce unsafe or out-of-scope responses that erode trust and cause policy violations.Recommendation
Associate a guardrail with every agent and tailor policies to your use case:- Enable content/word filters, denied topics, and sensitive-data masking
- Use contextual grounding for RAG where relevant
- Test and iterate across versions Apply least privilege to agent tools and use defense in depth with monitoring and review.
Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-create.html
- https://docs.aws.amazon.com/bedrock/latest/userguide/agents-guardrail.html
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/aws/Bedrock/protect-agent-sessions-with-guardrails.html
- https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = bedrock_agent_guardrail_enabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks