PIMO
PIMO copied to clipboard
Private Input Masked Output - PIMO is a tool for data masking (anonymization, pseudonymization, ...).
### Problem: Currently, the PIMO tool provides a RandomInt mask for masking data in a JSONline stream. However, it lacks the ability to specify a median parameter for generating random...
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.14.0 to 0.15.0. Commits 8d533a0 encoding/charmap: update UCM spec file URL prefix See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with...
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.11.4 to 4.12.0. Release notes Sourced from github.com/labstack/echo/v4's releases. v4.12.0 - 2024-04-15 Security Update golang.org/x/net dep because of GO-2024-2687 by @aldas in labstack/echo#2625 Enhancements binder: make binding...
GoRegen is unmaintained since 2016, and there is a few known issue with this library Options for replacement - https://github.com/AnatolyRugalev/goregen - fork of GoRegen with some improvements - https://github.com/lucasjones/reggen -...
# Start PIMO with a backend web service as source for mocks. Related to #40 and #15 Find a way to define routes. Possibly use the mmock project (https://github.com/jmartin82/mmock/)
## Description Currently, PIMO offers a command-line interface (CLI) for masking JSON data based on a configuration in a `masking.yml` file. To enhance its flexibility, I propose adding a dynamic...
Achieved a processing time reduction of between 20% and 35% (depending on the size of the JSON input). **BenchmarkPimoRun** Benchmark | ns/op | B/op | allocs/op -- | --:| --:|...
**masking.yml** ```yaml version: "1" libraries: main: "https://raw.githubusercontent.com/CGI-FR/PIMO/feat/mask-library/examples" masking: - selector: jsonpath: "iban" mask: apply: uri: "main:iban-generate.yml" - selector: jsonpath: "rib" mask: apply: uri: "main:rib-generate.yml" ``` ```console ❯ echo '{"iban":{},"rib":{}}' |...
# Actual ```yaml - selector: jsonpath: "client_type1" mask: hashInCSV: uri: "file://../referentiels/type1.csv" - selector: jsonpath: "client_type2" mask: hashInCSV: uri: "file://../referentiels/type2.csv" - selector: jsonpath: "client" mask: template: '{{if eq .type_client 1}}{{.client_type1}}{{else}}{{.client_type2}}{{end}}' ```...