<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Building the Protegrity Anonymization Request on</title><link>https://docs.protegrity.com/anonymization/1.4.1/docs/building_req/</link><description>Recent content in Building the Protegrity Anonymization Request on</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 06 Apr 2026 11:24:23 +0000</lastBuildDate><atom:link href="https://docs.protegrity.com/anonymization/1.4.1/docs/building_req/index.xml" rel="self" type="application/rss+xml"/><item><title>Common Configurations for Building the Request</title><link>https://docs.protegrity.com/anonymization/1.4.1/docs/building_req/hide_build_rest_common_config/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/anonymization/1.4.1/docs/building_req/hide_build_rest_common_config/</guid><description>&lt;h2 id="specifying-the-transformation">Specifying the Transformation&lt;/h2>
&lt;p>The data store consists of various fields. These fields need to be identified for processing data. Additionally, the type of transformation that must be performed on the fields must be specified. Also specify the type of privacy model that must be used for anonymizing the data. While specifying the rules for transformation specify the importance of the data.&lt;/p>
&lt;h3 id="classifying-the-fields">Classifying the Fields&lt;/h3>
&lt;p>Specify the type of information that the fields hold. This classification must be performed carefully, leaving out important fields might lead to the anonymized data being of no value. However, including data that can identify users poses a risk of anonymization not being carried out properly.&lt;/p></description></item><item><title>Building the Request using the REST API</title><link>https://docs.protegrity.com/anonymization/1.4.1/docs/building_req/hide_build_rest_wrap/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/anonymization/1.4.1/docs/building_req/hide_build_rest_wrap/</guid><description>&lt;h2 id="identifying-the-source-and-target">Identifying the source and target&lt;/h2>
&lt;p>The source dataset is the starting point of the transformation. In this step, you specify the source that must be transformed. Specify the target where the anonymized data will be saved.&lt;/p>
&lt;ul>
&lt;li>The following file formats are supported:
&lt;ul>
&lt;li>Comma separated values (CSV)&lt;/li>
&lt;li>Columnar storage format: This is an optimized file format for large amounts of data. Using this file format provides faster results. For example, Parquet (gzip and snappy).&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The following types of data storage have been tested for Protegrity Anonymization:
&lt;ul>
&lt;li>Local File System&lt;/li>
&lt;li>Amazon S3&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>The following types of data storage can also be used for Protegrity Anonymization:
&lt;ul>
&lt;li>Microsoft Azure Storage
&lt;ul>
&lt;li>Data Lake Storage&lt;/li>
&lt;li>Blob Storage&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>S3 bucket Storage&lt;/li>
&lt;li>Other S3 Compatible Services&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;p>Use the following code to specify the source:&lt;/p></description></item><item><title>Building the request using the Python SDK</title><link>https://docs.protegrity.com/anonymization/1.4.1/docs/building_req/hide_build_sdk_wrap/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/anonymization/1.4.1/docs/building_req/hide_build_sdk_wrap/</guid><description>&lt;p>To build Protegrity Anonymization request using the SDK, the user first needs to import the &lt;em>anonsdk&lt;/em> module using the following command.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>import anonsdk as asdk
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="creating-the-connection">Creating the connection&lt;/h2>
&lt;p>You need to specify the connection to Protegrity Anonymization REST service to set up Protegrity Anonymization.&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Note:&lt;/strong> If administrator has not updated the DNS entry for ANON REST API service, then map the hostname with the IP address of Anon Service in the &lt;strong>hosts&lt;/strong> file of the system.&lt;/p></description></item></channel></rss>