Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow an easy way to create random PII/PHI data #1181

Open
erikpragt-connectid opened this issue Apr 29, 2024 · 0 comments
Open

Allow an easy way to create random PII/PHI data #1181

erikpragt-connectid opened this issue Apr 29, 2024 · 0 comments
Labels

Comments

@erikpragt-connectid
Copy link

erikpragt-connectid commented Apr 29, 2024

In a project I'm working on, I'm working with AWS Comprehend to detect and redact PII data.

It would be nice if Datafaker could generate some explicit data including PII data, such as birth dates, full names, credit card data, medical records, etc.

Perhaps something like:

faker.pii().medical()
faker.pii().banking()
faker.pii().general()

or

faker.medical().phi()
faker.banking().pii()

Not sure yet, but the output should be something like:

Hello Zhang Wei, I am John. Your AnyCompany Financial Services, LLC credit card account 1111-0000-1111-0008 has a minimum payment of $24.53 that is due by July 31st. Based on your autopay settings, we will withdraw your payment on the due date from your bank account number XXXXXX1111 with the routing number XXXXX0000.

Customer feedback for Sunshine Spa, 123 Main St, Anywhere. Send comments to Alice at sunspa@mail.com. I enjoyed visiting the spa. It was very comfortable but it was also very expensive. The amenities were ok but the service made the spa a great experience.

(this is the AWS sample message).

I'll most likely build the above, but suggestions / feedback welcome.

@erikpragt-connectid erikpragt-connectid changed the title Allow an easy way to create random PII data Allow an easy way to create random PII/PHI data Apr 30, 2024
@bodiam bodiam added the proposal label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants