The built-in Polish Social Security Number (PESEL) data identifier allows false positives for strings that are not valid PESEL numbers.
To resolve this, we recommend that you create a new custom data identifier (DI) to use in conjunction with a custom policy.
Now, let's create the custom policy to detect PESEL numbers.
At this point, you have a policy that will correctly detect PESEL numbers while excluding invalid numbers. You can edit this policy to add other rules, exclusions, and response rules as needed.