How can we help you today? How can we help you today?
PlantBasedSQL
Hi @Robb_Keller Thank you for your post. The developers have heard of people generating the masking sets programmatically for the rules in the past, but we don't have specific examples of this (and I haven't tried this myself). Ultimately though the underlying DMSMaskSet file is just XML (try opening it in Notepad++ etc and having a look) It is technically do-able though and we would approach it as follows: 1) create a masking set with one rule in it. This rule would act as a template. 2) use a text editor to split the masking set into 3 parts.      a) The first part is everything above the rule     b) the second part is the rule XML     c) the third part is everything below the rule 3) Then I would get a comma delimited list of the table and columns to be masked (and possibly the datasets the column is to be masked with).  4) Next write a program which loops through the table/column names and uses the rule XML as a template to do a replace operation 5) The generated XML for each new rule would be emitted sequentially to the same file. 6) The top, new middle part, and bottom would be concatenated together and everything should work. The big thing to take care of is that the rule numbers are not duplicated. This is very important. Remember the controller itself has a rule number (usually 01) so you should probably start at 02.   I hope this helps? Let me know if we can help out any further! / comments
Hi @Robb_Keller Thank you for your post.The developers have heard of people generating the masking sets programmatically for the rules in the past, but we don't have specific examples of this (and ...
0 votes