netcraftsmen / pangea

Pangea has a comprehensive security platform that you can leverage with simple API calls for authentication, audit logging, secrets management, sensitive data removal, and intelligence services.
https://pangea.cloud/
Apache License 2.0
0 stars 0 forks source link

Remove '-' from phone_number #1

Open joelwking opened 1 year ago

joelwking commented 1 year ago

When checking a phone number as a parameter for user intel, you must remove any separator characters from the number. For example 800-555-0123 should be specified as 8005550123.

It does not throw an error with the dash characters, but you will not see valid results.

joelwking commented 1 year ago

Actually, Pangea is checking on why the phone numbers are not normalized. With or without, or with a leading '1' on the number will all return results, or differing counts.