The DXM-Toolkit is a collection of compiled Python command line interface (CLI) executables to assist in automating or extending the Delphix Masking Engine functionality via the APIs.
Apache License 2.0
6
stars
15
forks
source link
"[DATE] [BUG]" DXMC export of ruleset as csv/fixed results in json output #41
Expected Behavior Tried to export a ruleset as csv/fixed
Actual Behavior I get json format
Steps To Reproduce the Problem
Csv export
./dxmc ruleset exportrule --exportmeta N --rulesetname 1_diarietAlwaysRs --format csv --outputfile /tmp/1_diarietAlwaysRs.csv Ruleset exported to file /tmp/1_diarietAlwaysRs.csv
head /tmp/1_diarietAlwaysRs.csv [ { "Ruleset name": "1_diarietAlwaysRs", "Connector name": "diarietTarget", "Environent name": "diarietEnv", "Metadata": [], "Columns": [] }
Fixed export
./dxmc ruleset exportrule --rulesetname 1_diarietAlwaysRs --format fixed --outputfile /tmp/1_diarietAlwaysRs.txt Ruleset exported to file /tmp/1_diarietAlwaysRs.txt
head /tmp/1_diarietAlwaysRs.ctxt [ { "Ruleset name": "1_diarietAlwaysRs", "Connector name": "diarietTarget", "Environent name": "diarietEnv", "Metadata": [ { "table": true, "meta_name": "FIL", "key_column": "ROWID", Version 6.0.5.0