> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-pipeline-5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-pipeline-5/components/transformations/data-loss-protection.md).

# Data Loss Protection

All component configurations are classified broadly into 3 section

* ​[​Basic Information​](/data-pipeline-5/components/component-base-configuration.md)​
* Meta Information
* [Resource Configuration​](/data-pipeline-5/components/resource-configuration.md)

**Data Loss Protection component in pipeline used to protect or mask the incoming data by using the several techniques so that the loss of important data can be ignored.**

{% hint style="success" %}
*Please follow the steps provided in the demonstration to configure the Data Loss Protection component.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2FmQZImekNQE2kYV6s5XLr%2Fdata_loss_protection_AdobeExpress.mp4?alt=media&token=fc850f6a-9e8a-409b-8beb-d73639d489b8>" %}
*Configuring the Data Loss Protection in a pipeline workflow*
{% endembed %}

## **Configuring Meta Information of Data Loss Protection**

* **Column name:** Enter the column name whose data has to be protected.
* **Rule type:** Select the rule type to hide the data. There are four types of rules available by which the data can be protected.
  1. **Redaction:** Redaction is a data masking technique that enables you to mask data by removing or substituting all or part of the field value.
  2. **Masking:** By selecting this method, the data can be masked by the given character. Once this option is selected, the following value needs to be given:
     * **Masking character:** Enter the character by which the data will be masked.
     * **Characters to ignore:** Enter the character which should be ignored while  masking the data.
     * **Type:** Select either **Full** or **Partial** for masking the data.
  3. **Hashing:**  Hashing is using a special cryptographic function to transform one set of data into another of fixed length by using a mathematical process. Once this option is selected, then select the Hash type from the drop down to protect the data. There are 3 options available under the Hash type:
     * **sha 256**
     * **sha 384**
     * **sha 512**
  4. **Date generalization:** For this rule, select a column which is having only date values. There are four(4) options under this rule:
     * **Year**
     * **Month**
     * **Quarter**
     * **Week**

<figure><img src="/files/aj4M35PPBcZUzZGsKOQP" alt=""><figcaption><p>Data Loss Protection</p></figcaption></figure>


---

# 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:

```
GET https://docs.bdb.ai/data-pipeline-5/components/transformations/data-loss-protection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
