Fortinet black logo

Online Help

Customized Data Pattern Example - Regex

Customized Data Pattern Example - Regex

The following customized data pattern will search for a Brazilian CPF, an 11 digit taxpayer identification code issued by Brazillian Federal Reserve. This data pattern will monitor for the presence of Brazilian taxpayer identification code in the cloud accounts.

  1. Go to Data Protection > Policies > Data Pattern, and click on Customized tab.
  2. Click on +ADD NEW to add a customized data pattern.
  3. In Data Pattern Name, enter "Brazil CPF".
  4. In Description, enter "Brazilian taxpayer identification code with numerical format in xxx.xxx.xxx-xx".
  5. In Category, select "Financial Information".
  6. In Max Uncompressed File Size and Max Compressed File Size, use the default value "10MB".
  7. In Regex (PCRE), enter the regex: "^\d{3}\.\d{3}\.\d{3}\-\d{2}$".
  8. Click Add Customized Data Pattern to finish.

Now the Customized Data Pattern is ready to be added and enabled in Data Security Policy configuration.

Customized Data Pattern Example - Regex

The following customized data pattern will search for a Brazilian CPF, an 11 digit taxpayer identification code issued by Brazillian Federal Reserve. This data pattern will monitor for the presence of Brazilian taxpayer identification code in the cloud accounts.

  1. Go to Data Protection > Policies > Data Pattern, and click on Customized tab.
  2. Click on +ADD NEW to add a customized data pattern.
  3. In Data Pattern Name, enter "Brazil CPF".
  4. In Description, enter "Brazilian taxpayer identification code with numerical format in xxx.xxx.xxx-xx".
  5. In Category, select "Financial Information".
  6. In Max Uncompressed File Size and Max Compressed File Size, use the default value "10MB".
  7. In Regex (PCRE), enter the regex: "^\d{3}\.\d{3}\.\d{3}\-\d{2}$".
  8. Click Add Customized Data Pattern to finish.

Now the Customized Data Pattern is ready to be added and enabled in Data Security Policy configuration.