> 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/cortex-xsiam/detect-investigate-and-respond-to-threats/cortex-advanced-email-security/advanced-email-security-module-security-and-compliance.md).

# Advanced Email Security module security and compliance

The Cortex Regional Machine Learning (ML) Processing and Data Residency Policy ensures that all data processing within your Cortex XSIAM tenant, including GenAI-powered features, remains in the region you selected. This guarantees that data is not transferred across regional boundaries without your explicit approval. The policy is enforced by ensuring that the physical location of our ML and GenAI compute resources, not just data storage, is confined to your chosen region, providing a transparent and unified approach to compliance.

{% hint style="info" %}

### Note

For information about how Cortex handles personal and private information, see the [Cortex Privacy Datasheet](https://www.paloaltonetworks.com/apps/pan/public/downloadResource?pagePath=/content/pan/en_US/resources/datasheets/cortex-xdr-privacy).
{% endhint %}

### Data Handling and Retention

In the context of cloud-based ML systems, it is critical to distinguish between data at rest and data processing, especially when considering data residency and compliance boundaries.

#### Data at rest

Data at rest refers to the physical location where data is stored when not actively being processed. This typically includes storage services such as object storage (e.g., GCS, S3) or databases (e.g., BigQuery, Cloud Spanner). Data at rest is governed by storage policies and encryption-at-rest controls.

#### Data processing

Data processing refers to where the data is actively loaded into memory, transformed, and used by compute resources, such as GPUs, TPUs, or CPU-based inference services, to perform ML/GenAI tasks like inference, embedding generation, summarization, etc.

#### Processing location

The physical location of the compute resource performing inference, for example, the zone where the GPU runs the model, is what determines the true location of data processing, not the location of the stored data or control plane. This has direct implications for data egress, compliance, and user consent.

#### Regional compliance

For example, if user data stored in europe-west3 is sent to a GenAI inference engine running in us-central1, then the data is no longer regionally contained, even if it returns post-processing. This cross-region processing is what our policy aims to prevent or explicitly disclose. This is crucial because customer expectations for regional processing often align with regulatory zones; for instance, a European customer might be comfortable with processing in another country in the EU, as both are part of GDPR, but an Asian customer may object to processing in another Asian country.

#### Policy enforcement

Our policy explicitly emphasizes regional ML inference locality as the primary control point for enforcing data residency, not just where data is stored.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xsiam/detect-investigate-and-respond-to-threats/cortex-advanced-email-security/advanced-email-security-module-security-and-compliance.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
