This topic provides information about Sensitive Data Protection and data security,
including certifications, compliance (including GDPR), and encryption. For
additional information about data security and Google Cloud, see [Google Cloud
Security](https://cloud.google.com/security).

## Certifications

Sensitive Data Protection meets various certifications and compliance standards,
including the following. This is not an exhaustive list.

- [ISO/IEC 27001](https://cloud.google.com/security/compliance/iso-27001)
- [ISO/IEC 27017:2015](https://cloud.google.com/security/compliance/iso-27017/)
- [ISO/IEC 27018:2014](https://cloud.google.com/security/compliance/iso-27018/)
- [Payment Card Industry Data Security Standard (PCI
  DSS)](https://cloud.google.com/security/compliance/pci-dss/)
- [HIPAA business associate agreement
  (BAA)](https://cloud.google.com/security/compliance/hipaa#covered-products)
- [Multi-Tier Cloud Security (MTCS) Singapore Standard (SS)
  584](https://cloud.google.com/security/compliance/mtcs/)

For more information about the compliance offerings that Google Cloud
services satisfy, see [Compliance resource center](https://cloud.google.com/compliance).

## GDPR

Compliance with the European Union General Data Protection Regulation (GDPR) is
a top priority for Google Cloud and our customers.

While Sensitive Data Protection offers several built-in [infoType
detectors](https://docs.cloud.google.com/sensitive-data-protection/docs/concepts-infotypes) that may be applicable to GDPR
compliance, you may need to [build your own custom infoType
detectors](https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes), and should test thoroughly to
ensure that the tool fits your specific needs.

You are encouraged to read the [Google Cloud and GDPR
overview](https://cloud.google.com/privacy/gdpr) to learn more about the available resources for GDPR
compliance with Google Cloud.

## Encryption

For information about encryption in transit and Google Cloud services, see
[Encryption in Transit in Google Cloud](https://docs.cloud.google.com/docs/security/encryption-in-transit.md.txt).

For information about encryption at rest and Google Cloud services, see
[Encryption at Rest in
Google Cloud](https://docs.cloud.google.com/docs/security/encryption/default-encryption).

## How data is stored

Sensitive Data Protection processes and stores your data depending on
the [service method](https://docs.cloud.google.com/sensitive-data-protection/docs/concepts-method-types.md.txt) that you use.

### Content methods

When you use [`content`
methods](https://docs.cloud.google.com/sensitive-data-protection/docs/concepts-method-types#content-methods) to process your data,
your data isn't stored on Google Cloud. Your request configuration and
payload are processed synchronously in memory and are not cached.

### Storage methods

Storage methods are asynchronous operations that let you inspect Google Cloud
data, such as data in BigQuery tables and Cloud Storage
buckets. You control how that data is stored, accessed, and protected, just like
any resource that you own in Google Cloud.
Sensitive Data Protection processes your data in the same region where it
resides and stores the inspection job in that region.


The inspection job includes the configuration details that you set and the
result summary. The [result summary](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.dlpJobs.md.txt#result)
that
Sensitive Data Protection stores doesn't include any of the inspected data
and the actual strings containing the sensitive information (also called
*quotes* in
Sensitive Data Protection). You can delete the job, including the result
summary, [through the
Google Cloud console](https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers#delete-job) or [through
the
DLP API](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.dlpJobs/delete).

<br />

When configuring your inspection job, you can instruct
Sensitive Data Protection to export the findings to a BigQuery
table of your choice. Depending on your settings, the quotes can be included in
the exported findings. You own the BigQuery table and control how
it's stored, accessed, and protected.

<br />

### Hybrid methods

Hybrid methods are asynchronous operations that let you inspect data that is
stored anywhere, including data stored outside Google Cloud. In your
inspection job, you specify where you want Sensitive Data Protection to
process the data and save the job.


The inspection job includes the configuration details that you set and the
result summary. The [result summary](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.dlpJobs.md.txt#result)
that
Sensitive Data Protection stores doesn't include any of the inspected data
and the actual strings containing the sensitive information (also called
*quotes* in
Sensitive Data Protection). You can delete the job, including the result
summary, [through the
Google Cloud console](https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers#delete-job) or [through
the
DLP API](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.dlpJobs/delete).

<br />

When configuring your inspection job, you can instruct
Sensitive Data Protection to export the findings to a BigQuery
table of your choice. Depending on your settings, the quotes can be included in
the exported findings. You own the BigQuery table and control how
it's stored, accessed, and protected.

<br />

### Discovery

Sensitive Data Protection processes your data assets in the region or
multi-region where they reside and stores the generated data profiles in the
same region or multi-region. For more information about how the
discovery service supports data residency requirements, see [Data
residency considerations](https://docs.cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency).

### How custom infoTypes are stored

You create a [custom infoType](https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes.md.txt) by
specifying a regular expression or a list of terms (words and phrases) that you
want to scan for. You can provide the terms by listing them directly in the
Sensitive Data Protection request. Alternatively, you can reference a
BigQuery table or a Cloud Storage file or folder containing
the list of terms.

The terms that make up a custom infoType are potentially sensitive. They are
stored depending on how you provide them to Sensitive Data Protection:

- If you list the terms directly in a [content
  method](https://docs.cloud.google.com/sensitive-data-protection/docs/data-security#content-methods), then the data is processed synchronously in memory and isn't stored or cached.
- If you list the terms directly in an inspection job, then the terms are saved with the inspection job. For more information about how inspection jobs are stored, see [Storage methods](https://docs.cloud.google.com/sensitive-data-protection/docs/data-security.md.txt#storage-methods) and [Hybrid
  methods](https://docs.cloud.google.com/sensitive-data-protection/docs/data-security#hybrid-methods).
- If you list the terms directly in an inspection template, then the terms are saved with the inspection template. The inspection template is stored in the region that you set when creating the template. You can delete an inspection template [through the
  Google Cloud console](https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates-inspect#delete_inspection_templates) or [through the
  DLP API](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.inspectTemplates/delete).
- If you store the terms in a BigQuery table or Cloud Storage file or folder, then you control how they are stored, accessed, and protected, just like any resource that you own in Google Cloud.

## Privacy

For information about how Google Cloud protects your privacy, see [Privacy
Resource Center](https://cloud.google.com/privacy).

## Next steps

For information about the security measures in place for Google's Cloud
Services, see the [Google Cloud Security](https://docs.cloud.google.com/docs/security.md.txt) page.