> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-bedrock-agent-is-not-associated-with-bedrock-guardrails.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Bedrock agent is not associated with Bedrock guardrails

### Synopsis

| Field               | Value                                                       |
| ------------------- | ----------------------------------------------------------- |
| Rule Type           | Detection                                                   |
| Finding Type        | AWS Bedrock agent is not associated with Bedrock guardrails |
| Finding ID          | 60001476                                                    |
| Generates a Finding | This detection rule also generates a finding                |
| Severity            | Informational                                               |
| Category            | CONFIGURATION                                               |
| Cloud Providers     | AWS                                                         |
| Platform Module     | CSPM                                                        |
| Asset Types         | AWS\_BEDROCK\_AGENT\_ALIAS                                  |

### Description

AWS Bedrock agents lacking association with Bedrock Guardrails pose a significant security risk. Failure to link Guardrails exposes generative AI applications to uncontrolled behavior and potential misuse.

Bedrock Guardrails offer crucial governance and compliance controls for generative AI applications. Without this association, models can generate inappropriate or harmful outputs, leading to data breaches, reputational damage, or legal repercussions. Untrusted user inputs could easily exploit this misconfiguration.

The impact of this misconfiguration includes non-compliance with internal policies or external regulations, potentially resulting in hefty fines or legal action. Establishing Guardrails ensures responsible AI usage, mitigating risks related to inappropriate content generation, data leakage, and malicious activities.

To remediate this, ensure all AWS Bedrock agents are explicitly associated with appropriate Bedrock Guardrails. Regularly review and update Guardrail configurations to reflect evolving security needs and regulatory requirements. Implement monitoring to detect and promptly address any disassociations.

### Remediation

To associate the aws bedrock agent with the bedrock guardrail, perform the following actions:

1. Log in to the AWS console. and Navigate to Amazon Bedrock console available at <https://console.aws.amazon.com/bedrock/>.
2. In the navigation panel, under 'Builder tools', select 'Agents'.
3. In the Agents, Click on the agent that is reported.
4. Click on the 'Edit in Agent Builder' button on the right corner.
5. In the Agent builder window, Under the 'Guardrail details' section click 'Edit' and select the name and version of the Amazon Bedrock guardrail created previously or click on the link to Create a new guardtrail.
6. Choose 'Save and exit' to attach the selected guardrail to your Amazon Bedrock agent.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-bedrock-agent-is-not-associated-with-bedrock-guardrails.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
