Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reconquest/data-anonymizer
https://github.com/reconquest/data-anonymizer
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/reconquest/data-anonymizer
- Owner: reconquest
- Created: 2020-01-08T13:17:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-05T18:40:01.000Z (over 4 years ago)
- Last Synced: 2024-04-16T00:07:37.679Z (7 months ago)
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# data-anonymizer
A dead simple anonymizer for JSON datasets based on a list of rules.
Requires a config in the specified format:
```
key: value
```For example:
```
contactDetails.company: company
contactDetails.technicalContact.name: name
contactDetails.technicalContact.email: email
contactDetails.technicalContact.city: city
contactDetails.technicalContact.postcode: zip
contactDetails.technicalContact.state: state
addonLicenseId: int_string
licenseId: sen_license
transactionId: at_license
```List of available generators:
- name
- company
- int_string _generates integer but outputs it as a string_
- city
- zip
- sen_license
- at_license
- state# Usage
```bash
data-anonymizer < dataset.json > dataset.anon.json
```# Installation
Pretty straightforward
```
go get github.com/reconquest/data-anonymizer
```