01-08-2021 02:29 AM
Hi All,
I have tried to create custom DLP policy for Malaysian ID, for example, 889922-01-1234 or 881243 01 1234 and the regular expressions that I created as below. Its should be denied and drop when someone sent out an email that content ID. but it's not worked as expected. Do I miss something?
\d{6 }-\d{2}-\d{4} refer to 889922-01-1234
ESA version 12.5.1.037
01-08-2021 02:42 AM
Just based on testing the regex itself using online tools such as regex101.com, unless its a typo with an additional space.
\d{6 }-\d{2}-\d{4} does not match 889922-01-1234
\d{6}-\d{2}-\d{4} matches 889922-01-1234
If that was just a typo in the post, the regex appears to be correct otherwise and we'll need to rely on confirming if the DLP policy is enabled correctly for outgoing emails and testing different email contents, etc.
Regards,
Libin
01-13-2021 02:28 AM
Hi Libin
Thanks for your suggestion, I will check again the configuration and regex.
01-14-2021 03:07 AM
I have checked, regex is correct and policy are applied. still, not working. is it a bug? run version 11 no issues at all.
01-14-2021 11:07 AM - edited 01-14-2021 11:11 AM
Creating your custom DLP policy is just one part of the process.
Have you created the outgoing content filter?
Maybe you can find guidance here: Best Practices Guide for Data Loss Prevention and Encryption - Cisco
Good luck!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide