ekino / ekino/EkinoDataProtectionBundle

Database anonymization config+command

Open
#5 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
5
Forks
10
PR merge metrics
No merged PRs in 30d

Description

This is a feature proposal:

- allow user of this bundle to define some configuration that would looks like:

```
ekino_data_protection:
...
data_anonymization:
anonymize:
first_table_name_containing_private_data:
- firstName: 'fakeValue'
- lastName: 'fakeValue'
- email: 'fakeEmail-@fake.com' (pattern to avoid fail with unique primary keys)
second_table_name_containing_private_data:
...
truncate:
- first_table_name_to_truncate (like session or basket tables that has no sense to keep)
```

then with this config we can provide a generic command to anonymize a database

WDYT?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.