- PrivaceraCloud Release 4.5
- PrivaceraCloud User Guide
- PrivaceraCloud
- What is PrivaceraCloud?
- Getting Started with Privacera Cloud
- User Interface
- Dashboard
- Access Manager
- Discovery
- Usage statistics
- Encryption and Masking
- Privacera Encryption core ideas and terminology
- Encryption Schemes
- Encryption Schemes
- System Encryption Schemes Enabled by Default
- View Encryption Schemes
- Formats, Algorithms, and Scopes
- Record the Names of Schemes in Use and Do Not Delete Them
- System Encryption Schemes Enabled by Default
- Viewing the Encryption Schemes
- Formats, Algorithms, and Scopes
- Record the Names of Schemes in Use and Do Not Delete Them
- Encryption Schemes
- Presentation Schemes
- Masking schemes
- Create scheme policies on PrivaceraCloud
- Encryption formats, algorithms, and scopes
- Deprecated encryption formats, algorithms, and scopes
- PEG REST API on PrivaceraCloud
- PEG API Endpoint
- Request Summary for PrivaceraCloud
- Prerequisites
- Anatomy of a PEG API endpoint on PrivaceraCloud
- About constructing the datalist for /protect
- About deconstructing the response from /unprotect
- Example of data transformation with /unprotect and presentation scheme
- Example PEG REST API endpoints for PrivaceraCloud
- Audit details for PEG REST API accesses
- Make calls on behalf of another user on PrivaceraCloud
- Privacera Encryption UDF for masking in Databricks
- Privacera Encryption UDFs for Trino
- Syntax of Privacera Encryption UDFs for Trino
- Prerequisites for installing Privacera Crypto plug-in for Trino
- Variable values to obtain from Privacera
- Determine required paths to crypto jar and crypto.properties
- Download Privacera Crypto Jar
- Set variables in Trino etc/crypto.properties
- Restart Trino to register the Privacera Crypto UDFs for Trino
- Example queries to verify Privacera-supplied UDFs
- Azure AD setup
- Launch Pad
- Settings
- General functions in PrivaceraCloud settings
- Applications
- About applications
- Azure Data Lake Storage Gen 2 (ADLS)
- Athena
- Privacera Discovery with Cassandra
- Databricks
- Databricks SQL
- Dremio
- DynamoDB
- Elastic MapReduce from Amazon
- EMRFS S3
- Files
- File Explorer for Google Cloud Storage
- Glue
- Google BigQuery
- Kinesis
- Lambda
- Microsoft SQL Server
- MySQL for Discovery
- Open Source Spark
- Oracle for Discovery
- PostgreSQL
- Power BI
- Presto
- Redshift
- Redshift Spectrum
- Kinesis
- Snowflake
- Starburst Enterprise with PrivaceraCloud
- Starburst Enterprise Presto
- Trino
- Datasource
- User Management
- API Key
- About Account
- Statistics
- Help
- Apache Ranger API
- Reference
- Okta Setup for SAML-SSO
- Azure AD setup
- SCIM Server User-Provisioning
- AWS Access with IAM
- Access AWS S3 buckets from multiple AWS accounts
- Add UserInfo in S3 Requests sent via Dataserver
- EMR Native Ranger Integration with PrivaceraCloud
- Spark Properties
- Operational Status
- How-to
- Create CloudFormation Stack
- Enable Real-time Scanning of S3 Buckets
- Enable Discovery Realtime Scanning Using IAM Role
- How to configure multiple JSON Web Tokens (JWTs) for EMR
- Enable offline scanning on Azure Data Lake Storage Gen 2 (ADLS)
- Enable Real-time Scanning on Azure Data Lake Storage Gen 2 (ADLS)
- How to Get Support
- Coordinated Vulnerability Disclosure (CVD) Program of Privacera
- Shared Security Model
- PrivaceraCloud
- PrivaceraCloud Previews
- Privacera documentation changelog
Tag Policies
A tag is user-assigned metadata label classifying a resource such as a column, table, or file. Access policies can then be defined by referencing tags values that apply to the tagged data. A single tag can be applied to data resources sourced across multiple data sources or types of data. This allows data managers to create and manage data across scattered resources, based on a user-assigned attribute, reducing the need to define policies for otherwise disjoint resources.
For example, database columns called Email or Phone_Number found in multiple databases can be tagged as PII. Policies can then be written for that PII tagged data.
Tags are defined and assigned using the PrivaceraCloud Apache Ranger API. See Apache Ranger API for general information on using this API interface.
Each PrivaceraCloud account is assigned a unique URL to access and control account resources. This URL is obtained via the API Key.
Tags can also be defined and assigned using Privacera Discovery, a Privacera Platform component. These tag definition sets can then be subsequently exported from Privacera Discovery and imported into PrivaceraCloud.
See Apache Ranger Tag APIs for the full set of Ranger Apache REST Tag APIs.
Example: Tag Assignment via Apache Ranger API
In the following example a tag named "PERSON_NAME" is applied to a Hive database named: "sales" with a table named: "sales_data", and a column named : "name".
A PUT is targeted to the endpoint tags/importservicetags of the Apache Ranger API with access credentials (username: "RangerAPI-Auth"; password: "ranger1234#"). The local file atlas_tag.json
containst the request the body.
curl -u RangerAPI-Auth:ranger1234# \ -H "Content-type: application/json" \ -d @atlas_tag.json \ -X PUT \ https://api.privaceracloud.com/api/13afxxxxxx6b981fxxxxxx2dc7cdd7xxxxxxa921636xxxxxx2d189d425b5f01/service/tag/importservicetags
where atlas_tag.json
is:
{ "op": "replace", "serviceName": "privacera_hive", "tagVersion": 0, "tagDefinitions": { "0": { "name": "PERSON_NAME", "source": "Atlas", "attributeDefs": [], "id": 0, "isEnabled": true } }, "tags": { "0": { "type": "PERSON_NAME", "owner": 0, "attributes": {}, "id": 0, "isEnabled": true } }, "serviceResources": [ { "serviceName": "privacera_hive", "resourceElements": { "database": { "values": [ "sales" ], "isExcludes": false, "isRecursive": false }, "column": { "values": [ "name" ], "isExcludes": false, "isRecursive": false }, "table": { "values": [ "sales_data" ], "isExcludes": false, "isRecursive": false } }, "id": 0, "isEnabled": true } ], "resourceToTagIds": { "0": [ 0 ] } }
Adding the privacera_tag Service
Open Access Manager > Tag Policies > Add Service.
In the TAG service group, select privacera_tag by clicking its name.
Save the service.
Tag Policies UI
Click Access Manager: Tag Policies to open and manage Tag based policies.
Once a tag policy has been created, it will display a service group named TAG, and one or more tag services. The first tag policy is named, by default, privacera_tag.
The controls and policy definition sequences are mirror those in Resource Policies.
Example
This example sequence creates a policy for data tagged "PERSON_NAME". The tag must have been previously created and assigned using the PrivaceraCloud Apache Ranger API, or as an import from a Privacera Discovery created tag assignment definition file.
Open Access Manager > Tag Policies. Open the service: privacera_tag (click the name) in the service group TAG.
Click the “Add New Policy” button to add a new tag based policy.
This will open to a new Policy definition dialog. Create a new Policy as in Resource Policies.