8000 GitHub - CloudTooling/data-anonymizer: Anonymize connected data in multiple csv or xml files
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CloudTooling/data-anonymizer

 
 

Repository files navigation

Build Docker Pulls

Usage

docker run -v $(pwd):/input cloudtooling/data-anonymizer -t xml -i "input/my.xml:(type=street,xpath=//Strasse)"

or

inputFile=input/my.xml
docker run -v $(pwd):/input cloudtooling/data-anonymizer -t xml -i \
  "$inputFile:(type=street,xpath=//Strasse)" \
  "$inputFile:(type=number,xpath=//HausNr)" \
  "$inputFile:(type=zip,xpath=//PLZ)" \
  "$inputFile:(type=city,xpath=//Ort)" \
  "$inputFile:(type=city_suffix,xpath=//Ortsteil)" \
  "$inputFile:(type=city_suffix,xpath=//KreisRegion)" \
  "$inputFile:(type=last_name,xpath=//Nachname)" \
  "$inputFile:(type=first_name,xpath=//Vorname)" \
  "$inputFile:(type=name,xpath=//Ansprechpartner)" \
  "$inputFile:(type=name,xpath=//GeschFuehrer)" \
  "$inputFile:(type=passport_number,xpath=//HRNr)" \
  "$inputFile:(type=url,xpath=//Homepage)" \
  "$inputFile:(type=email,xpath=//Email)" \
  "$inputFile:(type=phone_number,xpath=//TelefonNr)" \
  "$inputFile:(type=phone_number,xpath=//MobilNr)" \
  "$inputFile:(type=phone_number,xpath=//FaxNr)"

Check also .bin/tests.sh for some sample usages.

See here for supported faker types.

About

Anonymize connected data in multiple csv or xml files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 92.2%
  • Shell 5.7%
  • Dockerfile 2.1%
0