Skip to content
No description, website, or topics provided.
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
config.go
generators.go
main.go

README.md

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

List of available generators:

  • name
  • company
  • email
  • int_string generates integer but outputs it as a string
  • city
  • zip
  • sen_license
  • state

Usage

data-anonymizer < dataset.json > dataset.anon.json

Installation

Pretty straightforward

go get github.com/reconquest/data-anonymizer
You can’t perform that action at this time.