Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  Failed to run command dxmc add expression

    Posted 05-12-2025 01:55:00 PM

    Hi everybody,

    We were trying to add some expressions in a continuous compliance engine on version 2025.1.0 via dxmc but the command doesn't seems to work anymore because the expression page doesn't exist in newest version of Delphix engines.

    Do you guys already have an workaround for this situation? we are having to add the expressions manually because it doesn't work in dxmc anymore. 



    ------------------------------
    Bruno Lira
    Estagiário
    V8 Consulting LTDA ME.
    ------------------------------


  • 2.  RE: Failed to run command dxmc add expression

    Posted 05-12-2025 02:52:00 PM
    Edited by Tino Pironti 05-12-2025 02:52:59 PM

    The Github open source "DXM toolkit" has not been updated recently, ASDD profiling api's are not supported at this time.

    I suggest to use either the REST API directly or use the new configuration endpoint in API to load ASDD customisations.

    From Delphix Download > $version > Automated Sensitive Data Discovery / Data_Classifier_Set.zip  you can download the latest package of classifiers.

    Creating customisations based on similar structure you can create new domains, classifiers, profile-sets supporting all options of ASDD and import them into Delphix as ZIP with one API call.

    Hope this helps.



    ------------------------------
    Tino Pironti
    Masking SME
    Technical Manager
    Delphix
    ------------------------------



  • 3.  RE: Failed to run command dxmc add expression

    Posted 05-12-2025 03:15:00 PM

    Hello Tino,

    We create custom expressions in our customer's engines, so i think they will not be in this Data_Classifier_Set.zip you mentioned.

    How can we download these custom expressions from an engine that already has them? So we can insert them in new engines with this API call.



    ------------------------------
    Bruno Lira
    DBA
    V8 Consulting LTDA ME.
    ------------------------------



  • 4.  RE: Failed to run command dxmc add expression

    Posted 05-13-2025 02:25:00 AM

    You can use the SYNC API to extract the configuration of classifiers you created. In SyncableObjects you can for example select a profile-job > assign to that profile-job only the expressions you want to export. Select from SyncableObjects only the relevant type > get results > from results select the object(s) you want > export. SYNC has the nice side effect that it resolves automatically dependecies > e.g. if you use a new DOMAIN in classifiers that domain will get exported as well. However SYNC will overwrite on import existing objects of same name & same type! 
    ===
    If it was me I would perfer to create a JSON defintion for the configuration endpoint.



    ------------------------------
    Tino Pironti
    Masking SME
    Technical Manager
    Delphix
    ------------------------------



  • 5.  RE: Failed to run command dxmc add expression

    Posted 05-13-2025 02:30:00 AM

    Just to be clear: Download the Data_Classifier_Set.zip > decompress it > look at the STRUCTURE of the configuration data.
    You can create a JSON (file name must be Standard.json!) that contains only your customisations, you can reuse existing domains or create new domains. You can even provide value lists for LIST classifiers. When your config is ready ZIP it > that zip can then be imported on /configuration API endpoint.



    ------------------------------
    Tino Pironti
    Masking SME
    Technical Manager
    Delphix
    ------------------------------



  • 6.  RE: Failed to run command dxmc add expression

    Posted 05-13-2025 09:24:00 AM

    Hello Tino,

    Thanks for the explanations, we will export this JSON structure, add our custom expression within that structure and try to import in an engine via API.



    ------------------------------
    Bruno Lira
    DBA
    V8 Consulting LTDA ME.
    ------------------------------



  • 7.  RE: Failed to run command dxmc add expression

    Posted 05-13-2025 10:19:00 AM

    You do not need to keep the existing definitions in JSON. You just create a new JSON containing your customisations built in the same structure as teh sample. The import is additive, means it does not need (or should not) contain any existing configuration. Just add your customistations.



    ------------------------------
    Tino Pironti
    Masking SME
    Technical Manager
    Delphix
    ------------------------------



  • 8.  RE: Failed to run command dxmc add expression

    Posted 05-14-2025 07:28:00 AM

    Hi Tino,

    Yes, we just looked at the JSON of existing expressions to see the pattern.

    We uploaded sucessfully our custom expressions via API yesterday, thanks for the support!



    ------------------------------
    Bruno Lira
    DBA
    V8 Consulting LTDA ME.
    ------------------------------