> 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-s3-bucket-is-utilized-for-aws-bedrock-custom-model-training-data.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS S3 bucket is utilized for AWS Bedrock Custom model training data

### Synopsis

| Field               | Value                                                                |
| ------------------- | -------------------------------------------------------------------- |
| Rule Type           | Detection                                                            |
| Finding Type        | AWS S3 bucket is utilized for AWS Bedrock Custom model training data |
| Finding ID          | 60001435                                                             |
| Generates a Finding | This detection rule also generates a finding                         |
| Severity            | Informational                                                        |
| Category            | CONFIGURATION                                                        |
| Cloud Providers     | AWS                                                                  |
| Platform Module     | CSPM                                                                 |
| Asset Types         | S3\_BUCKET                                                           |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                      |
| ATT\&CK Technique   | T1685 (T1685)                                                        |

### Description

AWS S3 buckets storing AWS Bedrock custom model training data improperly configured could risk unauthorized access and data breaches.

These buckets contain sensitive training datasets crucial for Bedrock's functionality. Misconfiguration, such as public accessibility or overly permissive 'GetObject' permissions, exposes this data to unauthorized users or malicious actors. Compromise could lead to data exfiltration, model theft, intellectual property loss, and reputational damage.

Data breaches from this misconfiguration result in significant financial losses, regulatory fines, and legal liabilities. Implementing robust security practices is critical to maintaining data integrity and confidentiality, protecting intellectual property, and ensuring compliance.

Mitigate risks by enforcing least privilege access, restricting bucket policies to only authorized users and IP addresses, enabling encryption (SSE-S3 or KMS), and regularly auditing access logs. Employ strong access control lists (ACLs) and consider using AWS Identity and Access Management (IAM) roles for granular permission management. Restrict access to trusted IP addresses and monitor for suspicious activity.

### Remediation

**Manual steps:**

S3 Bucket - This finding identifies an AWS S3 bucket used to store training data for AWS Bedrock Custom models. While the finding itself doesn't indicate a misconfiguration, it highlights the importance of securing these buckets to prevent unauthorized access and data breaches. Improperly configured S3 buckets can lead to sensitive information being exposed, potentially impacting the integrity and confidentiality of your training data:

To enhance the security of the S3 bucket used for AWS Bedrock Custom model training data, follow these steps:

1. **Implement Strict Access Controls:**

   Use AWS Identity and Access Management (IAM) to define granular permissions for users and roles accessing the S3 bucket. Grant only the necessary permissions for each user or role to interact with the bucket.

   Consider using AWS Organizations to enforce consistent security policies across your AWS environment.
2. **Enable Encryption:**

   Configure server-side encryption for the S3 bucket using either AWS KMS (Key Management Service) or S3 managed keys. This ensures that data is encrypted at rest, protecting it from unauthorized access even if the bucket is compromised.
3. **Audit Permissions:**

Regularly review and audit the permissions granted to users and roles accessing the S3 bucket. Identify and revoke any unnecessary or outdated permissions.

Utilize AWS CloudTrail to track and audit all API calls made to the S3 bucket, providing visibility into access patterns and potential security threats.

**Note:** Carefully review and test these steps before implementing them in your production environment. Incorrect configuration can impact the functionality of your AWS Bedrock Custom model training jobs. Refer to the AWS documentation for detailed guidance on configuring S3 bucket security: <https://docs.aws.amazon.com/AmazonS3/latest/userguide/security-best-practices.html>


---

# 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-s3-bucket-is-utilized-for-aws-bedrock-custom-model-training-data.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.
