Forum Discussion
ASM Dataguard- Regular Expression
Hi Folks,
Which Regular expression we need to use to mask custom data like bank accounts/sort codes which are mentioned below as an examle? Any clue?
Data1: 11-22-33 Data 2: 12345678
- Erik_NovakEmployee
[0-9][0-9]-[0-9][0-9]-[0-9][0-9] for Data1
[0-8] for Data2
- Stanislas_Piro2Cumulonimbus
- Data 1 : \d{2}-\d{2}-\d{2}
- Data 2 : \d{8}
- Erik_NovakEmployee
If you know the name of the parameter for that input, you can mark it as a sensitive parameter on the parameter properties screen. That's actually a best practice in ASM. If you're not learning parameters in that policy, try selecting "sensitive parameter" for the parameter wildcard--but this will mask all parameters in the GUI and in the logs as well.
- Erik_NovakEmployee
Those look like they are XML values. You may need to create an XML profile and apply to the VS. If those parameters are listed by name in your policy, change the value type to XML and try assigning an XML profile.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com