Forum Discussion

securityninja_2's avatar
securityninja_2
Icon for Nimbostratus rankNimbostratus
Mar 19, 2017

ASM Data Guard using custom pattern to mask sensitive data in HTTP-request header

I would like to use ASM Data Guard custom pattern to mask sensitive data that captured in http request header. The data that i want to mask is username and password within the http-request post Header.

 

I want to mask following data __Requesttokanverification=nmsjfueotueihvbnxikwhjslkqjsdfgjhiertjdfgjkk&Username=joe&Password=test

 

I've written following Reg pattern it doesn't work __Requesttokenverification=\w+\w+\w+&Username=\w+\d+&Password=\w+\d+