APIMaskingSidekickPythonOpen-Source Solutions

 View Only
  • 1.  How to mask file with delimiter ^A

    Posted 10-25-2018 08:00:00 PM
    Have a delimiter file with ^A and same is defined in delimiter field of Ruleset. Still i don't see masking is working as expected. What am i missing?
    #Masking


  • 2.  RE: How to mask file with delimiter ^A
    Best Answer

    Posted 10-26-2018 02:16:00 PM
    Hi Santosh, I believe we have an open issue with using control characters as delimiters right now. For the time being, what customers have been doing is replacing them with a unique sequence of characters that do not exist elsewhere in the file, using that sequence as the delimiter, masking the file, and then replacing the character sequence with the original control characters after masking.


  • 3.  RE: How to mask file with delimiter ^A

    Posted 10-26-2018 02:21:00 PM
    Thanks Dave for response. So, outside delphix, i can invoke some script to replace ^A with |A and then mention same thing in delimiter section. After masking, call the script again to replace all | with ^A. 

    Is that you are suggesting?


  • 4.  RE: How to mask file with delimiter ^A
    Best Answer

    Posted 10-26-2018 02:36:00 PM
    Yep - you just have to be careful not to pick a sequence that already is being used in the file. When I have had to do this in the past I have used a simple sed "pre" script, then execute the masking job via the API, then execute a simple sed "post" script. Note that your delimiter can be more than one character - you could use |@|
     for example...