Anonymize command-line reference - mask
Published 14 March 2025
Replaces real values in a database with realistic fake data through data substitution.
- rganonymize mask
- --database-engine SqlServer
- --connection-string "[connection string]"
- --masking-file masking.json
Option | Required? | Notes |
---|---|---|
--database-engine | Type of the database to classify Must be one of:
| |
--connection-string | The connection string of the database to classify. Can also be set via a | |
--masking-file | The file path of the input masking file, including file name and file extension. | |
--options-file | The file path to an options file. | |
--connection-timeout | The timeout (in seconds) to use when connecting to the database. Default: 90s | |
--command-timeout | The timeout (in seconds) to use when executing commands against the database. Default: 90s | |
--deterministic-seed | The seed to use for deterministic masking. | |
--dry-run | Perform a dry-run with no masking. This is a 'validation only' option that allows you to ensure your masking command line options, masking file, and options file are configured correctly without modifying the database. If issues are found, they are sent to STDOUT in a JSON structure. This gives you specific information about the issues, and helps you identify and fix any problems before they arise. | |
| The file path to where and auto-fix options file will be written. | |
--output | The format to write any output. Can be one of:
| |
| The verbosity level to log at.
| |
-?, -h, --help | Show help and usage information. |