Step 2: Run DataMasker from DevOps – Copado

*This step is Optional


Data Masking is a process to mask all sensitive data available in Sandbox which will prevent developers or other users from viewing sensitive data. In the particular use cases where the Data Masking needs to be invoked by an external system, Cloud Compliance offers an API interface for masking sensitive data.

You can automate your Data Masking to be triggered from leading DevOps & CI/CD tools such as Copado, Gearset, Jenkins, AutoRABIT, Flosum, or GitHub.

This document explains how to invoke Data Masking configurations that are pre-configured via APEX based callout. The API performs data masking of sensitive data in the relevant sandbox whose details are provided in the configuration.

The APEX APIs that are developed for this requirement are as follows – 

1. Navigate->Configurations tab of the Data Masker application.

2. Click on the Configuration name. In this case, Click on ‘APEX API – UAT sandbox’.

3. Copy the Configuration id and paste this id in the APEX API script that needs to be executed for data masking.

Solution Steps

1. Navigate-> Copado Release Management app and Make sure that ‘Destination org’ should be connected in Deployments.

2. Select ‘Apex’ from the type of call-outs and use our Data Masking API to execute data masking. The input parameter is the Configuration Id which was copied above for eg. ‘5856347d64232790a3157ca39f341477’


3. Click on ‘Deploy’ and then ‘Deploy All’

4. Check The Status

5. You can check the execution status in the Data masker.