{"id":22261387,"url":"https://github.com/adaptant-labs/data-minimization-service","last_synced_at":"2025-10-07T11:22:06.315Z","repository":{"id":66208336,"uuid":"227449258","full_name":"adaptant-labs/data-minimization-service","owner":"adaptant-labs","description":"A simple data minimization and anonymization microservice wrapped around go-minimizer","archived":false,"fork":false,"pushed_at":"2020-01-06T15:47:19.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-05T11:55:05.441Z","etag":null,"topics":["data-anonymization","data-masking","data-minimization","data-tokenization","microservice"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adaptant-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-11T19:59:07.000Z","updated_at":"2024-09-06T14:17:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"0018cc6f-6d3d-4b28-ad39-d63088598efd","html_url":"https://github.com/adaptant-labs/data-minimization-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adaptant-labs/data-minimization-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptant-labs%2Fdata-minimization-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptant-labs%2Fdata-minimization-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptant-labs%2Fdata-minimization-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptant-labs%2Fdata-minimization-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adaptant-labs","download_url":"https://codeload.github.com/adaptant-labs/data-minimization-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptant-labs%2Fdata-minimization-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278763268,"owners_count":26041531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-anonymization","data-masking","data-minimization","data-tokenization","microservice"],"created_at":"2024-12-03T09:12:37.721Z","updated_at":"2025-10-07T11:22:06.273Z","avatar_url":"https://github.com/adaptant-labs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# data-minimization-service\n\n[![Build Status](https://travis-ci.com/adaptant-labs/data-minimization-service.svg?branch=master)](https://travis-ci.com/adaptant-labs/data-minimization-service)\n[![Go Report Card](https://goreportcard.com/badge/github.com/adaptant-labs/data-minimization-service)](https://goreportcard.com/report/github.com/adaptant-labs/data-minimization-service)\n\nA simple data minimization microservice wrapped around [go-minimizer].\n\n[go-minimizer]: https://github.com/adaptant-labs/go-minimizer\n\n## JSON interface\n\nThe data minimization service receives a JSON payload indicating the data, the type of data, and the level of\nminimization to apply. These are written to the `/data` endpoint. The treated data is then returned directly as\nresult output.\n\nThe `type` here refers to the matching data type in [go-minimizer], such as name, email, etc. and is always a named\nstring. `level` similarly matches the `go-minimizer` minimization levels as a string representation. There are a number\nof exceptions to the required inputs based on the minimization level:\n\n- If `anonymize` is specified, the `input` data may be omitted.\n- If `tokenize` is specified, the `input` and `type` can be omitted.\n- If `mask` is specified, input is required, but `type` can be omitted. A mask pattern may also be specified via `pattern`.\n\nInput schema:\n\n```json\n{ \n  \"input\": \u003cinput data\u003e,\n  \"type\": \"string\",\n  \"level\": \"fine\" | \"coarse\" | \"anonymize\" | \"tokenize\" | \"mask\",\n  \"pattern\": \u003coptional mask pattern\u003e\n}\n```\n\nOutput schema:\n\n```json\n{\n  \"result\": \u003coutput data\u003e\n}\n```\n\nConsumers of the JSON response must treat the result as a dynamic data type if they wish to use it generically,\nas the data type backing the result will vary depending on the type of input data and the minimizer applied.\nAs there is no way to extract data from the service without entering something first, the caller should always\nknow which data type it is working with.\n\n## Web Interface\n\nA simplistic web interface is also included, accessible from the top-level index page.\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: https://github.com/adaptant-labs/data-minimization-service/issues\n\n## License\n\nLicensed under the terms of the Apache 2.0 license, the full version of which can be found in the\n[LICENSE](https://raw.githubusercontent.com/adaptant-labs/data-minimization-service/master/LICENSE) file included in the\ndistribution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadaptant-labs%2Fdata-minimization-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadaptant-labs%2Fdata-minimization-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadaptant-labs%2Fdata-minimization-service/lists"}