-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,30 +21,30 @@ Features | |
* Exclude data for anonymization depending on regular expressions | ||
* Truncate entire tables for unwanted data | ||
|
||
+----------------+----------------------+------------------------+----------------------------------+ | ||
| Field | Value | Provider | Output | | ||
+================+======================+========================+==================================+ | ||
| ``first_name`` | John | ``choice`` | (Bob|Larry|Lisa) | | ||
+----------------+----------------------+------------------------+----------------------------------+ | ||
| ``title`` | Dr. | ``clear`` | | | ||
+----------------+----------------------+------------------------+----------------------------------+ | ||
| ``street`` | Irving St | ``faker.street_name`` | Miller Station | | ||
+----------------+----------------------+------------------------+----------------------------------+ | ||
| ``password`` | dsf82hFxcM | ``mask`` | XXXXXXXXXX | | ||
+----------------+----------------------+------------------------+----------------------------------+ | ||
| ``email`` | [email protected] | ``md5`` | 0cba00ca3da1b283a57287bcceb17e35 | | ||
+----------------+----------------------+------------------------+----------------------------------+ | ||
| ``email`` | [email protected] | ``faker.unique.email`` | [email protected] | | ||
+----------------+----------------------+------------------------+----------------------------------+ | ||
| ``phone_num`` | 65923473 | ``md5``as_number: True | 3948293448 | | ||
+----------------+----------------------+------------------------+----------------------------------+ | ||
| ``ip`` | 157.50.1.20 | ``set`` | 127.0.0.1 | | ||
+----------------+----------------------+------------------------+----------------------------------+ | ||
| ``uuid_col`` | 00010203-0405-...... | ``uuid4`` | f7c1bd87-4d.... | | ||
+----------------+----------------------+------------------------+----------------------------------+ | ||
+----------------+----------------------+-------------------------+----------------------------------+ | ||
| Field | Value | Provider | Output | | ||
+================+======================+=========================+==================================+ | ||
| ``first_name`` | John | ``choice`` | (Bob|Larry|Lisa) | | ||
+----------------+----------------------+-------------------------+----------------------------------+ | ||
| ``title`` | Dr. | ``clear`` | | | ||
+----------------+----------------------+-------------------------+----------------------------------+ | ||
| ``street`` | Irving St | ``faker.street_name`` | Miller Station | | ||
+----------------+----------------------+-------------------------+----------------------------------+ | ||
| ``password`` | dsf82hFxcM | ``mask`` | XXXXXXXXXX | | ||
+----------------+----------------------+-------------------------+----------------------------------+ | ||
| ``email`` | [email protected] | ``md5`` | 0cba00ca3da1b283a57287bcceb17e35 | | ||
+----------------+----------------------+-------------------------+----------------------------------+ | ||
| ``email`` | [email protected] | ``faker.unique.email`` | [email protected] | | ||
+----------------+----------------------+-------------------------+----------------------------------+ | ||
| ``phone_num`` | 65923473 | ``md5`` as_number: True | 3948293448 | | ||
+----------------+----------------------+-------------------------+----------------------------------+ | ||
| ``ip`` | 157.50.1.20 | ``set`` | 127.0.0.1 | | ||
+----------------+----------------------+-------------------------+----------------------------------+ | ||
| ``uuid_col`` | 00010203-0405-...... | ``uuid4`` | f7c1bd87-4d.... | | ||
+----------------+----------------------+-------------------------+----------------------------------+ | ||
|
||
Note: `faker.unique.[provider]` only supported on python3.5+ (Faker library min supported python version) | ||
Note: `uuid4` - only for (native `uuid4<https://www.postgresql.org/docs/current/datatype-uuid.html>`) columns | ||
Note: `uuid4` - only for (native `uuid4<https://www.postgresql.org/docs/current/datatype-uuid.html>`) columns | ||
|
||
See the `documentation`_ for a more detailed description of the provided anonymization methods. | ||
|
||
|
@@ -180,7 +180,7 @@ After that you can pass a schema file to the container, using Docker volumes, an | |
|
||
.. |build| image:: https://github.com/rheinwerk-verlag/postgresql-anonymizer/workflows/Test/badge.svg | ||
:target: https://github.com/rheinwerk-verlag/postgresql-anonymizer/actions | ||
|
||
.. |health| image:: https://snyk.io/advisor/python/pganonymize/badge.svg | ||
:target: https://snyk.io/advisor/python/pganonymize | ||
:alt: pganonymize | ||
|