Delphix Products

 View Only
  • 1.  Masking fail

    Posted 05-24-2022 02:01:00 PM
    Hello everyone,

    I'm trying a masking job for a column that receives "cnpj - company code". I want to mask only the company code using a regex-decompose, but I get the following error:

    2022-05-24 18:39:52, [thread] INFO com.dmsuite.dmsApplicator.masking.transformation.RunServiceImpl parseInPlaceMaskingResults - Job Status : FAIL.


    Regex-decompose:

    {
    "trimInput": true,
    "requireMask": false,
    "maskPatterns": [
    {
    "regex": "((?:n. ?)?\\b(?:(?:\\d{3}\\.?\\d{3}\\.?\\d{3}(?:\\-|\\.)?\\d{2})|(?:\\d{2}\\.?\\d{3}\\.?\\d{3}\\/?\\d{4}\\-?\\d{2}))\\b(?:[,\\.\\-/])?)",
    "actions": [
    {
    "type": "APPLY_ALGORITHM",
    "algorithm": {
    "name": "dlpx-core:CM Numeric"
    },
    "redactString": null,
    "redactCharacter": null
    }
    ]
    }
    ],
    "fallbackAction": null,
    "maxInputLength": 65536
    }

    ------------------------------
    André Rodrigues de Melo Júnior
    Trainee
    TGV Tecnologia Ltda.
    ------------------------------