M.E.D. (Mask, Encrypt, Decrypt) - a RUST powered CLI tool for CSV/JSON files.
Background & Motivation
This is a personal hobby project; based on the observation, sometimes we need a simple enough CLI tool with auditable capability for Data Masking/Encyption/Decryption for CSV/JSON files.
Key Features
- Rust powered performance.
- Provide Masking, and Encyption/Decryption capabilities.
- Auditable with build-in SQLite powered Audit table.
Installation
Download from github release
The binary name for M.E.D. is med, it depends on the med_core.
Archives of precompiled binaries for med are available for Windows, macOS and Linux. Users of platforms not explicitly mentioned below are advised to download one of these archives.
Fedora and Centos
Usage
<MODE>
)
User Guide
Configuration
The configuration file can be any given name of yaml file.
Example of how to
- All the demo data are available in the package when you download it. And it's all RANDOMLY generated. csv json
- You only need to point to the root dir for your files. M.E.D. will take care of the rest.
Audit database (Sqlite)
M.E.D. uses SQLite for the audit capture, mainly ensuring following the Entreprise level Audit base standard, capture, Who, When, Where(which machine), do what, and status, etc.
The metadata and migration are available here.
The audit db location will be different depending on your OS.
location
Platform | Value | Example |
---|---|---|
Linux | $HOME/.config/med | /home/bob/.config/med |
MacOS | $HOME/Library/Application Support/med | /Users/Bob/Library/Application Support/med |
Windows | {FOLDERID_RoamingAppData}/med | C:\Users\Bob\AppData\Roaming\med |
database migration
We prepare the database migration capabilites and this migrations folder NEED to be in the same directoy of your binary.