delphix / dxm-toolkit

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

"March/22/2022:Not able to export Global objects from Masking engine" #62

Open carloscuellar87d opened 2 years ago

carloscuellar87d commented 2 years ago

Expected Behavior When trying to follow https://github.com/delphix/dxm-toolkit/wiki/Syncing-objects-between-engines, the global_object option to export should export all global objects

Actual Behavior When trying to follow https://github.com/delphix/dxm-toolkit/wiki/Syncing-objects-between-engines, the global_object option to export is not exporting global objects:

./dxmc sync export --objecttype global_object --path ./ --engine mskcarlos

Usage: dxmc sync export [OPTIONS] Try 'dxmc sync export --help' for help.

Error: Invalid value for '--objecttype': invalid choice: global_object. (choose from algorithm, global, key, domain, masking_job, database_ruleset, file_ruleset, database_connector, file_connector)

./dxmc sync export --objecttype global --path ./ --engine mskcarlos

Input error: query parameter object_type valueGLOBALis not in the allowable values[ALGORITHM_PLUGIN, APPLICATION_SETTINGS, BINARYLOOKUP, CLEANSING, DATABASE_CONNECTOR, DATABASE_RULESET, DATASET_CONNECTOR, DATASET_RULESET, DATASET_FORMAT, DATE_SHIFT, DOMAIN, DRIVER_SUPPORT_PLUGIN, ENVIRONMENT, FILE_CONNECTOR, FILE_FORMAT, FILE_RULESET, GLOBAL_OBJECT, JDBC_DRIVER, KEY, LOOKUP, MAPPLET, MASKING_JOB, MIN_MAX, MOUNT_INFORMATION, PROFILE_EXPRESSION, PROFILE_JOB, PROFILE_SET, REDACTION, REIDENTIFICATION_JOB, SEGMENT, TOKENIZATION, TOKENIZATION_JOB, USER_ALGORITHM]`

Version This was tested with dxmtoolkit 0.9.1 against Delphix Masking 6.0.12 and 6.0.13

mattdelphix commented 2 years ago

Found the same problem