Previewing masked data

Use the preview feature to validate that your defined masking policies behave as expected before saving or executing the workflow.

About this task

For information about masking policies, see Applying masking policies.

Before you begin

Ensure that the following prerequisites are met:

  • You have already applied masking policies to a flow or pipeline job.
  • The job includes source tables and masking configurations.
  • For API usage:

Previewing masked data by using the API

To preview masked data before running a flow by using the API:

  1. Send a GET request to /optim/v1/flow/preview/{flowId}, replacing {flowId} with the ID of the job that includes masking policies.
    
    Authorization: Bearer <accessToken>
    
    GET /optim/v1/flow/preview/{flowId}
  2. To preview masked data for a different flow, repeat the request with the corresponding flow ID.

Results

You can validate that masking policies are correctly applied and meet compliance and usability requirements.

What to do next

If the previewed data does not meet expectations, adjust the masking configuration before running the flow.