How to do data masking?

Not applicable

For data masking what policies to be included and where to implement those policies? And where to implement the <MaskDataConfigurationame="default" >

So anyone who has successfully implemented the data masking please share the proxy bundle.

1 4 2,247
4 REPLIES 4

@Deepak kumar sahu ,

There is no policy / sample proxy bundle to do mask configuration. It has to be done using Management APIs. You need to make Apigee Management API call with Basic Auth credentials of your Apigee Edge Account. Same has been explained here in documentation.

Hope it helps. Keep us posted if any.

Hi Anil,

I have tried using postman to do data masking.

In the body of postman I have written masking configuration

<MaskDataConfigurationname="default">
<Variables>
	<Variable>request.queryparam.w</Variable>
</Variables>
</MaskDataConfiguration>

And after that I used post method to send the request with url:

http://deepaksahu-test.apigee.net/data?w=123456

But in the trace session variable is not being masked. The value is still visible.

adas
New Member

There are different ways to do this. If you do not want to display some sensitive data in the trace, you can prefix that variable as "private."

For example, if you had a variable called "access_token", you can call it "private.access_token" and it would not appear in trace. If you want the data to be visible but masked, then you use the debug masking by setting up a mask config at the org, env or proxy level.

Not applicable

I have tried using postman to do data masking.

In the body of postman I have written masking configuration

<MaskDataConfiguration name="default">
     <Variables>         
        <Variable>request.queryparam.w</Variable>     
     </Variables> 
</MaskDataConfiguration>

And after that I used post method to send the request with url:

http://deepaksahu-test.apigee.net/data?w=123456

But in the trace session variable is not being masked. The value is visible.

@Anil Sagar

@arghya das