> 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/ai-data-exposure-risk-due-to-s3-bucket-linked-to-sagemaker-training-job-not-configured-with.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AI data exposure risk due to S3 bucket linked to SageMaker training job not configured with...

### Synopsis

| Field               | Value                                                                                                                    |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Rule Name           | AI data exposure risk due to S3 bucket linked to SageMaker training job not configured with secure data transport policy |
| Rule Type           | Detection                                                                                                                |
| Finding Type        | AI data exposure risk due to S3 bucket linked to SageMaker training job not configured with secure data transport policy |
| Finding ID          | 60001390                                                                                                                 |
| Generates a Finding | This detection rule also generates a finding                                                                             |
| Severity            | High                                                                                                                     |
| Category            | POSTURE                                                                                                                  |
| Cloud Providers     | AWS                                                                                                                      |
| Platform Module     | CSPM                                                                                                                     |
| Asset Types         | S3\_BUCKET                                                                                                               |

### Description

AI training data exposure is a significant risk when AWS S3 buckets linked to SageMaker jobs lack secure data transport policies. Attackers could exploit this attack path by intercepting data transmitted over HTTP.

Data breaches can occur if sensitive AI training data is transmitted insecurely over HTTP. Compromised data may lead to intellectual property theft, model poisoning, and reputational damage. Unencrypted communication exposes data to eavesdropping and manipulation.

Mitigate this risk by configuring secure data transport policy that ensures REST API access to your S3 bucket occurs over HTTPS, rejecting any requests made over HTTP. This ensures all data transfer occurs over a secure channel, protecting against unauthorized access and data breaches. Enforcing HTTPS is a fundamental security best practice for data in transit.

Immediately configure the S3 bucket to require HTTPS for all communication. Implement and regularly review access controls to further minimize the risk of unauthorized access. Proactive security measures protect sensitive AI training data and maintain data integrity.

### Remediation

```
[MISCONFIGURATION]
```

1. Sign into the AWS console
2. Navigate to Amazon S3 Dashboard
3. Click on 'Buckets' (Left Panel)
4. Choose the reported S3 bucket
5. On 'Permissions' tab, Click on 'Bucket Policy'
6. Add a bucket policy that explicitly denies (Effect: Deny) all access (Action: s3:) from anybody who browses (Principal: ) to Amazon S3 objects within an Amazon S3 bucket if they are not accessed through HTTPS (aws:SecureTransport: false). Below is the sample policy:

   ```
   {
    'Sid': 'ForceSSLOnlyAccess',
     'Effect': 'Deny',
    'Principal': '*',
    'Action': 's3:GetObject',
    'Resource': 'arn:aws:s3:::bucket_name/*',
    'Condition': {
         'Bool': {
        'aws:SecureTransport': 'false'
       }
    }
   }
   ```


---

# 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/ai-data-exposure-risk-due-to-s3-bucket-linked-to-sagemaker-training-job-not-configured-with.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.
